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/849544778/buildlog_ubuntu-resolute-amd64.strace_6.16+ds-2ubuntu4~ppa5_BUILDING.txt.gz gcc -DHAVE_CONFIG_H -I./linux/x86_64 -I../../src/linux/x86_64 -I./linux/generic -I../../src/linux/generic -I. -I../../src -DIN_STRACE=1 -Wdate-time -D_FORTIFY_SOURCE=3 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wformat-security -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wtrampolines -Wundef -Wwrite-strings -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/strace-6.16+ds-2ubuntu4~ppa5 -Wall -g -O2 -MT libstrace_a-ioctl.o -MD -MP -MF .deps/libstrace_a-ioctl.Tpo -c -o libstrace_a-ioctl.o `test -f 'ioctl.c' || echo '../../src/'`ioctl.c ../../src/ioctl.c: In function ‘ioctl_lookup’: ../../src/ioctl.c:52:13: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 52 | iop = bsearch((const void *) (const uintptr_t) code, ioctlent, | ^ cc1: all warnings being treated as errors make[4]: *** [Makefile:5885: libstrace_a-ioctl.o] Error 1 make[4]: *** Waiting for unfinished jobs.... ** Affects: strace (Ubuntu) Importance: Undecided Status: New ** Tags: ftbfs ** Description changed: 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/849544778/buildlog_ubuntu-resolute-amd64.strace_6.16+ds-2ubuntu4~ppa5_BUILDING.txt.gz + gcc -DHAVE_CONFIG_H -I./linux/x86_64 -I../../src/linux/x86_64 -I./linux/generic -I../../src/linux/generic -I. -I../../src -DIN_STRACE=1 -Wdate-time -D_FORTIFY_SOURCE=3 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wformat-security -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wtrampolines -Wundef -Wwrite-strings -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/strace-6.16+ds-2ubuntu4~ppa5 -Wall -g -O2 -MT libstrace_a-ioctl.o -MD -MP -MF .deps/libstrace_a-ioctl.Tpo -c -o libstrace_a-ioctl.o `test -f 'ioctl.c' || echo '../../src/'`ioctl.c ../../src/ioctl.c: In function ‘ioctl_lookup’: ../../src/ioctl.c:52:13: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] - 52 | iop = bsearch((const void *) (const uintptr_t) code, ioctlent, - | ^ + 52 | iop = bsearch((const void *) (const uintptr_t) code, ioctlent, + | ^ cc1: all warnings being treated as errors make[4]: *** [Makefile:5885: libstrace_a-ioctl.o] Error 1 make[4]: *** Waiting for unfinished jobs.... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2142890 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/strace/+bug/2142890/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
