Your message dated Sat, 21 Feb 2026 23:02:16 +0100
with message-id <[email protected]>
and subject line Re: Bug#1126818: man-db: FTBFS with glibc 2.43 due to ISO C23
const return types
has caused the Debian Bug report #1126818,
regarding man-db: 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.)
--
1126818: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126818
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: man-db
Version: 2.13.1-1
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43
Dear maintainer,
man-db fails to build from source with glibc 2.43, currently in
experimental. From the build log:
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../gl/lib -I../..
-Wdate-time -D_FORTIFY_SOURCE=2 -Wno-cast-qual -Wno-conversion -Wno-float-equal
-Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter
-Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion
-Wno-type-limits -Wno-unused-const-variable -Wno-unsuffixed-float-constants
-Wno-error -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/man-db-2.13.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wall -c
../../../../gl/lib/argp-fmtstream.c -fPIC -DPIC -o
.libs/libgnu_la-argp-fmtstream.o
| In file included from /usr/include/features.h:539,
| from
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdlib.h:26,
| from ./stdlib.h:51,
| from ../../../../gl/lib/argp-fmtstream.c:26:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| make[5]: *** [Makefile:3777: libgnu_la-argp-fmtstream.lo] Error 1
| make[5]: Leaving directory
'/build/reproducible-path/man-db-2.13.1/debian/build/gl/lib'
| make[4]: *** [Makefile:5653: all-recursive] Error 1
| make[4]: Leaving directory
'/build/reproducible-path/man-db-2.13.1/debian/build/gl/lib'
| make[3]: *** [Makefile:3296: all] Error 2
| make[3]: Leaving directory
'/build/reproducible-path/man-db-2.13.1/debian/build/gl/lib'
| make[2]: *** [Makefile:2289: all-recursive] Error 1
| make[2]: Leaving directory
'/build/reproducible-path/man-db-2.13.1/debian/build'
| make[1]: *** [Makefile:2221: all] Error 2
| make[1]: Leaving directory
'/build/reproducible-path/man-db-2.13.1/debian/build'
| dh_auto_build: error: cd debian/build && make -j1 returned exit code 2
| make: *** [debian/rules:3: binary] Error 25
| dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
The full build log is attached to this bug report.
The issue is due to ISO C23 declaration of bsearch, which now returns a
pointer to a const-qualified type when the input argument is a pointer
to a const-qualified type [1].
Regards
Aurelien
[1]
https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l19
man-db_amd64-2026-01-31T22:53:24Z.build.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Hi,
On 2026-02-01 23:35, Aurelien Jarno wrote:
> Source: man-db
> Version: 2.13.1-1
> Severity: important
> Tags: ftbfs upstream
> Justification: fails to build from source
> User: [email protected]
> Usertags: glibc-2.43
>
> Dear maintainer,
>
> man-db fails to build from source with glibc 2.43, currently in
> experimental. From the build log:
The issue was due to an outdated version of gnulib (20251215-1 instead
of 20260109-1~exp1 currently in sid) that was used for the test build.
Sorry about the broken bug report. I am therefore closing the bug.
Regards
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
[email protected] http://aurel32.net
--- End Message ---