[Debian-med-packaging] Bug#1075324: ntcard: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:38:11 BST 2024
Package: src:ntcard
Version: 1.2.2+dfsg-8
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/ntcard_1.2.2+dfsg-8_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
[...]
checking for dlsym in -ldl... yes
checking for gzwrite in -lz... no
checking for g++ option to support OpenMP... -fopenmp
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating config.h
config.status: executing depfiles commands
dh_auto_build
make -j8
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in data
make[3]: Entering directory '/<<PKGBUILDDIR>>/data'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/data'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
g++ -DHAVE_CONFIG_H -I. -I./Common -I/usr/include -I/<<PKGBUILDDIR>> -fopenmp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ntcard-ntcard.o `test -f 'ntcard.cpp' || echo './'`ntcard.cpp
g++ -DHAVE_CONFIG_H -I. -I./Common -I/usr/include -I/<<PKGBUILDDIR>> -fopenmp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o nthll-nthll.o `test -f 'nthll.cpp' || echo './'`nthll.cpp
g++ -DHAVE_CONFIG_H -I. -I./Common -I/usr/include -I/<<PKGBUILDDIR>> -fopenmp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o Common/ntcard-Uncompress.o `test -f 'Common/Uncompress.cpp' || echo './'`Common/Uncompress.cpp
g++ -DHAVE_CONFIG_H -I. -I./Common -I/usr/include -I/<<PKGBUILDDIR>> -fopenmp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o Common/ntcard-SignalHandler.o `test -f 'Common/SignalHandler.cpp' || echo './'`Common/SignalHandler.cpp
g++ -DHAVE_CONFIG_H -I. -I./Common -I/usr/include -I/<<PKGBUILDDIR>> -fopenmp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o Common/ntcard-Fcontrol.o `test -f 'Common/Fcontrol.cpp' || echo './'`Common/Fcontrol.cpp
g++ -DHAVE_CONFIG_H -I. -I./Common -I/usr/include -I/<<PKGBUILDDIR>> -fopenmp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o Common/nthll-Uncompress.o `test -f 'Common/Uncompress.cpp' || echo './'`Common/Uncompress.cpp
g++ -DHAVE_CONFIG_H -I. -I./Common -I/usr/include -I/<<PKGBUILDDIR>> -fopenmp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o Common/nthll-SignalHandler.o `test -f 'Common/SignalHandler.cpp' || echo './'`Common/SignalHandler.cpp
g++ -DHAVE_CONFIG_H -I. -I./Common -I/usr/include -I/<<PKGBUILDDIR>> -fopenmp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o Common/nthll-Fcontrol.o `test -f 'Common/Fcontrol.cpp' || echo './'`Common/Fcontrol.cpp
In file included from ntHashIterator.hpp:6,
from nthll.cpp:11:
In function ‘bool NTMC64(const char*, unsigned int, unsigned int, uint64_t&, uint64_t&, unsigned int&, uint64_t*)’,
inlined from ‘bool NTMC64(const char*, unsigned int, unsigned int, uint64_t&, uint64_t&, unsigned int&, uint64_t*)’ at nthash.hpp:667:13,
inlined from ‘void ntHashIterator::init()’ at ntHashIterator.hpp:66:53,
inlined from ‘ntHashIterator::ntHashIterator(const std::string&, unsigned int, unsigned int, size_t)’ at ntHashIterator.hpp:41:13,
inlined from ‘void ntRead(const std::string&, uint8_t*)’ at nthll.cpp:100:42:
nthash.hpp:689:17: error: array subscript 1 is outside array bounds of ‘void [8]’ [-Werror=array-bounds=]
689 | hVal[i] = tVal;
| ~~~~~~~~^~~~~~~
In constructor ‘ntHashIterator::ntHashIterator(const std::string&, unsigned int, unsigned int, size_t)’,
inlined from ‘void ntRead(const std::string&, uint8_t*)’ at nthll.cpp:100:42:
ntHashIterator.hpp:39:58: note: at offset 8 into object of size 8 allocated by ‘operator new []’
39 | m_seq(seq), m_h(h), m_k(k), m_hVec(new uint64_t[h]), m_pos(pos)
| ^
In file included from ntHashIterator.hpp:6,
from ntcard.cpp:2:
In function ‘bool NTMC64(const char*, unsigned int, unsigned int, uint64_t&, uint64_t&, unsigned int&, uint64_t*)’,
inlined from ‘bool NTMC64(const char*, unsigned int, unsigned int, uint64_t&, uint64_t&, unsigned int&, uint64_t*)’ at nthash.hpp:667:13,
inlined from ‘void ntHashIterator::init()’ at ntHashIterator.hpp:66:53,
inlined from ‘ntHashIterator::ntHashIterator(const std::string&, unsigned int, unsigned int, size_t)’ at ntHashIterator.hpp:41:13,
inlined from ‘void ntRead(const std::string&, const std::vector<unsigned int>&, uint16_t*, size_t*)’ at ntcard.cpp:151:38:
nthash.hpp:689:17: error: array subscript 1 is outside array bounds of ‘void [8]’ [-Werror=array-bounds=]
689 | hVal[i] = tVal;
| ~~~~~~~~^~~~~~~
In constructor ‘ntHashIterator::ntHashIterator(const std::string&, unsigned int, unsigned int, size_t)’,
inlined from ‘void ntRead(const std::string&, const std::vector<unsigned int>&, uint16_t*, size_t*)’ at ntcard.cpp:151:38:
ntHashIterator.hpp:39:58: note: at offset 8 into object of size 8 allocated by ‘operator new []’
39 | m_seq(seq), m_h(h), m_k(k), m_hVec(new uint64_t[h]), m_pos(pos)
| ^
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:688: nthll-nthll.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:632: ntcard-ntcard.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:725: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:426: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list