bugManeage - Bugs: bug #58561, Including GCC tarball, even when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #58561: Including GCC tarball, even when it isn't built

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Sun 14 Jun 2020 02:47:56 AM UTC
   
 
Category:  Software Severity:  3 - Normal
Item Group:  Output not reasonable Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Wed 17 Jun 2020 01:59:31 AM UTC, comment #1: 

This bug has been fixed and pushed to the main Maneage branch in Commit 105467fe640.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Sun 14 Jun 2020 02:47:56 AM UTC, original submission:  

Currently, when GCC isn't built, its tarball is also not downloaded into the tarball directory. As a result, if a user packages their tarballs for publication (like in zenodo.3872248), the GCC tarball won't be included.

This can happen when Maneage is run on a macOS, or when the '--host-cc' option is given on GNU/Linux systems.

In that particular case, it actually happened to me! I had already tested the build of GCC on my system, but building GCC takes long (~1 hour). So, to have a fast final build before submission, I configured it with '--host-cc' (being ignorant of this bug!) and built the project's software tarball (software-1637cce.tar.gz) after the build finished. As a result, this tarball doesn't include the tarball of the specific GCC version!

This can also happen for things like 'patchelf' because its only necessary for GNU/Linux hosts (so if a project is built on a macOS, patchelf's source won't be in the software tarball directory).

It generally happens because we completely ignore the build rules of the software based on the local environment, so its tarball is also ignored!

To fix it, we should put the check in the build recipe and if the software is not necessary on the host for some reason, we just don't build it, yet we download the tarball (it should be an easy fix!).

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-17 makhlaghi StatusPostponed Fixed
        Assigned toNone makhlaghi
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code