Public bug reported:

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

Package: odyssey
Version: 1.5.1~rc3-1
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:

| cd "/build/reproducible-path/odyssey-1.5.1~rc3/obj-x86_64-linux-gnu/sources" 
&& /usr/bin/cc -DFRONTEND -DHAVE_SYSTEMD -DUSE_SSL -D_GNU_SOURCE 
-I/usr/include/security -I"/build/reproducible-path/odyssey-1.5.1~rc3" 
-I"/build/reproducible-path/odyssey-1.5.1~rc3/sources" 
-I"/build/reproducible-path/odyssey-1.5.1~rc3/sources/include" 
-I"/build/reproducible-path/odyssey-1.5.1~rc3/obj-x86_64-linux-gnu" 
-I"/build/reproducible-path/odyssey-1.5.1~rc3/obj-x86_64-linux-gnu/sources" 
-I"/build/reproducible-path/odyssey-1.5.1~rc3/obj-x86_64-linux-gnu/sources/include"
 -I"/build/reproducible-path/odyssey-1.5.1~rc3/tests" 
-I"/build/reproducible-path/odyssey-1.5.1~rc3/obj-x86_64-linux-gnu/tests" -g 
-O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/odyssey-1.5.1~rc3=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-pedantic -Wall -Wextra -Werror -Wstrict-aliasing -pthread -g -O2  -O3 -DNDEBUG 
-std=gnu11 -MD -MT sources/CMakeFiles/odyssey.dir/machinarium/tls.c.o -MF 
CMakeFiles/odyssey.dir/machinarium/tls.c.o.d -o 
CMakeFiles/odyssey.dir/machinarium/tls.c.o -c 
"/build/reproducible-path/odyssey-1.5.1~rc3/sources/machinarium/tls.c"
| /build/reproducible-path/odyssey-1.5.1~rc3/sources/machinarium/tls.c: In 
function ‘mm_tls_verify_common_name’:
| /build/reproducible-path/odyssey-1.5.1~rc3/sources/machinarium/tls.c:449:22: 
error: assignment discards ‘const’ qualifier from pointer target type 
[-Werror=discarded-qualifiers]
|   449 |         subject_name = X509_get_subject_name(cert);
|       |                      ^
| /build/reproducible-path/odyssey-1.5.1~rc3/sources/machinarium/tls.c:454:9: 
error: ‘X509_NAME_get_text_by_NID’ is deprecated: Since OpenSSL 4.0 
[-Werror=deprecated-declarations]
|   454 |         common_name_len = X509_NAME_get_text_by_NID(subject_name,
|       |         ^~~~~~~~~~~~~~~
| In file included from /usr/include/openssl/ssl.h:34,
|                  from 
/build/reproducible-path/odyssey-1.5.1~rc3/sources/machinarium/tls.c:9:
| /usr/include/openssl/x509.h:1041:27: note: declared here
|  1041 | OSSL_DEPRECATEDIN_4_0 int X509_NAME_get_text_by_NID(const X509_NAME 
*name,
|       |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
| /build/reproducible-path/odyssey-1.5.1~rc3/sources/machinarium/tls.c:465:9: 
error: ‘X509_NAME_get_text_by_NID’ is deprecated: Since OpenSSL 4.0 
[-Werror=deprecated-declarations]
|   465 |         X509_NAME_get_text_by_NID(subject_name, NID_commonName, 
common_name,
|       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
| /usr/include/openssl/x509.h:1041:27: note: declared here
|  1041 | OSSL_DEPRECATEDIN_4_0 int X509_NAME_get_text_by_NID(const X509_NAME 
*name,
|       |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors
| make[3]: *** [sources/CMakeFiles/odyssey.dir/build.make:488: 
sources/CMakeFiles/odyssey.dir/machinarium/tls.c.o] Error 1

Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/odyssey_1.5.1~rc3-1_amd64-2026-04-19T13:03:29Z

Sebastian

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

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

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

** Changed in: odyssey (Debian)
 Remote watch: None => Debian Bug tracker #1138317

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

Title:
  odyssey: FTBFS with openssl 4.0

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


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

Reply via email to