| Summary: | Bip 0.9.3 doesn't build with openssl 3.0 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | papoteur <yvesbrungard> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | jani.valimaa, lewyssmith, marja11, pkg-bugs |
| Version: | Cauldron | Keywords: | UPSTREAM |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://projects.duckcorp.org/issues/780 | ||
| Whiteboard: | |||
| Source RPM: | bip-0.9.3 | CVE: | |
| Status comment: | |||
Upstream issue report filed: https://projects.duckcorp.org/issues/780
Marja Van Waes
2022-09-17 13:43:56 CEST
See Also:
(none) =>
https://projects.duckcorp.org/issues/780 Eventually this should be fixed by upstream, but ATM the build is fixed in bip-0.9.3-1.mga9 by not treating warnings as errors. CC:
(none) =>
jani.valimaa Yes, closing as WORKSFORME for now. Upstream fix can be applied later. Resolution:
(none) =>
WORKSFORME |
Description of problem: The build fails in cauldron with: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Werror -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,separate-code -Wpedantic -Wformat=2 -Wformat-overflow=2 -Wformat-truncation=2 -Wformat-security -Wnull-dereference -Wstack-protector -Wtrampolines -Walloca -Wvla -Warray-bounds=2 -Wimplicit-fallthrough=3 -Wtraditional-conversion -Wshift-overflow=2 -Wcast-qual -Wstringop-overflow=4 -Wconversion -Warith-conversion -Wlogical-op -Wduplicated-cond -Wduplicated-branches -Wformat-signedness -Wshadow -Wstrict-overflow=4 -Wundef -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wstack-usage=1000000 -Wcast-align=strict -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DPIC -fPIC -c -o libbip_a-connection.o `test -f 'connection.c' || echo './'`connection.c connection.c: In function 'ctx_set_dh': connection.c:1184:9: error: 'PEM_read_DHparams' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1184 | dh = PEM_read_DHparams(f, NULL, NULL, NULL); | ^~ In file included from connection.h:37, from connection.c:18: /usr/include/openssl/pem.h:469:1: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ connection.c:1199:9: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1199 | DH_free(dh); | ^~~~~~~ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:37, from connection.h:35: /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~