[Debian-med-packaging] Bug#1037750: libxdf: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:27:34 BST 2023


Package: src:libxdf
Version: 0.99.8+dfsg-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/libxdf_0.99.8+dfsg-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

[...]
/usr/include/c++/13/bits/stl_iterator.h:1047:11: note:   conversion of argument 1 would be ill-formed:
/<<PKGBUILDDIR>>/xdf.cpp:470:41: error: ‘ChLen’ was not declared in this scope
  470 |                 char* buffer = new char[ChLen - 6];
      |                                         ^~~~~
/<<PKGBUILDDIR>>/xdf.cpp:470:41: error: ‘ChLen’ was not declared in this scope
  470 |                 char* buffer = new char[ChLen - 6];
      |                                         ^~~~~
/<<PKGBUILDDIR>>/xdf.cpp:486:28: error: ‘ChLen’ was not declared in this scope
  486 |                 file.seekg(ChLen - 2, file.cur);
      |                            ^~~~~
/<<PKGBUILDDIR>>/xdf.cpp:486:28: error: ‘ChLen’ was not declared in this scope
  486 |                 file.seekg(ChLen - 2, file.cur);
      |                            ^~~~~
/<<PKGBUILDDIR>>/xdf.cpp: At global scope:
/<<PKGBUILDDIR>>/xdf.cpp:713:1: error: ‘uint64_t’ does not name a type
  713 | uint64_t Xdf::readLength(std::ifstream &file)
      | ^~~~~~~~
/<<PKGBUILDDIR>>/xdf.cpp:713:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/xdf.cpp: At global scope:
/<<PKGBUILDDIR>>/xdf.cpp:713:1: error: ‘uint64_t’ does not name a type
  713 | uint64_t Xdf::readLength(std::ifstream &file)
      | ^~~~~~~~
/<<PKGBUILDDIR>>/xdf.cpp:713:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/xdf.cpp: In member function ‘void Xdf::calcTotalLength(int)’:
/<<PKGBUILDDIR>>/xdf.cpp:823:5: error: ‘totalLen’ was not declared in this scope; did you mean ‘totalorder’?
  823 |     totalLen = (maxTS - minTS) * sampleRate;
      |     ^~~~~~~~
      |     totalorder
/<<PKGBUILDDIR>>/xdf.cpp: In member function ‘void Xdf::calcTotalLength(int)’:
/<<PKGBUILDDIR>>/xdf.cpp:823:5: error: ‘totalLen’ was not declared in this scope; did you mean ‘totalorder’?
  823 |     totalLen = (maxTS - minTS) * sampleRate;
      |     ^~~~~~~~
      |     totalorder
/<<PKGBUILDDIR>>/xdf.cpp: In member function ‘void Xdf::adjustTotalLength()’:
/<<PKGBUILDDIR>>/xdf.cpp:849:17: error: ‘totalLen’ was not declared in this scope; did you mean ‘totalorder’?
  849 |             if (totalLen < stream.time_series.front().size())
      |                 ^~~~~~~~
      |                 totalorder
/<<PKGBUILDDIR>>/xdf.cpp: In member function ‘void Xdf::adjustTotalLength()’:
/<<PKGBUILDDIR>>/xdf.cpp:849:17: error: ‘totalLen’ was not declared in this scope; did you mean ‘totalorder’?
  849 |             if (totalLen < stream.time_series.front().size())
      |                 ^~~~~~~~
      |                 totalorder
/<<PKGBUILDDIR>>/xdf.cpp: In member function ‘void Xdf::loadDictionary()’:
/<<PKGBUILDDIR>>/xdf.cpp:1081:23: error: request for member ‘emplace_back’ in ‘((Xdf*)this)->Xdf::eventType’, which is of non-class type ‘int’
 1081 |             eventType.emplace_back(dictionary.size());
      |                       ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/xdf.cpp:1086:23: error: request for member ‘emplace_back’ in ‘((Xdf*)this)->Xdf::eventType’, which is of non-class type ‘int’
 1086 |             eventType.emplace_back(std::distance(dictionary.begin(), it));
      |                       ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/xdf.cpp: In member function ‘void Xdf::loadDictionary()’:
/<<PKGBUILDDIR>>/xdf.cpp:1081:23: error: request for member ‘emplace_back’ in ‘((Xdf*)this)->Xdf::eventType’, which is of non-class type ‘int’
 1081 |             eventType.emplace_back(dictionary.size());
      |                       ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/xdf.cpp:1086:23: error: request for member ‘emplace_back’ in ‘((Xdf*)this)->Xdf::eventType’, which is of non-class type ‘int’
 1086 |             eventType.emplace_back(std::distance(dictionary.begin(), it));
      |                       ^~~~~~~~~~~~
make[3]: *** [CMakeFiles/xdf.dir/build.make:79: CMakeFiles/xdf.dir/xdf.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/xdf_shared.dir/build.make:79: CMakeFiles/xdf_shared.dir/xdf.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:88: CMakeFiles/xdf.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/Makefile2:114: CMakeFiles/xdf_shared.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: 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:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list