:9: warning: 'DH_up_ref' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1506 | DH_up_ref(dh); | ^~~~~~~~~ /usr/include/openssl/dh.h:201:27: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 int DH_up_ref(DH *dh); | ^~~~~~~~~ gcc -c -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o url.o url.c gcc -c -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o util.o util.c sed -e 's,/usr/local/etc/sslsplit,/usr/local/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2021-07-23,' sslsplit.conf sed -e 's,/usr/local/etc/sslsplit,/usr/local/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2021-07-23,' sslsplit.1 sed -e 's,/usr/local/etc/sslsplit,/usr/local/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2021-07-23,' sslsplit.conf.5 gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/lib -pthread -o sslsplit base64.o build.o cache.o cachedsess.o cachefkcrt.o cachemgr.o cachessess.o cachetgcrt.o cert.o dynbuf.o log.o logbuf.o logger.o logpkt.o main.o nat.o opts.o privsep.o proc.o proxy.o pxyconn.o pxythrmgr.o ssl.o sys.o thrqueue.o url.o util.o -lnet -lssl -lcrypto -levent_openssl -levent_pthreads -levent -lpcap /usr/bin/ld: /tmp/ccv4bjVU.ltrans1.ltrans.o: in function `.L0 ': /builddir/build/BUILD/sslsplit-0.5.5/pxyconn.c:216: undefined reference to `ERR_GET_FUNC' /usr/bin/ld: /tmp/ccv4bjVU.ltrans1.ltrans.o: in function `.L0 ': /builddir/build/BUILD/sslsplit-0.5.5/pxythrmgr.c:257: undefined reference to `ERR_GET_FUNC' /usr/bin/ld: /tmp/ccv4bjVU.ltrans1.ltrans.o: in function `.LVL1912': /builddir/build/BUILD/sslsplit-0.5.5/proxy.c:128: undefined reference to `ERR_GET_FUNC' /usr/bin/ld: /tmp/ccv4bjVU.ltrans1.ltrans.o: in function `.L0 ': /builddir/build/BUILD/sslsplit-0.5.5/pxyconn.c:2550: undefined reference to `ERR_GET_FUNC' /usr/bin/ld: /tmp/ccv4bjVU.ltrans1.ltrans.o: in function `.L0 ': /builddir/build/BUILD/sslsplit-0.5.5/log.c:715: undefined reference to `ERR_GET_FUNC' /usr/bin/ld: /tmp/ccv4bjVU.ltrans1.ltrans.o:/builddir/build/BUILD/sslsplit-0.5.5/pxyconn.c:2107: more undefined references to `ERR_GET_FUNC' follow RPM build errors: collect2: error: ld returned 1 exit status make: *** [GNUmakefile:477: sslsplit] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.V07z0e (%build) Bad exit status from /var/tmp/rpm-tmp.V07z0e (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sslsplit.spec