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

Bug#1037686: hdrmerge: ftbfs with GCC-13



Package: src:hdrmerge
Version: 0.5+git20200117-2
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/hdrmerge_0.5+git20200117-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

[...]
   57 | void IFD::write(uint8_t * buffer, size_t & pos, bool hasNext) {
      |                                          ^
/<<PKGBUILDDIR>>/src/TiffDirectory.cpp:57:44: error: ‘pos’ was not declared in this scope
   57 | void IFD::write(uint8_t * buffer, size_t & pos, bool hasNext) {
      |                                            ^~~
/<<PKGBUILDDIR>>/src/TiffDirectory.cpp:57:49: error: expected primary-expression before ‘bool’
   57 | void IFD::write(uint8_t * buffer, size_t & pos, bool hasNext) {
      |                                                 ^~~~
/<<PKGBUILDDIR>>/src/TiffDirectory.cpp: In member function ‘size_t hdrmerge::IFD::length() const’:
/<<PKGBUILDDIR>>/src/TiffDirectory.cpp:77:46: error: request for member ‘size’ in ‘((const hdrmerge::IFD*)this)->hdrmerge::IFD::entryData’, which is of non-class type ‘const int’
   77 |     return 6 + 12*entries.size() + entryData.size();
      |                                              ^~~~
/<<PKGBUILDDIR>>/src/TiffDirectory.cpp: At global scope:
/<<PKGBUILDDIR>>/src/TiffDirectory.cpp:81:17: error: ‘hdrmerge::IFD::DirEntry* hdrmerge::IFD::getEntry’ is not a static data member of ‘class hdrmerge::IFD’
   81 | IFD::DirEntry * IFD::getEntry(uint16_t tag) {
      |                 ^~~
/<<PKGBUILDDIR>>/src/TiffDirectory.cpp:81:31: error: ‘uint16_t’ was not declared in this scope
   81 | IFD::DirEntry * IFD::getEntry(uint16_t tag) {
      |                               ^~~~~~~~
/<<PKGBUILDDIR>>/src/TiffDirectory.cpp:81:31: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
make[3]: *** [CMakeFiles/hdrmerge.dir/build.make:216: CMakeFiles/hdrmerge.dir/src/TiffDirectory.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/hdrmerge_autogen/UVLADIE3JM/moc_AboutDialog.cpp:10,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/hdrmerge_autogen/mocs_compilation.cpp:2:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/hdrmerge_autogen/UVLADIE3JM/../../../src/AboutDialog.hpp:32:68: warning: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
   32 |     explicit AboutDialog(QWidget * parent = 0, Qt::WindowFlags f = 0);
      |                                                                    ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1305,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/hdrmerge_autogen/UVLADIE3JM/../../../src/AboutDialog.hpp:26:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here
  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
      |                                                                                ^~~~~~
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/hdrmerge_autogen/UVLADIE3JM/moc_DngPropertiesDialog.cpp:10,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/hdrmerge_autogen/mocs_compilation.cpp:3:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/hdrmerge_autogen/UVLADIE3JM/../../../src/DngPropertiesDialog.hpp:35:67: warning: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
   35 |     DngPropertiesDialog(QWidget * parent = 0, Qt::WindowFlags f = 0);
      |                                                                   ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here
  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
      |                                                                                ^~~~~~
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/hdrmerge_autogen/UVLADIE3JM/moc_LoadOptionsDialog.cpp:10,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/hdrmerge_autogen/mocs_compilation.cpp:5:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/hdrmerge_autogen/UVLADIE3JM/../../../src/LoadOptionsDialog.hpp:36:65: warning: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
   36 |     LoadOptionsDialog(QWidget * parent = 0, Qt::WindowFlags f = 0);
      |                                                                 ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here
  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
      |                                                                                ^~~~~~
In file included from /<<PKGBUILDDIR>>/src/BoxBlur.hpp:27,
                 from /<<PKGBUILDDIR>>/src/ImageStack.cpp:25:
/<<PKGBUILDDIR>>/src/Array2D.hpp: In instantiation of ‘void hdrmerge::Array2D<T>::fillBorders(T) [with T = float]’:
/<<PKGBUILDDIR>>/src/ImageStack.cpp:406:20:   required from here
/<<PKGBUILDDIR>>/src/Array2D.hpp:118:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  118 |             for(size_t i = 0; i < dy; ++i)
      |                               ~~^~~~
/<<PKGBUILDDIR>>/src/Array2D.hpp:124:37: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  124 |                 for(size_t j = 0; j < dx; ++j)
      |                                   ~~^~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:87: CMakeFiles/hdrmerge.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:14: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: