Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364567 - Can't build app-text/evince-2.32.0-r2
Summary: Can't build app-text/evince-2.32.0-r2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-23 11:28 UTC by Michal Špondr
Modified: 2011-04-23 17:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Špondr 2011-04-23 11:28:44 UTC
If I try to update from evince-2.32.0-r1 to evince-2.32.0-r2, it fails because of app-text/gnome-doc-utils-0.20.4 refers to /usr/lib64/python2.6/site-packages/xml2po (it's Python 2.6) I have already Python 2.7 installed.

Reproducible: Always

Steps to Reproduce:
1. emerge -uDN evince # upgrade from 2.32.0-r1 to 2.32.0-r2
Actual Results:  
if ! test -d cs/; then mkdir cs/; fi
if [ -f "C/evince.xml" ]; then d="../"; else d="/var/tmp/portage/app-text/evince-2.32.0-r2/work/evince-2.32.0/help/"; fi; \
	mo="cs/cs.mo"; \
	if [ -f "${mo}" ]; then mo="../${mo}"; else mo="/var/tmp/portage/app-text/evince-2.32.0-r2/work/evince-2.32.0/help/${mo}"; fi; \
	(cd cs/ && \
	  `which xml2po` -m docbook -e -t "${mo}" \
	    "${d}C/evince.xml" > evince.xml.tmp && \
	    cp evince.xml.tmp evince.xml && rm -f evince.xml.tmp)
'/usr/bin/xml2po-2.7' does not exist
make[2]: *** [cs/evince.xml] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-text/evince-2.32.0-r2/work/evince-2.32.0/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/evince-2.32.0-r2/work/evince-2.32.0'
make: *** [all] Error 2
emake failed


Expected Results:  
evince should compile well, app-text/gnome-doc-utils should refer to /usr/lib64/python2.7/, not to /usr/lib64/python2.6/

emerge --oneshot gnome-doc-utils
...

>>> Installing (1 of 1) app-text/gnome-doc-utils-0.20.4
<<< /usr/lib64/python2.6/site-packages/xml2po/modes/basic.py[co]
<<< /usr/lib64/python2.6/site-packages/xml2po/modes/__init__.py[co]
<<< /usr/lib64/python2.6/site-packages/xml2po/modes/docbook.py[co]
<<< /usr/lib64/python2.6/site-packages/xml2po/modes/xhtml.py[co]
<<< /usr/lib64/python2.6/site-packages/xml2po/modes/mallard.py[co]
<<< /usr/lib64/python2.6/site-packages/xml2po/modes/ubuntu.py[co]
<<< /usr/lib64/python2.6/site-packages/xml2po/modes/gs.py[co]
<<< /usr/lib64/python2.6/site-packages/xml2po/modes
<<< /usr/lib64/python2.6/site-packages/xml2po/__init__.py[co]
<<< /usr/lib64/python2.6/site-packages/xml2po
 * Updating desktop mime database ...
 * Updating shared mime info database ...
 * Updating scrollkeeper database ...
 * Compilation and optimization of Python modules for CPython 2.7 ...                                                                                                                                     [ ok ]
 * Updating desktop mime database ...
 * Updating shared mime info database ...
 * Updating scrollkeeper database ...
>>> Auto-cleaning packages...


# emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.37-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 23 Apr 2011 10:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs"
MAKEOPTS="-j3"
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.europe.gentoo.org/gentoo-portage"
USE="X alsa amd64 ao audiofile bluetooth bzip2 cairo cdda cddb cli cracklib crypt cups cxx dbus dri dvd dvdr flac gdbm geoip gif glut gnome gnutls gpm gstreamer gtk2 iconv imagemagick ipv6 jpeg jpeg2k lm_sensors mikmod mmap mmx modules mp3 mplayer mudflap multilib ncurses networkmanager nls nptl nptlonly ogg openal opengl openmp pam pcre pdf plotutils png pppd qt3support qt4 quicktime readline sdl session sharedmem smartcard sqlite sse sse2 ssl ssse3 sysfs tcpd threads trayicon truetype type1 unicode vim-syntax vorbis wifi xinerama xorg xulrunner zlib" ALSA_CARDS="hda-intel" 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" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Rafał Mużyło 2011-04-23 14:40:09 UTC
Most likely you've failed to use python-updater upon upgrade to 2.7.
Comment 2 Michal Špondr 2011-04-23 17:14:19 UTC
You were right. I had some troubles with migrating from Python 2.6 to 2.7, it's probably due to this.

python-updater $options && emerge -uDN world fixed it.