Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463698 - =app-text/gnome-doc-utils-0.20.10-r1 - ImportError: No module named xml2po
Summary: =app-text/gnome-doc-utils-0.20.10-r1 - ImportError: No module named xml2po
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: InVCS
: 469926 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-29 09:42 UTC by VK
Modified: 2013-05-15 10:17 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,35.25 KB, text/plain)
2013-03-29 09:43 UTC, VK
Details
emerge --info (info,4.07 KB, text/plain)
2013-03-29 09:43 UTC, VK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description VK 2013-03-29 09:42:56 UTC
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
Comment 1 VK 2013-03-29 09:43:19 UTC
Created attachment 343606 [details]
build.log
Comment 2 VK 2013-03-29 09:43:31 UTC
Created attachment 343608 [details]
emerge --info
Comment 3 VK 2013-03-29 09:43:53 UTC
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
>
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-03-29 09:46:06 UTC
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
Comment 5 VK 2013-03-29 10:21:20 UTC
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
Comment 6 Arfrever Frehtes Taifersar Arahesis 2013-03-30 07:28:30 UTC
I cannot reproduce this bug, but I noticed that the failing code is run only with unset LINGUAS or LINGUAS with "de".
Comment 7 Arfrever Frehtes Taifersar Arahesis 2013-03-30 07:33:53 UTC
This bug occurs only when app-text/gnome-doc-utils is not already installed (and LINGUAS is as described in comment #6).
Comment 8 VK 2013-03-30 07:41:11 UTC
Confirm #7
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-03-30 18:41:42 UTC
(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 ?
Comment 10 Arfrever Frehtes Taifersar Arahesis 2013-03-30 21:07:07 UTC
(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.
Comment 11 Pacho Ramos gentoo-dev 2013-03-31 13:13:03 UTC
Probably should be reported to upstream then:
bugzilla.gnome.org

and you could post the link here to track its progress upstream

Thanks
Comment 13 Jean-Francis Roy 2013-04-03 20:16:36 UTC
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.
Comment 14 David Xie 2013-04-29 06:31:14 UTC
(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
Comment 15 Sebastian Schreier 2013-04-30 10:52:00 UTC
(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"
Comment 16 Sebastian Schreier 2013-04-30 10:56:46 UTC
I forget to tell that after it is once installed it compiles fine with LINGUAS="de" set
Comment 17 Kobboi 2013-05-10 10:21:53 UTC
Same issue here, clean install, no LINGUAS set.
Comment 18 Kobboi 2013-05-10 10:41:33 UTC
By the way, -r0 compiles fine.
Comment 19 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-05-10 11:20:25 UTC
  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.
Comment 20 Pacho Ramos gentoo-dev 2013-05-15 10:17:21 UTC
*** Bug 469926 has been marked as a duplicate of this bug. ***