Package: valkey Version: 9.1.2-1 Severity: normal Tags: sid control: affects -1 src:openssl User: [email protected] 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

