Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 282719

Summary: app-office/scribus-1.3.3.11 builds against Python 2.5 when Python 2.5 and 2.6 are installed
Product: Gentoo Linux Reporter: Marcello Magaldi <magowiz>
Component: Current packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marcello Magaldi 2009-08-25 17:09:06 UTC
scribus (or one of its components) gets always linked to python-2.5 even if python 2.6 is installed. This cause python-updater rebuild scribus on each run.
Only removing python-2.5 and doing a revdep-rebuild removes the linking to 2.5 but also all the files in /usr/share/scribus/scripts/

Reproducible: Always

Steps to Reproduce:
1.update to python 2.6
2. run python-updater two or more times
3.
Actual Results:  
scribus is linked to a python 2.5 so file, also after a first rebuild (or a second , or more) scribus keep this link and the only way to solve is to remove python 2.5 (obviously after a python-updater successfully run) and rebuild scribus , anyway all the files in /usr/share/scribus/scripts/ goes away (on another machine I have some .py files in it). 

Expected Results:  
a rebuild of scribus should be linked to the newer python also if the old (2.5) is detected.

# emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-i686-Intel-R-_Celeron-R-_CPU_2.80GHz-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 25 Aug 2009 09:30:03 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /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=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="it_IT.UTF-8@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="it en en_US en_GB"
MAKEOPTS="-j8"
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 /usr/local/portage/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi aiglx aim alsa amr amrnb amrwb apm arts aspnet audiofile avahi avi bash-completion beagle berkdb bitmap-fonts bonobo branding bzip2 c++ cairo caps cdaudio cdda cdparanoia cdr cli cracklib crypt css cups curl cxx dbus devhelp divx4linux dri dts dvd dvdnav dvdr dvdread eds emboss encode esd evo examples exif fam fbcondecor ffmpeg firefox flac foomaticdb fortran ftp galago gd gdbm gif gimp glade glitz gnome gnome-keyring gnustep gpm gstreamer gtk gtk2 guile hal iconv icq id3tag imagemagick imap imlib ipv6 isdnlog jabber jack java java6 javascript jpeg junit kde kpathsea latex ldap libg++ libnotify libwww lm_sensors lzo mad matroska mikmod mime mmx mono motif mozilla mp3 mp4 mpeg msn mtp mudflap mysql nautilus ncurses nls normalize nptl nptlonly nsplugin objc odbc offensive ogg oggvorbis ogm openal opengl openmp oscar oss pam pcmcia pcre pdf pdflib perl php png pnp portaudio posix ppds pppd pulseaudio python qt qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session shorten slang sockets sourceview speex spell spl sqlite sqlite3 srt sse sse2 ssl startup-notification subversion svg svga sysfs tcltk tcpd tetex theora threads thunar thunderbird tidy tiff truetype truetype-fonts type1-fonts unicode usb v4l valgrind vcd videos vorbis wifi win32codecs wxwidgets wxwindows x264 x86 xine xml xml2 xorg xpm xulrunner xv xvid yahoo 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" LINGUAS="it en en_US en_GB" USERLAND="GNU" VIDEO_CARDS="radeon fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marcello Magaldi 2009-08-26 20:43:17 UTC
running python-updater with -v option I found which is the file linked to old python lib :

 *   Adding to list: app-office/scribus:0
 *     check: soname [ Libraries linked to old libpython found:
 *     libpython2.5.so.1.0 /usr/lib/scribus/plugins/libscriptplugin.so.0.0.0
 *     ]
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-01-06 19:36:32 UTC
Should be fixed in Portage with 1.3.5.1 bump.