Public bug reported:

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

Package: poco
Version: 1.14.2-6
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:

| [ 75%] Building CXX object 
Crypto/CMakeFiles/Crypto.dir/src/PKCS12Container.cpp.o
| cd /build/reproducible-path/poco-1.14.2/obj-x86_64-linux-gnu/Crypto && 
/usr/bin/c++ -DCrypto_EXPORTS -DPOCO_CMAKE -DPOCO_DLL -DPOCO_ENABLE_CPP11 
-DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE 
-D_XOPEN_SOURCE=500 -I/build/reproducible-path/poco-1.14.2/Crypto/include 
-I/build/reproducible-path/poco-1.14.2/Crypto/src 
-I/build/reproducible-path/poco-1.14.2/Foundation/include -g -O2 
-ffile-prefix-map=/build/reproducible-path/poco-1.14.2=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-std=gnu++17 -fPIC -MD -MT 
Crypto/CMakeFiles/Crypto.dir/src/PKCS12Container.cpp.o -MF 
CMakeFiles/Crypto.dir/src/PKCS12Container.cpp.o.d -o 
CMakeFiles/Crypto.dir/src/PKCS12Container.cpp.o -c 
/build/reproducible-path/poco-1.14.2/Crypto/src/PKCS12Container.cpp
| /build/reproducible-path/poco-1.14.2/Crypto/src/PKCS12Container.cpp: In 
member function ‘std::string 
Poco::Crypto::PKCS12Container::extractFriendlyName(X509*)’:
| /build/reproducible-path/poco-1.14.2/Crypto/src/PKCS12Container.cpp:132:33: 
error: ‘reinterpret_cast’ from type ‘const unsigned char*’ to type 
‘char*’ casts away qualifiers
|   132 |                 char* pBuffer = 
reinterpret_cast<char*>(X509_alias_get0(pCert, &length));
|       |                                 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| make[3]: *** [Crypto/CMakeFiles/Crypto.dir/build.make:334: 
Crypto/CMakeFiles/Crypto.dir/src/PKCS12Container.cpp.o] Error 1
| make[3]: Leaving directory 
'/build/reproducible-path/poco-1.14.2/obj-x86_64-linux-gnu'
| make[2]: *** [CMakeFiles/Makefile2:2317: Crypto/CMakeFiles/Crypto.dir/all] 
Error 2
| make[2]: Leaving directory 
'/build/reproducible-path/poco-1.14.2/obj-x86_64-linux-gnu'
| make[1]: *** [Makefile:169: all] Error 2
| make[1]: Leaving directory 
'/build/reproducible-path/poco-1.14.2/obj-x86_64-linux-gnu'

Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/poco_1.14.2-6_amd64-2026-04-19T11:28:13Z

Sebastian

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

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


** Tags: ftbfs openssl-4.0

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

** Changed in: poco (Debian)
 Remote watch: None => Debian Bug tracker #1138410

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

Title:
  poco: FTBFS with openssl 4.0

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


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

Reply via email to