Fails with... Traceback (most recent call last): File "/usr/bin/xml2po", line 185, in <module> main(sys.argv[1:]) File "/usr/bin/xml2po", line 171, in main xml2po_main.merge(mofile, filenames[0]) File "/usr/lib/python2.6/site-packages/xml2po/__init__.py", line 601, in merge self.gt = gettext.GNUTranslations(mfile) File "/usr/lib/python2.6/gettext.py", line 180, in __init__ self._parse(fp) File "/usr/lib/python2.6/gettext.py", line 314, in _parse plural = v[1].split('plural=')[1] IndexError: list index out of range Reproducible: Always Steps to Reproduce: 1. emerge =x11-terms/gnome-terminal-2.26.3.1-r2 Actual Results: gnome-terminal-2.26.3.1-r2/work/gnome-terminal-2.26.3.1/help/"; fi; \ (cd el/ && \ `which xml2po` -e -p \ "${d}el/el.po" \ "${d}C/gnome-terminal.xml" > gnome-terminal.xml.tmp && \ cp gnome-terminal.xml.tmp gnome-terminal.xml && rm -f gnome-terminal.xml.tmp) Traceback (most recent call last): File "/usr/bin/xml2po", line 185, in <module> main(sys.argv[1:]) File "/usr/bin/xml2po", line 171, in main xml2po_main.merge(mofile, filenames[0]) File "/usr/lib/python2.6/site-packages/xml2po/__init__.py", line 601, in merge self.gt = gettext.GNUTranslations(mfile) File "/usr/lib/python2.6/gettext.py", line 180, in __init__ self._parse(fp) File "/usr/lib/python2.6/gettext.py", line 314, in _parse plural = v[1].split('plural=')[1] IndexError: list index out of range make[2]: *** [el/gnome-terminal.xml] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-terms/gnome-terminal-2.26.3.1-r2/work/gnome-terminal-2.26.3.1/help' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-terms/gnome-terminal-2.26.3.1-r2/work/gnome-terminal-2.26.3.1' make: *** [all] Error 2 * ERROR: x11-terms/gnome-terminal-2.26.3.1-r2 failed: Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.29-hardened-r1 i686) ================================================================= System uname: Linux-2.6.29-hardened-r1-i686-Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz-with-gentoo-1.12.13 Timestamp of tree: Mon, 08 Feb 2010 10:45:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4 dev-python/pycrypto: 2.1.0_beta1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa avahi berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg kde ldap libnotify livecd loop-aes mad mikmod mng modules mpeg mudflap nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session socks5 spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 218977 [details] build.log
Thank you for report Fernando. Please, don't set blockers until you really know it worth it... What version of app-text/gnome-doc-utils do you have installed? Does this patch helps you: http://git.gnome.org/browse/gnome-terminal/commit/?id=30f29e7d8e1b67c40cd18a7155ba30c4382692d5 @gnome: if it fixes the issue probably it's good idea to apply to both branches 2.26 and 2.28.
(In reply to comment #2) > Thank you for report Fernando. Please, don't set blockers until you really know > it worth it... > > What version of app-text/gnome-doc-utils do you have installed? Does this patch > helps you: > > http://git.gnome.org/browse/gnome-terminal/commit/?id=30f29e7d8e1b67c40cd18a7155ba30c4382692d5 > > @gnome: if it fixes the issue probably it's good idea to apply to both branches > 2.26 and 2.28. > I have =app-text/gnome-doc-utils-0.18.1 and the patch is not applying properly. see http://omploader.org/vM2h2Nw @block I set this bug as a block of 281827 because this build is part of the Gentoo Ten LiveDVD which I am lead builder and these bugs prevent the build from finishing. Thanks for your time.
And another failure for gnome-doc-utils... I wonder why I haven't seen this one when I built the package with all linguas though. Applying the patch is fine as long as it doesn't break the translations.
this patch didn't work for me, can someone confirm this?
Fernando, please, do not set blockers until you really know that it's required. Also could you try 2.28? Does it fail same way? If no, then this is different problem.
Getting the same bug, amd64 (stable).
Encounter the same problem: Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with- gentoo-1.12.13 Timestamp of tree: Sun, 18 Apr 2010 08:30:01 +0000 app-shells/bash: 4.0_p37 dev-lang/python: 2.6.4-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.10.2, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirrors.sohu.com/gentoo/ ftp://mirrors.xmu.edu.cn/gentoo http://mirrors.sohu.com/gentoo/ " LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force -- whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local -- exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl berkdb bzip2 cli consolekit cracklib crypt cups cxx dbus dri fortran gdbm gnome gpm gtk hal iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
*** Bug 316381 has been marked as a duplicate of this bug. ***
The referenced patch worked for me for gnome-terminal-2.26.3.1-r2 (it compiled fine). Whether it breaks the actual translation - I don't speak any Greek so I wouldn't know... ;)
Also experiencing this - fixed by applying the patch in #2. Can somebody push this through to the tree?
(In reply to comment #11) > Also experiencing this - fixed by applying the patch in #2. Can somebody push > this through to the tree? > Does it also affect to gnome-terminal-2.28.2
(it was a question :-S -> should end with "?")
The bug #316683 seems to be a duplicate of this one.
Yep, thanks for pointing it
*** Bug 316683 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > Thank you for report Fernando. Please, don't set blockers until you really know > it worth it... > > What version of app-text/gnome-doc-utils do you have installed? Does this patch > helps you: > > http://git.gnome.org/browse/gnome-terminal/commit/?id=30f29e7d8e1b67c40cd18a7155ba30c4382692d5 > > @gnome: if it fixes the issue probably it's good idea to apply to both branches > 2.26 and 2.28. > I'm running into this issue as well and it's keeping me from being able to build gnome. How would I go about applying the patch manually?
Jeff, a quick search yields: http://forums.gentoo.org/viewtopic.php?t=5378
(In reply to comment #12) > (In reply to comment #11) > > Also experiencing this - fixed by applying the patch in #2. Can somebody push > > this through to the tree? > > > > Does it also affect to gnome-terminal-2.28.2 > It shouldn't since it includes: http://git.gnome.org/browse/gnome-terminal/commit/?id=30f29e7d8e1b67c40cd18a7155ba30c4382692d5
+ 26 Apr 2010; Pacho Ramos <pacho@gentoo.org> + gnome-terminal-2.26.3.1-r2.ebuild, + +files/gnome-terminal-2.26.3.1-remove-plural.patch: + Apply upstream patch to drop useless Plural-Forms line causing build to + fail with current stable gnome-doc-utils. Thanks to Peter Volkov for + finding the fix in bug #304091
(In reply to comment #2) > Thank you for report Fernando. Please, don't set blockers until you really know > it worth it... > > What version of app-text/gnome-doc-utils do you have installed? Does this patch > helps you: > > http://git.gnome.org/browse/gnome-terminal/commit/?id=30f29e7d8e1b67c40cd18a7155ba30c4382692d5 > > @gnome: if it fixes the issue probably it's good idea to apply to both branches > 2.26 and 2.28. > I removed the offending line in the el.po file and I still am failing the compile. http://pastebin.com/9gSvkqKx is my build.log and my emerge-info Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-gentoo-r7-x86_64-AMD_Phenom-tm-_9500_Quad-Core_Processor-with-gentoo-1.12.13 Timestamp of tree: Mon, 26 Apr 2010 17:00:02 +0000 app-shells/bash: 4.0_p37 dev-lang/python: 2.6.4-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ rsync://mirror.mcs.anl.gov/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ rsync://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org/ rsync://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt css cups curl cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk hal hddtemp iconv ipv6 jpeg lcms ldap libnotify lm-sensors mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I don't see the patch being applied, maybe you should run "emerge --sync" again and retry
(In reply to comment #22) > I don't see the patch being applied, maybe you should run "emerge --sync" again > and retry > sorry, I just synced and it works.