First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 141131
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pieter Van den Abeele <pvdabeel@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 141131 depends on: Show dependency tree
Show dependency graph
Bug 141131 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-20 00:46 0000
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

------- Comment #1 From Gilles Dartiguelongue 2006-07-20 01:02:34 0000 -------
I feel lucky now because I compiled it with -j6 forever

------- Comment #2 From Pieter Van den Abeele 2006-07-20 07:59:56 0000 -------
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"

------- Comment #3 From Gilles Dartiguelongue 2006-07-20 08:33:57 0000 -------
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.

------- Comment #4 From Lars Weiler (RETIRED) 2006-07-23 04:50:42 0000 -------
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.

------- Comment #5 From Jakub Moc (RETIRED) 2006-11-16 11:21:55 0000 -------
*** Bug 155397 has been marked as a duplicate of this bug. ***

------- Comment #6 From Saleem Abdulrasool 2006-11-29 17:58:18 0000 -------
Added a makeopts restrict for ppc only.

First Last Prev Next    No search results available      Search page      Enter new bug