Public bug reported: Our last archive rebuild against glibc 2.43 flagged this package as likely FTBFS if rebuilt on glibc2.43, due to new C23 const qualifiers.
This will become an issue when glibc2.43 lands. Here's a failing build log: https://launchpadlibrarian.net/849520991/buildlog_ubuntu-resolute-amd64.multipath-tools_0.12.0-1ubuntu2_BUILDING.txt.gz cc -Wdate-time -D_FORTIFY_SOURCE=3 -DURCU_VERSION=0x000f06 -D_FILE_OFFSET_BITS=64 -DBIN_DIR=\"/usr/sbin\" -DMULTIPATH_DIR=\"/usr/lib/multipath\" -DRUNTIME_DIR=\"/run\" -DCONFIG_DIR=\"/etc/multipath/conf.d\" -DDEFAULT_CONFIGFILE=\"/etc/multipath.conf\" -DSTATE_DIR=\"/etc/multipath\" -DEXTRAVERSION=\"\" -DABSTRACT_SOCKET=\"@/org/kernel/linux/storage/multipathd\" -DPATHNAME_SOCKET=\"/run/multipathd.socket\" -DWSTRINGOP_TRUNCATION=1 -MMD -MP -I. -I../libmultipath -I../libmpathcmd -DUSE_SYSTEMD=259 -std=gnu99 -g -O2 -Werror=implicit-function-declaration -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/multipath-tools-0.12.0-1ubuntu2 -O2 -g -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -Wextra -Wformat=2 -Wformat-overflow=2 -Werror=implicit-int -Werror=implicit-function-declaration -Werror=format-security -Wno-clobbered -Wno-error=clobbered -Werror=cast-qual -Werror=discarded-qualifiers -Wno-type-limits -pipe -fexceptions -fPIC -D_GNU_SOURCE -c -o debug.o debug.c util.c: In function ‘libmp_basename’: util.c:41:19: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 41 | char *p = strrchr(filename, '/'); | ^~~~~~~ ** Affects: multipath-tools (Ubuntu) Importance: Undecided Status: New ** Affects: multipath-tools (Debian) Importance: Unknown Status: Unknown ** Tags: ftbfs ** Bug watch added: Debian Bug tracker #1128696 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128696 ** Also affects: multipath-tools (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128696 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2142903 Title: incoming FTBFS with glibc 2.43 due to ISO C23 const return types To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/2142903/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
