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/849520809/buildlog_ubuntu-resolute-amd64.edk2_2025.11-3ubuntu3_BUILDING.txt.gz gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../../../../MdePkg/Include/X64/ -I ../../../../MdePkg/Include -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 EfiRom.c -o EfiRom.o EfiRom.c: In function ‘main’: EfiRom.c:78:17: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 78 | if ((Ptr0 = strstr ((CONST CHAR8 *) mOptions.FileList->FileName, DEFAULT_OUTPUT_EXTENSION)) != NULL) { | ^ gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../../../../MdePkg/Include/X64/ -I ../../../../MdePkg/Include -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 GenFvInternalLib.c -o GenFvInternalLib.o gcc -o ../bin/GenFfs GenFfs.o -L../libs -lCommon make[5]: Leaving directory '/<<PKGBUILDDIR>>/BaseTools/Source/C/GenFfs' make -C GenFw make[5]: Entering directory '/<<PKGBUILDDIR>>/BaseTools/Source/C/GenFw' cc1: all warnings being treated as errors make[5]: *** [../Makefiles/footer.makefile:21: EfiRom.o] Error 1 ** Affects: edk2 (Ubuntu) Importance: Undecided Status: New ** Tags: ftbfs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2142889 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/edk2/+bug/2142889/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
