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

 
 

bug #39899: Parallel build fails owing to broken dependency

Submitted by:  Adam Sampson <ats>
Submitted on:  Fri 30 Aug 2013 11:26:52 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
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
  • -unavailable- added by ats (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 30 Aug 2013 11:26:52 AM UTCatsAttached File-=>Added dep.diff, #28958

    Back to the top


    Powered by Savane 3.1-cleanup