[Pkg-openssl-devel] Bug#1138407: lua-luaossl: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sat May 30 17:09:05 BST 2026


Package: lua-luaossl
Version: 20220711-3
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:

| /build/reproducible-path/lua-luaossl-20220711/debian/.dh_lua-libtool/libtool --tag=CC --mode=compile x86_64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lua-luaossl-20220711=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.1  -I . -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/reproducible-path/lua-luaossl-20220711/5.1-luaossl/src/openssl.lo src/openssl.c 
| libtool: compile:  x86_64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lua-luaossl-20220711=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.1 -I . -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra src/openssl.c  -fPIC -DPIC -o /build/reproducible-path/lua-luaossl-20220711/5.1-luaossl/src/.libs/openssl.o
| src/openssl.c: In function 'dl_anchor':
| src/openssl.c:1562:21: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
|  1562 |         if (!dladdr((void *)&luaopen__openssl, &info))
|       |                     ^
| src/openssl.c: In function 'compat_init':
| src/openssl.c:2749:1: warning: label 'sslerr' defined but not used [-Wunused-label]
…
| src/openssl.c:7309:31: error: invalid use of incomplete typedef 'ASN1_BIT_STRING' {aka 'struct asn1_string_st'}
|  7309 |         if (!EVP_Digest(bitstr->data, bitstr->length, digest, &len, md, NULL))
|       |                               ^~
| src/openssl.c:7309:45: error: invalid use of incomplete typedef 'ASN1_BIT_STRING' {aka 'struct asn1_string_st'}
|  7309 |         if (!EVP_Digest(bitstr->data, bitstr->length, digest, &len, md, NULL))
|       |                                             ^~
…
| src/openssl.c: At top level:
| src/openssl.c:1033:13: warning: 'auxS_bn_free_and_set0' defined but not used [-Wunused-function]
|  1033 | static void auxS_bn_free_and_set0(BIGNUM **dst, BIGNUM *src) {
|       |             ^~~~~~~~~~~~~~~~~~~~~
| make[2]: *** [/usr/share/dh-lua/make/dh-lua.Makefile.single:441: /build/reproducible-path/lua-luaossl-20220711/5.1-luaossl/src/openssl.lo] Error 1
| make[1]: *** [/usr/share/dh-lua/make/dh-lua.Makefile.multiple:12: build] Error 1

Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/lua-luaossl_20220711-3_amd64-2026-04-19T13:14:19Z

Sebastian



More information about the Pkg-openssl-devel mailing list