[Debian-med-packaging] Bug#1037775: mia: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:28:31 BST 2023


Package: src:mia
Version: 2.4.7-11
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/mia_2.4.7-11_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

[...]
      |                                ^~~~~~~~
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:60:41: note: in definition of macro ‘DECLARE_TYPE_DESCR’
   60 |         struct EXPORT_CORE __type_descr<type> {         \
      |                                         ^~~~
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:101:40: error: template argument 1 is invalid
  101 | DECLARE_TYPE_DESCR(std::vector<uint16_t>);
      |                                        ^
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:60:41: note: in definition of macro ‘DECLARE_TYPE_DESCR’
   60 |         struct EXPORT_CORE __type_descr<type> {         \
      |                                         ^~~~
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:101:40: error: template argument 2 is invalid
  101 | DECLARE_TYPE_DESCR(std::vector<uint16_t>);
      |                                        ^
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:60:41: note: in definition of macro ‘DECLARE_TYPE_DESCR’
   60 |         struct EXPORT_CORE __type_descr<type> {         \
      |                                         ^~~~
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:60:45: error: template argument 1 is invalid
   60 |         struct EXPORT_CORE __type_descr<type> {         \
      |                                             ^
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:101:1: note: in expansion of macro ‘DECLARE_TYPE_DESCR’
  101 | DECLARE_TYPE_DESCR(std::vector<uint16_t>);
      | ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:102:32: error: ‘uint64_t’ was not declared in this scope
  102 | DECLARE_TYPE_DESCR(std::vector<uint64_t>);
      |                                ^~~~~~~~
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:60:41: note: in definition of macro ‘DECLARE_TYPE_DESCR’
   60 |         struct EXPORT_CORE __type_descr<type> {         \
      |                                         ^~~~
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:102:32: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  102 | DECLARE_TYPE_DESCR(std::vector<uint64_t>);
      |                                ^~~~~~~~
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:60:41: note: in definition of macro ‘DECLARE_TYPE_DESCR’
   60 |         struct EXPORT_CORE __type_descr<type> {         \
      |                                         ^~~~
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:102:40: error: template argument 1 is invalid
  102 | DECLARE_TYPE_DESCR(std::vector<uint64_t>);
      |                                        ^
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:60:41: note: in definition of macro ‘DECLARE_TYPE_DESCR’
   60 |         struct EXPORT_CORE __type_descr<type> {         \
      |                                         ^~~~
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:102:40: error: template argument 2 is invalid
  102 | DECLARE_TYPE_DESCR(std::vector<uint64_t>);
      |                                        ^
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:60:41: note: in definition of macro ‘DECLARE_TYPE_DESCR’
   60 |         struct EXPORT_CORE __type_descr<type> {         \
      |                                         ^~~~
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:60:45: error: template argument 1 is invalid
   60 |         struct EXPORT_CORE __type_descr<type> {         \
      |                                             ^
/<<PKGBUILDDIR>>/mia/core/typedescr.hh:102:1: note: in expansion of macro ‘DECLARE_TYPE_DESCR’
  102 | DECLARE_TYPE_DESCR(std::vector<uint64_t>);
      | ^~~~~~~~~~~~~~~~~~
make[4]: *** [mia/core/CMakeFiles/miacore.dir/build.make:205: mia/core/CMakeFiles/miacore.dir/callback.cc.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  1%] Built target fastica-implementation-fastica-common
make[4]: *** [mia/core/CMakeFiles/miacore.dir/build.make:191: mia/core/CMakeFiles/miacore.dir/boundary_conditions.cc.o] Error 1
make[4]: *** [mia/core/CMakeFiles/miacore.dir/build.make:163: mia/core/CMakeFiles/miacore.dir/attributes.cc.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  1%] Built target LibraryDoc
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:3553: mia/core/CMakeFiles/miacore.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:149: all] Error 2
make[2]: 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[1]: *** [debian/rules:52: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:32: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list