🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5566

Bug#1154857: valkey: FTBFS with openssl 4.1

#5566
From: Sebastian Andrzej Siewior
Date: Sun, 22 Nov 2026 15:50
69 lines
5566 bytes
Package: valkey
Version: 9.1.2-1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel@lists.alioth.debian.org
Usertags: openssl-4.1

OpenSSL 4.1 is in experimental. This package fails to build against it:

| cc -pedantic -std=gnu11 -Wall -W -Wno-missing-field-initializers -Werror=deprecated-declarations -Wstrict-prototypes -Werror=undef -O3 -flto=auto -ffat-lto-objects -fno-omit-frame-pointer -g  -ggdb -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/valkey-9.1.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection - Wformat -Werror=format-security -fcf-protection -I/usr/include/liblzf  -I../deps/libvalkey/include -I../deps/linenoise -I../deps/hdr_histogram -I../deps/fpconv -I../deps/fast_float -DLUA_ENA BLED -DSTATIC_LUA=1 -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -DUSE_SYSTEM_JEMALLOC -I/usr/include/jemalloc/include -DUSE_OPENSSL=1  -DBUILD_TLS_MODULE=0 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -MMD -o t ls.o -c tls.c
| tls.c: In function ‘getCertSubjectFieldByName’:
| tls.c:1221:5: error: ‘ASN1_STRING_length’ is deprecated: Since OpenSSL 4.1; use ASN1_STRING_get_length() [-Werror=deprecated-declarations]
|  1221 |     int str_len = ASN1_STRING_length(data);
|       |     ^~~
| In file included from /usr/include/openssl/objects.h:21,
|                  from /usr/include/openssl/evp.h:48,
|                  from /usr/include/openssl/x509.h:31,
|                  from /usr/include/openssl/ssl.h:34,
|                  from tls.c:44:
| /usr/include/openssl/asn1.h:794:5: note: declared here
|   794 | int ASN1_STRING_length(const ASN1_STRING *x);
|       |     ^~~~~~~~~~~~~~~~~~
| tls.c: In function ‘getValidUserFromCertSanUri’:
| tls.c:1245:13: error: ‘ASN1_STRING_length’ is deprecated: Since OpenSSL 4.1; use ASN1_STRING_get_length() [-Werror=deprecated-declarations]
|  1245 |             int uri_len = ASN1_STRING_length(uri_asn1);
|       |             ^~~
| /usr/include/openssl/asn1.h:794:5: note: declared here
|   794 | int ASN1_STRING_length(const ASN1_STRING *x);
|       |     ^~~~~~~~~~~~~~~~~~
| cc -pedantic -std=gnu11 -Wall -W -Wno-missing-field-initializers -Werror=deprecated-declarations -Wstrict-prototypes -Werror=undef -O3 -flto=auto -ffat-lto-objects -fno-omit-frame-pointer -g  -ggdb -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/valkey-9.1.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection - Wformat -Werror=format-security -fcf-protection -I/usr/include/liblzf  -I../deps/libvalkey/include -I../deps/linenoise -I../deps/hdr_histogram -I../deps/fpconv -I../deps/fast_float -DLUA_ENA BLED -DSTATIC_LUA=1 -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -DUSE_SYSTEM_JEMALLOC -I/usr/include/jemalloc/include -DUSE_OPENSSL=1  -DBUILD_TLS_MODULE=0 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -MMD -o t racking.o -c tracking.c
| cc -pedantic -std=gnu11 -Wall -W -Wno-missing-field-initializers -Werror=deprecated-declarations -Wstrict-prototypes -Werror=undef -O3 -flto=auto -ffat-lto-objects -fno-omit-frame-pointer -g  -ggdb -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/valkey-9.1.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection - Wformat -Werror=format-security -fcf-protection -I/usr/include/liblzf  -I../deps/libvalkey/include -I../deps/linenoise -I../deps/hdr_histogram -I../deps/fpconv -I../deps/fast_float -DLUA_ENA BLED -DSTATIC_LUA=1 -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -DUSE_SYSTEM_JEMALLOC -I/usr/include/jemalloc/include -DUSE_OPENSSL=1  -DBUILD_TLS_MODULE=0 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -MMD -o u nix.o -c unix.c
| cc1: some warnings being treated as errors

Sebastian
Technical Details
Message-ID: <O2hZf-duIY-15@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154857: valkey: FTBFS with openssl 4.1
Date: Sun, 22 Nov 2026 16:50:01 +0100
Message-ID: <O2hZf-duIY-15@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 22 15:49:10 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>, 1154857@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-openssl-devel@alioth-lists.debian.net, kanashiro@debian.org
X-Debian-Pr-Message: report 1154857
X-Debian-Pr-Package: valkey
X-Debian-Pr-Keywords: sid
X-Debian-Pr-Source: valkey
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004179
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 69
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 22 Nov 2026 16:48:26 +0100
X-Original-Message-ID: <20261122154826.S_luPUQz@breakpoint.cc>