[Debian-med-packaging] Bug#1037723: libcifpp: ftbfs with GCC-13
Andreas Tille
andreas at an3as.eu
Sat Jul 15 06:09:28 BST 2023
Hi Maarten,
could you please have a look? The bug os RC now since gcc-13 is default.
Kind regards
Andreas.
Am Wed, Jun 14, 2023 at 09:26:40AM +0000 schrieb Matthias Klose:
> Package: src:libcifpp
> Version: 5.0.7.1-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/libcifpp_5.0.7.1-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
>
> [...]
> | ^~~~~~~
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:41:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> 40 | #include <experimental/type_traits>
> +++ |+#include <cstdint>
> 41 | #else
> In file included from /<<PKGBUILDDIR>>/include/cif++/item.hpp:31,
> from /<<PKGBUILDDIR>>/include/cif++/row.hpp:29,
> from /<<PKGBUILDDIR>>/include/cif++/condition.hpp:29,
> from /<<PKGBUILDDIR>>/src/dictionary_parser.cpp:27:
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:195:27: error: ‘uint8_t’ does not name a type
> 195 | extern CIFPP_EXPORT const uint8_t kCharToLowerMap[256];
> | ^~~~~~~
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:41:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> 40 | #include <experimental/type_traits>
> +++ |+#include <cstdint>
> 41 | #else
> /<<PKGBUILDDIR>>/include/cif++/text.hpp: In function ‘char cif::tolower(int)’:
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:199:34: error: ‘kCharToLowerMap’ was not declared in this scope
> 199 | return static_cast<char>(kCharToLowerMap[static_cast<uint8_t>(ch)]);
> | ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:199:62: error: ‘uint8_t’ does not name a type
> 199 | return static_cast<char>(kCharToLowerMap[static_cast<uint8_t>(ch)]);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:199:62: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/include/cif++/text.hpp: In function ‘char cif::tolower(int)’:
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:199:34: error: ‘kCharToLowerMap’ was not declared in this scope
> 199 | return static_cast<char>(kCharToLowerMap[static_cast<uint8_t>(ch)]);
> | ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:199:62: error: ‘uint8_t’ does not name a type
> 199 | return static_cast<char>(kCharToLowerMap[static_cast<uint8_t>(ch)]);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:199:62: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> In file included from /<<PKGBUILDDIR>>/include/cif++/item.hpp:31,
> from /<<PKGBUILDDIR>>/include/cif++/row.hpp:29,
> from /<<PKGBUILDDIR>>/include/cif++/condition.hpp:29,
> from /<<PKGBUILDDIR>>/include/cif++/category.hpp:31,
> from /<<PKGBUILDDIR>>/include/cif++/datablock.hpp:29,
> from /<<PKGBUILDDIR>>/include/cif++/file.hpp:32,
> from /<<PKGBUILDDIR>>/src/file.cpp:27:
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:195:27: error: ‘uint8_t’ does not name a type
> 195 | extern CIFPP_EXPORT const uint8_t kCharToLowerMap[256];
> | ^~~~~~~
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:41:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> 40 | #include <experimental/type_traits>
> +++ |+#include <cstdint>
> 41 | #else
> /<<PKGBUILDDIR>>/include/cif++/text.hpp: In function ‘char cif::tolower(int)’:
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:199:34: error: ‘kCharToLowerMap’ was not declared in this scope
> 199 | return static_cast<char>(kCharToLowerMap[static_cast<uint8_t>(ch)]);
> | ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:199:62: error: ‘uint8_t’ does not name a type
> 199 | return static_cast<char>(kCharToLowerMap[static_cast<uint8_t>(ch)]);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/include/cif++/text.hpp:199:62: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> make[3]: *** [CMakeFiles/cifpp.dir/build.make:149: CMakeFiles/cifpp.dir/src/item.cpp.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: *** [CMakeFiles/cifpp.dir/build.make:93: CMakeFiles/cifpp.dir/src/condition.cpp.o] Error 1
> make[3]: *** [CMakeFiles/cifpp.dir/build.make:177: CMakeFiles/cifpp.dir/src/row.cpp.o] Error 1
> make[3]: *** [CMakeFiles/cifpp.dir/build.make:107: CMakeFiles/cifpp.dir/src/datablock.cpp.o] Error 1
> make[3]: *** [CMakeFiles/cifpp.dir/build.make:135: CMakeFiles/cifpp.dir/src/file.cpp.o] Error 1
> make[3]: *** [CMakeFiles/cifpp.dir/build.make:121: CMakeFiles/cifpp.dir/src/dictionary_parser.cpp.o] Error 1
> make[3]: *** [CMakeFiles/cifpp.dir/build.make:79: CMakeFiles/cifpp.dir/src/category.cpp.o] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make[2]: *** [CMakeFiles/Makefile2:104: CMakeFiles/cifpp.dir/all] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make[1]: *** [Makefile:169: 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
>
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list