Public bug reported:

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

Package: condor
Version: 25.7.2+dfsg-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:

| 
/build/reproducible-path/condor-25.7.2+dfsg/src/condor_io/condor_auth_ssl.cpp: 
In member function ‘long int Condor_Auth_SSL::post_connection_check(SSL*, 
int)’:
| 
/build/reproducible-path/condor-25.7.2+dfsg/src/condor_io/condor_auth_ssl.cpp:1819:62:
 error: invalid conversion from ‘const X509_NAME*’ {aka ‘const 
X509_name_st*’} to ‘X509_NAME*’ {aka ‘X509_name_st*’} [-fpermissive]
|  1819 |                 if (!success && (subj = X509_get_subject_name(cert)) 
&&
|       |                                         ~~~~~~~~~~~~~~~~~~~~~^~~~~~
|       |                                                              |
|       |                                                              const 
X509_NAME* {aka const X509_name_st*}
| 
/build/reproducible-path/condor-25.7.2+dfsg/src/condor_io/condor_auth_ssl.cpp:1820:50:
 warning: ‘int X509_NAME_get_text_by_NID(const X509_NAME*, int, char*, 
int)’ is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations]
|  1820 |                         X509_NAME_get_text_by_NID(subj, 
NID_commonName, cn_fqdn, 256) > 0)
|       |                         
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /usr/include/openssl/ssl.h:34,
|                  from 
/build/reproducible-path/condor-25.7.2+dfsg/src/condor_includes/condor_auth_ssl.h:24,
|                  from 
/build/reproducible-path/condor-25.7.2+dfsg/src/condor_io/condor_auth_ssl.cpp:25:
| /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,
|       |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
| make[4]: *** 
[src/condor_utils/CMakeFiles/condor_extra_objects.dir/build.make:317: 
src/condor_utils/CMakeFiles/condor_extra_objects.dir/__/condor_io/condor_auth_ssl.cpp.o]
 Error 1

Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/condor_25.7.2+dfsg-1_amd64-2026-04-19T11:24:38Z

Sebastian

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

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


** Tags: ftbfs openssl-4.0

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

** Changed in: condor (Debian)
 Remote watch: None => Debian Bug tracker #1138298

** 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/2154846

Title:
  condor: FTBFS with openssl 4.0

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


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

Reply via email to