Article View: linux.debian.bugs.rc
Article #3804Bug#1128748: marked as done (sane-backends: FTBFS with glibc 2.43 due to ISO C23 const return types)
From: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 20:40
Date: Sat, 21 Nov 2026 20:40
308 lines
15678 bytes
15678 bytes
This is a multi-part message in MIME format... ------------=_1795293361-3773099-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your message dated Sat, 21 Nov 2026 20:35:00 +0000 with message-id <179529330090.1016192.4401186882462536986@fasolo.debian.org> and subject line Bug#1128748: fixed in sane-backends 1.4.0-1.1 has caused the Debian Bug report #1128748, regarding sane-backends: FTBFS with glibc 2.43 due to ISO C23 const return = types to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) --=20 1128748: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1128748 Debian Bug Tracking System Contact owner@bugs.debian.org with problems ------------=_1795293361-3773099-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at maintonly) by bugs.debian.org; 22 Feb 2026 16:18:01 +0000 X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02 (2024-03-25) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-105.1 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA, FROMDEVELOPER,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY, USER_IN_DKIM_WELCOMELIST,WORD_WITHOUT_VOWELS autolearn=ham autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 28; hammy, 150; neutral, 191; spammy, 0. spammytokens: hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:311, 0.000-+--H*RT:108 Return-path: <aurel32@debian.org> Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:47918) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from <aurel32@debian.org>) id 1vuC9h-00DbNj-1q for maintonly@bugs.debian.org; Sun, 22 Feb 2026 16:18:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID: Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=EumN7RRvkCJGSnailfJX5My2S/X6xfdzAVsby23mLqA=; b=OGCSjENy1qe2MPpYY64/g4odzI b/MMtJT/tfhSSsX+zTmyvgMKIXDazqgxvnE+Cb09uLmYKGvqvhl/yzXMrTOec2wDvpiQM7sxy14wH Uyw0ciAt/DhNMWKPNhEeKT1hbzQljzxSDc2UCUWpeUE0jrSxsOKskitYbK+iI++XOU1Gmuyswep1m qr2m86mHPGEwuoUBglz327BJAUrn4/JHZmdN7NGbLmDgHf+zwhfJsdjclY+HRlOYvHeCTMAyur777 NeDAsTi2sTulZCzAgawBtN5QjtksVB8ZiLAYW/YJgPJdejXZyxelBbqb+MxNmZLRiH+lAEEWUgXpu oKDbdbLQ==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from <aurel32@debian.org>) id 1vuC9h-008JFv-C2 for maintonly@bugs.debian.org; Sun, 22 Feb 2026 16:18:00 +0000 Received: from [2a01:e34:ec5d:a741:1ee1:92ff:feb4:5ec0] (helo=ohm.rr44.fr) by hall.aurel32.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from <aurel32@debian.org>) id 1vuC9f-00000002eK6-1hWJ for maintonly@bugs.debian.org; Sun, 22 Feb 2026 17:17:59 +0100 Date: Sun, 22 Feb 2026 17:17:59 +0100 From: Aurelien Jarno <aurel32@debian.org> To: maintonly@bugs.debian.org Subject: sane-backends: FTBFS with glibc 2.43 due to ISO C23 const return types Message-ID: <aZssN-8jLwITBACC@aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/2.2.13 (2024-03-09) X-Debian-User: aurel32 Delivered-To: maintonly@bugs.debian.org Source: sane-backends Version: 1.4.0-1 Severity: important Tags: ftbfs upstream Justification: fails to build from source User: debian-glibc@lists.debian.org Usertags: glibc-2.43 Dear maintainer(s), sane-backends fails to build from source with glibc 2.43, currently in experimental. From the build log: | /bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock -DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include -I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/aarch64-linux-gnu/sane\"" -DDEB_DLL_LIBDIR="\"/usr/lib/aarch64-linux-gnu/sane:/usr/lib/sane:/usr/lib64/sane\"" -I/usr/include/gphoto2 -DBACKEND_NAME=gphoto2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sane-backends-1.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libgphoto2_i_la-gphoto2.lo `test -f 'gphoto2.c' || echo './'`gphoto2.c | gphoto2.c: In function 'get_info': | gphoto2.c:589:60: error: assignment of read-only location '*(const char *)strchr((const char *)*(folder_list + (sizetype)((long unsigned int)n * 8)), 32)' | 589 | *strchr ((const char *) folder_list[n], ' ') = '\0'; | | ^ | make[5]: *** [Makefile:5842: libgphoto2_i_la-gphoto2.lo] Error 1 | make[5]: Leaving directory '/build/reproducible-path/sane-backends-1.4.0/backend' | make[4]: *** [Makefile:4308: all] Error 2 | make[4]: Leaving directory '/build/reproducible-path/sane-backends-1.4.0/backend' | make[3]: *** [Makefile:613: all-recursive] Error 1 | make[3]: Leaving directory '/build/reproducible-path/sane-backends-1.4.0' | make[2]: *** [Makefile:503: all] Error 2 | make[2]: Leaving directory '/build/reproducible-path/sane-backends-1.4.0' | make[1]: *** [debian/rules:64: override_dh_auto_build-indep] Error 2 | make[1]: Leaving directory '/build/reproducible-path/sane-backends-1.4.0' | make: *** [debian/rules:23: binary] Error 2 | 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/sane-backends_arm64.build [2] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l19 -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://aurel32.net ------------=_1795293361-3773099-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1128748-close) by bugs.debian.org; 21 Nov 2026 20:35:01 +0000 X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02 (2024-03-25) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-114.2 required=4.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD, HAS_BUG_NUMBER,MD5_SHA1_SUM,PGPSIGNATURE,USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 69; hammy, 150; neutral, 117; spammy, 0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK, 0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload, 0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo. Return-path: <envelope@ftp-master.debian.org> Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:38310) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from <envelope@ftp-master.debian.org>) id 1xUrna-00FpO3-24 for 1128748-close@bugs.debian.org; Sat, 21 Nov 2026 20:35:01 +0000 Received: via submission from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified) by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from <envelope@ftp-master.debian.org>) id 1xUrnb-005Vec-04 for 1128748-close@bugs.debian.org; Sat, 21 Nov 2026 20:35:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ftp-master.debian.org; s=smtpauto.fasolo; h=Content-Type:Message-Id:Date: Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID :Content-Description:In-Reply-To:References; bh=gorzwXCtGufMpCEASefAOCRhqLwL9csBosyA91cntXM=; b=T4bYRewcYih8EGNFmmi0qw13nI tHdZtgaYRleJcYujY0byrPde0u2ABdrXEhCKLuFD7AHKpQFo/PvoUR4An+/kvOQul4gXgvx2OAGs4 1Cgiqe8vjMkigs6FLhTHE0yh9vBZ7mqPqRTC2/TAeljnuQtUd3HC80V2MQMuqt2QgsojPsHajUsyT riIjzKY17XeyW2enAujsFmjgBHCUaHaIlPhYQmcISZxH0WcGeyq+VWMrAGcSE8uz97rdkbmDT4Tk8 +o/GL8bUh/ohldTKR0f9W2j5wzFhCx/fGLVnsUQEyzr5XGzfsuof9kTkdE3uxfomHCi8ovok8KhAD +sIGF25w==; Received: from dak by fasolo.debian.org with local (Exim 4.98.2) (envelope-from <envelope@ftp-master.debian.org>) id 1xUrnY-00000004GW7-3vsQ; Sat, 21 Nov 2026 20:35:00 +0000 From: Debian FTP Masters <ftpmaster@ftp-master.debian.org> Reply-To: Bastian Germann <bage@debian.org> To: 1128748-close@bugs.debian.org X-DAK: dak process-upload X-Debian: DAK X-Debian-Package: sane-backends Debian: DAK Debian-Changes: sane-backends_1.4.0-1.1_source.changes Debian-Source: sane-backends Debian-Version: 1.4.0-1.1 Debian-Architecture: source Debian-Suite: unstable Debian-Archive-Action: accept MIME-Version: 1.0 Subject: Bug#1128748: fixed in sane-backends 1.4.0-1.1 Date: Sat, 21 Nov 2026 20:35:00 +0000 Message-Id: <179529330090.1016192.4401186882462536986@fasolo.debian.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="===============8500709939892573742==" --===============8500709939892573742== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Source: sane-backends Source-Version: 1.4.0-1.1 Done: Bastian Germann <bage@debian.org> We believe that the bug you reported is fixed in the latest version of sane-backends, 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 1128748@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Bastian Germann <bage@debian.org> (supplier of updated sane-backends 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) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Wed, 11 Nov 2026 20:17:27 +0100 Source: sane-backends Architecture: source Version: 1.4.0-1.1 Distribution: unstable Urgency: medium Maintainer: J=C3=B6rg Frings-F=C3=BCrst <debian@jff.email> Changed-By: Bastian Germann <bage@debian.org> Closes: 1128748 Changes: sane-backends (1.4.0-1.1) unstable; urgency=3Dmedium . * Non-maintainer upload * Apply upstream patch to build with C23 (Closes: #1128748) Checksums-Sha1: 7f19b9edce209ff8333ebb8e61241e23e5e6d646 2314 sane-backends_1.4.0-1.1.dsc 1e0a10a9e31d3f6aa4c05dbd5356ea9f0f9705e0 88112 sane-backends_1.4.0-1.1.debia= n.tar.xz 20db423a892ba9a7dae8dcac8ad1c6579506b538 13822 sane-backends_1.4.0-1.1_sourc= e.buildinfo Checksums-Sha256: a002b685b55ac079a5304f422f571c8f87d49cc677faba210d054df02c5939a1 2314 sane-b= ackends_1.4.0-1.1.dsc e86aafd83d243072bec7ce3714e2074a198267943064897447e40ec8c096d2ed 88112 sane-= backends_1.4.0-1.1.debian.tar.xz 446296386d4fb81617090ccda5a5fd5058df8800552769b20f043ca7ab4f9873 13822 sane-= backends_1.4.0-1.1_source.buildinfo Files: 1221482dab5a3c63534d404cfd1d95d0 2314 graphics optional sane-backends_1.4.0-= 1.1.dsc 242820221cb5c549eca00088c88f7336 88112 graphics optional sane-backends_1.4.0= -1.1.debian.tar.xz b87a7b7fc4f190fc984705e8ed7b74fb 13822 graphics optional sane-backends_1.4.0= -1.1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmr0xMQQHGJhZ2VAZGVi aWFuLm9yZwAKCRAfXHqLRVZDFFO8C/0TwUkKrkp1DEZtEUWZViWLlibqNxHMEUW7 gYMRi4RjzTTwcKSHq7XLGoaiDdviBSWCesa61iVwdBAAZRY//X9uUuxvTZrkkktU II8W5GDkdW6h4h4yKqewlTy3VyLLd4jtbbqQyTqgceuEeio/uomaduazII7+ys98 +iSW41noIZYdqdW64df7Nl84S90khB5uOR3Q6oXcE3bkp3eiJX4KdSgry/IEnqPg ryFKZn7m2v1OurBbN+WY0CEha2aeHa4n7LTWaB73vJUo5vog1TtkuSExanRt3Eur 2vksIeRaD3isNN0jxBCJHimt3d3lqc+4TAOKiRgmOPrsi3vReucMNPbZvwhAVi35 IWkF0Lm3uFz5UkxkwCI3H8Q31p8Nr5FIVpxQuigAC+N4qFN6yjuEiz7o7QPfZyJy umGNzJslq1rG2U26KZkn5MXwRUdI/zE7QdW6dkWxZHRbmscE8+QJIMWsQhaZrJ4a OapehSO/7N/dCsS9U7uN3hO90pGuNyQ=3D =3DZ+U+ -----END PGP SIGNATURE----- --===============8500709939892573742== Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCawIAdAAKCRCb9qggYcy5 IWKeAP0R1jl+70qGsUZ4kW5vgsHdabYmvG29nNBOxepMlScSMgEAtk3+KJOcKTq2 2QL1zmq2plKu26vw5NNWGC/tHziHZww= =J4xE -----END PGP SIGNATURE----- --===============8500709939892573742==-- ------------=_1795293361-3773099-0--
Technical Details
Message-ID:
<O202m-dkQv-19@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O202m-dkQv-21@gated-at.bofh.it> <Nqy53-a5EK-19@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" <owner@bugs.debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1128748: marked as done (sane-backends: FTBFS with glibc 2.43 due to ISO C23 const return types) Date: Sat, 21 Nov 2026 21:40:02 +0100 Message-ID: <O202m-dkQv-19@gated-at.bofh.it> References: <O202m-dkQv-21@gated-at.bofh.it> <Nqy53-a5EK-19@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Sat Nov 21 20:36:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -2 MIME-Version: 1.0 X-Mailer: MIME-tools 5.510 (Entity 5.510) X-Debian-Pr-Message: closed 1128748 X-Debian-Pr-Package: src:sane-backends X-Debian-Pr-Keywords: upstream fixed-upstream patch ftbfs X-Debian-Pr-Source: sane-backends Reply-To: 1128748@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1795293361-3773099-0" X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/839098 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 308 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 21 Nov 2026 20:36:01 +0000 X-Original-Message-ID: <handler.1128748.D1128748.17952933013772464.ackdone@bugs.debian.org> X-Original-References: <179529330090.1016192.4401186882462536986@fasolo.debian.org> <aZssN-8jLwITBACC@aurel32.net>