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 659421 - yelp make rules have problems with parallel make
yelp make rules have problems with parallel make
Status: RESOLVED FIXED
Product: yelp-tools
Classification: Core
Component: yelp.m4
git master
Other Linux
: Normal normal
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-18 21:39 UTC by Christian Persch
Modified: 2011-11-21 15:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2011-09-18 21:39:22 UTC
Found this while building aisleriot master.

$ cd help/
$ make
  GEN    ca/ca.mo
[...]
  GEN    ca/
[...]
$ # so far, so good
$ # now let's speed things up!
$ make -j2
  GEN    ca/ca.mo
[...]
  GEN    ca/
  GEN    ca/
  GEN    ca/

It appears that with -j2 it does generate the files for each locale at least 3 times.

$ # lets find out what's going on...
$ make -j2 V=1
[...]

Now it appears that it re-makes the help files for each locale for each entry of HELP_FILES again! 

And now re-trying "make -j22 (without V=1) does the same as the -j2 V=1 case, so  the "3" above isn't really right... 

This is with yelp-tools git master @ eb6b0be7abbaff509f12fde5bd5358744c753265, itstool git master @ 0520144626db679e81725aebfaba273a52fd0bf4, make 3.81 (from fedora 13), doing a srcdir != builddir build of aisleriot master.
Comment 1 Shaun McCance 2011-09-18 22:50:35 UTC
This is incidentally fixed by the patch on bug #651252.
Comment 2 Shaun McCance 2011-11-21 15:00:21 UTC
Pushed the patch on bug #651252 to master. Should be fixed.