case "." in /*) sd=".";; *) sd="../.";; esac; \ if [ -f "C/legal.xml" ]; then d="../"; else d="$sd/"; fi; \ (cd uk/ && \ `which xml2po` -e -p \ "${d}uk/uk.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 462, in processElementTag (starttag, content, endtag, translation) = processElementTag(child, myrepl, 0) File "/usr/bin/xml2po", line 462, in processElementTag (starttag, content, endtag, translation) = processElementTag(child, myrepl, 0) File "/usr/bin/xml2po", line 462, in processElementTag (starttag, content, endtag, translation) = processElementTag(child, myrepl, 0) 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[3]: *** [es/fish.xml] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.16.3/work/gnome-panel-2.16.3/help/fish' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.16.3/work/gnome-panel-2.16.3/help' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.16.3/work/gnome-panel-2.16.3' make: *** [all] Error 2 !!! ERROR: gnome-base/gnome-panel-2.16.3 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ebuild.sh, line 1305: Called gnome2_src_compile gnome2.eclass, line 71: Called die Reproducible: Always Steps to Reproduce: 1.emerge -uDN world (if you have gnome emerged) # emerge --info Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21.3 i686) ================================================================= System uname: 2.6.21.3 i686 Intel(R) Celeron(R) M processor 1.50GHz Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 30 May 2007 10:00:08 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 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.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://mirror.datapipe.net/gentoo http://www.las.ic.unicamp.br/pub/gentoo/" LC_ALL="en_US.utf8" MAKEOPTS="-j10" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa bash-completion berkdb bitmap-fonts branding bzip2 cairo cdr cli cracklib crypt cups dbus djvu dri dvd dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog jpeg libg++ logrotate mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg tcpd truetype truetype-fonts type1-fonts unicode vim vim-syntax vorbis win32codecs x86 xcomposite xinerama xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I too am experiencing the same problem. Seeing that xml2po is owned by gnome-doc-utils, I tried re-emerging that as well but the problem continues to persist. newsherlock ~ # emerge --info Portage 2.1.2.7 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gentoo-r8 i686) ================================================================= System uname: 2.6.20-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 30 May 2007 05:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.4.4-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.4_p6, 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.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkgs ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j66" 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://toby.cs.sunyit.edu/gentoo-portage" USE="X a52 aac accessibility acpi alsa arts bash-completion berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups d dbus dri dvd dvdnav dvdr dvdread dvi emacs firefox flac fortran gdbm gnome gpm gtk hal iconv ipv6 isdnlog java jpeg ldap libg++ midi mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python quicktime rdesktop readline real reflection samba scanner session spell spl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xcomposite xine xml xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
It has something to do with gnome-doc-utils-0.10.* being hard masked. I fixed it by unmasking app-text/gnome-doc-utils-0.10.3 Then gnome-panel compiles fine.
Re-emerge app-text/gnome-doc-utils; it's apparently broken.
(In reply to comment #2) > It has something to do with gnome-doc-utils-0.10.* being hard masked. > I fixed it by unmasking app-text/gnome-doc-utils-0.10.3 > Then gnome-panel compiles fine. > Ignore this. Remerging 0.8.0 worked for me too.
(In reply to comment #4) > (In reply to comment #2) > > It has something to do with gnome-doc-utils-0.10.* being hard masked. > > I fixed it by unmasking app-text/gnome-doc-utils-0.10.3 > > Then gnome-panel compiles fine. > > > Ignore this. > Remerging 0.8.0 worked for me too. > ***worked for me too :)
I have tried re-emerging gnome-doc-utils as suggested (I tried that again today) but the emerge is still failing. My build error seems to have changed slightly, though. 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 462, in processElementTag (starttag, content, endtag, translation) = processElementTag(child, myrepl, 0) 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 260, in _parse magic = unpack('<I', buf[:4])[0] struct.error: unpack str size does not match format make[3]: *** [zh_CN/window-list.xml] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.16.3/work/gnome-panel-2.16.3/help/window-list' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.16.3/work/gnome-panel-2.16.3/help' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.16.3/work/gnome-panel-2.16.3' make: *** [all] Error 2
I can confirm that unmasking app-text/gnome-doc-utils-0.10.3 does allow gnome-panel to properly install.
Reemerging app-text/gnome-doc-utils-0.8.0 worked for me too.