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.
Here's a failing build log: https://launchpadlibrarian.net/849521197/buildlog_ubuntu-resolute-amd64.krb5_1.22.1-2ubuntu2_BUILDING.txt.gz gcc -fPIC -DSHARED -DHAVE_CONFIG_H -I../../../include -I../../../../src/include -I../../../../src/lib/krb5/ccache/ccapi -I../../../../src/lib/krb5/ccache -I. -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -Wdate-time -D_FORTIFY_SOURCE=3 -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/krb5-1.22.1-2ubuntu2 -Wall -Wcast-align -Wshadow -Wmissing-prototypes -Wno-format-zero-length -Woverflow -Wstrict-overflow -Wmissing-format-attribute -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wunknown-pragmas -Wsign-compare -Werror=uninitialized -Wno-maybe-uninitialized -Werror=pointer-arith -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=discarded-qualifiers -Werror=implicit-int -Werror=strict-prototypes -Werror=declaration-after-statement -Werror-implicit-function-declaration -pthread -c ../../../../src/lib/krb5/ccache/cccursor.c -o cccursor.so.o && mv -f cccursor.so.o cccursor.so ../../../../src/lib/krb5/ccache/ccbase.c: In function ‘krb5_cc_resolve’: ../../../../src/lib/krb5/ccache/ccbase.c:213:8: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 213 | cp = strchr (name, ':'); | ^ ** Affects: krb5 (Ubuntu) Importance: Undecided Status: New ** Affects: krb5 (Debian) Importance: Unknown Status: Unknown ** Tags: ftbfs ** Bug watch added: Debian Bug tracker #1128877 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128877 ** Also affects: krb5 (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128877 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/2142893 Title: 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/krb5/+bug/2142893/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
