Dear maintainer(s), qad fails to build from source with glibc 2.43, currently in experimental. From the build log: | [7/8] cc -Iqad.p -I. -I.. -I../include -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/cjson -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/qad-0.0~git20240206.43adc42+dfsg=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -Wall -Werror -MD -MQ qad.p/src_server.c.o -MF qad.p/src_server.c.o.d -o qad.p/src_server.c.o -c ../src/server.c | FAILED: [code=1] qad.p/src_server.c.o | cc -Iqad.p -I. -I.. -I../include -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/cjson -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/qad-0.0~git20240206.43adc42+dfsg=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -Wall -Werror -MD -MQ qad.p/src_server.c.o -MF qad.p/src_server.c.o.d -o qad.p/src_server.c.o -c ../src/server.c | ../src/server.c: In function ‘qad_screenshot’: | ../src/server.c:310:22: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] | 310 | char *pLastSlash = strrchr(url, '/'); | | ^~~~~~~ | cc1: all warnings being treated as errors | ninja: build stopped: subcommand failed. | dh_auto_build: error: cd build-dir && LC_ALL=C.UTF-8 ninja -j128 -v returned exit code 1 | make: *** [debian/rules:4: binary] Error 25 | dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 The full build log is available here [1]. The issue is due to ISO C23 declaration of bsearch, memchr, strchr, strpbrk, strrchr, strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr, which now returns a pointer to a const-qualified type when the input argument is a pointer to a const-qualified type [2]. I would like to thanks Emanuele Rocca for doing the archive rebuild on a fast arm64 server. Regards Aurelien [1] https://people.debian.org/~ema/glibc-2.43-rebuilds/output-1/qad_arm64.build [2] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l19
control: tag -1 + patch control: tag -1 + fixed-upstream control: tag -1 forwarded https://gitlab.com/CodethinkLabs/qad/qad/-/commit/07555e853b66d6c37be241e8f7593d6ade9b3b5c Hi, https://gitlab.com/CodethinkLabs/qad/qad/-/commit/07555e853b66d6c37be241e8f7593d6ade9b3b5c Regards Aurelien
control: severity 1127629 serious control: severity 1128547 serious control: severity 1128734 serious control: severity 1128740 serious control: severity 1128528 serious control: severity 1128532 serious control: severity 1128534 serious control: severity 1128541 serious control: severity 1128544 serious control: severity 1128545 serious control: severity 1128548 serious control: severity 1128549 serious control: severity 1128551 serious control: severity 1128615 serious control: severity 1128678 serious control: severity 1128680 serious control: severity 1128681 serious control: severity 1128697 serious control: severity 1128736 serious control: severity 1128737 serious control: severity 1128738 serious control: severity 1128741 serious control: severity 1128742 serious control: severity 1128743 serious control: severity 1128750 serious control: severity 1128757 serious control: severity 1128761 serious control: severity 1128763 serious control: severity 1128764 serious control: severity 1128875 serious control: severity 1128952 serious control: severity 1128542 serious control: severity 1128679 serious control: severity 1128682 serious control: severity 1128744 serious control: severity 1128748 serious control: severity 1128867 serious Hi, With the upload of glibc 2.43 to unstable, the packages now FTBFS in unstable, hence upgrading the severity to serious. Note that as a quick workaround, it is possible to roll back to C/C++17 standard using -std=c17, -std=gnu17, std=c++17 or std=gnu++17. This was the default up to GCC 14, and GCC 15 changed it to C/C23. Regards Aurelien
We believe that the bug you reported is fixed in the latest version of qad, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1128744@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sudip Mukherjee <sudipm.mukherjee@gmail.com> (supplier of updated qad package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Sat, 22 Aug 2026 20:33:59 +0100 Source: qad Architecture: source Version: 0.0~git20260323.e70b84f+dfsg-1 Distribution: unstable Urgency: medium Maintainer: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Changed-By: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Closes: 1128744 Changes: qad (0.0~git20260323.e70b84f+dfsg-1) unstable; urgency=medium . * New upstream version 0.0~git20260323.e70b84f+dfsg (Closes: #1128744) * Update Standards-Version to 4.7.4 * Update debhelper-compat level to 14. Checksums-Sha1: 2b6c41594f9bd373d79bcac8b59fd961eeb9a81c 2014 qad_0.0~git20260323.e70b84f+dfsg-1.dsc 95a40e1d56ee0e089caf4cc5d06228549933bd50 23948 qad_0.0~git20260323.e70b84f+dfsg.orig.tar.xz 87cc89a2a6823a928228c66d01b18c43afa10557 3180 qad_0.0~git20260323.e70b84f+dfsg-1.debian.tar.xz 69bb2ec916bbccb35c873148b9e25ac3bbab8637 8107 qad_0.0~git20260323.e70b84f+dfsg-1_amd64.buildinfo Checksums-Sha256: 36ddfc0ea5dbbfdfc384aaa8e622cdb30cfc28c3b7f4aa8f9f2c83891839378e 2014 qad_0.0~git20260323.e70b84f+dfsg-1.dsc 68d5025ea70125f5b58b6547f7ee72e7555ca46d20855a4cbb69988b1bec90cf 23948 qad_0.0~git20260323.e70b84f+dfsg.orig.tar.xz fdcc2944f46921815d332ef25e95e51f66bc49e70c0c22792f3000d12bceb6e1 3180 qad_0.0~git20260323.e70b84f+dfsg-1.debian.tar.xz bccab593eb93f7d557f217b7f93ecec929d0b59c0dd0a9017360163b0106cb64 8107 qad_0.0~git20260323.e70b84f+dfsg-1_amd64.buildinfo Files: 10c7f024042683bd6755d5252f09834c 2014 utils optional qad_0.0~git20260323.e70b84f+dfsg-1.dsc a3cfcbf1457c1a721fc9afa62a4ec7d2 23948 utils optional qad_0.0~git20260323.e70b84f+dfsg.orig.tar.xz 8bb335077e346c189d9226b1b15c104a 3180 utils optional qad_0.0~git20260323.e70b84f+dfsg-1.debian.tar.xz 23e04db9e7c9fefbb00283fb92325b94 8107 utils optional qad_0.0~git20260323.e70b84f+dfsg-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEuDQJkCg9jZvBlJrHR5mjUUbRKzUFAmqJ+fsACgkQR5mjUUbR KzWJFw/8Ce2texjDWyCfbMFbPr9z6liBV/VBcn3PA0jzkbD9E7/DkIRwxJ5GbFf7 uAesK3AfncFVhtc5RYoz0KfsVf9ywAJxZKs2WJVnzsPRF5PiCru455ZaC75vFW4i r8N+eZBNRohAYA6VVex8NJgmkun62cAhzwIMkl6ZdIjDwUEM9ZWR2ijdtdFlxuDt H2Tmwa2/LmMWtGyKZlDcWDIvj4iHfFSEBTBSmoaG1CoKBcws6cFeQVdc5fDsbsbj iBHSzk+AvLCXelK7swq5/ZM+7UMQvY1KRfxmrgs0K4XqaiPTc4tPWVGjj71bqUjQ c/tdSEGbcA0HtnKiFnVYRUo1Pt2kOBYWsU+GzoYODjCYCYdBW8GDLhIFIadRV/aX h8Y0pWvqqQZYo/3iUXtMVUDxklnL76u++QjqdJ7fj28/7cfvAAbUKOSdG3v9cO4p 2yPBxOh5PQROKo5vau5YbRj+U5/ZWryx3YZ7Zlzgt5PAgeSity0uU3m2yKYh32a4 ToyiMoLrkgThnbH2GJ6gv0hQJCNbIJ5sSi1F2L5z+QtEOn0hqbAyEXQTxG4lqENj b12fGcu3I5f/AlZhNzBwIRqJ6JqSs6d4N1EsKPATiBLZ7EuMZJc2HTLyysyC7ofK Utnhl85ughgRkgo/d+hZnbEAam6SvnTA5RFSdiL56NCipYS412A= =1lED -----END PGP SIGNATURE-----