GNOME Bugzilla – Bug 411145
rhythmbox fails to compile with jobs>1
Last modified: 2007-03-28 15:58:00 UTC
when compiling rhythmbox with -j6 (for example) the compilation fails because librbmetadatasvc.la is not built yet. (I know it's a corner case, but it's useful on slow boxes in distcc farms). Patch to follow.
Created attachment 83163 [details] [review] rhythmbox-0.9.8-multijob-fix.patch This changes the makefile.am rules so that the generated Makefile has the proper dependencies to build the targets in order.
Doesn't that break attempts to build rhythmbox with builddir != srcdir ?
not sure. What I know is that the rules was something like this: librbmetadata.la: deps rules rhythmbox-metadata: $(top_builddir)/metadata/librbmetadata.la ... rules which leads to librbmetadata.la not being built before rhythmbox-metadata if there is enough compiling slots available because make doesn't recognise that $(top_builddir)/metadata/librbmetadata.la==librbmetadata.la. If an autofoo master would like to comment, I'd be grateful.
strangely enough I found the same fix for the same kind of bug in seahorse. I think you don't have to add $(top_builddir)/metadata when the dependencie is in the same folder (it's just a guess on what I've seen in other gnome modules)
This doesn't break building with builddir != srcdir for me, so I've committed the patch to SVN (trunk and stable branch)
*** Bug 423771 has been marked as a duplicate of this bug. ***