Your message dated Sat, 21 Nov 2026 20:35:00 +0000
with message-id <[email protected]>
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 [email protected]
immediately.)


-- 
1128748: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128748
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: sane-backends
Version: 1.4.0-1
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
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
[email protected]                     http://aurel32.net

--- End Message ---
--- Begin Message ---
Source: sane-backends
Source-Version: 1.4.0-1.1
Done: Bastian Germann <[email protected]>

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <[email protected]> (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 [email protected])


-----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örg Frings-Fürst <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 1128748
Changes:
 sane-backends (1.4.0-1.1) unstable; urgency=medium
 .
   * 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.debian.tar.xz
 20db423a892ba9a7dae8dcac8ad1c6579506b538 13822 
sane-backends_1.4.0-1.1_source.buildinfo
Checksums-Sha256:
 a002b685b55ac079a5304f422f571c8f87d49cc677faba210d054df02c5939a1 2314 
sane-backends_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=
=Z+U+
-----END PGP SIGNATURE-----

Attachment: pgp4ZrYZ6LZoc.pgp
Description: PGP signature


--- End Message ---

Reply via email to