emerge gnome-doc-utils fails because of ImportError: No module named xml2po Expected Outcome : xml2po belongs to gnome-doc-utils, therefore this error should not exist
Created attachment 343606 [details] build.log
Created attachment 343608 [details] emerge --info
Comment on attachment 343608 [details] emerge --info >Portage 2.3.5-r7 (funtoo/1.0/linux-gnu/arch/x86-32bit, gcc-4.6.3, glibc-2.15-r3, 3.8.1-pf i686) >================================================================= >System uname: Linux-3.8.1-pf-i686-Intel-R-_Celeron-R-_M_CPU_420_@_1.60GHz-with-gentoo-2.2.0 >KiB Mem: 2582100 total, 1355844 free >KiB Swap: 4194300 total, 4194300 free >Timestamp of tree: Fri, 29 Mar 2013 05:45:01 +0000 >ld GNU ld (GNU Binutils) 2.22 >app-shells/bash: 4.2_p37 >dev-lang/python: 2.7.3-r1000, 3.2.3-r1000 >dev-util/cmake: 2.8.10.2-r1 >sys-apps/baselayout: 2.2.0-r4 >sys-apps/openrc: 0.10.2-r7 >sys-apps/sandbox: 2.6 >sys-devel/autoconf: 2.13, 2.69 >sys-devel/automake: 1.11.6 >sys-devel/binutils: 2.22-r1 >sys-devel/gcc: 4.6.3 >sys-devel/gcc-config: 1.5-r1 >sys-devel/libtool: 2.4.2 >sys-devel/make: 3.82-r4 >sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) >sys-libs/glibc: 2.15-r3 >Repositories: gentoo alpha >ACCEPT_KEYWORDS="x86 ~x86" >ACCEPT_LICENSE="*" >CBUILD="i686-pc-linux-gnu" >CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe" >CHOST="i686-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" >CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe" >DISTDIR="/usr/portage/distfiles" >FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" >FFLAGS="" >GENTOO_MIRRORS="ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://distfiles.gentoo.org" >LANG="en_US.UTF-8" >LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" >MAKEOPTS="-j2" >PKGDIR="/usr/portage/packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_TMPDIR="/var/tmp" >PORTDIR="/usr/portage" >PORTDIR_OVERLAY="/usr/local/portage" >SYNC="git://github.com/funtoo/ports-2012.git" >SYNC_USER="root" >USE="X acl berkdb bzip2 connman cracklib crypt cxx dbus gdbm gtk iconv icu ipv6 modules mudflap ncurses nls nptl openmp pcre python readline resolvconf ssl tcpd unicode x86 xml zlib" ABI_X86="32" 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 cgi cgid 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_ABIS="2.7 3.2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa fbdev intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" >Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK >
Try re-emerging python-doc-utils AND run `python-updater` It may be you just forgot to run the updater, as in, for example, python-2.7 wasn't installed at the time of installing gnome-doc-utils
Attempts to fix the problem: MAKEOPTS="-j1" : no effect revdep-rebuild: no effect python-updater : No packages need to be reinstalled emerge -1 docutils && python-updater : no effect
I cannot reproduce this bug, but I noticed that the failing code is run only with unset LINGUAS or LINGUAS with "de".
This bug occurs only when app-text/gnome-doc-utils is not already installed (and LINGUAS is as described in comment #6).
Confirm #7
(In reply to comment #6) > I cannot reproduce this bug, but I noticed that the failing code is run only > with unset LINGUAS or LINGUAS with "de". What failing code ?
(In reply to comment #9) > (In reply to comment #6) > > I cannot reproduce this bug, but I noticed that the failing code is run only > > with unset LINGUAS or LINGUAS with "de". > > What failing code ? The code in build system, which generates some files for German locale.
Probably should be reported to upstream then: bugzilla.gnome.org and you could post the link here to track its progress upstream Thanks
https://bugzilla.gnome.org/show_bug.cgi?id=696993
I just ran into this bug. I did not have the LINGUAS variable set. Running: # LINGUAS="en" emerge -1 gnome-doc-utils worked as described in comment #7.
(In reply to comment #13) > I just ran into this bug. I did not have the LINGUAS variable set. > > Running: > > # LINGUAS="en" emerge -1 gnome-doc-utils > > worked as described in comment #7. Yes, it works. However, if no LINGUAS is set, problem can be easily reproduced
(In reply to comment #13) > I just ran into this bug. I did not have the LINGUAS variable set. > > Running: > > # LINGUAS="en" emerge -1 gnome-doc-utils > > worked as described in comment #7. Can confirm this, fresh Gentoo install with LINGUAS="de"
I forget to tell that after it is once installed it compiles fine with LINGUAS="de" set
Same issue here, clean install, no LINGUAS set.
By the way, -r0 compiles fine.
10 May 2013; Gilles Dartiguelongue <eva@gentoo.org> gnome-doc-utils-0.20.10-r1.ebuild, +files/gnome-doc-utils-0.20.10-fix-out-of-tree-build.patch: Make build system stop using installed xml2po, bug #463698. Was already reported (but not fixed) upstream -_- Fixed and sorry for the long wait.
*** Bug 469926 has been marked as a duplicate of this bug. ***