[Debian-astro-maintainers] Bug#1037862: sopt: ftbfs with GCC-13

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


Package: src:sopt
Version: 3.0.1+dfsg-1
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/sopt_3.0.1+dfsg-1_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

[...]
   51 |   uint32 *raster = (uint32 *)_TIFFmalloc(width * height * sizeof(uint32));
      |           ^~~~~~
/usr/include/x86_64-linux-gnu/tiff.h:86:38: note: declared here
   86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/<<PKGBUILDDIR>>/cpp/sopt/utilities.cc:51:28: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
   51 |   uint32 *raster = (uint32 *)_TIFFmalloc(width * height * sizeof(uint32));
      |                            ^
/usr/include/x86_64-linux-gnu/tiff.h:86:38: note: declared here
   86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/<<PKGBUILDDIR>>/cpp/sopt/utilities.cc:51:66: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
   51 |   uint32 *raster = (uint32 *)_TIFFmalloc(width * height * sizeof(uint32));
      |                                                                  ^~~~~~
/usr/include/x86_64-linux-gnu/tiff.h:86:38: note: declared here
   86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/<<PKGBUILDDIR>>/cpp/sopt/utilities.cc:57:16: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
   57 |   for (uint32 i(0); i < height; ++i)
      |                ^
/usr/include/x86_64-linux-gnu/tiff.h:86:38: note: declared here
   86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/<<PKGBUILDDIR>>/cpp/sopt/utilities.cc:58:18: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
   58 |     for (uint32 j(0); j < width; ++j, ++pixel) result(i, j) = convert_to_greyscale(*pixel);
      |                  ^
/usr/include/x86_64-linux-gnu/tiff.h:86:38: note: declared here
   86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/<<PKGBUILDDIR>>/cpp/sopt/utilities.cc: In function ‘void sopt::utilities::write_tiff(sopt::Image<>&, const std::string&)’:
/<<PKGBUILDDIR>>/cpp/sopt/utilities.cc:72:16: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
   72 |   uint32 const width = image.cols();
      |                ^~~~~
/usr/include/x86_64-linux-gnu/tiff.h:86:38: note: declared here
   86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/<<PKGBUILDDIR>>/cpp/sopt/utilities.cc:73:16: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
   73 |   uint32 const height = image.rows();
      |                ^~~~~~
/usr/include/x86_64-linux-gnu/tiff.h:86:38: note: declared here
   86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/<<PKGBUILDDIR>>/cpp/sopt/utilities.cc:90:16: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
   90 |   for (uint32 i(0); i < height; ++i)
      |                ^
/usr/include/x86_64-linux-gnu/tiff.h:86:38: note: declared here
   86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/<<PKGBUILDDIR>>/cpp/sopt/utilities.cc:91:18: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
   91 |     for (uint32 j(0); j < width; ++j, ++pixel) *pixel = convert_from_greyscale(image(i, j));
      |                  ^
/usr/include/x86_64-linux-gnu/tiff.h:86:38: note: declared here
   86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
make[3]: *** [cpp/sopt/CMakeFiles/sopt.dir/build.make:107: cpp/sopt/CMakeFiles/sopt.dir/utilities.cc.o] Error 1
make[3]: *** [cpp/sopt/CMakeFiles/sopt.dir/build.make:79: cpp/sopt/CMakeFiles/sopt.dir/wavelets/wavelets.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:198: cpp/sopt/CMakeFiles/sopt.dir/all] Error 2
make[3]: *** [cpp/tests/CMakeFiles/common_catch_main_object.dir/build.make:79: cpp/tests/CMakeFiles/common_catch_main_object.dir/common_catch_main.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:277: cpp/tests/CMakeFiles/common_catch_main_object.dir/all] Error 2
make[3]: *** [cpp/tests/CMakeFiles/common_mpi_catch_main_object.dir/build.make:79: cpp/tests/CMakeFiles/common_mpi_catch_main_object.dir/common_mpi_catch_main.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:763: cpp/tests/CMakeFiles/common_mpi_catch_main_object.dir/all] Error 2
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:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-astro-maintainers mailing list