- Package:
- src:powerman
- Source:
- src:powerman
- Submitter:
- Aurelien Jarno
- Date:
- 2026-08-17 22:21:01 UTC
- Severity:
- normal
- Tags:
Dear maintainer(s),
powerman fails to build from source with glibc 2.43, currently in
experimental. From the build log:
| make[3]: Entering directory '/build/reproducible-path/powerman-2.4.4/src/liblsd'
| /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wno-parentheses -Wno-error=parentheses -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o hostlist.lo hostlist.c
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wno-parentheses -Wno-error=parentheses -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c hostlist.c -fPIC -DPIC -o .libs/hostlist.o
| hostlist.c: In function '_parse_single_range':
| hostlist.c:1403:12: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
| 1403 | if ((p = strchr(str, '-'))) {
| | ^
| cc1: all warnings being treated as errors
| make[3]: *** [Makefile:452: hostlist.lo] Error 1
| make[3]: Leaving directory '/build/reproducible-path/powerman-2.4.4/src/liblsd'
| make[2]: *** [Makefile:411: all-recursive] Error 1
| make[2]: Leaving directory '/build/reproducible-path/powerman-2.4.4/src'
| make[1]: *** [Makefile:475: all-recursive] Error 1
| make[1]: Leaving directory '/build/reproducible-path/powerman-2.4.4'
| dh_auto_build: error: make -j1 returned exit code 2
| make: *** [debian/rules:18: 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 archive rebuild on
a fast arm64 server.
Regards
Aurelien
[1] https://people.debian.org/~ema/glibc-2.43-rebuilds/output-1/powerman_arm64.build
[2] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l19
control: tag -1 + patch - https://github.com/chaos/powerman/commit/3495907fa11712b81db0008c9befc513e2d33d27 - https://github.com/chaos/powerman/pull/217 Regards Aurelien
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
Apparently, I made the last upload of powerman, so I'll pick this up. J.
We believe that the bug you reported is fixed in the latest version of
powerman, 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 1128740@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jeremy Sowden <azazel@debian.org> (supplier of updated powerman 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: Mon, 17 Aug 2026 22:00:50 +0100
Source: powerman
Architecture: source
Version: 2.4.4-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Jeremy Sowden <azazel@debian.org>
Closes: 1128740
Changes:
powerman (2.4.4-6) unstable; urgency=medium
.
* QA upload.
* d/changelog
- remove trailing white space
* d/control
- remove default priority
- bump Standards-Version to 4.7.4
- correct section of library package
- bump debhelper-compat to 14
- remove substvars handled by debhelper at compat 14
* d/copyright
- correct path of GPL-2.
* d/patches
- add two upstream fixes for const-correctness compilation failures
(Closes: #1128740)
* d/s/lintian-overrides
- unrecognized dh-exec env var is defined in d/rules.
* d/watch
- convert to version 5
Checksums-Sha1:
9c860e4aea11a2d25747e7ddc27f234613fe4cce 2206 powerman_2.4.4-6.dsc
7ce0545ce3fce95d6b036c762cb3d8fac3570339 12648 powerman_2.4.4-6.debian.tar.xz
ebabcf4496365a8212ee3e7a80fa830e62a7f451 9634 powerman_2.4.4-6_amd64.buildinfo
Checksums-Sha256:
09f8477f8aa8ca7b14659832d8502759d0ea773c9f1d8754e48f17e44e51f9b7 2206 powerman_2.4.4-6.dsc
056c50ad69967396883d904a51bf6e34f7719a84f373c1bdadfa5f8e3692d7d1 12648 powerman_2.4.4-6.debian.tar.xz
9122286fcb5de986dc1fceb4bd64eec6d1e5fea013987bc8d9dac91194364def 9634 powerman_2.4.4-6_amd64.buildinfo
Files:
61b93a6d65e64f488fef0a8ab4d8c282 2206 admin optional powerman_2.4.4-6.dsc
11fab68467db935b875eba5789b87aa5 12648 admin optional powerman_2.4.4-6.debian.tar.xz
a8562b5a6006d8a37d90abd25f2e946f 9634 admin optional powerman_2.4.4-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
wsG7BAEBCgBvBYJqg4auCRAphqwKvfEEDUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmceUDv0bgh56WSlP9AHphm8oqIabbGyykovrzrmVi4k
JhYhBGwdtFNj70A3vVbVFymGrAq98QQNAAAt/RAAmf7fiEjuFC5duzp3cJ50DbXd
Wcx5BkVdQL9DCymETSgTFOp6dih1FMrF41zG6dZvnbTZ7o8Q3ggrI9P4a1l8kpXJ
kMQXjCCU+tNhUUWnYpYW/KCbR1yFd8aUi4hqm5J2i32SinMO67gs+RWWCTh9IlkQ
N1NEgv6JqmgKoMSof2B8K16Tw836jmEKaTPKSYPXKmAhkYIHjAiGHix+TForsgV2
G2huf7dbpkhZt+cFV2WujiLZwV5PYqjwWaIt4WzpuA2MudS9Q4TTlnIdp98cpveY
EBk7GPNinAHEEM642Y7w5K+u7J5kERlLCWNiQsrLv2E6bQBWeouuD4IckpRpIoJI
I7PyAyhoBuWHD2Bqy0OnmaiHqSKBIUPKGGzi45+uJjgXw66qiQHb23VZqeV3I3oc
cmAE7zLJ7JWvoZc/xRP2vafHNIDIOeMy/LiIbodXh4Li4/XoJrJhrYFO2TgxKlHG
maKmCL3Baro5tiI1fujUfrJkz+DdEIOsDtY34GwK2JM9s8ahpe9SWZW0yMv0Kaz7
g18LKBnpAjK7GN4fSmLnTM+Yld9GAtXVjcSXlmNNzmKuV5ukvQRDUBSHn2Q0uwI5
Q4lGVwQaHaxRi3bxfm0LFBV9d5HzaurjeMdx3H+7SGYsJ2g9sbjPOl8HkJjndPJ1
61qqjkGWXTS121QyLV4=
=zBl8
-----END PGP SIGNATURE-----