Your message dated Sun, 08 Mar 2026 21:04:25 +0000
with message-id <[email protected]>
and subject line Bug#1128762: fixed in zookeeper 3.9.4-2
has caused the Debian Bug report #1128762,
regarding zookeeper: 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.)
--
1128762: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128762
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: zookeeper
Version: 3.9.4-1
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43
Dear maintainer(s),
zookeeper fails to build from source with glibc 2.43, currently in
experimental. From the build log:
| [INFO]
| [INFO] --- antrun:3.1.0:run (build-c-client) @ zookeeper-client-c ---
| [INFO] Executing tasks
| [INFO] [exec] make[2]: Entering directory
'/build/reproducible-path/zookeeper-3.9.4/zookeeper-client/zookeeper-client-c/target/c'
| [INFO] [exec] rm -f cli_st cli_mt load_gen
| [INFO] [exec] test -z "" || rm -f cli_st cli_mt load_gen
| [INFO] [exec] rm -f zktest-st zktest-mt
| [INFO] [exec] test -z "" || rm -f zktest-st zktest-mt
| [INFO] [exec] rm -f libzookeeper_st.la libzookeeper_mt.la
| [INFO] [exec] rm -f ./so_locations
| [INFO] [exec] rm -rf .libs _libs
| [INFO] [exec] rm -f zktest_st-TestDriver.o zktest_st-LibCMocks.o
zktest_st-LibCSymTable.o zktest_st-MocksBase.o zktest_st-ZKMocks.o
zktest_st-Util.o zktest_st-ThreadingUtil.o zktest_st-TestZookeeperInit.o
zktest_st-TestZookeeperClose.o zktest_st-TestReconfig.o
zktest_st-TestReconfigServer.o zktest_st-TestClientRetry.o
zktest_st-TestOperations.o zktest_st-TestMulti.o zktest_st-TestWatchers.o
zktest_st-TestClient.o zktest_st-ZooKeeperQuorumServer.o
zktest_st-TestReadOnlyClient.o zktest_st-TestLogClientEnv.o
zktest_st-TestSASLAuth.o zktest_mt-TestDriver.o zktest_mt-LibCMocks.o
zktest_mt-LibCSymTable.o zktest_mt-MocksBase.o zktest_mt-ZKMocks.o
zktest_mt-Util.o zktest_mt-ThreadingUtil.o zktest_mt-TestZookeeperInit.o
zktest_mt-TestZookeeperClose.o zktest_mt-TestReconfig.o
zktest_mt-TestReconfigServer.o zktest_mt-TestClientRetry.o
zktest_mt-TestOperations.o zktest_mt-TestMulti.o zktest_mt-TestWatchers.o
zktest_mt-TestClient.o zktest_mt-ZooKeeperQuorumServer.o
zktest_mt-TestReadOnlyClient.o zktest_mt-TestLogClientEnv.o
zktest_mt-TestSASLAuth.o zktest_mt-PthreadMocks.o
| [INFO] [exec] rm -f docs/zookeeper.tag -r docs/html
| [INFO] [exec] rm -f libhashtable.la libzkst.la libzkmt.la
| [INFO] [exec] rm -f ./so_locations
| [INFO] [exec] rm -f *.o
| [INFO] [exec] rm -f *.lo
| [INFO] [exec] gcc -DHAVE_CONFIG_H -I.
-I/build/reproducible-path/zookeeper-3.9.4/zookeeper-client/zookeeper-client-c
-I/build/reproducible-path/zookeeper-3.9.4/zookeeper-client/zookeeper-client-c/include
-I/build/reproducible-path/zookeeper-3.9.4/zookeeper-client/zookeeper-client-c/tests
-I/build/reproducible-path/zookeeper-3.9.4/zookeeper-client/zookeeper-client-c/generated
-Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wdeclaration-after-statement
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/zookeeper-3.9.4=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -MT cli.o -MD -MP -MF
.deps/cli.Tpo -c -o cli.o `test -f 'src/cli.c' || echo
'/build/reproducible-path/zookeeper-3.9.4/zookeeper-client/zookeeper-client-c/'`src/cli.c
| [INFO] [exec]
/build/reproducible-path/zookeeper-3.9.4/zookeeper-client/zookeeper-client-c/src/cli.c:
In function ‘processline’:
| [INFO] [exec]
/build/reproducible-path/zookeeper-3.9.4/zookeeper-client/zookeeper-client-c/src/cli.c:503:13:
error: assignment discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| [INFO] [exec] 503 | ptr = strchr(line, ' ');
| [INFO] [exec] | ^
| [INFO] [exec]
/build/reproducible-path/zookeeper-3.9.4/zookeeper-client/zookeeper-client-c/src/cli.c:709:11:
error: assignment discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| [INFO] [exec] 709 | ptr = strchr(line, ' ');
| [INFO] [exec] | ^
| [INFO] [exec] make[2]: Leaving directory
'/build/reproducible-path/zookeeper-3.9.4/zookeeper-client/zookeeper-client-c/target/c'
| [INFO] [exec] cc1: all warnings being treated as errors
| [INFO] [exec] make[2]: *** [Makefile:1191: cli.o] Error 1
| [INFO]
| [INFO]
------------------------------------------------------------------------
| [INFO] Skipping Apache ZooKeeper
| [INFO] This project has been banned from the build due to previous failures.
| [INFO]
------------------------------------------------------------------------
| [INFO]
------------------------------------------------------------------------
| [INFO] Reactor Summary for Apache ZooKeeper 3.9.4:
| [INFO]
| [INFO] Apache ZooKeeper ................................... SUCCESS [ 1.306
s]
| [INFO] Apache ZooKeeper - Documentation ................... SUCCESS [ 0.287
s]
| [INFO] Apache ZooKeeper - Jute ............................ SUCCESS [ 18.232
s]
| [INFO] Apache ZooKeeper - Server .......................... SUCCESS [ 34.474
s]
| [INFO] Apache ZooKeeper - Metrics Providers ............... SUCCESS [ 0.097
s]
| [INFO] Apache ZooKeeper - Client .......................... SUCCESS [ 0.095
s]
| [INFO] Apache ZooKeeper - Client - C ...................... FAILURE [ 15.071
s]
| [INFO] Apache ZooKeeper - Recipes ......................... SKIPPED
| [INFO] Apache ZooKeeper - Recipes - Election .............. SKIPPED
| [INFO] Apache ZooKeeper - Recipes - Lock .................. SKIPPED
| [INFO] Apache ZooKeeper - Recipes - Queue ................. SKIPPED
| [INFO] Apache ZooKeeper - Assembly ........................ SKIPPED
| [INFO] Apache ZooKeeper - Compatibility Tests ............. SKIPPED
| [INFO] Apache ZooKeeper - Contrib ......................... SKIPPED
| [INFO] Apache ZooKeeper - Contrib - Loggraph .............. SKIPPED
| [INFO] Apache ZooKeeper - Contrib - ZooInspector .......... SKIPPED
| [INFO] Apache ZooKeeper - Tests ........................... SKIPPED
| [INFO]
------------------------------------------------------------------------
| [INFO] BUILD FAILURE
| [INFO]
------------------------------------------------------------------------
| [INFO] Total time: 01:09 min
| [INFO] Finished at: 2026-02-18T12:07:29Z
| [INFO]
------------------------------------------------------------------------
| [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run (build-c-client) on
project zookeeper-client-c: An Ant BuildException has occured: exec returned: 2
| [ERROR] around Ant part ...<exec failonerror="true"
dir="/build/reproducible-path/zookeeper-3.9.4/zookeeper-client/zookeeper-client-c/target/c"
executable="make">... @ 4:140 in
/build/reproducible-path/zookeeper-3.9.4/zookeeper-client/zookeeper-client-c/target/antrun/build-main.xml
| [ERROR] -> [Help 1]
| [ERROR]
| [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
| [ERROR] Re-run Maven using the -X switch to enable full debug logging.
| [ERROR]
| [ERROR] For more information about the errors and possible solutions, please
read the following articles:
| [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
| [ERROR]
| [ERROR] After correcting the problems, you can resume the build with the
command
| [ERROR] mvn <args> -rf :zookeeper-client-c
| dh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp
/usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven
-Dmaven.multiModuleProjectDirectory=/build/reproducible-path/zookeeper-3.9.4
-Dclassworlds.conf=/etc/maven/m2-debian.conf
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian.xml
-Ddebian.dir=/build/reproducible-path/zookeeper-3.9.4/debian
-Dmaven.repo.local=/build/reproducible-path/zookeeper-3.9.4/debian/maven-repo
--batch-mode package javadoc:jar javadoc:aggregate -Pfull-build -DskipTests
-Dnotimestamp=true -Dlocale=en_US returned exit code 1
| make[1]: *** [debian/rules:23: override_dh_auto_build-indep] Error 25
| make[1]: Leaving directory '/build/reproducible-path/zookeeper-3.9.4'
| make: *** [debian/rules:11: 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/zookeeper_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: zookeeper
Source-Version: 3.9.4-2
Done: tony mancill <[email protected]>
We believe that the bug you reported is fixed in the latest version of
zookeeper, 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.
tony mancill <[email protected]> (supplier of updated zookeeper 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, 08 Mar 2026 13:21:26 -0700
Source: zookeeper
Architecture: source
Version: 3.9.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: tony mancill <[email protected]>
Closes: 950386 1039434 1128762
Changes:
zookeeper (3.9.4-2) unstable; urgency=medium
.
* Patch for glibc 2.43 ISO C23 const return types (Closes: #1128762)
* Install systemd unit file (Closes: #950386, #1039434)
* Add Pre-Depends on init-system-helpers:any to zookeeperd
* Add Documentation link to systemd unit
* Configure zookeeperd logging via logback
* Add Recommends on logback-java
* Install example logback.xml in zookeeper.conf
* Enable jline support for zkCli.sh
* Bump Standards-Version to 4.7.3
* Update debian/NEWS
* Add instructions for starting the admin server
Checksums-Sha1:
70571fefedb81c6efe09e71f332191ef8f97c6c4 3793 zookeeper_3.9.4-2.dsc
b543b462f409790cec7c46fb848500fdda9fd01b 92236 zookeeper_3.9.4-2.debian.tar.xz
85628e86c6f739298ef99517a14ffeb9dcc853cd 24688
zookeeper_3.9.4-2_amd64.buildinfo
Checksums-Sha256:
56f54fe25c7be74b5db39f9cc59164269501e6d19743469f8f231668ec3c6948 3793
zookeeper_3.9.4-2.dsc
089df69ca86bfada21d6eb50d9f10511df97e3ea90730b6b35650c560e7652f2 92236
zookeeper_3.9.4-2.debian.tar.xz
7a6dc74234f1763764a59e6deeadfef26674472f620fcd493184f9b174198e9c 24688
zookeeper_3.9.4-2_amd64.buildinfo
Files:
7b4416e703f691d2a04ba259931eaa71 3793 java optional zookeeper_3.9.4-2.dsc
359faabd780f4005c1df038c39443f06 92236 java optional
zookeeper_3.9.4-2.debian.tar.xz
5aa14369081c49e94b55017aab3f148d 24688 java optional
zookeeper_3.9.4-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmmt4bMUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpamEQ/+NXRvELHD2ojVVxfrLhQM+UjQbN1G
cKPwCuwAr1B/J79jCjGWJbimU7JWCdn7TaY4ptFks7R3qxScSDuOY5kgnMzePBM5
6PBHLvgYNjeRFeVSYEl6/4ARYbD8jFJtGwIfviI8eXH9DdVc00DlwmLdi4xq+rjz
eXeUt0wtR1d00Ok+GShs0oMvUYhgjCOvSwzlZEBG+w67RlIsXcRR+pGiGMYbRgn0
Qefjq3VQY4FH9Hfw64QfpVMW28gUjARNT1S6T8cVqp9pfVze1i5ciSjFmVDgdStt
Eif3xGVzra/B3iYuTLHrkPx+lh3WxGt0VecYqfhOkHc067/fnX2knS1PgJxEpSiI
W81GO/gARv7K2vr1fZA+Etqw7/C0rR+sVzxn1Qi5HWZbRmXxC5e7+w1nFisliliX
kK06yWHtzg/SOgB2CW1ky9J8ZnQ4YhDL+x2/WwaOJ2Mw90gfwykMFJBMW6eqrTF1
8Mi/g3hTSzbQGDI/vWXrX6z+q5fm6sASalnieb5kSDMh6hZFGDFHZup5zTP6+/G4
mkN0Rne9csf2yO7cxp82Lhj1nLGBlpDDKtUParDnIyDr8F1b1dIFs7AU3dhTHNM+
H3UqOK74Ri8S4PkwBf4K1LsxUyA6WfshvD1zYlATg2FEs1lS2DW6DKsq1Le/tYiN
AJCAZ1KcZ7FZTKk=
=N81x
-----END PGP SIGNATURE-----
pgpk7OAKN1G3k.pgp
Description: PGP signature
--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.