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/849521037/buildlog_ubuntu-resolute-amd64.libdeflate_1.23-2build1_BUILDING.txt.gz

[Fri Feb 27 16:39:47 UTC 2026] Running regular_test
[Fri Feb 27 16:39:47 UTC 2026]     CC=cc CFLAGS="-Werror 
-DLIBDEFLATE_ENABLE_ASSERTIONS" WRAPPER="" 
/<<PKGBUILDDIR>>/programs/tgetopt.c: In function ‘tgetopt’:
/<<PKGBUILDDIR>>/programs/tgetopt.c:73:36: error: initialization discards 
‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
   73 |                         tchar *p = tstrchr(optstring, opt);
      |                                    ^~~~~~~
cc1: all warnings being treated as errors

** Affects: libdeflate (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libdeflate (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: ftbfs

** Bug watch added: Debian Bug tracker #1128617
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128617

** Also affects: libdeflate (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128617
   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/2142894

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/libdeflate/+bug/2142894/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to