Summary: | app-text/ghostscript-gpl-8.63 does not parallel-install (forces MAKEOPTS=-j1) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nathan Phillip Brink (binki) (RETIRED) <binki> |
Component: | [OLD] Printing | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kanelxake |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=173493 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
installation log
my emerge info for 2008/12/17 Output of ebuild install after emerge failure |
Description
Nathan Phillip Brink (binki) (RETIRED)
![]() Created attachment 175375 [details]
installation log
search this log for the string '8.63/lib'. The first 10 hits will yield the excerpts from the log I posted in my first comment.
This was with USE=cjk, but USE=-cjk yielded essentially the same thing.
0Oops - I left USE=cjk in the summary even though it doesn't affect this bug Please also attach your emerge --info and the output of:
grep DESTDIR /usr/portage/app-text/ghostscript-gpl/ghostscript-gpl-8.63.ebuild
Strange thing is your build.log seems to miss the make -jX DESTDIR line.
>>> Install ghostscript-gpl-8.63 into /var/tmp/portage/app-text/ghostscript-gpl-8.63/image/ category app-text
make -j2 DESTDIR=/var/tmp/portage/app-text/ghostscript-gpl-8.63/image/ install-so install
mkdir -p /var/tmp/portage/app-text/ghostscript-gpl-8.63/image//usr/share
(In reply to comment #3) > Please also attach your emerge --info and the output of: > grep DESTDIR /usr/portage/app-text/ghostscript-gpl/ghostscript-gpl-8.63.ebuild Thanks for the help. Output of grep is small enough to throw here: $ grep DESTDIR /usr/portage/app-text/ghostscript-gpl/ghostscript-gpl-8.63.ebuild emake DESTDIR="${D}" install-so install || die "emake install failed" emake DESTDIR="${D}" install || die "emake ijs install failed" Created attachment 175647 [details]
my emerge info for 2008/12/17
Please retry with saner *FLAGS, for example "-O2 -pipe -march=athlon64". Happened here too, even with CFLAGS="-O2 -pipe" MAKEOPTS="-j5 -l6" . Appears to be a parallelization failure, since simply running ebuild install after the failure succeeded; this time the mkdir -p /var/tmp/portage/app-text/ghostscript-gpl-8.63/image//usr/share/ghostscript/8.63/lib got run before the for loop instcopying files in the directory. Created attachment 175708 [details]
Output of ebuild install after emerge failure
Could you please edit the ebuild in src_install() to include -j1 please? -emake DESTDIR="${D}" install-so install || die "emake install failed" +emake -j1 DESTDIR="${D}" install-so install || die "emake install failed" After that do ebuild ghostscript-gpl-8.63.ebuild digest && emerge ghostscript-gpl --oneshot and report back if that fixes it for you. Thanks in advance. (In reply to comment #9) > Could you please edit the ebuild in src_install() to include -j1 please? > -emake DESTDIR="${D}" install-so install || die "emake install failed" > +emake -j1 DESTDIR="${D}" install-so install || die "emake install failed" > After that do > ebuild ghostscript-gpl-8.63.ebuild digest && emerge ghostscript-gpl --oneshot > and report back if that fixes it for you. Thanks in advance. > I made this change and it installs cleanly. Thanks for this fix: I can leave my MAKEOPTS alone and get parallel building still. I wish I had remembered that parallel builds cause problems like this a week ago. Thanks for testing guys, workaround in place for ghostscript-gpl-8.63-r1. Still needs to be fixed upstream though. I canot reproduce with 8.71, is this bug still present for you guys if you remove -j1 from emake install in the ebuild? Version in question was removed from the tree |