Public bug reported:

Our last archive rebuild against glibc 2.43 flagged this package as likely
future FTBFS if rebuilt on glibc2.43, due to new C23 const qualifiers.

Here's a failing build log:
https://launchpadlibrarian.net/849521180/buildlog_ubuntu-resolute-amd64.cryptsetup_2%3A2.8.4-1ubuntu1_BUILDING.txt.gz

   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
date: extra operand '-d@1770659806'
# build askpass and passdev keyscripts
x86_64-linux-gnu-gcc -o debian/askpass debian/askpass.c -Wall -Werror -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/cryptsetup-2:2.8.4-1ubuntu1 
-Wdate-time -D_FORTIFY_SOURCE=3 -Wl,-Bsymbolic-functions 
-Wl,--package-metadata=%7B%22type%22:%22deb%22%2C%22os%22:%22ubuntu%22%2C%22name%22:%22cryptsetup%22%2C%22version%22:%222:2.8.4-1ubuntu1%22%2C%22architecture%22:%22amd64%22%7D
 -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -pedantic
debian/askpass.c: In function ‘console_prepare’:
debian/askpass.c:416:26: error: assignment discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
  416 |         while ( (newline = strstr(prompt_ptr,"\\n")) != NULL ) {
      |                          ^
cc1: all warnings being treated as errors
make[1]: *** [debian/rules:34: execute_after_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: binary] Error 2

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

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


** Tags: ftbfs

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

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

Title:
  FTBFS on resolute with glibc 2.43

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/2142888/+subscriptions


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

Reply via email to