218 tests OK. 2 tests failed: test_locale test_zipimport 33 tests skipped: test_aepack test_al test_audioop test_bsddb185 test_bsddb3 test_cd test_cl test_curses test_dl test_email_codecs test_gdbm test_gl test_imageop test_imgfile test_linuxaudiodev test_macfs test_macostools test_mpz test_nis test_normalization test_ossaudiodev test_pep277 test_plistlib test_rgbimg test_scriptpackages test_socket_ssl test_socketserver test_sunaudiodev test_timeout test_unicode_file test_urllibnet test_winreg test_winsound 5 skips unexpected on linux2: test_audioop test_gdbm test_mpz test_rgbimg test_imageop make: *** [test] Error 1 !!! ERROR: dev-lang/python-2.3.5 failed. !!! Function src_test, Line 221, Exitcode 2 !!! make test failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge -u python 2. 3. Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 x86_64) ================================================================= System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 26 2005, 06:47:42)] distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks maketest sfperms strict test" GENTOO_MIRRORS="ftp://gentoo.inode.at/source http://gentoo.osuosl.org" LANG="it en" LINGUAS="it en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/zugaina-portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X aac aalib acpi alsa altra_var1 altra_var2 arts audiofile avi bash-completion berkdb bidi bitmap-fonts canna cdr chasen cjk crypt cups curl dvb dvd dvdr dvdread encode esd fam ffmpeg flac font-server foomatic foomaticdb fortran freewnn ftp ggi gif gphoto2 gpm gtk gtk2 icq imagemagick imlib immqt-bc java javascript jikes jp2 jpeg junit kde ldap lzw lzw-tiff mad matroska motif mp3 msn multilib mysql ncurses nls nptl ogg oggvorbis openal opengl oss pam pdflib perl png ppds python qt quicktime readline sdl spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd vorbis xine xml xml2 xmms xpm xrandr xv xvid yahoo zlib linguas_it linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Please try this after emerging it and let us know if they fail: cd /usr/lib/python2.3/test python test_locale.py python test_zipimport.py
bash-2.05b# cd /usr/lib/python2.3/test/ bash-2.05b# python test_locale.py '%f' % 1024 =? '1,024.000000' ... yes '%f' % 102 =? '102.000000' ... yes '%f' % -42 =? '-42.000000' ... yes '%+f' % -42 =? '-42.000000' ... yes '%20.f' % -42 =? ' -42' ... yes '%+10.f' % -4200 =? ' -4,200' ... yes '%-10.f' % 4200 =? '4,200 ' ... yes bash-2.05b# python test_zipimport.py testAFakeZlib (__main__.UncompressedZipImportTestCase) ... ok testBadMTime (__main__.UncompressedZipImportTestCase) ... ok testBadMagic (__main__.UncompressedZipImportTestCase) ... ok testBadMagic2 (__main__.UncompressedZipImportTestCase) ... ok testBoth (__main__.UncompressedZipImportTestCase) ... ok testDeepPackage (__main__.UncompressedZipImportTestCase) ... ok testEmptyPy (__main__.UncompressedZipImportTestCase) ... ok testGetData (__main__.UncompressedZipImportTestCase) ... ok testImport_WithStuff (__main__.UncompressedZipImportTestCase) ... ok testImporterAttr (__main__.UncompressedZipImportTestCase) ... ok testPackage (__main__.UncompressedZipImportTestCase) ... ok testPy (__main__.UncompressedZipImportTestCase) ... ok testPyc (__main__.UncompressedZipImportTestCase) ... ok testAFakeZlib (__main__.CompressedZipImportTestCase) ... ok testBadMTime (__main__.CompressedZipImportTestCase) ... ERROR testBadMagic (__main__.CompressedZipImportTestCase) ... ERROR testBadMagic2 (__main__.CompressedZipImportTestCase) ... ERROR testBoth (__main__.CompressedZipImportTestCase) ... ERROR testDeepPackage (__main__.CompressedZipImportTestCase) ... ERROR testEmptyPy (__main__.CompressedZipImportTestCase) ... ERROR testGetData (__main__.CompressedZipImportTestCase) ... ERROR testImport_WithStuff (__main__.CompressedZipImportTestCase) ... ERROR testImporterAttr (__main__.CompressedZipImportTestCase) ... ERROR testPackage (__main__.CompressedZipImportTestCase) ... ERROR testPy (__main__.CompressedZipImportTestCase) ... ERROR testPyc (__main__.CompressedZipImportTestCase) ... ERROR ====================================================================== ERROR: testBadMTime (__main__.CompressedZipImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_zipimport.py", line 163, in testBadMTime self.doTest(".py", files, TESTMOD) File "test_zipimport.py", line 76, in doTest ["__dummy__"]) OverflowError: signed integer is greater than maximum ====================================================================== ERROR: testBadMagic (__main__.CompressedZipImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_zipimport.py", line 141, in testBadMagic self.doTest(".py", files, TESTMOD) File "test_zipimport.py", line 76, in doTest ["__dummy__"]) OverflowError: signed integer is greater than maximum ====================================================================== ERROR: testBadMagic2 (__main__.CompressedZipImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_zipimport.py", line 150, in testBadMagic2 self.doTest(".py", files, TESTMOD) File "test_zipimport.py", line 76, in doTest ["__dummy__"]) OverflowError: signed integer is greater than maximum ====================================================================== ERROR: testBoth (__main__.CompressedZipImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_zipimport.py", line 128, in testBoth self.doTest(pyc_ext, files, TESTMOD) File "test_zipimport.py", line 76, in doTest ["__dummy__"]) OverflowError: signed integer is greater than maximum ====================================================================== ERROR: testDeepPackage (__main__.CompressedZipImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_zipimport.py", line 177, in testDeepPackage self.doTest(pyc_ext, files, TESTPACK, TESTPACK2, TESTMOD) File "test_zipimport.py", line 76, in doTest ["__dummy__"]) OverflowError: signed integer is greater than maximum ====================================================================== ERROR: testEmptyPy (__main__.CompressedZipImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_zipimport.py", line 132, in testEmptyPy self.doTest(None, files, TESTMOD) File "test_zipimport.py", line 76, in doTest ["__dummy__"]) OverflowError: signed integer is greater than maximum ====================================================================== ERROR: testGetData (__main__.CompressedZipImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_zipimport.py", line 188, in testGetData self.assertEquals(data, zi.get_data(name)) OverflowError: signed integer is greater than maximum ====================================================================== ERROR: testImport_WithStuff (__main__.CompressedZipImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_zipimport.py", line 209, in testImport_WithStuff stuff="Some Stuff"*31) File "test_zipimport.py", line 76, in doTest ["__dummy__"]) OverflowError: signed integer is greater than maximum ====================================================================== ERROR: testImporterAttr (__main__.CompressedZipImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_zipimport.py", line 202, in testImporterAttr self.doTest(pyc_ext, files, TESTMOD) File "test_zipimport.py", line 76, in doTest ["__dummy__"]) OverflowError: signed integer is greater than maximum ====================================================================== ERROR: testPackage (__main__.CompressedZipImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_zipimport.py", line 169, in testPackage self.doTest(pyc_ext, files, TESTPACK, TESTMOD) File "test_zipimport.py", line 76, in doTest ["__dummy__"]) OverflowError: signed integer is greater than maximum ====================================================================== ERROR: testPy (__main__.CompressedZipImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_zipimport.py", line 119, in testPy self.doTest(".py", files, TESTMOD) File "test_zipimport.py", line 76, in doTest ["__dummy__"]) OverflowError: signed integer is greater than maximum ====================================================================== ERROR: testPyc (__main__.CompressedZipImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_zipimport.py", line 123, in testPyc self.doTest(pyc_ext, files, TESTMOD) File "test_zipimport.py", line 76, in doTest ["__dummy__"]) OverflowError: signed integer is greater than maximum ---------------------------------------------------------------------- Ran 26 tests in 0.146s FAILED (errors=12) Traceback (most recent call last): File "test_zipimport.py", line 222, in ? test_main() File "test_zipimport.py", line 218, in test_main CompressedZipImportTestCase File "/usr/lib/python2.3/test/test_support.py", line 262, in run_unittest run_suite(suite, testclass) File "/usr/lib/python2.3/test/test_support.py", line 246, in run_suite raise TestFailed(msg) test.test_support.TestFailed: errors occurred; run in verbose mode for details bash-2.05b#
Disabled broken tests.