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 600207 - Makefile target pango-view.1 breaks parallel builds
Makefile target pango-view.1 breaks parallel builds
Status: RESOLVED DUPLICATE of bug 587768
Product: pango
Classification: Platform
Component: pango-view
1.26.x
Other Linux
: Normal trivial
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2009-10-31 09:45 UTC by Martin von Gagern
Modified: 2009-11-01 23:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing the problem (1.18 KB, patch)
2009-10-31 09:45 UTC, Martin von Gagern
none Details | Review

Description Martin von Gagern 2009-10-31 09:45:26 UTC
Created attachment 146621 [details] [review]
Patch fixing the problem

When building pango in parallel (i.e. with the -j flag), there is a good chance
the build will fail in the pango-view subdir. This is because the all target
tries to build both "$(srcdir)/pango-view.1" and "pango-view$(EXEEXT)" in
parallel, but the former has a command "$(MAKE) $(AM_MAKEFLAGS)
pango-view$(EXEEXT)" which triggers a second make process building the same
target.

Encountered on Gentoo Linux: http://bugs.gentoo.org/287825

The fix is quite simple: add pango-view$(EXEEXT) as a proper dependency of
$(srcdir)/pango-view.1, instead of starting a separate make for it. I guess you
can then even stop depending directly on $(pango_view_SOURCES), as
pango-view$(EXEEXT) should do so, providing suitable indirect dependencies.
Comment 1 Behdad Esfahbod 2009-11-01 23:58:05 UTC

*** This bug has been marked as a duplicate of bug 587768 ***