#1138330 gensio: FTBFS with openssl 4.0

Package:
gensio
Source:
gensio
Submitter:
Sebastian Andrzej Siewior
Date:
2026-06-04 18:17:01 UTC
Severity:
normal
Tags:
#1138330#5
Date:
2026-05-30 15:54:53 UTC
From:
To:
OpenSSL 4.0 is in experimental. This package fails to build against it:
| libtool: link: gcc -DSYSCONFDIR=\"/etc\" -I.. -I../glib/include -I../tcl/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gensio-3.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o .libs/gmdns gensiomdns.o  libgtlssh.a libgensiotool.a ../lib/.libs/libgensioosh.so ../lib/.libs/libgensio.so ../lib/.libs/libgensiomdns.so -pthread
| gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -I../include -DSYSCONFDIR="\"/etc\"" -I.. -I../glib/include -I../tcl/include -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gensio-3.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o gtlssh-gtlssh.o `test -f 'gtlssh.c' || echo './'`gtlssh.c
| gtlssh.c: In function ‘calc_timediff’:
| gtlssh.c:573:10: error: invalid use of undefined type ‘struct asn1_string_st’
|   573 |     if (g->length != 15) {
|       |          ^~
| gtlssh.c:579:27: error: invalid use of undefined type ‘struct asn1_string_st’
|   579 |     rv = sscanf((char *) g->data, "%4d%2d%2d%2d%2d%2d",
|       |                           ^~
| make[3]: *** [Makefile:879: gtlssh-gtlssh.o] Error 1

Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/gensio_3.0.0-1_amd64-2026-04-19T08:51:02Z

Sebastian

#1138330#12
Date:
2026-06-04 17:23:18 UTC
From:
To:
control: tag -1 patch

Hi,

here's a patch to fix OpenSSL-4-related FTBFS.

Cheers,
-Hilko

#1138330#19
Date:
2026-06-04 18:15:09 UTC
From:
To:
control: upstream -1 https://github.com/cminyard/gensio/pull/89