Skip to content

Instantly share code, notes, and snippets.

@ivan
Created October 17, 2019 00:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivan/53c492d49404d8c9628dd4ea95970a5a to your computer and use it in GitHub Desktop.
Save ivan/53c492d49404d8c9628dd4ea95970a5a to your computer and use it in GitHub Desktop.
apsw test failure
installing 'python2.7-apsw-3.29.0-r1'
these derivations will be built:
/nix/store/73rvbz47ss80r42lxkny2qzxdx6jm1k5-python2.7-apsw-3.29.0-r1.drv
building '/nix/store/73rvbz47ss80r42lxkny2qzxdx6jm1k5-python2.7-apsw-3.29.0-r1.drv'...
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing setuptools-check-hook
Using setuptoolsCheckPhase
unpacking sources
unpacking source archive /nix/store/bjn3qxviqsm42blpysmjqq0ngiv1bam6-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tools/valgrind.sh
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
/nix/store/bq4zmg90xphqifm2m9bgfxrr33i7rmgh-python2.7-setuptools-41.2.0/lib/python2.7/site-packages/setuptools-41.2.0-py2.7.egg/setuptools/dist.py:474: UserWarning: Normalizing '3.29.0-r1' to '3.29.0.post1'
running bdist_wheel
running build
running build_ext
SQLite: Using system sqlite include/libraries
building 'apsw' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DEXPERIMENTAL=1 -DNDEBUG=1 -DAPSW_FORK_CHECKER=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -Isrc -I/nix/store/8g0yld8r4d1b537zlr0f25v5zd8190wc-python-2.7.16/include/python2.7 -c src/apsw.c -o build/temp.linux-x86_64-2.7/src/apsw.o
In file included from /nix/store/8g0yld8r4d1b537zlr0f25v5zd8190wc-python-2.7.16/include/python2.7/Python.h:8,
from src/apsw.c:74:
/nix/store/8g0yld8r4d1b537zlr0f25v5zd8190wc-python-2.7.16/include/python2.7/pyconfig.h:1220: warning: "_POSIX_C_SOURCE" redefined
#define _POSIX_C_SOURCE 200112L
In file included from /nix/store/ppnsracqlhyxhwx015r69shnzzcz3iwm-glibc-2.27-dev/include/assert.h:35,
from src/apsw.c:67:
/nix/store/ppnsracqlhyxhwx015r69shnzzcz3iwm-glibc-2.27-dev/include/features.h:265: note: this is the location of the previous definition
# define _POSIX_C_SOURCE 200809L
creating build/lib.linux-x86_64-2.7
gcc -pthread -shared -lgcc_s build/temp.linux-x86_64-2.7/src/apsw.o -L/nix/store/8g0yld8r4d1b537zlr0f25v5zd8190wc-python-2.7.16/lib -lsqlite3 -lpython2.7 -o build/lib.linux-x86_64-2.7/apsw.so
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
copying build/lib.linux-x86_64-2.7/apsw.so -> build/bdist.linux-x86_64/wheel
running install_egg_info
running egg_info
creating apsw.egg-info
writing apsw.egg-info/PKG-INFO
writing top-level names to apsw.egg-info/top_level.txt
writing dependency_links to apsw.egg-info/dependency_links.txt
writing manifest file 'apsw.egg-info/SOURCES.txt'
reading manifest file 'apsw.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'apsw.egg-info/SOURCES.txt'
Copying apsw.egg-info to build/bdist.linux-x86_64/wheel/apsw-3.29.0.post1-py2.7.egg-info
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/apsw-3.29.0.post1.dist-info/WHEEL
creating 'dist/apsw-3.29.0.post1-cp27-cp27mu-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'apsw.so'
adding 'apsw-3.29.0.post1.dist-info/LICENSE'
adding 'apsw-3.29.0.post1.dist-info/METADATA'
adding 'apsw-3.29.0.post1.dist-info/WHEEL'
adding 'apsw-3.29.0.post1.dist-info/top_level.txt'
adding 'apsw-3.29.0.post1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Finished executing setuptoolsInstallPhase
installing
Executing pipInstallPhase
/build/source/dist /build/source
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Processing ./apsw-3.29.0.post1-cp27-cp27mu-linux_x86_64.whl
Installing collected packages: apsw
Successfully installed apsw-3.29.0.post1
/build/source
Finished executing pipInstallPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wi3yvmdrpjra1yg82c0h0lkmgbx14rkm-python2.7-apsw-3.29.0-r1
shrinking /nix/store/wi3yvmdrpjra1yg82c0h0lkmgbx14rkm-python2.7-apsw-3.29.0-r1/lib/python2.7/site-packages/apsw.so
strip is /nix/store/3pyyiahac08rz0vszvpjvnk1pkggqqr2-binutils-2.31.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/wi3yvmdrpjra1yg82c0h0lkmgbx14rkm-python2.7-apsw-3.29.0-r1/lib
patching script interpreter paths in /nix/store/wi3yvmdrpjra1yg82c0h0lkmgbx14rkm-python2.7-apsw-3.29.0-r1
checking for references to /build/ in /nix/store/wi3yvmdrpjra1yg82c0h0lkmgbx14rkm-python2.7-apsw-3.29.0-r1...
running install tests
no Makefile or custom buildPhase, doing nothing
pythonCatchConflictsPhase
pythonRemoveBinBytecodePhase
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
setuptoolsCheckPhase
Executing setuptoolsCheckPhase
/nix/store/bq4zmg90xphqifm2m9bgfxrr33i7rmgh-python2.7-setuptools-41.2.0/lib/python2.7/site-packages/setuptools-41.2.0-py2.7.egg/setuptools/dist.py:474: UserWarning: Normalizing '3.29.0-r1' to '3.29.0.post1'
running test
Python /nix/store/8g0yld8r4d1b537zlr0f25v5zd8190wc-python-2.7.16/bin/python2.7 sys.version_info(major=2, minor=7, micro=16, releaselevel='final', serial=0)
Testing with APSW file /nix/store/wi3yvmdrpjra1yg82c0h0lkmgbx14rkm-python2.7-apsw-3.29.0-r1/lib/python2.7/site-packages/apsw.so
APSW version 3.29.0-r1
SQLite lib version 3.30.0
SQLite headers version 3030000
Using amalgamation False
...............................................................................F.......
======================================================================
FAIL: testVtables (tests.APSW)
Test virtual table functionality
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/source/tests.py", line 2365, in testVtables
self.assertRaises(apsw.MisuseError, self.db.createmodule, "x" * ii, lambda x: ii)
AssertionError: MisuseError not raised
----------------------------------------------------------------------
Ran 87 tests in 119.718s
FAILED (failures=1)
builder for '/nix/store/73rvbz47ss80r42lxkny2qzxdx6jm1k5-python2.7-apsw-3.29.0-r1.drv' failed with exit code 1
error: build of '/nix/store/73rvbz47ss80r42lxkny2qzxdx6jm1k5-python2.7-apsw-3.29.0-r1.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment