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 699199 - parallel build is broken
parallel build is broken
Status: RESOLVED FIXED
Product: gitg
Classification: Applications
Component: gitg
git master
Other Linux
: Normal normal
: ---
Assigned To: gitg-maint
gitg-maint
: 702694 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-04-29 08:37 UTC by Adam Dingle
Modified: 2013-09-11 11:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Dingle 2013-04-29 08:37:53 UTC
From a clean source tree, if I build gitg with 'make -j1' then it builds fine.

If, however, if I build with 'make -j4' then the build typically fails with this:

make[2]: Entering directory `/home/adam/src/gitg/libgitg'
make[2]: *** No rule to make target `libgitg-1.0.vapi', needed by `all'.  Stop.
make[2]: *** Waiting for unfinished jobs....
  VALAC  libgitg_1_0_la_vala.stamp
make[2]: Leaving directory `/home/adam/src/gitg/libgitg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/adam/src/gitg'
make: *** [all] Error 2

If I then type 'make -j4' again, it gets a bit further, then dies with a similar error:

make[2]: *** No rule to make target `libgitg-gtk-1.0.vapi', needed by `all'.  Stop.
make[2]: *** Waiting for unfinished jobs....
  VALAC  libgitg_gtk_1_0_la_vala.stamp
make[2]: Leaving directory `/home/adam/src/gitg/libgitg-gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/adam/src/gitg'
make: *** [all] Error 2

Then on the third attempt the build completes.

So the gitg build is broken for parallel builds.  Presumably there's a dependency missing somewhere.
Comment 1 Sindhu S 2013-06-02 12:38:29 UTC
Hi!

I can confirm that I am affected by this bug as well.
Comment 2 Sindhu S 2013-06-20 05:13:42 UTC
*** Bug 702694 has been marked as a duplicate of this bug. ***
Comment 3 Sindhu S 2013-09-10 21:08:45 UTC
I have tested the current git master version of gitg with `make -j4` and it builds normally.
Comment 4 Paolo Borelli 2013-09-10 21:31:19 UTC
Yup, I think I fixed this with

https://git.gnome.org/browse/gitg/commit/?id=5cbbb2d9a3d0561e519df5d5a73a8b36ee83ecae
Comment 5 Adam Dingle 2013-09-11 11:53:56 UTC
Great to see - thanks!