[Debian-astro-maintainers] Bug#1037600: casacore: ftbfs with GCC-13
Matthias Klose
doko at debian.org
Wed Jun 14 10:22:18 BST 2023
Package: src:casacore
Version: 3.5.0-2
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13
[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-13/g++-13, but succeeds to build with gcc-12/g++-12. 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/2023/05/22/logs/casacore_3.5.0-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html
[...]
721 | reinterpret_cast<uint16_t *>(dest)[i] = symbolBuffer[i];
| ^
/<<PKGBUILDDIR>>/tables/Dysco/tests/../bytepacker.h:721:60: error: expected ‘)’ before ‘;’ token
721 | reinterpret_cast<uint16_t *>(dest)[i] = symbolBuffer[i];
| ^
| )
/<<PKGBUILDDIR>>/tables/Dysco/tests/../bytepacker.h: In static member function ‘static void dyscostman::BytePacker::unpack16(unsigned int*, unsigned char*, size_t)’:
/<<PKGBUILDDIR>>/tables/Dysco/tests/../bytepacker.h:728:40: error: ‘uint16_t’ does not name a type
728 | symbolBuffer[i] = reinterpret_cast<uint16_t *>(packedBuffer)[i];
| ^~~~~~~~
/<<PKGBUILDDIR>>/tables/Dysco/tests/../bytepacker.h:728:40: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/tables/Dysco/tests/../bytepacker.h:728:49: error: expected ‘>’ before ‘*’ token
728 | symbolBuffer[i] = reinterpret_cast<uint16_t *>(packedBuffer)[i];
| ^
/<<PKGBUILDDIR>>/tables/Dysco/tests/../bytepacker.h:728:49: error: expected ‘(’ before ‘*’ token
728 | symbolBuffer[i] = reinterpret_cast<uint16_t *>(packedBuffer)[i];
| ^
| (
/<<PKGBUILDDIR>>/tables/Dysco/tests/../bytepacker.h:728:50: error: expected primary-expression before ‘>’ token
728 | symbolBuffer[i] = reinterpret_cast<uint16_t *>(packedBuffer)[i];
| ^
/<<PKGBUILDDIR>>/tables/Dysco/tests/../bytepacker.h:728:68: error: expected ‘)’ before ‘;’ token
728 | symbolBuffer[i] = reinterpret_cast<uint16_t *>(packedBuffer)[i];
| ^
| )
make[3]: *** [tables/Dysco/CMakeFiles/tDysco.dir/build.make:93: tables/Dysco/CMakeFiles/tDysco.dir/tests/testbytepacking.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:5890: tables/Dysco/CMakeFiles/tDysco.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 44%] Linking CXX executable tTable_3
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables/Tables/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/tTable_3.dir/link.txt --verbose=1
/usr/bin/c++ -fcx-fortran-rules -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -pthread -Wl,-z,relro -Wl,--as-needed -rdynamic CMakeFiles/tTable_3.dir/tTable_3.cc.o -o tTable_3 -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/casa ../../libcasa_tables.so.7 ../../../casa/libcasa_casa.so.7 /usr/lib/x86_64-linux-gnu/libreadline.so -lncurses -lm -ldl -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
[ 44%] Linking CXX executable tVeryBigTable
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables/Tables/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/tVeryBigTable.dir/link.txt --verbose=1
/usr/bin/c++ -fcx-fortran-rules -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -pthread -Wl,-z,relro -Wl,--as-needed -rdynamic CMakeFiles/tVeryBigTable.dir/tVeryBigTable.cc.o -o tVeryBigTable -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/casa ../../libcasa_tables.so.7 ../../../casa/libcasa_casa.so.7 /usr/lib/x86_64-linux-gnu/libreadline.so -lncurses -lm -ldl -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 44%] Built target tTable_3
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 44%] Built target tVeryBigTable
[ 44%] Linking CXX executable tTableRow
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables/Tables/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/tTableRow.dir/link.txt --verbose=1
/usr/bin/c++ -fcx-fortran-rules -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -pthread -Wl,-z,relro -Wl,--as-needed -rdynamic CMakeFiles/tTableRow.dir/tTableRow.cc.o -o tTableRow -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/casa ../../libcasa_tables.so.7 ../../../casa/libcasa_casa.so.7 /usr/lib/x86_64-linux-gnu/libreadline.so -lncurses -lm -ldl -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 44%] Built target tTableRow
[ 45%] Linking CXX executable tTable_2
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables/Tables/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/tTable_2.dir/link.txt --verbose=1
/usr/bin/c++ -fcx-fortran-rules -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -pthread -Wl,-z,relro -Wl,--as-needed -rdynamic CMakeFiles/tTable_2.dir/tTable_2.cc.o -o tTable_2 -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/casa ../../libcasa_tables.so.7 ../../../casa/libcasa_casa.so.7 /usr/lib/x86_64-linux-gnu/libreadline.so -lncurses -lm -ldl -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 45%] Built target tTable_2
[ 45%] Linking CXX executable tTable_4
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables/Tables/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/tTable_4.dir/link.txt --verbose=1
/usr/bin/c++ -fcx-fortran-rules -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -pthread -Wl,-z,relro -Wl,--as-needed -rdynamic CMakeFiles/tTable_4.dir/tTable_4.cc.o -o tTable_4 -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/casa ../../libcasa_tables.so.7 ../../../casa/libcasa_casa.so.7 /usr/lib/x86_64-linux-gnu/libreadline.so -lncurses -lm -ldl -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
[ 45%] Linking CXX executable tTableRecord
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables/Tables/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/tTableRecord.dir/link.txt --verbose=1
/usr/bin/c++ -fcx-fortran-rules -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -pthread -Wl,-z,relro -Wl,--as-needed -rdynamic CMakeFiles/tTableRecord.dir/tTableRecord.cc.o -o tTableRecord -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/casa ../../libcasa_tables.so.7 ../../../casa/libcasa_casa.so.7 /usr/lib/x86_64-linux-gnu/libreadline.so -lncurses -lm -ldl -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 45%] Built target tTable_4
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 45%] Built target tTableRecord
[ 45%] Linking CXX executable dRetypedArrayEngine
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables/DataMan/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/dRetypedArrayEngine.dir/link.txt --verbose=1
/usr/bin/c++ -fcx-fortran-rules -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -pthread -Wl,-z,relro -Wl,--as-needed -rdynamic CMakeFiles/dRetypedArrayEngine.dir/dRetypedArrayEngine.cc.o -o dRetypedArrayEngine -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/casa ../../libcasa_tables.so.7 ../../../casa/libcasa_casa.so.7 /usr/lib/x86_64-linux-gnu/libreadline.so -lncurses -lm -ldl -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 45%] Built target dRetypedArrayEngine
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-astro-maintainers
mailing list