Package: src:zytrax Version: 0+git20201215-1 Severity: normal Tags: sid trixie User: [email protected] 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/zytrax_0+git20201215-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 [...] globals/base64.cpp:21:9: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? globals/base64.cpp:22:16: error: expected ‘;’ before ‘char_array_4’ 22 | uint8_t char_array_4[4]; | ^~~~~~~~~~~~~ | ; globals/base64.cpp:25:17: error: ‘char_array_3’ was not declared in this scope 25 | char_array_3[i++] = *(buf++); | ^~~~~~~~~~~~ globals/base64.cpp:25:39: error: ‘buf’ was not declared in this scope 25 | char_array_3[i++] = *(buf++); | ^~~ globals/base64.cpp:27:25: error: ‘char_array_4’ was not declared in this scope 27 | char_array_4[0] = (char_array_3[0] & 0xfc) >> 2; | ^~~~~~~~~~~~ globals/base64.cpp:40:25: error: ‘char_array_3’ was not declared in this scope 40 | char_array_3[j] = '\0'; | ^~~~~~~~~~~~ globals/base64.cpp:42:17: error: ‘char_array_4’ was not declared in this scope 42 | char_array_4[0] = (char_array_3[0] & 0xfc) >> 2; | ^~~~~~~~~~~~ globals/base64.cpp:42:36: error: ‘char_array_3’ was not declared in this scope 42 | char_array_4[0] = (char_array_3[0] & 0xfc) >> 2; | ^~~~~~~~~~~~ globals/base64.cpp: At global scope: globals/base64.cpp:57:8: error: ‘uint8_t’ was not declared in this scope 57 | Vector<uint8_t> base64_decode(std::string const &encoded_string) { | ^~~~~~~ globals/base64.cpp:57:8: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? globals/base64.cpp:57:15: error: template argument 1 is invalid 57 | Vector<uint8_t> base64_decode(std::string const &encoded_string) { | ^ globals/base64.cpp: In function ‘int base64_decode(const std::string&)’: globals/base64.cpp:62:9: error: ‘uint8_t’ was not declared in this scope 62 | uint8_t char_array_4[4], char_array_3[3]; | ^~~~~~~ globals/base64.cpp:62:9: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? globals/base64.cpp:65:69: error: ‘is_base64’ cannot be used as a function 65 | while (in_len-- && (encoded_string[in_] != '=') && is_base64(encoded_string[in_])) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ globals/base64.cpp:66:17: error: ‘char_array_4’ was not declared in this scope 66 | char_array_4[i++] = encoded_string[in_]; | ^~~~~~~~~~~~ globals/base64.cpp:72:25: error: ‘char_array_3’ was not declared in this scope 72 | char_array_3[0] = (char_array_4[0] << 2) + ((char_array_4[1] & 0x30) >> 4); | ^~~~~~~~~~~~ globals/base64.cpp:77:37: error: request for member ‘push_back’ in ‘ret’, which is of non-class type ‘int’ 77 | ret.push_back(char_array_3[i]); | ^~~~~~~~~ globals/base64.cpp:84:25: error: ‘char_array_4’ was not declared in this scope 84 | char_array_4[j] = 0; | ^~~~~~~~~~~~ globals/base64.cpp:87:25: error: ‘char_array_4’ was not declared in this scope 87 | char_array_4[j] = base64_chars.find(char_array_4[j]); | ^~~~~~~~~~~~ globals/base64.cpp:89:17: error: ‘char_array_3’ was not declared in this scope 89 | char_array_3[0] = (char_array_4[0] << 2) + ((char_array_4[1] & 0x30) >> 4); | ^~~~~~~~~~~~ globals/base64.cpp:89:36: error: ‘char_array_4’ was not declared in this scope 89 | char_array_3[0] = (char_array_4[0] << 2) + ((char_array_4[1] & 0x30) >> 4); | ^~~~~~~~~~~~ globals/base64.cpp:94:29: error: request for member ‘push_back’ in ‘ret’, which is of non-class type ‘int’ 94 | ret.push_back(char_array_3[j]); | ^~~~~~~~~ scons: *** [globals/base64.o] Error 1 scons: building terminated because of errors. make[1]: *** [Makefile:2: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2 make: *** [debian/rules:16: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

