bugGNU Gengetopt - Bugs: bug #39899, Parallel build fails owing to...

 
 

bug #39899: Parallel build fails owing to broken dependency

Submitter:  Adam Sampson <ats>
Submitted:  Fri 30 Aug 2013 11:26:52 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  gray_wolf
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 30 May 2019 10:04:13 PM UTC, comment #1: 

This particular one is fixed in devel, but there are more in doc/Makefile.am; will looks into it and try to get parallel build working.

Gray Wolf <gray_wolf>
Group administrator
Fri 30 Aug 2013 11:26:52 AM UTC, original submission:  

In src/Makefile.am, LDADD contains "$(top_builddir)/src/libgengetopt.la". However, the rule in the generated Makefile to build that library is just called "libgengetopt.la" -- if you specify the full path, make won't see the dependency.

As a result, if you build gengetopt with "make -j8" (or similar), it's possible for make to try to compile gengetopt before the library has been built, and it'll then fail. If you just say "LDADD = libgengetopt.la", the dependency will work properly.

(I've not checked if there are any other instances of this in the Makefile.ams, but it's probably worth a look.)

Adam Sampson <ats>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #28958:  dep.diff added by ats (620B - text/x-patch - Trivial patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gray_wolf (Posted a comment)
  • -email is unavailable- added by ats (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.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-06-02 gray_wolf StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2019-05-30 gray_wolf StatusNone In Progress
        Assigned toNone gray_wolf
    2013-08-30 ats Attached File- Added dep.diff, #28958

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code