Your message dated Wed, 11 Mar 2026 22:33:45 +0000
with message-id <[email protected]>
and subject line Bug#1128747: fixed in sane-airscan 0.99.37-1
has caused the Debian Bug report #1128747,
regarding sane-airscan: 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.)
--
1128747: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128747
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: sane-airscan
Version: 0.99.36-2
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43
Dear maintainer(s),
sane-airscan fails to build from source with glibc 2.43, currently in
experimental. From the build log:
| gcc -c -o objs/airscan-http.o airscan-http.c -Wdate-time -D_FORTIFY_SOURCE=2
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-airscan-0.99.36=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -O2 -g -W -Wall -Werror
-pthread -Wdate-time -D_FORTIFY_SOURCE=2 -D
CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2
-I/usr/include/p11-kit-1 -I/usr/include/libpng16
-I/usr/include/aarch64-linux-gnu -I/usr/include/webp -fPIC
...
| airscan-http.c: In function ‘http_uri_str_chr’:
| airscan-http.c:668:12: error: return discards ‘const’ qualifier from pointer
target type [-Werror=discarded-qualifiers]
| 668 | return memchr(beg, c, end - beg);
| | ^~~~~~
| airscan-http.c: In function ‘http_data_set_content_type’:
| airscan-http.c:1789:11: error: assignment discards ‘const’ qualifier from
pointer target type [-Werror=discarded-qualifiers]
| 1789 | s = strchr(content_type, ';');
| | ^
| airscan-http.c: In function ‘http_query_set_host’:
| airscan-http.c:2195:10: error: assignment discards ‘const’ qualifier from
pointer target type [-Werror=discarded-qualifiers]
| 2195 | host = strstr(http_uri_str(q->uri), "//") + 2;
| | ^
| cc1: all warnings being treated as errors
| make[1]: *** [Makefile:99: objs/airscan-http.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory '/build/reproducible-path/sane-airscan-0.99.36'
| dh_auto_build: error: make -j128 INSTALL="install --strip-program=true"
returned exit code 2
| make: *** [debian/rules:6: 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/sane-airscan_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-airscan
Source-Version: 0.99.37-1
Done: Thorsten Alteholz <[email protected]>
We believe that the bug you reported is fixed in the latest version of
sane-airscan, 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.
Thorsten Alteholz <[email protected]> (supplier of updated sane-airscan
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 Mar 2026 19:54:58 +0100
Source: sane-airscan
Architecture: source
Version: 0.99.37-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <[email protected]>
Changed-By: Thorsten Alteholz <[email protected]>
Closes: 1128747
Changes:
sane-airscan (0.99.37-1) unstable; urgency=medium
.
* New upstream release. (Closes: #1128747)
(Thanks to Agustin Martin for keeping the ball rolling)
Checksums-Sha1:
dfd9e67c9fd579fae37a964c0dc25b094cac54b3 2284 sane-airscan_0.99.37-1.dsc
bc3470241471721381831aef4b12101bc2a5bf72 219058
sane-airscan_0.99.37.orig.tar.gz
68d3acb3eada6ec670298d207a4d6148d0c54324 3924
sane-airscan_0.99.37-1.debian.tar.xz
d1a133720f348207654bd0beed71897ad2a2e6c4 11192
sane-airscan_0.99.37-1_amd64.buildinfo
Checksums-Sha256:
734c178e0084fd7e04f965889a2138e3981d11d1f436e69bb3b84b7b39f95b9b 2284
sane-airscan_0.99.37-1.dsc
b012d4ca8b526e28b0baf1e0dcc1504a1f67118914ee9362201d04a37dbf7e5f 219058
sane-airscan_0.99.37.orig.tar.gz
237b291ddadfbdcf2c521a4546a1adf9a6810fbd503d91d1e6d460fcd52e5d0d 3924
sane-airscan_0.99.37-1.debian.tar.xz
3cab818cb564fa36d0b1a882e789815c38a5fe7f87c85ff0fed086b5ad0f6347 11192
sane-airscan_0.99.37-1_amd64.buildinfo
Files:
d5e1489bd0c6c2127ca81fcad5f5baec 2284 graphics optional
sane-airscan_0.99.37-1.dsc
7c4eca3acce7fc1d50615e01c30a149c 219058 graphics optional
sane-airscan_0.99.37.orig.tar.gz
33c5b43fc91aa9392fd22c2f8ac569c8 3924 graphics optional
sane-airscan_0.99.37-1.debian.tar.xz
2add37307c86637ec23d8efc7e54d259 11192 graphics optional
sane-airscan_0.99.37-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmmx6qFfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYR3VuD/0QXQ4aQ9hhBdgHGC8ACWxLuwIQoExd
p4ZwW/NZXSGUTkWnpCi+weEfLaYqeskYROyGL08oQe2Hd+Gk/tMnWVizPOjztsOq
H/LssaFt6hK++XxKkTpOhUD/jLmYOYA9F+47jbwV27lZycLMRFAqr5wY3ISfnj4s
0vMXpsuVF9RrqnF3doKVp7zX5r2Z8JaDYW7uo2TAyybnP02jhAmKyHAvOsHZc1P9
L7bCqujIfpMi+CSjA1CEhRSu7mE1V9WkKR0yqhAA1IATzY1AggoSPTSru2XfiTaD
UcK27fLVCaDX6trjaWojW0M3BKDWDIi5M269pqa/K0VnKCnSVd8IhgAn6Uj2dABd
SceYeH9hb42vubxhu8LJxj4xLCDibch36PX3NyCFQvL8CvHOyw5PEqEinhzKAw9M
ww6vGd7RMo4rvXSDjoqGkZAzIlq6n5a/Ecb9/n+5P2kGB01RMbShAEgMvf6FvYHz
liugLt/W6VqsDdfrIpIVpsK+t33tWM//sl/zQqdumKNR0+buG5t4W/cPpfGJuf8Q
nY2kjO5Elq9t/Hit5jz2ZBcJEqlK3ChlQUY2eFy+KD2STxOYv6smDB0U2vuVSe+S
2e3l8W4Z0hodbf108dvon40Lg8GkkrOJlV6AfRfISZsYeFGgnU1PjjV+JXu5OhrA
1hZVaJalCiOkqw==
=0zyJ
-----END PGP SIGNATURE-----
pgpx6kE4MJR7V.pgp
Description: PGP signature
--- End Message ---