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, whether this cycle or the next one. Here's a failing build log: https://launchpadlibrarian.net/849521034/buildlog_ubuntu-resolute-amd64.nss_2%3A3.120-1ubuntu1_BUILDING.txt.gz cc -o OBJS/Linux_SINGLE_SHLIB/lowhash_vector.o -c -std=c99 -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/nss-2:3.120-1ubuntu1 -Wall -pipe -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR -Wall -Wshadow -Werror -DXP_UNIX -DXP_UNIX -UDEBUG -DNDEBUG -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -DSDB_MEASURE_USE_TEMP_DIR -D_REENTRANT -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" -DSOFTOKEN_SHLIB_VERSION=\"3\" -DKYBER_K=3 -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -DSDB_MEASURE_USE_TEMP_DIR -D_REENTRANT -DNSS_DISABLE_SSE3 -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DNSS_USE_64 -DFREEBL_NO_DEPEND -DFREEBL_LOWHASH -DNSS_X86_OR_X64 -DNSS_X64 -DUSE_HW_SHA2 -DNSS_BEVAND_ARCFOUR -DMPI_AMD64 -DMP_ASSEMBLY_MULTIPLY -DNSS_USE_COMBA -DUSE_HW_AES -DINTEL_GCM -DHAVE_INT128_SUPPORT -DHACL_CAN_COMPILE_VEC256 -DKRML_MUSTINLINE=inline -DMP_API_COMPATIBLE -I/usr/include/nspr -I/<<PKGBUILDDIR>>/dist/include -I/<<PKGBUILDDIR>>/dist/public/nss -I/<<PKGBUILDDIR>>/dist/private/nss -Impi -Iecl -Iverified -Iverified/internal -Iverified/karamel/include -Iverified/karamel/krmllib/dist/minimal -Iverified/eurydice -Ideprecated lowhash_vector.c In file included from lowhash_vector.c:65: genload.c: In function ‘loader_LoadLibInReferenceDir’: genload.c:92:7: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 92 | c = strrchr(referencePath, PR_GetDirectorySeparator()); | ^ cc1: all warnings being treated as errors ** Affects: nss (Ubuntu) Importance: Undecided Status: New ** Tags: ftbfs ** Summary changed: - FTBFS with glibc 2.43 due to ISO C23 const return types + Upcoming FTBFS with glibc 2.43 due to ISO C23 const return types -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2142897 Title: Upcoming 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/nss/+bug/2142897/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
