#1138307 ipmiutil: FTBFS with openssl 4.0

Package:
ipmiutil
Source:
ipmiutil
Description:
IPMI management utilities
Submitter:
Sebastian Andrzej Siewior
Date:
2026-07-14 16:53:01 UTC
Severity:
normal
Tags:
#1138307#5
Date:
2026-05-30 15:50:39 UTC
From:
To:
OpenSSL 4.0 is in experimental. This package fails to build against it:

| gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSKIP_MD2 -fPIC -Wno-pointer-sign -Wno-sign-conversion -Wlto-type-mismatch -Wmaybe-uninitialized -Wformat-overflow=1 -Wformat-truncation=1   -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC  -DHAVE_LANPLUS -I. -I./inc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmiutil-3.2.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -c -o lanplus_crypt_impl.o lanplus_crypt_impl.c
| lanplus_crypt_impl.c: In function ‘lanplus_encrypt_aes_cbc_128’:
| lanplus_crypt_impl.c:233:24: error: storage size of ‘ctx’ isn’t known
|   233 |         EVP_CIPHER_CTX ctx;
|       |                        ^~~
| lanplus_crypt_impl.c: In function ‘lanplus_decrypt_aes_cbc_128’:
| lanplus_crypt_impl.c:316:24: error: storage size of ‘ctx’ isn’t known
|   316 |         EVP_CIPHER_CTX ctx;
|       |                        ^~~
| make[4]: *** [Makefile:477: lanplus_crypt_impl.o] Error 1

Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/ipmiutil_3.2.2-1_amd64-2026-04-19T08:38:37Z

Sebastian

#1138307#12
Date:
2026-07-14 16:51:17 UTC
From:
To:
Dear Maintainer,

In Ubuntu, the attached patch fixes the FTBFS with OpenSSL 4, by
updating "configure.ac" to apply the "SSL11"  define to OpenSSL 4.
This allows it to correctly handle EVP_CIPHER_CTX as an opaque type.
Otherwise, with OpenSSL 4 it is reverting to codepaths intended for
versions before 1.1.

Launchpad bug: https://bugs.launchpad.net/ubuntu/+source/ipmiutil/+bug/2154854
PPA build: https://launchpad.net/~blkerby/+archive/ubuntu/openssl4-transition/+packages
Forwarded upstream: https://sourceforge.net/p/ipmiutil/feature-requests/13/

Thanks for considering the patch.

- Brent Kerby