Your message dated Sun, 22 Feb 2026 14:33:35 +0000
with message-id <[email protected]>
and subject line Bug#1128530: fixed in ats2-lang 0.4.2-6
has caused the Debian Bug report #1128530,
regarding ats2-lang: 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.)


-- 
1128530: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128530
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ats2-lang
Version: 0.4.2-5
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43

Dear maintainer(s),

ats2-lang fails to build from source with glibc 2.43, currently in
experimental. From the build log:

| make \
| -C BUILD -f ../Makefile_build
| make[3]: Entering directory 
'/build/reproducible-path/ats2-lang-0.4.2/utils/myatscc/BUILD'
| /build/reproducible-path/ats2-lang-0.4.2/bin/patsopt --output 
myatscc_main_dats.c --dynamic myatscc_main.dats
| /build/reproducible-path/ats2-lang-0.4.2/bin/patsopt --output 
myatscc_parcomb_sats.c --static myatscc_parcomb.sats
| /build/reproducible-path/ats2-lang-0.4.2/bin/patsopt --output 
myatscc_parcomb_dats.c --dynamic myatscc_parcomb.dats
| \
| /build/reproducible-path/ats2-lang-0.4.2/bin/patscc -verbose -atsccomp "gcc" 
-O2 -I/build/reproducible-path/ats2-lang-0.4.2 
-I/build/reproducible-path/ats2-lang-0.4.2/ccomp/runtime -D_GNU_SOURCE 
-DATS_MEMALLOC_LIBC -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ats2-lang-0.4.2/utils/myatscc/BUILD=.
 -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -o myatscc myatscc_main_dats.c 
myatscc_parcomb_sats.c myatscc_parcomb_dats.c
| exec(gcc -O2 -I/build/reproducible-path/ats2-lang-0.4.2 
-I/build/reproducible-path/ats2-lang-0.4.2/ccomp/runtime -D_GNU_SOURCE 
-DATS_MEMALLOC_LIBC -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ats2-lang-0.4.2/utils/myatscc/BUILD=.
 -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -o myatscc myatscc_main_dats.c 
myatscc_parcomb_sats.c myatscc_parcomb_dats.c)
| In file included from /usr/include/features.h:539,
|                  from 
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
|                  from /usr/include/stdio.h:28,
|                  from 
/build/reproducible-path/ats2-lang-0.4.2/ccomp/runtime/pats_ccomp_memalloc_libc.h:38,
|                  from 
/build/reproducible-path/ats2-lang-0.4.2/ccomp/runtime/pats_ccomp_memalloc.h:71,
|                  from myatscc_main_dats.c:16:
| /build/reproducible-path/ats2-lang-0.4.2/prelude/CATS/array.cats:60:7: error: 
expected identifier or ‘(’ before ‘_Generic’
|    60 | void *bsearch
|       |       ^~~~~~~
| In file included from /usr/include/features.h:539,
|                  from 
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
|                  from /usr/include/stdio.h:28,
|                  from 
/build/reproducible-path/ats2-lang-0.4.2/ccomp/runtime/pats_ccomp_memalloc_libc.h:38,
|                  from 
/build/reproducible-path/ats2-lang-0.4.2/ccomp/runtime/pats_ccomp_memalloc.h:71,
|                  from myatscc_parcomb_sats.c:16:
| /build/reproducible-path/ats2-lang-0.4.2/prelude/CATS/array.cats:60:7: error: 
expected identifier or ‘(’ before ‘_Generic’
|    60 | void *bsearch
|       |       ^~~~~~~
| In file included from /usr/include/features.h:539,
|                  from 
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
|                  from /usr/include/stdio.h:28,
|                  from 
/build/reproducible-path/ats2-lang-0.4.2/ccomp/runtime/pats_ccomp_memalloc_libc.h:38,
|                  from 
/build/reproducible-path/ats2-lang-0.4.2/ccomp/runtime/pats_ccomp_memalloc.h:71,
|                  from myatscc_parcomb_dats.c:16:
| /build/reproducible-path/ats2-lang-0.4.2/prelude/CATS/array.cats:60:7: error: 
expected identifier or ‘(’ before ‘_Generic’
|    60 | void *bsearch
|       |       ^~~~~~~
| exec(gcc -O2 -I/build/reproducible-path/ats2-lang-0.4.2 
-I/build/reproducible-path/ats2-lang-0.4.2/ccomp/runtime -D_GNU_SOURCE 
-DATS_MEMALLOC_LIBC -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ats2-lang-0.4.2/utils/myatscc/BUILD=.
 -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -o myatscc myatscc_main_dats.c 
myatscc_parcomb_sats.c myatscc_parcomb_dats.c) = 256
| make[3]: *** [../Makefile_build:62: myatscc] Error 1
| make[3]: Leaving directory 
'/build/reproducible-path/ats2-lang-0.4.2/utils/myatscc/BUILD'
| make[2]: *** [Makefile:19: build] Error 2
| make[2]: Leaving directory 
'/build/reproducible-path/ats2-lang-0.4.2/utils/myatscc'
| make[1]: *** [Makefile:94: utl_myatscc] Error 2
| make[1]: Leaving directory '/build/reproducible-path/ats2-lang-0.4.2'
| dh_auto_build: error: make -j1 returned exit code 2
| make: *** [debian/rules:14: 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 arcbhive rebuild on
a fast arm64 server.

Regards
Aurelien

[1] 
https://people.debian.org/~ema/glibc-2.43-rebuilds/output-1/ats2-lang_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: ats2-lang
Source-Version: 0.4.2-6
Done: Matthew Danish <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ats2-lang, 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.
Matthew Danish <[email protected]> (supplier of updated ats2-lang 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: Sun, 22 Feb 2026 14:58:05 +0100
Source: ats2-lang
Architecture: source
Version: 0.4.2-6
Distribution: unstable
Urgency: medium
Maintainer: Matthew Danish <[email protected]>
Changed-By: Matthew Danish <[email protected]>
Closes: 1128530
Changes:
 ats2-lang (0.4.2-6) unstable; urgency=medium
 .
   * Remove unnecessary and conflicting bsearch prototype (Closes: #1128530)
Checksums-Sha1:
 919caab37cf5621cb30f750aed0c9ebda62434fb 1855 ats2-lang_0.4.2-6.dsc
 740f4eae87afce20bd4e87d16c50a067525dbce5 40264 ats2-lang_0.4.2-6.debian.tar.xz
 64d59f9e1e0abe16752ee56e7ca169f93f62558e 7571 
ats2-lang_0.4.2-6_source.buildinfo
Checksums-Sha256:
 11aef2569fe0dc449e310a79ee75e9d989b8f7d327e451c7ea6636ea26845408 1855 
ats2-lang_0.4.2-6.dsc
 3861a769ec7ea2508afd613121b68c3432d928e3cb6a7533cc0a58611d8e6627 40264 
ats2-lang_0.4.2-6.debian.tar.xz
 ab29151d67fb553dc7c50fc26bd2439fbdebf979096a7c3eb09efa9cb3007b15 7571 
ats2-lang_0.4.2-6_source.buildinfo
Files:
 35012879a2cecabdfe6b62baf6c52fea 1855 devel optional ats2-lang_0.4.2-6.dsc
 57a1a25f82f4132e3b0c692d4745128e 40264 devel optional 
ats2-lang_0.4.2-6.debian.tar.xz
 1e9622183a88aac2d35f08f0433fe1f4 7571 devel optional 
ats2-lang_0.4.2-6_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEvIUGUQ6c6R1J7CwLvBC9D3uL8IsFAmmbDGQPHG1yZEBkZWJp
YW4ub3JnAAoJELwQvQ97i/CLR6gP/0BXS6NEDRG0EZo5CyH3oYIm8TD+L8rTwmB0
p8PYPTG7D8oxJj7WE++Zo2X0ndZ44CcS/6faJyR0fJezwM3EAh4LgWICA9kvdU9/
1nRrXph02gfCQsUGC/YJIoFt27M7Ru8tfrb4R0j5op9K/QdFPT9AAtYQVkGKErgG
IfHZ7kZZEBLll+P+2tyiP5evihxJOZmj2DkBedt2eZHZdFROwCAz3RyPtaOHrIW0
I7q2S/MOOAtocj/PZeprZryPdFl/ji9JmH3DUzt0/AjWKzRB9sQsBR9qv4ZmNlEj
ljVBHKrKRvYMWOBuAHdJ0H59OYr7jXwqn55RXTAmCDgj7swffMXK8CvQD/Xa8RhP
VbawakbA9tGvTS7B6O9+0TbC3pcxTGCMujrVnkN8ra6QUKeNVIFANBKZTkI8v1Oa
xkFcTr1eRC6yKlrXIvGhAG/lNQHfMG/WCZReIJRXmIV5qF0lfKpTe/wMWEE/DJXd
deVYjR43QLjQITtUfz7qDKhRD07rcEN6vCaqZeaehDB9DQvk2MY0Ka8Rf54/hC6E
SSi3pEKUp3miYzergo3xxojKoNGALFMZ/S9ZdGicUO/rhLLWQMiJUB9tuJrb7JdU
YFMG9dUnuwLkFRfcXnXMBpxOAHxi1/d+HhMsXOrg0qnTSGSO1p/y87x6p+qn5A99
pIAFnmKC
=JRAq
-----END PGP SIGNATURE-----

Attachment: pgpRZ1SIDIklq.pgp
Description: PGP signature


--- End Message ---

Reply via email to