[Debian-med-packaging] Bug#1075421: python-py2bit: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:41:16 BST 2024
Package: src:python-py2bit
Version: 0.3.1-2
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/python-py2bit_0.3.1-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
lib2bit/2bit.c: In function ‘bytes2bases’:
lib2bit/2bit.c:96:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
96 | for(offset=0; offset<remainder; offset++) {
| ^
lib2bit/2bit.c: In function ‘twobitBasesWorker’:
lib2bit/2bit.c:312:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
312 | if(maskIdx != -1 && start + i + 4 >= maskStart) {
| ^~
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilib2bit -I/usr/include/python3.11 -I/usr/include/python3.11 -c py2bit.c -o build/temp.linux-x86_64-cpython-311/py2bit.o
py2bit.c: In function ‘py2bitEnter’:
py2bit.c:35:24: error: initialization of ‘pyTwoBit_t *’ from incompatible pointer type ‘TwoBit *’ [-Wincompatible-pointer-types]
35 | pyTwoBit_t *pytb = self->tb;
| ^~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3.11 setup.py build
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
This deprecation is overdue, please update your project and remove deprecated
calls to avoid build errors in the future.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'classifier'
warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-py2bit/build/py2bitTest
copying py2bitTest/test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-py2bit/build/py2bitTest
copying py2bitTest/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-py2bit/build/py2bitTest
running egg_info
writing py2bit.egg-info/PKG-INFO
writing dependency_links to py2bit.egg-info/dependency_links.txt
writing top-level names to py2bit.egg-info/top_level.txt
reading manifest file 'py2bit.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'py2bit.egg-info/SOURCES.txt'
copying py2bitTest/foo.2bit -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-py2bit/build/py2bitTest
running build_ext
building 'py2bit' extension
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/lib2bit
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilib2bit -I/usr/include/python3.12 -I/usr/include/python3.12 -c lib2bit/2bit.c -o build/temp.linux-x86_64-cpython-312/lib2bit/2bit.o
lib2bit/2bit.c: In function ‘bytes2bases’:
lib2bit/2bit.c:96:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
96 | for(offset=0; offset<remainder; offset++) {
| ^
lib2bit/2bit.c: In function ‘twobitBasesWorker’:
lib2bit/2bit.c:312:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
312 | if(maskIdx != -1 && start + i + 4 >= maskStart) {
| ^~
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilib2bit -I/usr/include/python3.12 -I/usr/include/python3.12 -c py2bit.c -o build/temp.linux-x86_64-cpython-312/py2bit.o
py2bit.c: In function ‘py2bitEnter’:
py2bit.c:35:24: error: initialization of ‘pyTwoBit_t *’ from incompatible pointer type ‘TwoBit *’ [-Wincompatible-pointer-types]
35 | pyTwoBit_t *pytb = self->tb;
| ^~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build
dh_auto_build: error: pybuild --build -i python{version} -p "3.11 3.12" returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list