Summary: | app-admin/python-updater-0.9{,-r1} constantly rebuilds a few packages | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Mirosław <bug> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexanderyt, alexpro, ao, buchner.johannes, carenas, dadok, halcon, hsggebhardt, j6yNRdsH5Fc3, jekarlson, lsching17, neil, netbox253 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
output from python-updater -v -v -v -- -pv
patch for python-updater skip packages without python support |
Description
Marcin Mirosław
2011-09-26 14:00:17 UTC
Created attachment 287777 [details]
output from python-updater -v -v -v -- -pv
Hi Marcin, Have you tried disabling some of the python-updater checks? Please refer to the CHECKS sections in python-updater man page and reopen if that does not fix the issue. Best regards, I am seeing the same behaviour here, and you can add net-analyzer/rrdtool to the list of continually rebuilt packages. This is on amd64 and ~amd64 systems, running python-updater 0.9 and 0.9-r1 respectively. Hi Jesus, i've never had such problem. Python packages used on my host are rather the same. Imho some checks doesn't work correctly, python-updater always wants to rebuild some packages without real reason. (on x86 the same situatuation) The best solution seems to be for python-updater to check if dependency on Python has been enabled in given packages, and skip PYTHON_ABIS check if this dependency is disabled. Reliable checking of dependencies requires new syntax of PYTHON_DEPEND, which is available in Progress Overlay. About 6 lines of _python_check_run-time_dependency() function from python.eclass would have to be copied into python-updater. use() function defined in python-updater would check USE variable from environment.bz2. E.g. dev-vcs/subversion needs Python at run time with USE="ctypes-python" or USE="python", which can be expressed using: PYTHON_DEPEND="ctypes-python? ( <<>> ) python? ( <<>> )". In this case, _PYTHON_DEPEND_CHECKS_CODE variable (which is generated during parsing of PYTHON_DEPEND in _python_parse_dependencies_in_new_EAPIs() and evaluated in _python_check_run-time_dependency()) would be: "if use ctypes-python; then return 0; fi; if use python; then return 0; fi" The fix for this issue would work only for EAPIs with new syntax of PYTHON_DEPEND. This issue is rather major since recent disabling of "python" USE flag in gentoo-x86 profiles, but only packages with conditional dependency on Python would have to be quickly ported to EAPI >=4 to benefit from the fix. Reopening per Arfrever's request and as I see it in my box this bug is still valid *** Bug 387997 has been marked as a duplicate of this bug. *** Looks like you already have figured out the issue plus solution, but just for illustration here is what I see: myhost ~ # python-updater -v * Starting Python Updater... * Main active version of Python: 2.7 * Active version of Python 2: 2.7 * Active version of Python 3: 3.1 * check "shared_linking" enabled. * check "static_linking" enabled. * check "pylibdir" enabled. * check "manual" enabled. * check "need_rebuild" enabled. * Adding to list: dev-libs/libxslt:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * Adding to list: media-libs/lcms:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * Adding to list: sys-apps/file:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 3.1 ] * Adding to list: sys-libs/cracklib:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * emerge -Dv1 --keep-going dev-libs/libxslt:0 media-libs/lcms:0 sys-apps/file:0 sys-libs/cracklib:0 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/file-5.09 USE="zlib -python -static-libs" 0 kB [ebuild R ] media-libs/lcms-1.19 USE="jpeg tiff zlib -python -static-libs" 0 kB [ebuild R ] sys-libs/cracklib-2.8.16 USE="nls -python" 0 kB [ebuild R ] dev-libs/libxslt-1.1.26-r2 USE="crypt -debug -python -static-libs" 0 kB Same thing for me: # python-updater -v -p * Starting Python Updater... * Main active version of Python: 2.7 * Active version of Python 2: 2.7 * Active version of Python 3: (None) * Globally supported Python ABIs in installed repositories: * gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 2.5-jython 2.7-pypy-1.7 2.7-pypy-1.8 * Check "manual" enabled. * Check "need_rebuild" enabled. * Check "pylibdir" enabled. * Check "PYTHON_ABIS" enabled. * Check "shared_linking" enabled. * Check "static_linking" enabled. * Adding to list: dev-libs/libxslt:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * Adding to list: sys-apps/file:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * emerge -Dv1 --keep-going -p dev-libs/libxslt:0 sys-apps/file:0 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/file-5.11 USE="-python -static-libs -zlib" 0 kB [ebuild R ] dev-libs/libxslt-1.1.26-r3 USE="-crypt -debug -python -static-libs" 0 kB Total: 2 packages (2 reinstalls), Size of downloads: 0 kB Created attachment 305265 [details]
patch for python-updater skip packages without python support
In my opinion, python-updater must skip packages without python bindings/support instead of trying to rebuild them. This behavior appears due to incomplete verification of matching old and new python ABI versions: when old ABI version is empty, python-updater assumes it not equal to new and includes package to rebuild list. Attached patch can solve this problem. With best regards. *** Bug 408087 has been marked as a duplicate of this bug. *** (In reply to comment #11) > In my opinion, python-updater must skip packages without python > bindings/support instead of trying to rebuild them. > > This behavior appears due to incomplete verification of matching old and new > python ABI versions: when old ABI version is empty, python-updater assumes > it not equal to new and includes package to rebuild list. Attached patch can > solve this problem. > > With best regards. I agree with this change. I see the same thing: # python-updater -v -- -p * Starting Python Updater... * Main active version of Python: 3.2 * Active version of Python 2: 2.7 * Active version of Python 3: 3.2 * Globally supported Python ABIs in installed repositories: * desktop-effects: 2.4 2.5 2.6 2.7 3.1 3.2 2.5-jython 2.7-pypy-1.7 2.7-pypy-1.8 * gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 2.5-jython 2.7-pypy-1.7 2.7-pypy-1.8 * x-portage: 2.4 2.5 2.6 2.7 3.1 3.2 2.5-jython 2.7-pypy-1.7 2.7-pypy-1.8 * Check "manual" enabled. * Check "need_rebuild" enabled. * Check "pylibdir" enabled. * Check "PYTHON_ABIS" enabled. * Check "shared_linking" enabled. * Check "static_linking" enabled. * Adding to list: app-misc/g15daemon:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 3.2 ] * Adding to list: dev-libs/libxslt:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * Adding to list: gnome-extra/libgsf:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * Adding to list: media-libs/lcms:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * Adding to list: sys-apps/file:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 3.2 ] * Adding to list: sys-libs/cracklib:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * emerge -Dv1 --keep-going app-misc/g15daemon:0 dev-libs/libxslt:0 gnome-extra/libgsf:0 media-libs/lcms:0 sys-apps/file:0 sys-libs/cracklib:0 -p These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/file-5.09 USE="zlib -python -static-libs" 0 kB [ebuild R ] sys-libs/cracklib-2.8.16 USE="nls -python" 0 kB [ebuild R ] app-misc/g15daemon-1.9.5.3-r5 USE="-perl -python -static-libs" 0 kB [ebuild R ] media-libs/lcms-1.19 USE="jpeg zlib -python -static-libs -tiff" 0 kB [ebuild R ] dev-libs/libxslt-1.1.26-r3 USE="crypt -debug -python -static-libs" 0 kB [ebuild R ] gnome-extra/libgsf-1.14.22 USE="bzip2 -doc -gtk -python" 0 kB Total: 6 packages (6 reinstalls), Size of downloads: 0 kB I can confirm that the issue is fixed for me after applying the patch from comment #10 on python-updater-0.10. Any news on this? I am still seeing the same issue... And still with 0.10... Confirm the issue here too: emerge --info Portage 2.1.11.31 (default/linux/amd64/10.0/desktop, gcc-4.5.4, glibc-2.15-r3, 3.4.4 x86_64) ================================================================= System uname: Linux-3.4.4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.1 Timestamp of tree: Sat, 26 Jan 2013 17:30:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.6.8, 2.7.3-r2, 3.1.5, 3.2.3 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4, 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo science zugaina kde-sunset x-portage ACCEPT_KEYWORDS="amd64 x86" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS=" http://distfiles.gentoo.org http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/" LANG="it_IT@euro" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/zugaina /var/lib/layman/kde-sunset /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aiglx alsa amd64 amr apm arts avi berkdb blas bluetooth branding bzip2 cairo caps ccache cdda cddb cdparanoia cdr cdrom cleartype cli consolekit corefonts cracklib crypt css cups curl cxx dga directfb dri dts dvd dvdr dvdread emacs emboss encode exif expat extensions extras fam fbcon fbdev ffmpeg fftw firefox flac fltk fortran gcj gdbm gif glitz glut glx gpm gs gtk hddtemp hdf5 httpd iconv ipv6 java jpeg kpathsea lcms ldap libnotify libwww lm_sensors logitech-mouse mad mmx mng modules mp3 mp4 mpeg mpi mpi-threads mplayer mudflap multilib mysql ncurses nls nptl nsplugin objc objc++ objc-gc ogg oggvorbis openal opengl openmp oss pam pango pcre pdf png policykit postscript ppds preview-latex qt3support qt4 quicktime readline reiserfs romio samba scanner sdl sensord session slang sound sox spell sse sse2 ssl startup-notification stream svg tcltk tcpd tetex threads tiff tk truetype type1 udev udisks unicode upower usb v4l v4l2 vcd vesa vorbis wavpack wifi wma wma123 wmf wxwidgets wxwindows x264 xcb xml xorg xplanet xulrunner xv xvid 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="authn_core authz_core socache_shmcb unixd 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" 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="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, USE_PYTHON same issue here with python-updater 0.10-r2, always rebuild the same 20 packages: python-updater -v: * [1;34mStarting Python Updater...[0m * [1;36mMain active version of Python: 2.7[0m * [1;36mActive version of Python 2: 2.7[0m * [1;36mActive version of Python 3: 3.2[0m * [1;36mGlobally supported Python ABIs in installed repositories:[0m * [1;36mgentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0[0m * [1;36mmy_local_overlay: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0[0m * Check "manual" enabled. * Check "need_rebuild" enabled. * Check "pylibdir" enabled. * Check "PYTHON_ABIS" enabled. * Check "shared_linking" enabled. * Check "static_linking" enabled. * Adding to list: dev-java/java-config:2 * check: pylibdir [ Installed file under old Python include/library directory ] * Adding to list: dev-libs/boost:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 3.2 ] * Adding to list: dev-libs/libgamin:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * Adding to list: dev-libs/libxslt:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * Adding to list: dev-python/beautifulsoup:4 * check: pylibdir [ Installed file under old Python include/library directory ] * Adding to list: dev-python/dbus-python:0 * check: pylibdir [ Installed file under old Python include/library directory ] * Adding to list: dev-python/lxml:0 * check: pylibdir [ Installed file under old Python include/library directory ] * Adding to list: dev-python/markupsafe:0 * check: pylibdir [ Installed file under old Python include/library directory ] * Adding to list: dev-python/pyatspi:0 * check: pylibdir [ Installed file under old Python include/library directory ] * Adding to list: dev-python/pycairo:0 * check: pylibdir [ Installed file under old Python include/library directory ] * Adding to list: dev-python/pygobject:3 * check: pylibdir [ Installed file under old Python include/library directory ] * Adding to list: dev-python/pyxdg:0 * check: pylibdir [ Installed file under old Python include/library directory ] * Adding to list: dev-python/setuptools:0 * check: pylibdir [ Installed file under old Python include/library directory ] * Adding to list: dev-util/gdbus-codegen:0 * check: pylibdir [ Installed file under old Python include/library directory ] * Adding to list: dev-vcs/subversion:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * Adding to list: gnome-extra/libgsf:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * Adding to list: net-libs/gupnp-igd:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * Adding to list: sys-apps/file:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 3.2 ] * Adding to list: sys-libs/cracklib:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ] * Adding to list: sys-libs/libcap-ng:0 * check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 3.2 ] * emerge -Dv1 --keep-going dev-java/java-config:2 dev-libs/boost:0 dev-libs/libgamin:0 dev-libs/libxslt:0 dev-python/beautifulsoup:4 dev-python/dbus-python:0 dev-python/lxml:0 dev-python/markupsafe:0 dev-python/pyatspi:0 dev-python/pycairo:0 dev-python/pygobject:3 dev-python/pyxdg:0 dev-python/setuptools:0 dev-util/gdbus-codegen:0 dev-vcs/subversion:0 gnome-extra/libgsf:0 net-libs/gupnp-igd:0 sys-apps/file:0 sys-libs/cracklib:0 sys-libs/libcap-ng:0 -p These are the packages that would be merged, in order: Calculating dependencies ...... done! [ebuild R ] sys-libs/cracklib-2.8.19 USE="nls zlib -build -python -static-libs" 0 kB [ebuild R ] sys-apps/file-5.11 USE="zlib -python -static-libs" 0 kB [ebuild R ] dev-libs/boost-1.49.0-r2 USE="-debug -doc -icu -mpi -python -static-libs -tools" 0 kB [ebuild R ] sys-libs/libcap-ng-0.6.6 USE="-python -static-libs" 0 kB [ebuild R ] dev-libs/libgamin-0.1.10-r3 USE="-debug -python -static-libs" 0 kB [ebuild R ] dev-libs/libxslt-1.1.28 USE="crypt -debug -python -static-libs" 0 kB [ebuild R ~] dev-util/gdbus-codegen-2.34.3 PYTHON_TARGETS="python2_7 python3_2 -python2_5 -python2_6 -python3_1 (-python3_3)" 0 kB [ebuild R ] dev-python/setuptools-0.6.30-r1 PYTHON_TARGETS="python2_7 python3_2 -python2_5 -python2_6 -python3_1" 0 kB [ebuild R ] dev-python/beautifulsoup-4.1.3-r1:4 USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_2 -python2_6 -python3_1 (-python3_3)" 0 kB [ebuild R ] dev-python/pyxdg-0.25 USE="{-test}" PYTHON_TARGETS="python2_7 python3_2 -pypy1_9 -python2_6 -python3_1" 0 kB [ebuild R ] dev-python/lxml-3.0.1 USE="threads -doc -examples" PYTHON_TARGETS="python2_7 python3_2 -python2_6 -python3_1 (-python3_3)" 0 kB [ebuild R ] dev-python/markupsafe-0.15-r1 PYTHON_TARGETS="python2_7 python3_2 (-pypy1_9) (-pypy2_0) -python2_5 -python2_6 -python3_1 (-python3_3)" 0 kB [ebuild R ~] dev-python/pycairo-1.10.0-r4 USE="svg xcb -doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_2 -python2_6 -python3_1 (-python3_3)" 0 kB [ebuild R ~] dev-python/pygobject-3.4.2-r1:3 USE="cairo threads -examples {-test}" PYTHON_TARGETS="python2_7 python3_2 -python2_6 -python3_1 (-python3_3)" 0 kB [ebuild R ] dev-java/java-config-2.1.12-r1:2 PYTHON_TARGETS="python2_7 python3_2 (-pypy1_9) -python2_6 -python3_1 (-python3_3)" 0 kB [ebuild R ~] dev-python/dbus-python-1.1.1-r1 USE="-doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_2 -python2_6 (-python3_3)" 0 kB [ebuild R ~] dev-python/pyatspi-2.6.0-r1 PYTHON_TARGETS="python2_7 python3_2 -python2_6 (-python3_3)" 0 kB [ebuild R ] gnome-extra/libgsf-1.14.23 USE="bzip2 gtk introspection -doc -python" 0 kB [ebuild R ] net-libs/gupnp-igd-0.2.1 USE="introspection -python" 0 kB [ebuild R ] dev-vcs/subversion-1.7.7 USE="berkdb dso gnome-keyring java nls webdav-neon -apache2 -ctypes-python -debug -doc -extras -kde -perl -python -ruby -sasl -vim-syntax -webdav-serf" 0 kB Total: 20 packages (20 reinstalls), Size of downloads: 0 kB same issue app-admin/python-updater-0.10 Available Python interpreters: [1] python2.7 * [2] python3.1 * Adding to list: dev-python/setuptools:0 * check: pylibdir [ Installed file under old Python include/library the check failed due to grep -E "/usr/(include|lib(32|64)?)/python(2\.1|2\.2|2\.3|2\.4|2\.5|2\.6|3\.0|3\.1|3\.2|3\.3|3\.4)" "/var/db/pkg/dev-python/setuptools-0.6.30-r1/CONTENTS" returns many files for python 3.2, for example dir /usr/lib/python3.2/site-packages/distribute-0.6.30-py3.2.egg-info obj /usr/lib/python3.2/site-packages/distribute-0.6.30-py3.2.egg-info/SOURCES.txt 51455f06c3737a80fe406d7a0dbbf6a3 1374577300 this patch helps, no more rebuilds --- python-updater.org 2013-07-23 22:28:13.000000000 +0200 +++ python-updater 2013-07-23 16:45:08.000000000 +0200 @@ -508,7 +508,7 @@ OLD_PYTHON_SHARED_LIBRARIES_REGEX="" for python_version in ${PYTHON_VERSIONS}; do - if [[ "${python_version}" != "${NEW_PYTHON_VERSION}" ]]; then + if [[ "${python_version}" != "${NEW_PYTHON2_VERSION}" && "${python_version}" != "${NEW_PYTHON3_VERSION}" ]]; then OLD_PYTHON_VERSIONS+="${OLD_PYTHON_VERSIONS:+ }${python_version}" soname="$(readlink -n /usr/lib/libpython${python_version}.so)" if [[ -z "${soname}" ]]; then app-admin/python-updater-0.11 is skipping package with Skipping dev-python/setuptools:0, reason: python_targets_ in IUSE Given the last comment posted on this bug, this issue is no longer reproducible I guess. Closing. |