Public bug reported:
libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread
-I../runtime -I.. -I../grammar -I/usr/include/libfastjson -W -Wall
-Wformat-security -Wshadow -Wcast-align -Wpointer-arith
-Wmissing-format-attribute -Werror=implicit-function-declaration -g -Werror
-Wdate-time -D_FORTIFY_SOURCE=3 -DPATH_PIDFILE=\"/run/rsyslogd.pid\" -g -O2
-Werror=implicit-function-declaration -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer
-ffile-prefix-map=/home/ubuntu/git/packages/rsyslog/rsyslog=. -flto=auto
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection
-fdebug-prefix-map=/home/ubuntu/git/packages/rsyslog/rsyslog=/usr/src/rsyslog-8.2606.0-4ubuntu1
-c net_ossl.c -fPIC -DPIC -o .libs/lmnsd_ossl_la-net_ossl.o
net_ossl.c: In function 'net_ossl_match_cn':
net_ossl.c:1085:13: error: assignment discards 'const' qualifier from pointer
target type [-Werror=discarded-qualifiers]
1085 | subject = RSYSLOG_X509_NAME_oneline(certpeer);
| ^
net_ossl.c:1093:11: error: assignment discards 'const' qualifier from pointer
target type [-Werror=discarded-qualifiers]
1093 | entry = X509_NAME_get_entry(subject, idx);
| ^
net_ossl.c:1097:8: error: assignment discards 'const' qualifier from pointer
target type [-Werror=discarded-qualifiers]
1097 | cn = X509_NAME_ENTRY_get_data(entry);
| ^
net_ossl.c: In function 'ocsp_make_cache_key':
net_ossl.c:1377:30: error: initialization discards 'const' qualifier from
pointer target type [-Werror=discarded-qualifiers]
1377 | X509_NAME *issuer_name = X509_get_subject_name(issuer);
| ^~~~~~~~~~~~~~~~~~~~~
net_ossl.c: In function 'ocsp_find_issuer':
net_ossl.c:1624:9: error: 'X509_STORE_get0_objects' is deprecated: Since
OpenSSL 4.0;Use X509_STORE_get1_objects [-Werror=deprecated-declarations]
1624 | objs = X509_STORE_get0_objects(store);
| ^~~~
In file included from /usr/include/openssl/x509.h:494,
from /usr/include/openssl/ssl.h:34,
from net_ossl.h:43,
from net_ossl.c:52:
/usr/include/openssl/x509_vfy.h:527:24: note: declared here
527 | STACK_OF(X509_OBJECT) *X509_STORE_get0_objects(const X509_STORE *xs);
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
** Affects: rsyslog (Ubuntu)
Importance: Undecided
Status: New
** Tags: ftbfs openssl-4.0
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163702
Title:
build failure with openssl 4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/2163702/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs