Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185089 - gnome-base/gnome-panel-2.16.3 fails to compile when MAKEOPTS="-j5" is set
Summary: gnome-base/gnome-panel-2.16.3 fails to compile when MAKEOPTS="-j5" is set
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-12 17:49 UTC by Brett Royles
Modified: 2007-09-12 21:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
messsage when it failed to compile (message,4.25 KB, text/plain)
2007-07-12 17:50 UTC, Brett Royles
Details
the build log file (build.log,207.41 KB, text/plain)
2007-07-12 18:56 UTC, Brett Royles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brett Royles 2007-07-12 17:49:51 UTC
when compiling gnome-base/gnome-panel-2.16.3 with MAKEOPTS="-j5" it fails to compile with attached message

Reproducible: Always

Steps to Reproduce:
1. set MAKEOPTS="-j5"
2. emerge gnome-panel
3.

Actual Results:  
   1.
      if ! test -d fr/; then mkdir fr/; fi
   2.
      case "." in /*) sd=".";; *) sd="../.";; esac; \
   3.
              if [ -f "C/legal.xml" ]; then d="../"; else d="$sd/"; fi; \
   4.
              (cd fr/ && \
   5.
                `which xml2po` -e -p \
   6.
                  "${d}fr/fr.po" \
   7.
                  "${d}C/legal.xml" > legal.xml.tmp && \
   8.
                  cp legal.xml.tmp legal.xml && rm -f legal.xml.tmp)
   9.
      if ! test -d it/; then mkdir it/; fi
  10.
      Traceback (most recent call last):
  11.
        File "/usr/bin/xml2po", line 800, in ?
  12.
          doSerialize(doc)
  13.
        File "/usr/bin/xml2po", line 551, in doSerialize
  14.
          outtxt += doSerialize(child)
  15.
        File "/usr/bin/xml2po", line 545, in doSerialize
  16.
          (starttag, content, endtag, translation) = processElementTag(node, repl, 1)
  17.
        File "/usr/bin/xml2po", line 458, in processElementTag
  18.
          myrepl.append(processElementTag(child, myrepl, 1))
  19.
        File "/usr/bin/xml2po", line 458, in processElementTag
  20.
          myrepl.append(processElementTag(child, myrepl, 1))
  21.
        File "/usr/bin/xml2po", line 458, in processElementTag
  22.
          myrepl.append(processElementTag(child, myrepl, 1))
  23.
        File "/usr/bin/xml2po", line 458, in processElementTag
  24.
          myrepl.append(processElementTag(child, myrepl, 1))
  25.
        File "/usr/bin/xml2po", line 458, in processElementTag
  26.
          myrepl.append(processElementTag(child, myrepl, 1))
  27.
        File "/usr/bin/xml2po", line 458, in processElementTag
  28.
          myrepl.append(processElementTag(child, myrepl, 1))
  29.
        File "/usr/bin/xml2po", line 458, in processElementTag
  30.
          myrepl.append(processElementTag(child, myrepl, 1))
  31.
        File "/usr/bin/xml2po", line 458, in processElementTag
  32.
          myrepl.append(processElementTag(child, myrepl, 1))
  33.
        File "/usr/bin/xml2po", line 458, in processElementTag
  34.
          myrepl.append(processElementTag(child, myrepl, 1))
  35.
        File "/usr/bin/xml2po", line 470, in processElementTag
  36.
          translation = getTranslation(outtxt, isSpacePreserveNode(node))
  37.
        File "/usr/bin/xml2po", line 248, in getTranslation
  38.
          gt = gettext.GNUTranslations(file)
  39.
        File "/usr/lib64/python2.4/gettext.py", line 177, in __init__
  40.
          self._parse(fp)
  41.
        File "/usr/lib64/python2.4/gettext.py", line 260, in _parse
  42.
          magic = unpack('<I', buf[:4])[0]
  43.
      struct.error: unpack str size does not match format
  44.
      make[3]: *** [fr/window-list.xml] Error 1
  45.
      make[3]: *** Waiting for unfinished jobs....
  46.
      case "." in /*) sd=".";; *) sd="../.";; esac; \
  47.
              if [ -f "C/legal.xml" ]; then d="../"; else d="$sd/"; fi; \
  48.
              (cd it/ && \
  49.
                `which xml2po` -e -p \
  50.
                  "${d}it/it.po" \
  51.
                  "${d}C/legal.xml" > legal.xml.tmp && \
  52.
                  cp legal.xml.tmp legal.xml && rm -f legal.xml.tmp)
  53.
      make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.16.3/work/gnome-panel-2.16.3/help/window-list'
  54.
      make[2]: *** [all-recursive] Error 1
  55.
      make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.16.3/work/gnome-panel-2.16.3/help'
  56.
      make[1]: *** [all-recursive] Error 1
  57.
      make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.16.3/work/gnome-panel-2.16.3'
  58.
      make: *** [all] Error 2
  59.
       
  60.
      !!! ERROR: gnome-base/gnome-panel-2.16.3 failed.
  61.
      Call stack:
  62.
        ebuild.sh, line 1621:   Called dyn_compile
  63.
        ebuild.sh, line 973:   Called qa_call 'src_compile'
  64.
        ebuild.sh, line 44:   Called src_compile
  65.
        ebuild.sh, line 1311:   Called gnome2_src_compile
  66.
        gnome2.eclass, line 71:   Called die
  67.
       
  68.
      !!! compile failure
  69.
      !!! If you need support, post the topmost build error, and the call stack if relevant.
  70.
      !!! A complete build log is located at '/var/tmp/portage/gnome-base/gnome-panel-2.16.3/temp/build.log'. 

Expected Results:  
compiled

if i set MAKEOPTS="-j1" it compiles fine
Comment 1 Brett Royles 2007-07-12 17:50:21 UTC
Created attachment 124655 [details]
messsage when it failed to compile
Comment 2 Brett Royles 2007-07-12 17:50:46 UTC
brett@moonbrook ~ $ emerge --info
Portage 2.1.2.9 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.22-gentoo-r1-moonbrook x86_64)
=================================================================
System uname: 2.6.22-gentoo-r1-moonbrook x86_64 Intel(R) Core(TM)2 Quad CPU           @ 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 12 Jul 2007 17:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 ares artworkextra berkdb bitmap-fonts bzip2 cdr cdrw cli cracklib crypt cups curl dbus dri dvd dvdr esd firefox flac fortran g15 gdbm gnome gpm gtk gtk2 hal iconv imap ipv6 isdnlog java ldap libg++ midi mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre perl php png pppd python quicktime quotas readline reflection samba session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis winbind wma xchattext xine xinerama xml xorg zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-07-12 18:02:38 UTC
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity
Comment 4 Brett Royles 2007-07-12 18:05:36 UTC
(In reply to comment #3)
> Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity
> 

Sorry... I read it wrong. Will not make the mistake again
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-07-12 18:53:29 UTC
could you simply attach the file (build.log) even if it is big, the current attachement isn't very easy to read.
Comment 6 Brett Royles 2007-07-12 18:56:38 UTC
Created attachment 124675 [details]
the build log file
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-07-12 22:23:04 UTC
it was suggested that you could rebuild gettext and/or try a newer version.
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-07-24 22:37:28 UTC
For the record, it builds fine with -j9 here.
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-09-08 22:18:45 UTC
@Brett, any news on this ?
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-09-12 21:46:55 UTC
please get back to us.