Public bug reported:

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

Package: swi-prolog
Version:  9.2.9+dfsg-1.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:

| [ 83%] Building C object packages/ssl/CMakeFiles/plugin_ssl4pl.dir/ssl4pl.c.o
| cd /build/reproducible-path/swi-prolog-9.2.9+dfsg/build/packages/ssl && 
/usr/bin/cc -Dplugin_ssl4pl_EXPORTS 
-I/build/reproducible-path/swi-prolog-9.2.9+dfsg/build/packages/ssl 
-I/build/reproducible-path/swi-prolog-9.2.9+dfsg/src/os 
-I/build/reproducible-path/swi-prolog-9.2.9+dfsg/src -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/swi-prolog-9.2.9+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-std=gnu11 -fPIC -fvisibility=hidden -Wall -D__SWI_PROLOG__ 
-DSERVER_CERT_REQUIRED=TRUE -DCLIENT_CERT_REQUIRED=TRUE -MD -MT 
packages/ssl/CMakeFiles/plugin_ssl4pl.dir/ssl4pl.c.o -MF 
CMakeFiles/plugin_ssl4pl.dir/ssl4pl.c.o.d -o 
CMakeFiles/plugin_ssl4pl.dir/ssl4pl.c.o -c 
/build/reproducible-path/swi-prolog-9.2.9+dfsg/packages/ssl/ssl4pl.c
| /build/reproducible-path/swi-prolog-9.2.9+dfsg/packages/ssl/ssl4pl.c: In 
function ‘unify_asn1_time’:
| /build/reproducible-path/swi-prolog-9.2.9+dfsg/packages/ssl/ssl4pl.c:460:23: 
error: invalid use of incomplete typedef ‘ASN1_TIME’ {aka ‘const struct 
asn1_string_st’}
|   460 |   size_t length = time->length;
|       |                       ^~
| /build/reproducible-path/swi-prolog-9.2.9+dfsg/packages/ssl/ssl4pl.c:461:31: 
error: invalid use of incomplete typedef ‘ASN1_TIME’ {aka ‘const struct 
asn1_string_st’}
|   461 |   char * source = (char *)time->data;
|       |                               ^~
| /build/reproducible-path/swi-prolog-9.2.9+dfsg/packages/ssl/ssl4pl.c:465:11: 
error: invalid use of incomplete typedef ‘ASN1_TIME’ {aka ‘const struct 
asn1_string_st’}
|   465 |   if (time->type == V_ASN1_UTCTIME)
|       |           ^~
…

Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/swi-prolog_9.2.9+dfsg-1.1_amd64-2026-04-19T07:49:25Z

Sebastian

** Affects: swi-prolog (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: swi-prolog (Debian)
     Importance: Undecided
         Status: New

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

** Changed in: swi-prolog (Debian)
 Remote watch: None => Debian Bug tracker #1138439

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154987

Title:
  swi-prolog: FTBFS with openssl 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/swi-prolog/+bug/2154987/+subscriptions


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

Reply via email to