Your message dated Wed, 24 Sep 2025 09:20:00 +0000
with message-id <[email protected]>
and subject line Bug#1096546: fixed in drbd-utils 9.22.0-1.2
has caused the Debian Bug report #1096546,
regarding drbd-utils: ftbfs with GCC-15
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1096546: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096546
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:drbd-utils
Version: 9.22.0-1.1
Severity: important
Tags: sid forky
User: [email protected]
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/drbd-utils_9.22.0-1.1_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

[...]
 2763 |         if (ctx->ctx_resource_name) {
      |             ^~~
./linux/drbd_genl.h:99:49: note: ‘ctx_resource_name’ declared here
   99 |         __str_field(2, DRBD_GENLA_F_MANDATORY,  ctx_resource_name, 128)
      |                                                 ^~~~~~~~~~~~~~~~~
./linux/genl_magic_struct.h:243:17: note: in definition of macro ‘GENL_struct’
  243 | struct s_name { s_fields };
      |                 ^~~~~~~~
./linux/genl_magic_struct.h:86:9: note: in expansion of macro ‘__array’
   86 |         __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, 
\
      |         ^~~~~~~
./linux/drbd_genl.h:99:9: note: in expansion of macro ‘__str_field’
   99 |         __str_field(2, DRBD_GENLA_F_MANDATORY,  ctx_resource_name, 128)
      |         ^~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -I. -I../shared  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now  -Wl,-z,relro -Wl,-z,now -o 
drbdadm-84 drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o 
drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o 
libgenl.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o libnla.o 
path_linux.o shared_linux.o
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -I. -I../shared  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now  -Wl,-z,relro -Wl,-z,now -o 
drbdsetup-84 libgenl.o registry.o drbdsetup.o drbdtool_common.o drbd_buildtag.o 
drbd_strings.o config_flags.o drbd_nla.o wrap_printf.o drbdsetup_colors.o 
shared_tool.o libnla.o path_linux.o shared_linux.o
make[2]: Leaving directory '/build/reproducible-path/drbd-utils-9.22.0/user/v84'
make[2]: Entering directory 
'/build/reproducible-path/drbd-utils-9.22.0/user/drbdmon'
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
drbdmon_main.o drbdmon_main.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
DrbdMon.o DrbdMon.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
MessageLog.o MessageLog.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
CompactDisplay.o CompactDisplay.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
IntervalTimer.o IntervalTimer.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
DrbdResource.o DrbdResource.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
DrbdRole.o DrbdRole.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
DrbdVolume.o DrbdVolume.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
DrbdConnection.o DrbdConnection.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
VolumesContainer.o VolumesContainer.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
StateFlags.o StateFlags.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
EventsIo.o EventsIo.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
EventsSourceSpawner.o EventsSourceSpawner.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o Args.o 
Args.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
ConfigOption.o ConfigOption.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
StringTokenizer.o StringTokenizer.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
comparators.o comparators.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o utils.o 
utils.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
exceptions.o exceptions.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
cppdsaext/src/dsaext.o cppdsaext/src/dsaext.cpp
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/drbd-utils-9.22.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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=2  -c -o 
cppdsaext/src/integerparse.o cppdsaext/src/integerparse.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 
'/build/reproducible-path/drbd-utils-9.22.0/user/drbdmon'
make[1]: *** [Makefile:90: tools] Error 2
make[1]: Leaving directory '/build/reproducible-path/drbd-utils-9.22.0'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: drbd-utils
Source-Version: 9.22.0-1.2
Done: Adrian Bunk <[email protected]>

We believe that the bug you reported is fixed in the latest version of
drbd-utils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <[email protected]> (supplier of updated drbd-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 22 Sep 2025 15:22:53 +0300
Source: drbd-utils
Architecture: source
Version: 9.22.0-1.2
Distribution: unstable
Urgency: medium
Maintainer: Debian DRBD Maintainers 
<[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Closes: 1096546
Changes:
 drbd-utils (9.22.0-1.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Backport upstream fix for FTBFS with GCC 15. (Closes: #1096546)
Checksums-Sha1:
 4c1db2f74da7fbf69c1072649142f4d594e4c9f2 2088 drbd-utils_9.22.0-1.2.dsc
 7861cd11bb19d8536d0a18619509ef5d4841df52 19856 
drbd-utils_9.22.0-1.2.debian.tar.xz
Checksums-Sha256:
 3321a0a9333b29c0f02885b6325d2cbd54af85bbb31966bfd17d965192288143 2088 
drbd-utils_9.22.0-1.2.dsc
 8a49939d0942f9206bab735df7558ba045e28d19bdb3eabce67d7c0a3731cd2e 19856 
drbd-utils_9.22.0-1.2.debian.tar.xz
Files:
 68b62461ee065dde49613b15344d843f 2088 admin optional drbd-utils_9.22.0-1.2.dsc
 0977b7bc6a3a41b4cf1c7026df81f742 19856 admin optional 
drbd-utils_9.22.0-1.2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmjRQpcACgkQiNJCh6LY
mLHlrQ//areQ2YN9FSttma4IJWO+3z9xHuyhlX0luhRWPhiUYorNUoJDqosjOp/0
4tw7Eq0WeFH/lXRQaGLzBUGpI0MMFwPFKwFmM9oICvaPC0lwdoLtpq6JTzEZIXgM
1epL5D8WBhbIv1/Z1MXGnclHmPQFHYi5Q2b9juXR3xjGFvWzYWkIj+nmDzTz9ueA
SJzp/v50sCth/Q2G+Wi/bgTqdHmqEKGERmDPZvGNcOrgbDMw7wQYCPt23Q2q8HJ8
TXxXiKtNxrWCezvjnICHKK5qlcg9b6A+NtubFuZgmFZ896DjAN4DMkiUXYCorwaJ
mVhRTIzt3hJpYS3ngsWRUn2Tp55mADaf9hPq/Vc80J8uNjbEyJqwQ29hItSVMNrq
qPGgqvDRuekVqFLeeU70m6qgL9V1tGTY0ILd3+nn5RBouoGu0FZVMYg+v448PcVz
8K7snSHfdvNnkwR0VbS8+77j7k1qj7v85IACX3g5mxWZHuJGHihmo3q3KErsVQKu
xL5CZCVvKXvuV+PvL8uExk+NnFFTQKa+kjD7z2zOVLUyMKNMw7ZaqI4Jykzgnp8s
3x/zX1Iid5pPo+GGmbzxFpG4+7OygARhU9LTYnrmhqD2WN+eY7mrgZKemaJxgAYt
61YhuVVcYWwxaLR8Dsb7V9v607k5GVO2qZYMFC4QiQG+V79+zrA=
=hsqm
-----END PGP SIGNATURE-----

Attachment: pgpHWtBtFqcDw.pgp
Description: PGP signature


--- End Message ---

Reply via email to