Source: plyvel Version: 1.3.0-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211023 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[2]: Entering directory '/<<PKGBUILDDIR>>' > cython3 --version > Cython version 0.29.24 > cython3 --cplus --fast-fail --annotate plyvel/_plyvel.pyx > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_build > I: pybuild base:232: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_plyvel/build/plyvel > copying plyvel/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_plyvel/build/plyvel > copying plyvel/_version.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_plyvel/build/plyvel > running build_ext > building 'plyvel._plyvel' extension > creating build > creating build/temp.linux-x86_64-3.9 > creating build/temp.linux-x86_64-3.9/plyvel > x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g > -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat > -Werror=format-security -g -fwrapv -O2 -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC > -I/usr/include/python3.9 -c plyvel/_plyvel.cpp -o > build/temp.linux-x86_64-3.9/plyvel/_plyvel.o -Wall -g -x c++ -std=c++11 > x86_64-linux-gnu-gcc: warning: ‘-x c++’ after last input file has no effect > x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g > -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat > -Werror=format-security -g -fwrapv -O2 -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC > -I/usr/include/python3.9 -c plyvel/comparator.cpp -o > build/temp.linux-x86_64-3.9/plyvel/comparator.o -Wall -g -x c++ -std=c++11 > x86_64-linux-gnu-gcc: warning: ‘-x c++’ after last input file has no effect > plyvel/comparator.cpp: In constructor > ‘PlyvelCallbackComparator::PlyvelCallbackComparator(const char*, PyObject*)’: > plyvel/comparator.cpp:29:27: warning: ‘void PyEval_InitThreads()’ is > deprecated [-Wdeprecated-declarations] > 29 | PyEval_InitThreads(); > | ~~~~~~~~~~~~~~~~~~^~ > In file included from /usr/include/python3.9/Python.h:154, > from plyvel/comparator.cpp:5: > /usr/include/python3.9/ceval.h:130:37: note: declared here > 130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); > | ^~~~~~~~~~~~~~~~~~ > x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g > -fwrapv -O2 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.9/plyvel/_plyvel.o > build/temp.linux-x86_64-3.9/plyvel/comparator.o -lleveldb -o > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_plyvel/build/plyvel/_plyvel.cpython-39-x86_64-linux-gnu.so > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_plyvel/build; > python3.9 -m pytest test > ============================= test session starts > ============================== > platform linux -- Python 3.9.7, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 -- > /usr/bin/python3.9 > cachedir: .pytest_cache > rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg > plugins: cov-3.0.0 > collecting ... collected 0 items / 1 error > > ==================================== ERRORS > ==================================== > ___ ERROR collecting .pybuild/cpython3_3.9_plyvel/build/test/test_plyvel.py > ____ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_plyvel/build/test/test_plyvel.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > test/test_plyvel.py:17: in <module> > import plyvel > plyvel/__init__.py:6: in <module> > from ._plyvel import ( # noqa > E ImportError: > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_plyvel/build/plyvel/_plyvel.cpython-39-x86_64-linux-gnu.so: > undefined symbol: _ZTIN7leveldb10ComparatorE > =========================== short test summary info > ============================ > ERROR test/test_plyvel.py > !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection > !!!!!!!!!!!!!!!!!!!! > =============================== 1 error in 0.15s > =============================== > E: pybuild pybuild:354: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_plyvel/build; python3.9 -m pytest test > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2021/10/23/plyvel_1.3.0-1_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.