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

Reply via email to