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:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open

Add a New Comment(Rich 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 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 ats (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-30 ats Attached File- => Added dep.diff, #28958

    Back to the top


    Powered by Savane 3.3