Package: trantor
Version: 1.5.28+ds-2
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: [email protected]
Usertags: openssl-4.1

OpenSSL 4.1 is in experimental. This package fails to build against it:

| [ 91%] Building CXX object 
CMakeFiles/trantor.dir/trantor/net/inner/tlsprovider/OpenSSLProvider.cc.o
| /usr/bin/x86_64-linux-gnu-g++ -DTRANTOR_TLS_PROVIDER=OpenSSL -DUSE_OPENSSL 
-Dtrantor_EXPORTS -I/build/reproducible-path/trantor-1.5.28+ds 
-I/build/reproducible-path/trantor-1.5.28+ds/_build/exports 
-I/build/reproducible-path/trantor-1.5.28+ds/trantor/utils 
-I/build/reproducible-path/trantor-1.5.28+ds/trantor/net 
-I/build/reproducible-path/trantor-1.5.28+ds/trantor/net/inner 
-I/build/reproducible-path/trantor-1.5.28+ds/third_party/wepoll -g -O2 
-ffile-prefix-map=/build/reproducible-path/trantor-1.5.28+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-std=c++14 -fPIC -Wall -Wextra -Werror -MD -MT 
CMakeFiles/trantor.dir/trantor/net/inner/tlsprovider/OpenSSLProvider.cc.o -MF 
CMakeFiles/trantor.dir/trantor/net/inner/tlsprovider/OpenSSLProvider.cc.o.d -o 
CMakeFiles/trantor.dir/trantor/net/inner/tlsprovider/OpenSSLProvider.cc.o -c 
/build/reproducible-path/trantor-1.5.28+ds/trantor/net/inner/tlsprovider/OpenSSLProvider.cc
| 
/build/reproducible-path/trantor-1.5.28+ds/trantor/net/inner/tlsprovider/OpenSSLProvider.cc:
 In function ‘bool internal::validatePeerCertificate(SSL*, X509*, const 
std::string&, bool, bool)’:
| 
/build/reproducible-path/trantor-1.5.28+ds/trantor/net/inner/tlsprovider/OpenSSLProvider.cc:84:28:
 error: ‘int X509_check_host(const X509*, const char*, size_t, unsigned int, 
char**)’ is deprecated: Since OpenSSL 4.1 [-Werror=deprecated-declarations]
|    84 |             X509_check_host(cert, hostname.data(), hostname.size(), 
0, nullptr);
|       |             
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from 
/build/reproducible-path/trantor-1.5.28+ds/trantor/net/inner/tlsprovider/OpenSSLProvider.cc:9:
| /usr/include/openssl/x509v3.h:1500:27: note: declared here
|  1500 | OSSL_DEPRECATEDIN_4_1 int X509_check_host(const X509 *x, const char 
*chk, size_t chklen,
|       |                           ^~~~~~~~~~~~~~~
| cc1plus: all warnings being treated as errors
| make[3]: *** [CMakeFiles/trantor.dir/build.make:502: 
CMakeFiles/trantor.dir/trantor/net/inner/tlsprovider/OpenSSLProvider.cc.o] 
Error 1
| make[3]: Leaving directory '/build/reproducible-path/trantor-1.5.28+ds/_build'
| make[2]: *** [CMakeFiles/Makefile2:93: CMakeFiles/trantor.dir/all] Error 2

Sebastian

Reply via email to