* Package: dev-python/apsw-3.25.2_p1 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox >>> cfg-update-1.8.2-r1: Creating checksum index... >>> Unpacking source... >>> Unpacking apsw-3.25.2_p1.zip to /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work >>> Source unpacked in /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work >>> Preparing source in /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1 ... * Applying apsw-3.6.20.1-fix_tests.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1 ... >>> Source configured. >>> Compiling source in /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1 ... * python2_7: running distutils-r1_run_phase python_compile python2.7 setup.py build --enable=load_extension /usr/lib64/python2.7/site-packages/setuptools/dist.py:470: UserWarning: Normalizing '3.25.2-r1' to '3.25.2.post1' normalized_version, running build running build_ext SQLite: Using system sqlite include/libraries building 'apsw' extension creating /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python2_7/temp.linux-x86_64-2.7 creating /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python2_7/temp.linux-x86_64-2.7/src x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -O2 -pipe -march=bdver2 -ggdb3 -fwrapv -DNDEBUG -O2 -pipe -march=bdver2 -ggdb3 -fno-strict-aliasing -fPIC -DEXPERIMENTAL=1 -DNDEBUG=1 -DAPSW_FORK_CHECKER=1 -Isrc -I/usr/include/python2.7 -c src/apsw.c -o /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python2_7/temp.linux-x86_64-2.7/src/apsw.o In file included from /usr/include/python2.7/Python.h:8, from src/apsw.c:74: /usr/include/python2.7/pyconfig.h:1223: warning: "_POSIX_C_SOURCE" redefined 1223 | #define _POSIX_C_SOURCE 200112L | In file included from /usr/include/assert.h:35, from src/apsw.c:67: /usr/include/features.h:266: note: this is the location of the previous definition 266 | # define _POSIX_C_SOURCE 200809L | x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=bdver2 -ggdb3 -fno-strict-aliasing /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python2_7/temp.linux-x86_64-2.7/src/apsw.o -L/usr/lib64 -lsqlite3 -lpython2.7 -o /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python2_7/lib/apsw.so * python3_6: running distutils-r1_run_phase python_compile python3.6 setup.py build --enable=load_extension running build running build_ext SQLite: Using system sqlite include/libraries building 'apsw' extension creating /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python3_6/temp.linux-x86_64-3.6 creating /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python3_6/temp.linux-x86_64-3.6/src x86_64-pc-linux-gnu-gcc -O2 -pipe -march=bdver2 -ggdb3 -fno-strict-aliasing -fPIC -DEXPERIMENTAL=1 -DNDEBUG=1 -DAPSW_FORK_CHECKER=1 -Isrc -I/usr/include/python3.6m -c src/apsw.c -o /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python3_6/temp.linux-x86_64-3.6/src/apsw.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=bdver2 -ggdb3 -fno-strict-aliasing /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python3_6/temp.linux-x86_64-3.6/src/apsw.o -L/usr/lib64 -lsqlite3 -lpython3.6m -o /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python3_6/lib/apsw.cpython-36m-x86_64-linux-gnu.so /usr/lib64/python3.6/site-packages/setuptools/dist.py:470: UserWarning: Normalizing '3.25.2-r1' to '3.25.2.post1' normalized_version, >>> Source compiled. >>> Test phase: dev-python/apsw-3.25.2_p1 * python2_7: running distutils-r1_run_phase python_test /usr/lib64/python2.7/site-packages/setuptools/dist.py:470: UserWarning: Normalizing '3.25.2-r1' to '3.25.2.post1' normalized_version, running build_test_extension Python /usr/bin/python2.7 sys.version_info(major=2, minor=7, micro=17, releaselevel='final', serial=0) Testing with APSW file /mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python2_7/lib/apsw.so APSW version 3.25.2-r1 SQLite lib version 3.30.1 SQLite headers version 3030001 Using amalgamation False testAggregateFunctions (__main__.APSW) Verify aggregate functions ... ok testAuthorizer (__main__.APSW) Verify the authorizer works ... ok testBackup (__main__.APSW) Verify hot backup functionality ... ok testBindings (__main__.APSW) Check bindings work correctly ... ok testBlobIO (__main__.APSW) Verify Blob input/output ... ok testBlobReadError (__main__.APSW) Ensure blob read errors are handled well ... ok testBusyHandling (__main__.APSW) Verify busy handling ... ok testBusyHandling2 (__main__.APSW) Another busy handling test ... ok testChanges (__main__.APSW) Verify reporting of changes ... ok testClosing (__main__.APSW) Verify behaviour of close() functions ... ok testClosingChecks (__main__.APSW) Check closed connection is correctly detected ... ok testCollation (__main__.APSW) Verify collations ... ok testCommitHook (__main__.APSW) Verify commit hooks ... ok testCompileOptions (__main__.APSW) Verify getting compile options ... ok testComplete (__main__.APSW) Completeness of SQL statement checking ... ok testConfig (__main__.APSW) Verify sqlite3_config wrapper ... ok testConnection (__main__.APSW) Test connection opening ... ok testConnectionConfig (__main__.APSW) Test Connection.config function ... ok testConnectionFileControl (__main__.APSW) Verify sqlite3_file_control ... ok testConnectionHooks (__main__.APSW) Verify connection hooks ... ok testCursor (__main__.APSW) Check functionality of the cursor ... ok testDBStatus (__main__.APSW) Verify db status function ... ok testErrorCodes (__main__.APSW) Verify setting of result codes on error/exception ... ok testExecTracing (__main__.APSW) Verify tracing of executed statements and bindings ... ok testFTSExtension (__main__.APSW) Check FTS extensions (if present) ... ok testFilename (__main__.APSW) Check connections and filenames ... ok testFormatSQLValue (__main__.APSW) Verify text formatting of values ... ok testICUExtension (__main__.APSW) Check ICU extension if present ... ok testInterruptHandling (__main__.APSW) Verify interrupt function ... ok testIssue103 (__main__.APSW) Issue 103: Error handling when sqlite3_declare_vtab fails ... ok testIssue106 (__main__.APSW) Issue 106: Profiling and tracing ... ok testIssue142 (__main__.APSW) Issue 142: bytes from system during dump ... ok testIssue15 (__main__.APSW) Issue 15: Release GIL during calls to prepare ... ok testIssue186 (__main__.APSW) Issue 186: desription cache between statements ... ok testIssue19 (__main__.APSW) Issue 19: Incomplete cursor execution ... ok testIssue199 (__main__.APSW) Backup API should accept Connection subclasses ... ok testIssue24 (__main__.APSW) Issue 24: Ints and Longs ... ok testIssue31 (__main__.APSW) Issue 31: GIL & SQLite mutexes with heavy threading, threadsafe errors from SQLite ... ok testIssue4 (__main__.APSW) Issue 4: Error messages and SQLite ticket 3063 ... ok testIssue50 (__main__.APSW) Issue 50: Check Blob.read return value on eof ... ok testIssue98 (__main__.APSW) Issue 98: An error in context manager commit should do a rollback ... ok testJSON1Extension (__main__.APSW) ... ok testKeywords (__main__.APSW) Verify keywords ... ok testLargeObjects (__main__.APSW) Verify handling of large strings/blobs (>2GB) [Python 2.5+, 64 bit platform] ... ok testLastInsertRowId (__main__.APSW) Check last insert row id ... ok testLimits (__main__.APSW) Verify setting and getting limits ... ok testLoadExtension (__main__.APSW) Check loading of extensions ... ok testLog (__main__.APSW) Verifies logging functions ... ok testMakeSqliteMsgFromException (__main__.APSW) Test C function that converts exception into SQLite error code ... ok testMemory (__main__.APSW) Verify memory tracking functions ... ok testMemoryLeaks (__main__.APSW) MemoryLeaks: Run with a memory profiler such as valgrind and debug Python ... ok testPickle (__main__.APSW) Verify data etc can be pickled ... ok testProfile (__main__.APSW) Verify profiling ... ok testProgressHandler (__main__.APSW) Verify progress handler ... ok testPysqliteRecursiveIssue (__main__.APSW) Check an issue that affected pysqlite ... ok testRTreeExtension (__main__.APSW) Check RTree extension if present ... ok testRandomness (__main__.APSW) Verify randomness routine ... ok testReadonly (__main__.APSW) Check Connection.readonly() ... ok testRollbackHook (__main__.APSW) Verify rollback hooks ... ok testRowTracing (__main__.APSW) Verify row tracing ... ok testSanity (__main__.APSW) Check all parts compiled and are present ... ok testScalarFunctions (__main__.APSW) Verify scalar functions ... ok testSharedCache (__main__.APSW) Verify setting of shared cache ... ok testShell (__main__.APSW) Check Shell functionality ... ok testSourceChecks (__main__.APSW) Check various source code issues ... ok testSqlite3Pointer (__main__.APSW) Verify getting underlying sqlite3 pointer ... ok testStatementCache (__main__.APSW) Verify statement cache integrity ... ok testStatementCacheZeroSize (__main__.APSW) Rerun statement cache tests with a zero sized/disabled cache ... ok testStatus (__main__.APSW) Verify status function ... ok testStringsWithNulls (__main__.APSW) Verify that strings with nulls in them are handled correctly ... ok testThreading (__main__.APSW) Verify threading behaviour ... ok testTicket2158 (__main__.APSW) Check we are not affected by SQLite ticket #2158 ... ok testTracebacks (__main__.APSW) Verify augmented tracebacks ... ok testTypes (__main__.APSW) Check type information is maintained ... ok testURIFilenames (__main__.APSW) ... ok testUpdateHook (__main__.APSW) Verify update hooks ... ok testVFS (__main__.APSW) Verify VFS functionality ... ok testVFSWithWAL (__main__.APSW) Verify VFS using WAL where possible ... ok testVTableExample (__main__.APSW) Tests vtable example code ... ok testVtables (__main__.APSW) Test virtual table functionality ... FAIL testWAL (__main__.APSW) Test WAL functions ... ok testWikipedia (__main__.APSW) Use front page of wikipedia to check unicode handling ... ok testWith (__main__.APSW) Context manager functionality ... ok testWriteUnraiseable (__main__.APSW) Verify writeunraiseable replacement function ... ok testZeroBlob (__main__.APSW) Verify handling of zero blobs ... ok testzzFaultInjection (__main__.APSW) Deliberately inject faults to exercise all code paths ... ok testzzForkChecker (__main__.APSW) Test detection of using objects across fork ... ok ====================================================================== FAIL: testVtables (__main__.APSW) Test virtual table functionality ---------------------------------------------------------------------- Traceback (most recent call last): File "tests.py", line 2150, in testVtables self.assertRaises(apsw.MisuseError, self.db.createmodule, "x"*ii, lambda x: ii) AssertionError: MisuseError not raised ---------------------------------------------------------------------- Ran 87 tests in 105.800s FAILED (failures=1) * ERROR: dev-python/apsw-3.25.2_p1::gentoo failed (test phase): * Tests failed under python2.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 4068: Called distutils-r1_src_test * environment, line 1169: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 349: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3527: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2708: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2706: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 730: Called distutils-r1_run_phase 'python_test' * environment, line 1100: Called python_test * environment, line 3889: Called die * The specific snippet of code: * "${PYTHON}" tests.py -v || die "Tests failed under ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/apsw-3.25.2_p1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/apsw-3.25.2_p1::gentoo'`. * The complete build log is located at '/mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/temp/build.log'. * The ebuild environment file is located at '/mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/temp/environment'. * Working directory: '/mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1' * S: '/mnt/portagetmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1'