Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232313 - app-admin/python-updater-0.5 does nothing
Summary: app-admin/python-updater-0.5 does nothing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-07-19 10:45 UTC by crusaderky
Modified: 2009-07-12 04:29 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 crusaderky 2008-07-19 10:45:54 UTC
I just upgraded python from 2.4 to 2.5, both on my amd64 and my x86 system. The two systems have very similar packages and USE flags installed.

On amd64, I ran python-updater and, after several minutes of disk crunching, got 52 rebuilds.

On x86, I get ZERO packages after a fraction of second, sign that the script didn't even try scanning portage or whatever!

 # python-updater -v
 * Starting Python Updater from 2.4 to 2.5 :
 * check "soname" enabled.
 * check "pylibdir" enabled.
 * check "eclass" disabled.
 * check "manual" enabled.
 * No packages needs to be remerged.

# du -sh /usr/lib/python2.4
112M	/usr/lib/python2.4

WORKAROUND: I suppose that I could catch (most of?) the package depending on python-2.4 using equery

# equery belongs /usr/lib/python2.4
[ Searching for file(s) /usr/lib/python2.4 in *... ]
xfce-extra/exo-0.3.4 (/usr/lib/python2.4)
x11-libs/vte-0.16.13 (/usr/lib/python2.4)
app-mobilephone/obexftp-0.22 (/usr/lib/python2.4)
app-admin/gamin-0.1.9-r1 (/usr/lib/python2.4)
gnome-base/gnome-menus-2.20.3 (/usr/lib/python2.4)
app-portage/layman-1.1.1 (/usr/lib/python2.4)
media-gfx/graphviz-2.18 (/usr/lib/python2.4)
media-libs/lcms-1.17 (/usr/lib/python2.4)
media-libs/pdflib-7.0.2_p8 (/usr/lib/python2.4)
media-libs/mutagen-1.12 (/usr/lib/python2.4)
media-libs/libgpod-0.5.2 (/usr/lib/python2.4)
sys-apps/file-4.23 (/usr/lib/python2.4)
sys-libs/cracklib-2.8.12 (/usr/lib/python2.4)
sys-libs/libcap-1.10-r11 (/usr/lib/python2.4)
net-fs/samba-3.0.28a-r1 (/usr/lib/python2.4)
dev-java/java-config-1.3.7 (/usr/lib/python2.4)
dev-java/antlr-2.7.7 (/usr/lib/python2.4)
dev-lang/python-2.4.4-r13 (/usr/lib/python2.4)
dev-libs/libxslt-1.1.24 (/usr/lib/python2.4)
dev-libs/libxml2-2.6.31 (/usr/lib/python2.4)
dev-util/subversion-1.4.6 (/usr/lib/python2.4)
dev-util/wxglade-0.6 (/usr/lib/python2.4)
dev-python/cddb-py-1.4 (/usr/lib/python2.4)
dev-python/elementtree-1.2.6-r2 (/usr/lib/python2.4)
dev-python/notify-python-0.1.1 (/usr/lib/python2.4)
dev-python/sexy-python-0.1.9 (/usr/lib/python2.4)
dev-python/pyrex-0.9.4.1 (/usr/lib/python2.4)
dev-python/dbus-python-0.80.2 (/usr/lib/python2.4)
dev-python/pysqlite-2.3.5 (/usr/lib/python2.4)
dev-python/pygtk-2.12.0 (/usr/lib/python2.4)
dev-python/wxpython-2.6.4.0-r1 (/usr/lib/python2.4)
dev-python/pyopengl-2.0.0.44 (/usr/lib/python2.4)
dev-python/pyorbit-2.14.3 (/usr/lib/python2.4)
dev-python/pygobject-2.14.1 (/usr/lib/python2.4)
dev-python/numeric-24.2-r6 (/usr/lib/python2.4)
dev-python/setuptools-0.6_rc7-r1 (/usr/lib/python2.4)
dev-python/pycairo-1.4.12 (/usr/lib/python2.4)
dev-python/gst-python-0.10.9 (/usr/lib/python2.4)
dev-python/gnome-python-2.20.1 (/usr/lib/python2.4)
dev-python/pycrypto-2.0.1-r6 (/usr/lib/python2.4)
net-wireless/libbtctl-0.9.0 (/usr/lib/python2.4)
net-wireless/gnome-bluetooth-0.9.1 (/usr/lib/python2.4)
gnome-extra/libgsf-1.14.7 (/usr/lib/python2.4)


A hint of what might be a possible cause:
/var is actually a symlink to /dmcrypt/var
/dmcrypt/var/db/pkg is a symklink to /var-clear/pkg
However, I haven't had any issues with this so far.

 # emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: 2.6.25-gentoo-r4 i686 Intel(R) Celeron(R) M CPU 420 @ 1.60GHz
Timestamp of tree: Sat, 19 Jul 2008 07:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.3
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sanbox sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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://lucy/portage"
USE="X a52 aac acl acpi alsa apache2 bash-completion berkdb bluetooth bzip2 cairo cddb cdparanoia cdr cjk cli cracklib crypt cups curl cvs dbus dri dts dvd dvdr dvdread eds emboss encode exif fam ffmpeg firefox flac fortran ftp gd gdbm gif gimp gnutls gpm gtk hal iconv ipod ipv6 isdnlog java jpeg kerberos lame lcms ldap libnotify lm_sensors lzo mad matroska midi mikmod mmx mng mp3 mpeg mtp musepack mysql ncurses nls nptl nptlonly nsplugin obex ogg opengl openmp pam pcmcia pcre pda pdf perl png pppd python qt3support quicktime raw readline reflection samba sasl sdl session slp socks5 speex spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg tcl tcpd theora threads tiff tk truetype unicode usb vorbis webdav wifi win32codecs wmf wxwindows x264 x86 xinetd xml xorg xulrunner xv xvid 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 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" CAMERAS="fuji" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Richard Hartmann 2008-07-23 14:45:34 UTC
I do have the same problem. python-updater -v does absolutely nothing. I do not even get any output, as the original reporter does.


Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-3.4.6, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Tue, 22 Jul 2008 15:45:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts asf berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdeenablefinal ldap libnotify lm_sensors mad midi mikmod mime mmx mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ntfs ogg opengl openmp pam pcre pda pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode vcd vorbis win32codecs wmp x86 xine xml xorg xv xvid 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 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="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Richard Hartmann 2008-07-23 15:00:02 UTC
In my case I found the solution. As I removed python-2.4 before running python-updater, python-updater couldn't see any previous installation of python.

After emerging python-2.4 again python-updater runs as desired.
Comment 3 Ali Polatel (RETIRED) gentoo-dev 2008-07-24 01:17:28 UTC
Please read bug 232761, comment 1.
Guido, if you uninstalled your old python version, retry with
python-updater -o OLD_PYTHON_VERSION
If this isn't your case, please reopen the bug.
Comment 4 crusaderky 2008-07-24 20:18:27 UTC
I didn't uninstall python-2.3.
Comment 5 crusaderky 2008-07-24 20:19:26 UTC
*err I mean python-2.4.
Anyway, it was quite evident from the python-updater message in my first post that this was not the issue:
>>  * Starting Python Updater from 2.4 to 2.5 :
Comment 6 Radoslaw Szkodzinski 2009-04-29 12:39:43 UTC
Also happens here with 2.5 to 2.6.
I'm actually having both installed, but portage is making mess of the deps now. (e.g. thinks pygobject is installed for 2.6 when it's not, so pygtk explodes...)

Please fix ASAP.
Comment 7 Radoslaw Szkodzinski 2009-04-29 12:43:08 UTC
Forgot to mention, this is with python-updater 0.6-r1.
Comment 8 Radoslaw Szkodzinski 2009-04-29 12:49:56 UTC
Hmm, one possible cause is that /var/db/pkg might be a symlink. This makes find not return any files...
Either do a readlink, or add a trailing / to the find command.
Comment 9 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-12 04:29:00 UTC
Fixed in app-admin/python-updater-0.7.