[Debian-med-packaging] Bug#1037795: odil: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:29:15 BST 2023


Package: src:odil
Version: 0.12.2-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/odil_0.12.2-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

[...]
    CMAKE_INSTALL_RUNSTATEDIR
    CMAKE_INSTALL_SYSCONFDIR
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /<<PKGBUILDDIR>>/build
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
	cd build && make -j1 "INSTALL=install --strip-program=true" VERBOSE=1
make[2]: Entering directory '/<<PKGBUILDDIR>>/build'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/build/CMakeFiles /<<PKGBUILDDIR>>/build//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
make  -f src/CMakeFiles/libodil.dir/build.make src/CMakeFiles/libodil.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/build'
cd /<<PKGBUILDDIR>>/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src /<<PKGBUILDDIR>>/build /<<PKGBUILDDIR>>/build/src /<<PKGBUILDDIR>>/build/src/CMakeFiles/libodil.dir/DependInfo.cmake --color=
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make  -f src/CMakeFiles/libodil.dir/build.make src/CMakeFiles/libodil.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/build'
[  0%] Building CXX object src/CMakeFiles/libodil.dir/odil/Association.cpp.o
cd /<<PKGBUILDDIR>>/build/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ASIO_SEPARATE_COMPILATION -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_THREAD_DYN_LINK -DODIL_VERSION_MAJOR=0 -Dlibodil_EXPORTS -I/<<PKGBUILDDIR>>/src -isystem /usr/include/jsoncpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/libodil.dir/odil/Association.cpp.o -MF CMakeFiles/libodil.dir/odil/Association.cpp.o.d -o CMakeFiles/libodil.dir/odil/Association.cpp.o -c /<<PKGBUILDDIR>>/src/odil/Association.cpp
[  0%] Building CXX object src/CMakeFiles/libodil.dir/odil/AssociationAcceptor.cpp.o
cd /<<PKGBUILDDIR>>/build/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ASIO_SEPARATE_COMPILATION -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_THREAD_DYN_LINK -DODIL_VERSION_MAJOR=0 -Dlibodil_EXPORTS -I/<<PKGBUILDDIR>>/src -isystem /usr/include/jsoncpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/libodil.dir/odil/AssociationAcceptor.cpp.o -MF CMakeFiles/libodil.dir/odil/AssociationAcceptor.cpp.o.d -o CMakeFiles/libodil.dir/odil/AssociationAcceptor.cpp.o -c /<<PKGBUILDDIR>>/src/odil/AssociationAcceptor.cpp
[  0%] Building CXX object src/CMakeFiles/libodil.dir/odil/AssociationParameters.cpp.o
cd /<<PKGBUILDDIR>>/build/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ASIO_SEPARATE_COMPILATION -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_THREAD_DYN_LINK -DODIL_VERSION_MAJOR=0 -Dlibodil_EXPORTS -I/<<PKGBUILDDIR>>/src -isystem /usr/include/jsoncpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/libodil.dir/odil/AssociationParameters.cpp.o -MF CMakeFiles/libodil.dir/odil/AssociationParameters.cpp.o.d -o CMakeFiles/libodil.dir/odil/AssociationParameters.cpp.o -c /<<PKGBUILDDIR>>/src/odil/AssociationParameters.cpp
[  1%] Building CXX object src/CMakeFiles/libodil.dir/odil/BasicDirectoryCreator.cpp.o
cd /<<PKGBUILDDIR>>/build/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ASIO_SEPARATE_COMPILATION -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_THREAD_DYN_LINK -DODIL_VERSION_MAJOR=0 -Dlibodil_EXPORTS -I/<<PKGBUILDDIR>>/src -isystem /usr/include/jsoncpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/libodil.dir/odil/BasicDirectoryCreator.cpp.o -MF CMakeFiles/libodil.dir/odil/BasicDirectoryCreator.cpp.o.d -o CMakeFiles/libodil.dir/odil/BasicDirectoryCreator.cpp.o -c /<<PKGBUILDDIR>>/src/odil/BasicDirectoryCreator.cpp
[  1%] Building CXX object src/CMakeFiles/libodil.dir/odil/DataSet.cpp.o
cd /<<PKGBUILDDIR>>/build/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ASIO_SEPARATE_COMPILATION -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_THREAD_DYN_LINK -DODIL_VERSION_MAJOR=0 -Dlibodil_EXPORTS -I/<<PKGBUILDDIR>>/src -isystem /usr/include/jsoncpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/libodil.dir/odil/DataSet.cpp.o -MF CMakeFiles/libodil.dir/odil/DataSet.cpp.o.d -o CMakeFiles/libodil.dir/odil/DataSet.cpp.o -c /<<PKGBUILDDIR>>/src/odil/DataSet.cpp
[  1%] Building CXX object src/CMakeFiles/libodil.dir/odil/EchoSCP.cpp.o
cd /<<PKGBUILDDIR>>/build/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ASIO_SEPARATE_COMPILATION -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_THREAD_DYN_LINK -DODIL_VERSION_MAJOR=0 -Dlibodil_EXPORTS -I/<<PKGBUILDDIR>>/src -isystem /usr/include/jsoncpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/libodil.dir/odil/EchoSCP.cpp.o -MF CMakeFiles/libodil.dir/odil/EchoSCP.cpp.o.d -o CMakeFiles/libodil.dir/odil/EchoSCP.cpp.o -c /<<PKGBUILDDIR>>/src/odil/EchoSCP.cpp
[  2%] Building CXX object src/CMakeFiles/libodil.dir/odil/EchoSCU.cpp.o
cd /<<PKGBUILDDIR>>/build/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ASIO_SEPARATE_COMPILATION -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_THREAD_DYN_LINK -DODIL_VERSION_MAJOR=0 -Dlibodil_EXPORTS -I/<<PKGBUILDDIR>>/src -isystem /usr/include/jsoncpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/libodil.dir/odil/EchoSCU.cpp.o -MF CMakeFiles/libodil.dir/odil/EchoSCU.cpp.o.d -o CMakeFiles/libodil.dir/odil/EchoSCU.cpp.o -c /<<PKGBUILDDIR>>/src/odil/EchoSCU.cpp
[  2%] Building CXX object src/CMakeFiles/libodil.dir/odil/Element.cpp.o
cd /<<PKGBUILDDIR>>/build/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ASIO_SEPARATE_COMPILATION -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_THREAD_DYN_LINK -DODIL_VERSION_MAJOR=0 -Dlibodil_EXPORTS -I/<<PKGBUILDDIR>>/src -isystem /usr/include/jsoncpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/libodil.dir/odil/Element.cpp.o -MF CMakeFiles/libodil.dir/odil/Element.cpp.o.d -o CMakeFiles/libodil.dir/odil/Element.cpp.o -c /<<PKGBUILDDIR>>/src/odil/Element.cpp
In file included from /<<PKGBUILDDIR>>/src/odil/Element.h:16,
                 from /<<PKGBUILDDIR>>/src/odil/Element.cpp:9:
/<<PKGBUILDDIR>>/src/odil/Tag.h:28:17: error: expected ‘)’ before ‘group’
   28 |     Tag(uint16_t group, uint16_t element);
      |        ~        ^~~~~~
      |                 )
/<<PKGBUILDDIR>>/src/odil/Tag.h:31:17: error: expected ‘)’ before ‘tag’
   31 |     Tag(uint32_t tag=0);
      |        ~        ^~~~
      |                 )
/<<PKGBUILDDIR>>/src/odil/Tag.h:64:5: error: ‘uint16_t’ does not name a type
   64 |     uint16_t group;
      |     ^~~~~~~~
/<<PKGBUILDDIR>>/src/odil/Tag.h:14:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   13 | #include <ostream>
  +++ |+#include <cstdint>
   14 | #include <string>
/<<PKGBUILDDIR>>/src/odil/Tag.h:67:5: error: ‘uint16_t’ does not name a type
   67 |     uint16_t element;
      |     ^~~~~~~~
/<<PKGBUILDDIR>>/src/odil/Tag.h:67:5: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
make[4]: *** [src/CMakeFiles/libodil.dir/build.make:177: src/CMakeFiles/libodil.dir/odil/Element.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [CMakeFiles/Makefile2:1169: src/CMakeFiles/libodil.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:149: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j1 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:26: override_dh_auto_build-nopy] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list