Package: pgagroal
Version: 2.0.1-2
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: [email protected]
Usertags: openssl-4.0
OpenSSL 4.0 is in experimental. This package fails to build against it:
| [ 58%] Building C object
src/CMakeFiles/pgagroal.dir/libpgagroal/prometheus.c.o
| cd /build/reproducible-path/pgagroal-2.0.1/obj-x86_64-linux-gnu/src &&
/usr/bin/cc -Dpgagroal_EXPORTS
-I/build/reproducible-path/pgagroal-2.0.1/src/include -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/pgagroal-2.0.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-fPIC -DHAVE_LINUX -D_POSIX_C_SOURCE=200809L -DHAVE_IO_URING -g -Wall -Werror
-std=c17 -D__USE_ISOC11 -D_GNU_SOURCE -Wno-deprecated
-Wno-deprecated-declarations -DPGAGROAL_MAJOR_VERSION=2
-DPGAGROAL_MINOR_VERSION=0 -DPGAGROAL_PATCH_VERSION=1
-DPGAGROAL_VERSION=\"2.0.1\" -Wstrict-prototypes -DHAVE_EXECINFO_H -MD -MT
src/CMakeFiles/pgagroal.dir/libpgagroal/prometheus.c.o -MF
CMakeFiles/pgagroal.dir/libpgagroal/prometheus.c.o.d -o
CMakeFiles/pgagroal.dir/libpgagroal/prometheus.c.o -c
/build/reproducible-path/pgagroal-2.0.1/src/libpgagroal/prometheus.c
| /build/reproducible-path/pgagroal-2.0.1/src/libpgagroal/prometheus.c: In
function ‘parse_certificate_file’:
| /build/reproducible-path/pgagroal-2.0.1/src/libpgagroal/prometheus.c:3430:17:
error: assignment discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| 3430 | subject_name = X509_get_subject_name(cert);
| | ^
| /build/reproducible-path/pgagroal-2.0.1/src/libpgagroal/prometheus.c:3442:16:
error: assignment discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| 3442 | issuer_name = X509_get_issuer_name(cert);
| | ^
| /build/reproducible-path/pgagroal-2.0.1/src/libpgagroal/prometheus.c:3553:11:
error: assignment discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| 3553 | ext = X509_get_ext(cert, ca_idx);
| | ^
| cc1: all warnings being treated as errors
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/pgagroal_2.0.1-2_amd64-2026-04-19T12:16:23Z
Sebastian