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

Bug#1037709: kitinerary: ftbfs with GCC-13



Package: src:kitinerary
Version: 22.12.3-1
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/kitinerary_22.12.3-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

[...]
   19 | class BitVectorView
      |       ^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h: In instantiation of ‘T KItinerary::BitVectorView::valueAtMSB(size_type, size_type) const [with T = unsigned char; size_type = long unsigned int]’:
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.cpp:41:43:   required from here
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h:46:25: error: ‘at’ was not declared in this scope; did you mean ‘Qt’?
   46 |             result |= at(index + i);
      |                       ~~^~~~~~~~~~~
      |                       Qt
[  6%] Building CXX object src/lib/CMakeFiles/KPimItinerary.dir/datatypes/action.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lib && /usr/bin/c++ -DKCalCore=KCalendarCore -DKF_DEPRECATED_WARNINGS_SINCE=0x60000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x56300 -DKPimItinerary_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x60000 -DQT_DISABLE_DEPRECATED_BEFORE=0x50f02 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_QML_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kitinerary\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lib -I/<<PKGBUILDDIR>>/src/lib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lib/KPimItinerary_autogen/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs
 /linux-g++ -isystem /usr/include/KF5/KMime -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KI18nLocaleData -isystem /usr/include/KF5/KCalendarCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KContacts -isystem /usr/include/KPim -isystem /usr/include/poppler -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml/5.15.8 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml/5.15.8/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork/5.15.8 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork/5.15.8/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.8 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.8/QtCore -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=
 2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++20 -MD -MT src/lib/CMakeFiles/KPimItinerary.dir/datatypes/action.cpp.o -MF CMakeFiles/KPimItinerary.dir/datatypes/action.cpp.o.d -o CMakeFiles/KPimItinerary.dir/datatypes/action.cpp.o -c /<<PKGBUILDDIR>>/src/lib/datatypes/action.cpp
make[3]: *** [src/lib/CMakeFiles/KPimItinerary.dir/build.make:335: src/lib/CMakeFiles/KPimItinerary.dir/asn1/bitvectorview.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[  6%] Linking CXX static library ../../lib/libKOSM.a
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/osm && /usr/bin/cmake -P CMakeFiles/KOSM.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/osm && /usr/bin/cmake -E cmake_link_script CMakeFiles/KOSM.dir/link.txt --verbose=1
/usr/bin/ar qc ../../lib/libKOSM.a CMakeFiles/KOSM.dir/KOSM_autogen/mocs_compilation.cpp.o CMakeFiles/KOSM.dir/datatypes.cpp.o CMakeFiles/KOSM.dir/element.cpp.o CMakeFiles/KOSM.dir/geomath.cpp.o CMakeFiles/KOSM.dir/xmlparser.cpp.o
/usr/bin/ranlib ../../lib/libKOSM.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
In file included from /<<PKGBUILDDIR>>/src/lib/asn1/uperdecoder.h:9,
                 from /<<PKGBUILDDIR>>/src/lib/asn1/uperelement.h:9,
                 from /<<PKGBUILDDIR>>/src/lib/asn1/uperelement.cpp:6:
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h:32:5: error: ‘uint8_t’ does not name a type
   32 |     uint8_t at(size_type index) const;
      |     ^~~~~~~
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h:11:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   10 | #include <cassert>
  +++ |+#include <cstdint>
   11 | #include <string_view>
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h: In member function ‘T KItinerary::BitVectorView::valueAtMSB(size_type, size_type) const’:
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h:46:23: error: there are no arguments to ‘at’ that depend on a template parameter, so a declaration of ‘at’ must be available [-fpermissive]
   46 |             result |= at(index + i);
      |                       ^~
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h:46:23: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h: In member function ‘std::bitset<_Nb> KItinerary::BitVectorView::bitsetAt(size_type) const’:
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h:61:33: error: there are no arguments to ‘at’ that depend on a template parameter, so a declaration of ‘at’ must be available [-fpermissive]
   61 |             result[N - i - 1] = at(index + i);
      |                                 ^~
[  6%] Built target KOSM
/<<PKGBUILDDIR>>/src/lib/asn1/uperdecoder.cpp: In member function ‘bool KItinerary::UPERDecoder::readBoolean()’:
/<<PKGBUILDDIR>>/src/lib/asn1/uperdecoder.cpp:83:19: error: ‘class KItinerary::BitVectorView’ has no member named ‘at’
   83 |     return m_data.at(m_idx++) != 0;
      |                   ^~
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h: In instantiation of ‘T KItinerary::BitVectorView::valueAtMSB(size_type, size_type) const [with T = long int; size_type = long unsigned int]’:
/<<PKGBUILDDIR>>/src/lib/asn1/uperdecoder.cpp:34:51:   required from here
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h:46:25: error: ‘at’ was not declared in this scope; did you mean ‘Qt’?
   46 |             result |= at(index + i);
      |                       ~~^~~~~~~~~~~
      |                       Qt
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h: In instantiation of ‘T KItinerary::BitVectorView::valueAtMSB(size_type, size_type) const [with T = long unsigned int; size_type = long unsigned int]’:
/<<PKGBUILDDIR>>/src/lib/asn1/uperdecoder.cpp:53:49:   required from here
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h:46:25: error: ‘at’ was not declared in this scope; did you mean ‘Qt’?
   46 |             result |= at(index + i);
      |                       ~~^~~~~~~~~~~
      |                       Qt
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h: In instantiation of ‘T KItinerary::BitVectorView::valueAtMSB(size_type, size_type) const [with T = char; size_type = long unsigned int]’:
/<<PKGBUILDDIR>>/src/lib/asn1/uperdecoder.cpp:91:47:   required from here
/<<PKGBUILDDIR>>/src/lib/asn1/bitvectorview.h:46:25: error: ‘at’ was not declared in this scope; did you mean ‘Qt’?
   46 |             result |= at(index + i);
      |                       ~~^~~~~~~~~~~
      |                       Qt
make[3]: *** [src/lib/CMakeFiles/KPimItinerary.dir/build.make:363: src/lib/CMakeFiles/KPimItinerary.dir/asn1/uperelement.cpp.o] Error 1
make[3]: *** [src/lib/CMakeFiles/KPimItinerary.dir/build.make:349: src/lib/CMakeFiles/KPimItinerary.dir/asn1/uperdecoder.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:728: src/lib/CMakeFiles/KPimItinerary.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:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: