Your message dated Wed, 11 Mar 2026 08:50:07 +0000
with message-id <[email protected]>
and subject line Bug#1128537: fixed in criu 4.2-2
has caused the Debian Bug report #1128537,
regarding criu: 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.)
--
1128537: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128537
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: criu
Version: 4.2-1
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43
Dear maintainer(s),
criu fails to build from source with glibc 2.43, currently in
experimental. From the build log:
| gcc -c -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/criu-4.2=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-mbranch-protection=standard -O2 -g -Wall -Wformat-security
-Wdeclaration-after-statement -Wstrict-prototypes -Wno-dangling-pointer
-Wno-unknown-warning-option -Werror -DCONFIG_AARCH64 -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DCONFIG_HAS_LIBBSD -DCONFIG_GNUTLS
-DCONFIG_HAS_NFTABLES_LIB_API_1 -iquote include/ -DCONFIG_HAS_LIBBSD
-DCONFIG_GNUTLS -DCONFIG_HAS_NFTABLES_LIB_API_1 -I ./compel/include/uapi
-fno-strict-aliasing -iquote criu/include -iquote include -iquote images
-iquote criu/arch/aarch64/include -iquote . -I/usr/include/libnl3
-DSYSCONFDIR='"/etc"' -DGLOBAL_CONFIG_DIR='"/etc/criu/"'
-DDEFAULT_CONFIG_FILENAME='"default.conf"' -DUSER_CONFIG_DIR='".criu/"'
criu/tty.c -o criu/tty.o
| criu/tty.c: In function ‘pts_fd_get_index’:
| criu/tty.c:262:21: error: initialization discards ‘const’ qualifier from
pointer target type [-Werror=discarded-qualifiers]
| 262 | char *pos = strrchr(link->name, '/');
| | ^~~~~~~
| At top level:
| cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may
have been intended to silence earlier diagnostics
| cc1: all warnings being treated as errors
| make[4]: ***
[/build/reproducible-path/criu-4.2/scripts/nmk/scripts/build.mk:119:
criu/tty.o] Error 1
| make[3]: *** [criu/Makefile:76: criu/built-in.o] Error 2
| make[2]: *** [Makefile:278: criu] Error 2
| make[2]: Leaving directory '/build/reproducible-path/criu-4.2'
| make[1]: *** [debian/rules:20: override_dh_auto_build] Error 2
| make[1]: Leaving directory '/build/reproducible-path/criu-4.2'
| make: *** [debian/rules:14: 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/criu_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: criu
Source-Version: 4.2-2
Done: Salvatore Bonaccorso <[email protected]>
We believe that the bug you reported is fixed in the latest version of
criu, 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.
Salvatore Bonaccorso <[email protected]> (supplier of updated criu 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 08:51:16 +0100
Source: criu
Architecture: source
Version: 4.2-2
Distribution: unstable
Urgency: medium
Maintainer: Salvatore Bonaccorso <[email protected]>
Changed-By: Salvatore Bonaccorso <[email protected]>
Closes: 1128537
Changes:
criu (4.2-2) unstable; urgency=medium
.
* Update copyright years for debian/* packaging files
* Declare compliance with Debian policy 4.7.3
* debian/control: Remove "Priority: optional" (default)
* tty: fix compiler error (Closes: #1128537)
Checksums-Sha1:
e1a31dfcbfc75d5b83913593b856af5c3cea0ea4 2887 criu_4.2-2.dsc
6c4ceac840fc3d3762b9813d31bce2ff88bdbdc8 13248 criu_4.2-2.debian.tar.xz
Checksums-Sha256:
25e4190395e13babc19ca2a4e749c9067aa10ff9f9b95c49e19950776deb0978 2887
criu_4.2-2.dsc
0efcbff0f966a6f9c02d42ec96c719ed61f00d33aa373ec889a2417a06020a68 13248
criu_4.2-2.debian.tar.xz
Files:
87c9f356235f6b802bfe4a19eb57e7e5 2887 admin optional criu_4.2-2.dsc
a95bc28e009456379cada0eec05b9a86 13248 admin optional criu_4.2-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAmmxKAhfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
ZWJpYW4ub3JnAAoJEAVMuPMTQ89EBN8P/jXTJRmTOAEkstK569wrFamFnJ/XGfO2
RZ5oqHyRon0wlo2c0f1xVVddFWGF4aa55DPOSrMytSisRqRDSLobtar/FHeZkjbW
1VesFZ7ad32abQp+3q3Xm1ODucgXg6GGpSxviwbrjKs7eHIDZaimNxAsNM5diOUR
mG+5vhZEJEjxI2EdTWWsBllub2VDOY7TVYR0+JFviVOum/MCEJCXD5iy/L1aWQYq
VLOV/Fd9DGfE2Y1cq8qNttlY5AEHDMG+C3oDVqdYRcs2HkNw7OW2ONPTqe8LF5lb
50ag9LTh2K8Cfgc1CicMpFKCakvfKe4h0bdbUaZuZMRQkZ6eQyonGQhtndiQIYMe
2/rwbTrKYgkcEnWyUbsvzqCQv/ywdymppJK9soLJQtV6ORfdKopojgr75UrQQdXZ
QIhiFt7jORPXovP1N8Z4TxRxuKusxsIR9k9lq2pGT0KBl9EawHesjUpOaOSkIr3m
jYnazh05UB3lEzEYNzcoR/FoTbunWqf4QJ+sL7CNKOCWRGBKKdbVWajA/wbhwqdX
yb8K4PHYyNzAxWh36FKjSjz9kWBzABo5PTN/qYgsld1fVScDqtAwk8Ln/LDeSVWh
O9iKM96Kl9PTZSMtb3WLYTeArkvhsuHcVIxKkyZfaeMAKJQmb2fmENHdZq9qyOZ6
IEMFrAWUj0+m
=HA3v
-----END PGP SIGNATURE-----
pgpO8jeTJyIsX.pgp
Description: PGP signature
--- End Message ---