sys-apps/portage-2.1.9.36 fails the testImportModules test: testVarExpandPass (portage.tests.util.test_varExpand.VarExpandTestCase) ... ok testVarExpandSingleQuotes (portage.tests.util.test_varExpand.VarExpandTestCase) ... ok testStackDictList (portage.tests.util.test_stackDictList.StackDictListTestCase) ... ok ====================================================================== FAIL: testImportModules (portage.tests.lint.test_import_modules.ImportModulesTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/sys-apps/portage-2.1.9.36/work/portage-2.1.9.36/pym/portage/tests/__init__.py", line 162, in run testMethod() File "/var/tmp/portage/sys-apps/portage-2.1.9.36/work/portage-2.1.9.36/pym/portage/tests/lint/test_import_modules.py", line 21, in testImportModules self.assertTrue(False, "failed to import '%s': %s" % (mod, e)) AssertionError: failed to import 'portage.cache.sqlite': No module named pysqlite2 ---------------------------------------------------------------------- Ran 105 tests in 390.609s FAILED (failures=1) * ERROR: sys-apps/portage-2.1.9.36 failed: * test(s) failed * * Call stack: * ebuild.sh, line 56: Called src_test * environment, line 4856: Called die * The specific snippet of code: * PYTHONPATH=${S}/pym:${PYTHONPATH:+:}${PYTHONPATH} ./pym/portage/tests/runTests || die "test(s) failed" * * If you need support, post the output of 'emerge --info =sys-apps/portage-2.1.9.36', * the complete build log and the output of 'emerge -pqv =sys-apps/portage-2.1.9.36'. * The complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.9.36/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.1.9.36/temp/environment'. * S: '/var/tmp/portage/sys-apps/portage-2.1.9.36/work/portage-2.1.9.36' >>> Failed to emerge sys-apps/portage-2.1.9.36, Log file: >>> '/var/tmp/portage/sys-apps/portage-2.1.9.36/temp/build.log' Reproducible: Always Steps to Reproduce: 1. emerge sys-apps/portage-2.1.9.36 with USE=test Actual Results: emerge fails because of the test failure Expected Results: all tests pass and emerge succeeds # emerge --info =sys-apps/portage-2.1.9.36 Portage 2.1.9.35 (hardened/linux/x86, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.37-i686-VIA_Samuel_2-with-gentoo-2.0.1 Timestamp of tree: Sun, 06 Feb 2011 11:00:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1, 3.1.3 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.8 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=c3 -O2 -fomit-frame-pointer -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=c3 -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 caps crypt gdbm gmp hardened idn ipv6 java ncurses nptl pcre pic readline source ssl threads unicode x86 xml zlib" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS # emerge -pqv =sys-apps/portage-2.1.9.36 [ebuild U ] sys-apps/portage-2.1.9.36 [2.1.9.35] USE="(ipc) -build -doc -epydoc -python3 (-selinux)" LINGUAS="-pl"
Created attachment 261639 [details] The build.log file
This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=33b8ae45109ebbbd62a560690ccbaf2c009772b1
This is fixed in 2.1.9.37 and 2.2.0_alpha21.