[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1037724: libcm256cc: ftbfs with GCC-13



Package: src:libcm256cc
Version: 1.1.0-3
Severity: normal
Tags: sid trixie
User: debian-gcc@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/libcm256cc_1.1.0-3_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

[...]
make[3]: *** Waiting for unfinished jobs....
[ 70%] Building CXX object CMakeFiles/cm256_tx.dir/unit_test/example0.cpp.o
/usr/bin/c++ -DARCHITECTURE_x86_64=1 -DNO_RESTRICT -DUSE_AVX -DUSE_AVX2 -DUSE_AVX512 -DUSE_SSE2 -DUSE_SSE4_1 -DUSE_SSE4_2 -DUSE_SSSE3 -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -msse2 -mssse3 -Wall -Wextra -O3 -ffast-math -ftree-vectorize  -fmax-errors=10 -O3 -DNDEBUG -msse4.1 -msse4.2 -mavx -mavx2 -mavx512f -std=c++11 -std=c++11 -MD -MT CMakeFiles/cm256_tx.dir/unit_test/example0.cpp.o -MF CMakeFiles/cm256_tx.dir/unit_test/example0.cpp.o.d -o CMakeFiles/cm256_tx.dir/unit_test/example0.cpp.o -c /<<PKGBUILDDIR>>/unit_test/example0.cpp
[ 76%] Building CXX object CMakeFiles/cm256_tx.dir/unit_test/example1.cpp.o
/usr/bin/c++ -DARCHITECTURE_x86_64=1 -DNO_RESTRICT -DUSE_AVX -DUSE_AVX2 -DUSE_AVX512 -DUSE_SSE2 -DUSE_SSE4_1 -DUSE_SSE4_2 -DUSE_SSSE3 -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -msse2 -mssse3 -Wall -Wextra -O3 -ffast-math -ftree-vectorize  -fmax-errors=10 -O3 -DNDEBUG -msse4.1 -msse4.2 -mavx -mavx2 -mavx512f -std=c++11 -std=c++11 -MD -MT CMakeFiles/cm256_tx.dir/unit_test/example1.cpp.o -MF CMakeFiles/cm256_tx.dir/unit_test/example1.cpp.o.d -o CMakeFiles/cm256_tx.dir/unit_test/example1.cpp.o -c /<<PKGBUILDDIR>>/unit_test/example1.cpp
[ 82%] Building CXX object CMakeFiles/cm256_tx.dir/unit_test/transmit.cpp.o
/usr/bin/c++ -DARCHITECTURE_x86_64=1 -DNO_RESTRICT -DUSE_AVX -DUSE_AVX2 -DUSE_AVX512 -DUSE_SSE2 -DUSE_SSE4_1 -DUSE_SSE4_2 -DUSE_SSSE3 -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -msse2 -mssse3 -Wall -Wextra -O3 -ffast-math -ftree-vectorize  -fmax-errors=10 -O3 -DNDEBUG -msse4.1 -msse4.2 -mavx -mavx2 -mavx512f -std=c++11 -std=c++11 -MD -MT CMakeFiles/cm256_tx.dir/unit_test/transmit.cpp.o -MF CMakeFiles/cm256_tx.dir/unit_test/transmit.cpp.o.d -o CMakeFiles/cm256_tx.dir/unit_test/transmit.cpp.o -c /<<PKGBUILDDIR>>/unit_test/transmit.cpp
In file included from /<<PKGBUILDDIR>>/unit_test/example0.cpp:33:
/<<PKGBUILDDIR>>/unit_test/data.h:37:9: error: ‘uint16_t’ does not name a type
   37 |         uint16_t i;
      |         ^~~~~~~~
/<<PKGBUILDDIR>>/unit_test/data.h:33:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   32 | #include <string.h>
  +++ |+#include <cstdint>
   33 | 
/<<PKGBUILDDIR>>/unit_test/data.h:38:9: error: ‘uint16_t’ does not name a type
   38 |         uint16_t q;
      |         ^~~~~~~~
/<<PKGBUILDDIR>>/unit_test/data.h:38:9: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/unit_test/data.h:42:9: error: ‘uint16_t’ does not name a type
   42 |         uint16_t frameIndex;
      |         ^~~~~~~~
/<<PKGBUILDDIR>>/unit_test/data.h:42:9: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/unit_test/data.h:43:9: error: ‘uint8_t’ does not name a type
   43 |         uint8_t  blockIndex;
      |         ^~~~~~~
/<<PKGBUILDDIR>>/unit_test/data.h:43:9: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/unit_test/data.h:44:9: error: ‘uint8_t’ does not name a type
   44 |         uint8_t  filler;
      |         ^~~~~~~
/<<PKGBUILDDIR>>/unit_test/data.h:44:9: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/unit_test/data.h:64:9: error: ‘uint32_t’ does not name a type
   64 |         uint32_t m_centerFrequency;   //!<  4 center frequency in kHz
      |         ^~~~~~~~
/<<PKGBUILDDIR>>/unit_test/data.h:64:9: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/unit_test/data.h:65:9: error: ‘uint32_t’ does not name a type
   65 |         uint32_t m_sampleRate;        //!<  8 sample rate in Hz
      |         ^~~~~~~~
/<<PKGBUILDDIR>>/unit_test/data.h:65:9: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/unit_test/data.h:66:9: error: ‘uint8_t’ does not name a type
   66 |         uint8_t  m_sampleBytes;       //!<  9 MSB(4): indicators, LSB(4) number of bytes per sample
      |         ^~~~~~~
/<<PKGBUILDDIR>>/unit_test/data.h:66:9: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/unit_test/data.h:67:9: error: ‘uint8_t’ does not name a type
   67 |         uint8_t  m_sampleBits;        //!< 10 number of effective bits per sample
      |         ^~~~~~~
/<<PKGBUILDDIR>>/unit_test/data.h:67:9: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/unit_test/data.h:68:9: error: ‘uint8_t’ does not name a type
   68 |         uint8_t  m_nbOriginalBlocks;  //!< 11 number of blocks with original (protected) data
      |         ^~~~~~~
/<<PKGBUILDDIR>>/unit_test/data.h:68:9: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
compilation terminated due to -fmax-errors=10.
make[3]: *** [CMakeFiles/cm256_tx.dir/build.make:107: CMakeFiles/cm256_tx.dir/unit_test/example0.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 88%] Linking CXX executable cm256_test
/usr/bin/cmake -E cmake_link_script CMakeFiles/cm256_test.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -msse2 -mssse3 -Wall -Wextra -O3 -ffast-math -ftree-vectorize  -fmax-errors=10 -O3 -DNDEBUG -msse4.1 -msse4.2 -mavx -mavx2 -mavx512f -std=c++11 -Wl,-z,relro -rdynamic CMakeFiles/cm256_test.dir/unit_test/cm256_test.cpp.o -o cm256_test  -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu: libcm256cc.so.1.1.0 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 88%] Built target cm256_test
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:170: CMakeFiles/cm256_rx.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:144: CMakeFiles/cm256_tx.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: 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:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: