Bug#1143748: ceph: FTBFS: error: 'uint64_t' has not been declared
Santiago Vila <[email protected]> Thu, 06 Aug 2026 00:10:07 +0000
| Newsgroups | gmane.linux.debian.devel.bugs.rc |
|---|---|
| Message-ID | <E1wrlgV-00HT8O-23__32047.8426803433$1785975092$gmane$org@paradis.debian.org> |
Package: src:ceph
Version: 20.2.2+ds-13
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ceph, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[ 2%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/BackTrace.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/ [too-long-redacted] LDDIR>>/src/common/BackTrace.cc
In file included from /<<PKGBUILDDIR>>/src/common/BackTrace.cc:10:
/<<PKGBUILDDIR>>/src/common/Formatter.h:209:55: error: ‘uint64_t’ has not been declared
209 | virtual void dump_unsigned(std::string_view name, uint64_t u) = 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/common/Formatter.h:17:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
16 | #include <map>
+++ |+#include <cstdint>
17 | #include <vector>
/<<PKGBUILDDIR>>/src/common/Formatter.h:310:47: error: ‘uint64_t’ has not been declared
310 | void dump_unsigned(std::string_view name, uint64_t u) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/common/Formatter.h:310:47: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
/<<PKGBUILDDIR>>/src/common/Formatter.h:428:47: error: ‘uint64_t’ has not been declared
428 | void dump_unsigned(std::string_view name, uint64_t u) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/common/Formatter.h:428:47: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
/<<PKGBUILDDIR>>/src/common/Formatter.h:485:47: error: ‘uint64_t’ has not been declared
485 | void dump_unsigned(std::string_view name, uint64_t u) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/common/Formatter.h:485:47: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
/<<PKGBUILDDIR>>/src/common/Formatter.h:517:33: error: ‘uint64_t’ was not declared in this scope
517 | std::string fixed_u_to_string(uint64_t num, int scale);
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/common/Formatter.h:517:33: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
/<<PKGBUILDDIR>>/src/common/Formatter.h:517:47: error: expected primary-expression before ‘int’
517 | std::string fixed_u_to_string(uint64_t num, int scale);
| ^~~
make[4]: *** [src/common/CMakeFiles/common-common-objs.dir/build.make:96: src/common/CMakeFiles/common-common-objs.dir/BackTrace.cc.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:6442: src/common/CMakeFiles/common-common-objs.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 2%] Built target common-auth-objs
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:149: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:310: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:163: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------