- Package:
- src:procenv
- Source:
- src:procenv
- Submitter:
- Aurelien Jarno
- Date:
- 2026-10-23 13:37:03 UTC
- Severity:
- normal
- Tags:
Dear maintainer(s), procenv fails to build from source with glibc 2.43, currently in experimental. From the build log: | make[3]: Entering directory '/build/reproducible-path/procenv-0.51/src' | gcc -DHAVE_CONFIG_H -I. -I.. -I . -I ./platform -I ./platform/linux -D PROCENV_PLATFORM_LINUX -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -std=gnu99 -Wall -Wunused -fstack-protector -Wformat -fdata-sections -ffunction-sections -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/procenv-0.51=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o procenv-procenv.o `test -f 'procenv.c' || echo './'`procenv.c | procenv.c: In function ‘show_stat’: | procenv.c:1870:9: error: the comparison will always evaluate as ‘true’ for the address of ‘cwd’ will never be NULL [-Werror=address] | 1870 | assert (misc.cwd); | | ^~~~~~ | In file included from ./util.h:41, | from ./procenv.h:81, | from procenv.c:29: | ./platform.h:90:16: note: ‘cwd’ declared here | 90 | char cwd[PATH_MAX]; | | ^~~ | procenv.c: In function ‘get_path’: | procenv.c:3697:15: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] | 3697 | slash = strchr (argv0, '/'); | | ^ | cc1: all warnings being treated as errors | make[3]: *** [Makefile:691: procenv-procenv.o] Error 1 | make[3]: Leaving directory '/build/reproducible-path/procenv-0.51/src' | make[2]: *** [Makefile:462: all-recursive] Error 1 | make[2]: Leaving directory '/build/reproducible-path/procenv-0.51' | make[1]: *** [Makefile:360: all] Error 2 | make[1]: Leaving directory '/build/reproducible-path/procenv-0.51' | dh_auto_build: error: make -j1 returned exit code 2 | make: *** [debian/rules:5: binary] Error 255 | 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/procenv_arm64.build [2] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l19
control: severity 1127629 serious control: severity 1128547 serious control: severity 1128734 serious control: severity 1128740 serious control: severity 1128528 serious control: severity 1128532 serious control: severity 1128534 serious control: severity 1128541 serious control: severity 1128544 serious control: severity 1128545 serious control: severity 1128548 serious control: severity 1128549 serious control: severity 1128551 serious control: severity 1128615 serious control: severity 1128678 serious control: severity 1128680 serious control: severity 1128681 serious control: severity 1128697 serious control: severity 1128736 serious control: severity 1128737 serious control: severity 1128738 serious control: severity 1128741 serious control: severity 1128742 serious control: severity 1128743 serious control: severity 1128750 serious control: severity 1128757 serious control: severity 1128761 serious control: severity 1128763 serious control: severity 1128764 serious control: severity 1128875 serious control: severity 1128952 serious control: severity 1128542 serious control: severity 1128679 serious control: severity 1128682 serious control: severity 1128744 serious control: severity 1128748 serious control: severity 1128867 serious Hi, With the upload of glibc 2.43 to unstable, the packages now FTBFS in unstable, hence upgrading the severity to serious. Note that as a quick workaround, it is possible to roll back to C/C++17 standard using -std=c17, -std=gnu17, std=c++17 or std=gnu++17. This was the default up to GCC 14, and GCC 15 changed it to C/C23. Regards Aurelien
control: tags -1 patch pending Debdiff attached and uploaded. I also improved a little bit the packaging. G.
We believe that the bug you reported is fixed in the latest version of
procenv, 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 1128741@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofborg@debian.org> (supplier of updated procenv 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 23 Oct 2026 14:54:18 +0200
Source: procenv
Built-For-Profiles: noudeb
Architecture: source
Version: 0.60-0.1
Distribution: unstable
Urgency: medium
Maintainer: James Hunt <jamesodhunt@gmail.com>
Changed-By: Gianfranco Costamagna <locutusofborg@debian.org>
Closes: 1128741
Changes:
procenv (0.60-0.1) unstable; urgency=medium
.
* Non-maintainer upload.
* New upstream release.
- drop gcc patch, upstream
* Add patch to fix FTBFS (Closes: #1128741)
* Bump compat level to 14
* Bump std-version to 4.7.4
* Move from pkg-config to pkgconf
* Update copyright file, and email
* Simplify dependencies, drop kfreebsd
* Drop autoreconf, default now
* Simplify rules file
Checksums-Sha1:
7d8a1b77775685e09f89b6629cc3cbee71723445 1867 procenv_0.60-0.1.dsc
3e30eee0e2cd7934b165b0a95d4addb858b158df 255149 procenv_0.60.orig.tar.gz
83c8502151de143802e4b71c5a2aa5c4ef05540f 71048 procenv_0.60-0.1.debian.tar.xz
5eb266989ec5140db5f27c13ca7efe9a1b609478 7896 procenv_0.60-0.1_source.buildinfo
Checksums-Sha256:
cc46e1da33e578d2db18b755b551cc14d73777ac435aef7bb7936dcb1cedd513 1867 procenv_0.60-0.1.dsc
fac0438bf08ed73b10ace78d85acb83cf81ade5ecf866762c2c6e92e41dbde43 255149 procenv_0.60.orig.tar.gz
0b1c4b296b12054ab55539f419eb398d35f9eb3d35c17d04c57161bebac478d9 71048 procenv_0.60-0.1.debian.tar.xz
0cb2055a7cf86257e608cde3103015d27ddfd9e51bc782ded6ac63a00ab56e2f 7896 procenv_0.60-0.1_source.buildinfo
Files:
196ec15dfc1be3aca461e3f296ac2a36 1867 utils optional procenv_0.60-0.1.dsc
4e2fa1752658f76e4172a667fe3465e7 255149 utils optional procenv_0.60.orig.tar.gz
ea2b125c6556b2ae184ba35d7450c087 71048 utils optional procenv_0.60-0.1.debian.tar.xz
4c3066d5bf7b58f52de4def2aef39bf1 7896 utils optional procenv_0.60-0.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmrbXeMACgkQ808JdE6f
Xdnc8w//UgOQid1J3Q+PDd0K+L6kccIVSL8YOhYhPmlt+oY/8VJgZnxORWoUihS3
JzyS5pblfOA1iETtxjsx5PR+tZvddUncBf7Kk0uBGvofd5qO1mY2tPlGqXx/p23q
9eBnRyWEtUBlPX8at5dzYlOF2idu8YYrwhL2ZBJMczDlHw4lUWHzdKbJ3lEvZDMw
NEytiloQx6i5l6BtO0CFQ8Ss+NgacJIXeQLgy/xKvr77G8bQAUH+4yVgo9AdQXgt
v4goU2XuVlIxgd/Xu2d1U8hc6LtzgeN1slIUgOvQupNoCdQ4J3uYVQ+1nxk1YYG2
Qz094IqPDsxI/n8Q1vismaIw8KK/WGpJw5XdMu7G64vb+x8DP+UHG1OaIevT6jgq
Cg9ckcqs/BD02gd6wA4pIQ8GZ+d5zYmvPDVOqmzXLOaY1lWDTPn8Qu4fvtDa2elW
6iiUK7iHUut1tgg5gMKV2q03M/65xFkV9xAUzo73Pt6gyA30J5fos35jJ4YxOvJL
tdGvgZJ0ZT3kY/uU76f1gZ7oDGCSX58zv6TisqEb7iINvUWRnWNUE2HmtOxBzkHw
88sJqd5ll/ONn35m/5oS7NQk7Gnon2dSILzUBuzJG928vCFClk/ybvS/f6SDZk0B
ndhkFLpo+caw+tuI2DC1irUCrBre9Zko9HkYVI6Fx3YFPJu0Uf8=
=cdnE
-----END PGP SIGNATURE-----