Package: llama.cpp
Version: 8681+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:

| [ 34%] Building CXX object 
vendor/cpp-httplib/CMakeFiles/cpp-httplib.dir/httplib.cpp.o
| cd 
/build/reproducible-path/llama.cpp-8681+dfsg/obj-x86_64-linux-gnu/vendor/cpp-httplib
 && /usr/bin/c++ -DCPPHTTPLIB_FORM_URL_ENCODED_PAYLOAD_MAX_LENGTH=1048576 
-DCPPHTTPLIB_LISTEN_BACKLOG=512 -DCPPHTTPLIB_OPENSSL_SUPPORT 
-DCPPHTTPLIB_REQUEST_URI_MAX_LENGTH=32768 -DCPPHTTPLIB_TCP_NODELAY=1  -g -O2 
-ffile-prefix-map=/build/reproducible-path/llama.cpp-8681+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g 
-DNDEBUG -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic 
-Wcast-qual -Wno-unused-function -Wno-array-bounds -Wextra-semi -w -MD -MT 
vendor/cpp-httplib/CMakeFiles/cpp-httplib.dir/httplib.cpp.o -MF 
CMakeFiles/cpp-httplib.dir/httplib.cpp.o.d -o 
CMakeFiles/cpp-httplib.dir/httplib.cpp.o -c 
/build/reproducible-path/llama.cpp-8681+dfsg/vendor/cpp-httplib/httplib.cpp
| /build/reproducible-path/llama.cpp-8681+dfsg/vendor/cpp-httplib/httplib.cpp: 
In function ‘stack_st_X509_NAME* 
httplib::tls::impl::create_client_ca_list_from_pem(const char*)’:
| 
/build/reproducible-path/llama.cpp-8681+dfsg/vendor/cpp-httplib/httplib.cpp:12574:44:
 error: invalid conversion from ‘const X509_NAME*’ {aka ‘const 
X509_name_st*’} to ‘X509_NAME*’ {aka ‘X509_name_st*’} [-fpermissive]
| 12574 |     X509_NAME *name = X509_get_subject_name(cert);
|       |                       ~~~~~~~~~~~~~~~~~~~~~^~~~~~
|       |                                            |
|       |                                            const X509_NAME* {aka 
const X509_name_st*}
| make[3]: *** [vendor/cpp-httplib/CMakeFiles/cpp-httplib.dir/build.make:82: 
vendor/cpp-httplib/CMakeFiles/cpp-httplib.dir/httplib.cpp.o] Error 1
| make[3]: Leaving directory 
'/build/reproducible-path/llama.cpp-8681+dfsg/obj-x86_64-linux-gnu'


Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/llama.cpp_8681+dfsg-1_amd64-2026-04-19T10:42:24Z

Sebastian

Reply via email to