After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 532236 - Make fails with -j3
Make fails with -j3
Status: RESOLVED FIXED
Product: libepc
Classification: Other
Component: general
0.3.x
Other Linux
: Normal normal
: ---
Assigned To: libepc maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-08 20:25 UTC by Olivier Crête
Modified: 2008-05-08 22:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olivier Crête 2008-05-08 20:25:03 UTC
The current makefiles fails with -j3.
The testing stuff does not properly depend on the libepc.la in the generated Makefile

I'm using automake 1.10 and autoconf 2.61

I guess one solution is to use recursive makefiles...
Comment 1 Mathias Hasselmann (IRC: tbf) 2008-05-08 22:19:20 UTC
(In reply to comment #0)
> I guess one solution is to use recursive makefiles...
> 
No, it would hide the problem at best. Hidding problems it not what I prefer to call "solution".
Comment 2 Olivier Crête 2008-05-08 22:25:45 UTC
I agree its not the best "solution"... but I'm afraid automake may not be flat-makefile friendly... 
Comment 3 Mathias Hasselmann (IRC: tbf) 2008-05-08 22:39:33 UTC
commit 0ce5a82a0a1e5f37308116024e1c3a314f72eca6
Author: hasselmm <hasselmm@089e9b72-463f-0410-ae30-9baa3e83d3a2>
Date:   Thu May 8 22:36:13 2008 +0000

    Properly express dependencies of libepc-ui-1.0.la.
    
    * Makefile.am:
      Remove libepc/libepc-1.0.la from libepc_ui_libepc_ui_1_0_la_LDFLAGS
      and properly add it to libepc_ui_libepc_ui_1_0_la_LIBADD.
    
    
    git-svn-id: svn+ssh://svn.gnome.org/svn/libepc/trunk@225 089e9b72-463f-0410-ae30-9baa3e83d3a2

Thanks for reporting. Randomly saw that problem, but never had the motivation to investigate it. Actually automake 1.10 works pretty well with flat makefiles. You just have to use it proper. Using LDFLAGS instead of LIBADD also would have been wrong and troublesome with recursive makefiles.