[Pkg-openssl-devel] Bug#1138439: swi-prolog: FTBFS with openssl 4.0
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Sat May 30 17:14:58 BST 2026
Package: swi-prolog
Version: 9.2.9+dfsg-1.1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel at lists.alioth.debian.org
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
More information about the Pkg-openssl-devel
mailing list