[3dprinter-general] Bug#1097162: libarcus: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:30:22 GMT 2025


Package: src:libarcus
Version: 5.0.0-5
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/libarcus_5.0.0-5_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
      |                      ^~~~~~~~
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.h:26:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
   25 | #include "Types.h"
  +++ |+#include <cstdint>
   26 | 
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.h:62:34: error: ‘uint32_t’ has not been declared
   62 |         MessagePtr createMessage(uint32_t type_id) const;
      |                                  ^~~~~~~~
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.h:62:34: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.h:79:9: error: ‘uint32_t’ does not name a type
   79 |         uint32_t getMessageTypeId(const MessagePtr& message);
      |         ^~~~~~~~
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.h:79:9: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
make[3]: *** [CMakeFiles/Arcus.dir/build.make:138: CMakeFiles/Arcus.dir/src/Error.cpp.o] Error 1
In file included from /build/reproducible-path/libarcus-5.0.0/src/Socket.cpp:20:
/build/reproducible-path/libarcus-5.0.0/src/Socket_p.h: In member function ‘void Arcus::Socket::Private::sendMessage(const Arcus::MessagePtr&)’:
/build/reproducible-path/libarcus-5.0.0/src/Socket_p.h:365:50: warning: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
  365 |         uint32_t message_size = message->ByteSize();
      |                                 ~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/google/protobuf/generated_enum_util.h:38,
                 from /usr/include/google/protobuf/generated_enum_reflection.h:47,
                 from /usr/include/google/protobuf/generated_message_reflection.h:46,
                 from /usr/include/google/protobuf/message.h:124,
                 from /build/reproducible-path/libarcus-5.0.0/src/Socket_p.h:41:
/usr/include/google/protobuf/message_lite.h:381:7: note: declared here
  381 |   int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
      |       ^~~~~~~~
make[3]: *** [CMakeFiles/Arcus.dir/build.make:82: CMakeFiles/Arcus.dir/src/Socket.cpp.o] Error 1
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.cpp:96:6: error: no declaration matches ‘bool Arcus::MessageTypeStore::hasType(uint32_t) const’
   96 | bool Arcus::MessageTypeStore::hasType(uint32_t type_id) const
      |      ^~~~~
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.h:53:14: note: candidates are: ‘bool Arcus::MessageTypeStore::hasType(const std::string&) const’
   53 |         bool hasType(const std::string& type_name) const;
      |              ^~~~~~~
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.h:45:14: note:                 ‘bool Arcus::MessageTypeStore::hasType(int) const’
   45 |         bool hasType(uint32_t type_id) const;
      |              ^~~~~~~
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.h:32:24: note: ‘class Arcus::MessageTypeStore’ defined here
   32 |     class ARCUS_EXPORT MessageTypeStore
      |                        ^~~~~~~~~~~~~~~~
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.cpp:112:12: error: no declaration matches ‘Arcus::MessagePtr Arcus::MessageTypeStore::createMessage(uint32_t) const’
  112 | MessagePtr Arcus::MessageTypeStore::createMessage(uint32_t type_id) const
      |            ^~~~~
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.h:70:20: note: candidates are: ‘Arcus::MessagePtr Arcus::MessageTypeStore::createMessage(const std::string&) const’
   70 |         MessagePtr createMessage(const std::string& type_name) const;
      |                    ^~~~~~~~~~~~~
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.h:62:20: note:                 ‘Arcus::MessagePtr Arcus::MessageTypeStore::createMessage(int) const’
   62 |         MessagePtr createMessage(uint32_t type_id) const;
      |                    ^~~~~~~~~~~~~
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.h:32:24: note: ‘class Arcus::MessageTypeStore’ defined here
   32 |     class ARCUS_EXPORT MessageTypeStore
      |                        ^~~~~~~~~~~~~~~~
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.cpp:128:10: error: no declaration matches ‘uint32_t Arcus::MessageTypeStore::getMessageTypeId(const Arcus::MessagePtr&)’
  128 | uint32_t Arcus::MessageTypeStore::getMessageTypeId(const MessagePtr& message)
      |          ^~~~~
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.cpp:128:10: note: no functions named ‘uint32_t Arcus::MessageTypeStore::getMessageTypeId(const Arcus::MessagePtr&)’
/build/reproducible-path/libarcus-5.0.0/src/MessageTypeStore.h:32:24: note: ‘class Arcus::MessageTypeStore’ defined here
   32 |     class ARCUS_EXPORT MessageTypeStore
      |                        ^~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/Arcus.dir/build.make:110: CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/libarcus-5.0.0/.pybuild/cpython3_3.13/build'
make[2]: *** [CMakeFiles/Makefile2:96: CMakeFiles/Arcus.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/libarcus-5.0.0/.pybuild/cpython3_3.13/build'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/libarcus-5.0.0/.pybuild/cpython3_3.13/build'
dh_auto_build: error: cd .pybuild/cpython3_3.13/build && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
E: pybuild pybuild:389: build: plugin cmake failed with: exit code=25: dh_auto_build --buildsystem=cmake --builddirectory=/build/reproducible-path/libarcus-5.0.0/.pybuild/cpython3_3.13/build -- 
dh_auto_build: error: pybuild --build -i python{version} -p "3.12 3.13" returned exit code 13
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the 3dprinter-general mailing list