When updating from stable dev-lang/python-3.2.5-r3 to stable dev-lang/python-3.3.2-r2 something strange happens: in one package tests start to fail during 'emerge -uNDva world'. ====================================================================== FAIL: test_list_files_multi (tests.CommandLineOutputTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/net-p2p/torrentinfo-1.8.6/work/torrentinfo-1.8.6/test/tests.py", line 609, in test_list_files_multi self.assertEqual(self.out.getvalue(), return_string) AssertionError: 'multi_bytes.torrent\n files \n 0\n length \n [truncated]... != 'multi_bytes.torrent\n files \n 0\n path \n [truncated]... multi_bytes.torrent files 0 + path + megabyte length 1048576 + 1 path - megabyte + two_megabytes ? ++++ + - 1 length 2097152 - path - two_megabytes piece length 262144 pieces [240 UTF-8 Bytes] ---------------------------------------------------------------------- Ran 87 tests in 0.409s FAILED (failures=1) Tests work fine again after 'eselect python set python3.3', removing python3.2 with 'emerge --depclean' and running 'env-update;source /etc/profile' Same problem happened in 2 systems during python-3.2 -> python3.3 update. I was able to reproduce failure by masking python3.3, downgrading to python3.2, running 'eselect python set python3.2;env-update;source /etc/profile', removing python3.3 with 'emerge --depclean' after downgrade and updating to python3.3 again. Seems some old cached value is not updated somewhere, but i do not know where exactly: it can be torrentinfo, portage, python-exec or eclasses bug. Python team, please help. Portage 2.2.7 (hardened/linux/amd64/no-multilib, gcc-4.7.3, glibc-2.16.0, 3.8.12-hardened x86_64) ================================================================= System Settings ================================================================= KiB Mem: 4037076 total, 204312 free KiB Swap: 0 total, 0 free Timestamp of tree: Sun, 08 Dec 2013 15:45:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-lang/python: 3.3.2-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.16.0 Repositories: gentoo nikoli ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=atom -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=atom -O2 -pipe" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" LANG="en_US.UTF-8" LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTDIR_OVERLAY="/var/lib/layman/nikoli" USE="acl amd64 bash-completion bzip2 caps cli cracklib crypt cxx dri gd geoip gmp gpm hardened iconv idn imap ipv6 justify lzma lzo mmx mmxext modules mudflap ncurses nls nptl nptlonly openmp pam pax_kernel pcre rar readline sasl session smp socks5 sqlite sse sse2 sse3 ssl ssse3 symlink sysfs threads truetype udev unicode xattr xml xz zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface load memory rrdtool swap syslog hddtemp sensors cpu cpufreq disk entropy network ping processes apcups nginx" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en" NGINX_MODULES_HTTP="access auth_basic autoindex fastcgi gzip rewrite scgi spdy" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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" USE_PYTHON="3.3" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC ================================================================= Package Settings ================================================================= net-p2p/torrentinfo-1.8.6 was built with the following: USE="test" PYTHON_TARGETS="python3_3 -python2_6 -python2_7 -python3_2"
commit a05232376b0ec0ca84df3e1be97bf81375304690 Author: Louis Sautier <sautier.louis@gmail.com> AuthorDate: Mon Mar 6 10:34:14 2017 +0100 Commit: Göktürk Yüksek <gokturk@gentoo.org> CommitDate: Mon Mar 6 10:51:39 2017 -0500 net-p2p/torrentinfo: add myself as maintainer, fix tests, add py3.6, pypy{,3} Also update LICENSE to add later GPL versions. Gentoo-Bug: 493682 Package-Manager: Portage-2.3.4, Repoman-2.3.2