** Merge proposal linked: https://code.launchpad.net/~0xnishit/ubuntu/+source/drbd-utils/+git/drbd-utils/+merge/492702
-- You received this bug notification because you are a member of Debcrafters packages, which is subscribed to drbd-utils in Ubuntu. https://bugs.launchpad.net/bugs/2124267 Title: FTBFS drbd-utils 9.22.0-1.1 on questing Status in drbd-utils package in Ubuntu: New Bug description: Currently drbd-utils FTBFS with gcc-15 in questing archive rebuild on every arch: https://launchpad.net/ubuntu/+archive/test-rebuild-20250910-questing/+packages?field.name_filter=drbd-utils&field.status_filter=published&field.series_filter= g++ -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/drbd-utils-9.22.0-1.1 -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wdate-time -D_FORTIFY_SOURCE=3 -c -o cppdsaext/src/dsaext.o cppdsaext/src/dsaext.cpp In file included from utils.cpp:1: ./utils.h:30:13: error: ‘uint16_t’ does not name a type 30 | virtual uint16_t get_size_x() const; | ^~~~~~~~ ./utils.h:14:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 13 | #include <sys/ioctl.h> +++ |+#include <cstdint> 14 | } ./utils.h:31:13: error: ‘uint16_t’ does not name a type 31 | virtual uint16_t get_size_y() const; | ^~~~~~~~ ./utils.h:31:13: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ utils.cpp:30:1: error: ‘uint16_t’ does not name a type 30 | uint16_t TermSize::get_size_x() const | ^~~~~~~~ utils.cpp:8:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 7 | #include <unistd.h> +++ |+#include <cstdint> 8 | #include <spawn.h> utils.cpp:35:1: error: ‘uint16_t’ does not name a type 35 | uint16_t TermSize::get_size_y() const | ^~~~~~~~ utils.cpp:35:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ make[2]: *** [<builtin>: utils.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/<<PKGBUILDDIR>>/user/drbdmon' make[1]: *** [Makefile:90: tools] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j4 returned exit code 2 make: *** [debian/rules:10: binary] Error 25 This issue solved by including <cstdint> explicitly in d/rules as DEB_CXXFLAGS_MAINT_APPEND I have uploaded the package with the changes in this ppa for testing: https://launchpad.net/~0xnishit/+archive/ubuntu/devel-packages-ppa To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/drbd-utils/+bug/2124267/+subscriptions -- Mailing list: https://launchpad.net/~debcrafters-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~debcrafters-packages More help : https://help.launchpad.net/ListHelp

