Public bug reported:

Imported from Debian bug http://bugs.debian.org/1138385:

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

** Affects: pgagroal (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: pgagroal (Debian)
     Importance: Undecided
         Status: New


** Tags: ftbfs openssl-4.0

** Bug watch added: Debian Bug tracker #1138385
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138385

** Changed in: pgagroal (Debian)
 Remote watch: None => Debian Bug tracker #1138385

** Tags added: ftbfs openssl-4.0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154933

Title:
  pgagroal: FTBFS with openssl 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pgagroal/+bug/2154933/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to