Most of the time gedit compiles just fine, however, I've had while emerge --oneshot gedit >gedit.log 2>&1; do true; done running for a whole night on a quad core system and it seems that simetimes gedit fails to get through the compile stage with an error like: if ! test -d de/; then mkdir de/; fi case "." in /*) sd=".";; *) sd="../.";; esac; \ if [ -f "C/legal.xml" ]; then d="../"; else d="$sd/"; fi; \ (cd de/ && \ `which xml2po` -e -p \ "${d}de/de.po" \ "${d}C/legal.xml" > legal.xml.tmp && \ cp legal.xml.tmp legal.xml && rm -f legal.xml.tmp) Traceback (most recent call last): File "/usr/bin/xml2po", line 800, in ? doSerialize(doc) File "/usr/bin/xml2po", line 551, in doSerialize outtxt += doSerialize(child) File "/usr/bin/xml2po", line 545, in doSerialize (starttag, content, endtag, translation) = processElementTag(node, repl, 1) File "/usr/bin/xml2po", line 458, in processElementTag myrepl.append(processElementTag(child, myrepl, 1)) File "/usr/bin/xml2po", line 458, in processElementTag myrepl.append(processElementTag(child, myrepl, 1)) File "/usr/bin/xml2po", line 458, in processElementTag myrepl.append(processElementTag(child, myrepl, 1)) File "/usr/bin/xml2po", line 458, in processElementTag myrepl.append(processElementTag(child, myrepl, 1)) File "/usr/bin/xml2po", line 458, in processElementTag myrepl.append(processElementTag(child, myrepl, 1)) File "/usr/bin/xml2po", line 458, in processElementTag myrepl.append(processElementTag(child, myrepl, 1)) File "/usr/bin/xml2po", line 470, in processElementTag translation = getTranslation(outtxt, isSpacePreserveNode(node)) File "/usr/bin/xml2po", line 248, in getTranslation gt = gettext.GNUTranslations(file) File "/usr/lib/python2.4/gettext.py", line 177, in __init__ self._parse(fp) File "/usr/lib/python2.4/gettext.py", line 280, in _parse raise IOError(0, 'File is corrupt', filename) IOError: [Errno 0] File is corrupt: '.xml2po.mo' make[2]: *** [bg/gedit.xml] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gedit-2.14.3/work/gedit-2.14.3/help' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gedit-2.14.3/work/gedit-2.14.3' make: *** [all] Error 2 !!! ERROR: app-editors/gedit-2.14.3 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1254: Called gnome2_src_compile gnome2.eclass, line 64: Called die !!! compile failure !!! If you need support, post the topmost build error, and the call stack if relevant. This goes away after setting MAKEOPTS to -j1
I feel lucky now because I compiled it with -j6 forever
It really builds fine most of the times and only occasionally fails. * app-editors/gedit Total builds: 382 Global build time: 24 hours, 12 minutes and 34 seconds. Average merge time: 3 minutes and 48 seconds. Info about currently installed ebuild: * app-editors/gedit-2.14.3 Install date: Thu Jul 20 09:19:04 2006 USE="spell python" CFLAGS="-O2 -mcpu=970 -mtune=970 -mabi=altivec -maltivec -fno-strict-aliasing -pipe"
maybe it is the arch :) well I cannot refuse a good experiment so it seems fair to add this to the ebuild. There are some ebuilds in gnome which are already filtering MAKEOPTS for a long time, maybe you could test those too to see if the filtering is still needed.
I can verify this problem during release-building. Please make sure, that in the ebuild ppc will be set to MAKEOPTS="-j1". Currently it's a release-blocker.
*** Bug 155397 has been marked as a duplicate of this bug. ***
Added a makeopts restrict for ppc only.