Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rsyslog.spec'], chrootPath='/var/lib/mock/dist-an23-build-243069-63112/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rsyslog.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1649808000 Wrote: /builddir/build/SRPMS/rsyslog-8.2102.0-10.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rsyslog.spec'], chrootPath='/var/lib/mock/dist-an23-build-243069-63112/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rsyslog.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1649808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v7ZMlt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rsyslog-8.2102.0 + /usr/bin/mkdir -p rsyslog-8.2102.0 + cd rsyslog-8.2102.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rsyslog-doc-8.2102.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r LICENSE README.md source build/objects.inv + mv build doc + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rsyslog-8.2102.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rsyslog-8.2102.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/qpid-proton-0.34.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rsyslog-8.2102.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rsyslog-8.1911.0-rhbz1659898-imjournal-default-tag.patch):' Patch #0 (rsyslog-8.1911.0-rhbz1659898-imjournal-default-tag.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .default-tag --fuzz=0 patching file plugins/imjournal/imjournal.c Hunk #1 succeeded at 84 (offset 6 lines). Hunk #2 succeeded at 103 (offset 9 lines). Hunk #3 succeeded at 115 (offset 9 lines). Hunk #4 succeeded at 395 (offset 124 lines). Hunk #5 succeeded at 453 (offset 119 lines). Hunk #6 succeeded at 812 (offset 155 lines). Hunk #7 succeeded at 902 (offset 162 lines). Hunk #8 succeeded at 970 (offset 207 lines). Hunk #9 succeeded at 1061 (offset 219 lines). Hunk #10 succeeded at 1122 (offset 311 lines). Patch #1 (rsyslog-8.2102.0-rhbz1960536-fdleak-on-fsync.patch): + echo 'Patch #1 (rsyslog-8.2102.0-rhbz1960536-fdleak-on-fsync.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fd-leak-on-fsync --fuzz=0 patching file plugins/imjournal/imjournal.c Patch #2 (rsyslog-8.2102.0-rhbz1886400-reduce-default-timeout.patch): + echo 'Patch #2 (rsyslog-8.2102.0-rhbz1886400-reduce-default-timeout.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .timeout --fuzz=0 patching file plugins/omrelp/omrelp.c Patch #3 (rsyslog-8.2102.0-rhbz1866877-unexpected-length.patch): + echo 'Patch #3 (rsyslog-8.2102.0-rhbz1866877-unexpected-length.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .unexpected-priority-length --fuzz=0 patching file plugins/imjournal/imjournal.c Patch #4 (rsyslog-8.2102.0-rhbz1984616-imuxsock-ratelimit.patch): + echo 'Patch #4 (rsyslog-8.2102.0-rhbz1984616-imuxsock-ratelimit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .imuxsock-rate-limit --fuzz=0 patching file runtime/ratelimit.c Patch #5 (rsyslog-8.2102.0-rhbz1984489-remove-abort-on-id-resolution-fail.patch): + echo 'Patch #5 (rsyslog-8.2102.0-rhbz1984489-remove-abort-on-id-resolution-fail.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .abort-on-id-resolution-fail --fuzz=0 patching file runtime/cfsysline.c patching file runtime/glbl.c patching file runtime/rsconf.c patching file runtime/rsconf.h + echo 'Patch #6 (rsyslog-8.2102.0-rhbz1832368-prioritize-SAN.patch):' Patch #6 (rsyslog-8.2102.0-rhbz1832368-prioritize-SAN.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .prioritizeSAN --fuzz=0 patching file runtime/nsd_gtls.c Patch #7 (rsyslog-8.2102.0-rhbz1962318-errfile-maxsize.patch): + echo 'Patch #7 (rsyslog-8.2102.0-rhbz1962318-errfile-maxsize.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .errfile-maxsize --fuzz=0 patching file action.c patching file action.h patching file tests/Makefile.am patching file tests/omfwd-errfile-maxsize.sh patching file tests/action-tx-errfile-maxsize.sh patching file tests/omfwd-errfile-maxsize-filled.sh + echo 'Patch #8 (rsyslog-8.2102.0-rhbz1909639-statefiles-fix.patch):' Patch #8 (rsyslog-8.2102.0-rhbz1909639-statefiles-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .state-file-leaking --fuzz=0 patching file plugins/imfile/imfile.c Patch #9 (rsyslog-8.2102.0-rhbz1909639-statefiles-doc.patch): + echo 'Patch #9 (rsyslog-8.2102.0-rhbz1909639-statefiles-doc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .state-file-leaking-doc --fuzz=0 patching file doc/configuration/modules/imfile.html Patch #10 (rsyslog-8.2102.0-nsd_ossl-better-logs.patch): + echo 'Patch #10 (rsyslog-8.2102.0-nsd_ossl-better-logs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ossl-better-logs --fuzz=0 patching file runtime/nsd_ossl.c Patch #11 (rsyslog-8.2102.0-imtcp-param-refactor.patch): + echo 'Patch #11 (rsyslog-8.2102.0-imtcp-param-refactor.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .imtcp-refactor-params --fuzz=0 patching file plugins/imdiag/imdiag.c patching file plugins/imgssapi/imgssapi.c patching file plugins/imtcp/imtcp.c patching file runtime/netstrm.c patching file runtime/netstrm.h patching file runtime/nsd.h patching file runtime/nsd_gtls.c patching file runtime/nsd_ossl.c patching file runtime/nsd_ptcp.c patching file runtime/nsd_ptcp.h patching file runtime/tcps_sess.c patching file runtime/tcpsrv.c patching file runtime/tcpsrv.h patching file runtime/typedefs.h + echo 'Patch #12 (rsyslog-8.2102.0-nsd_ossl-memory-leak.patch):' Patch #12 (rsyslog-8.2102.0-nsd_ossl-memory-leak.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ossl-memory-leak --fuzz=0 patching file runtime/nsd_ossl.c Patch #13 (rsyslog-8.2102.0-rhbz2046158-correct-custom-ciphers-behaviour.patch): + echo 'Patch #13 (rsyslog-8.2102.0-rhbz2046158-correct-custom-ciphers-behaviour.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ossl-ciphers-behaviour --fuzz=0 patching file runtime/nsd_ossl.c Patch #14 (rsyslog-8.37.0-rhbz2081396-CVE-2022-24903.patch): + echo 'Patch #14 (rsyslog-8.37.0-rhbz2081396-CVE-2022-24903.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-24903 --fuzz=0 patching file plugins/imptcp/imptcp.c Hunk #1 succeeded at 1107 (offset 75 lines). patching file runtime/tcps_sess.c Hunk #1 succeeded at 388 (offset -1 lines). Patch #15 (rsyslog-8.2102.0-rhbz2046158-gnutls-broken-connection.patch): + echo 'Patch #15 (rsyslog-8.2102.0-rhbz2046158-gnutls-broken-connection.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gnutls-error-handling --fuzz=0 patching file runtime/nsd_gtls.c patching file runtime/nsd_gtls.h patching file runtime/nsdsel_gtls.c patching file runtime/tcpsrv.c Hunk #1 succeeded at 596 (offset -13 lines). Hunk #2 succeeded at 620 (offset -13 lines). Hunk #3 succeeded at 826 (offset -13 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gVO20k + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rsyslog-8.2102.0 + export 'CFLAGS=-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic' + CFLAGS='-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic' + cd /builddir/build/BUILD/qpid-proton-0.34.0 + mkdir bld + cd bld ++ python3 -c 'from distutils.sysconfig import get_python_inc; print(get_python_inc())' ++ python3 -c 'import distutils.sysconfig as sysconfig; print(sysconfig.get_config_var('\''LIBDIR'\''))' + cmake .. -DBUILD_BINDINGS= -DBUILD_STATIC_LIBS=YES -DENABLE_FUZZ_TESTING=NO -DPYTHON_INCLUDE_DIR=/usr/include/python3.10 -DPYTHON_LIBRARY=/usr/lib64 -DCMAKE_AR=/usr/bin/gcc-ar -DCMAKE_NM=/usr/bin/gcc-nm -DCMAKE_RANLIB=/usr/bin/gcc-ranlib -- The C compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.7") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Found CyrusSASL: /usr/lib64/libsasl2.so (found version "2.1.28") -- Found Python: /usr/bin/python3.10 (found version "3.10.10") found components: Interpreter missing components: Development Development.Module Development.Embed -- Looking for a CXX compiler -- Looking for a CXX compiler - /usr/bin/g++ -- The CXX compiler identification is GNU 12.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Build type is "RelWithDebInfo" (has debug symbols) -- PN_VERSION: 0.34.0 () -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for epoll_wait -- Looking for epoll_wait - found -- Building the epoll proactor -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done (2.7s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: PYTHON_INCLUDE_DIR PYTHON_LIBRARY -- Build files have been written to: /builddir/build/BUILD/qpid-proton-0.34.0/bld + make -j8 [ 0%] Generating src/protocol.h [ 1%] Generating src/encodings.h [ 2%] Generating src/protocol.h [ 2%] Building C object c/CMakeFiles/qpid-proton-proactor-objects.dir/src/proactor/epoll.c.o [ 3%] Building C object c/CMakeFiles/qpid-proton-platform-io-static.dir/src/platform/platform.c.o [ 4%] Building CXX object c/tests/CMakeFiles/test_main.dir/test_main.cpp.o [ 4%] Building C object c/CMakeFiles/qpid-proton-platform-io-objects.dir/src/platform/platform.c.o [ 5%] Building C object c/CMakeFiles/qpid-proton-proactor-static.dir/src/proactor/epoll.c.o [ 6%] Building C object c/CMakeFiles/qpid-proton-platform-io-objects.dir/src/reactor/io/posix/io.c.o [ 7%] Building C object c/CMakeFiles/qpid-proton-platform-io-static.dir/src/reactor/io/posix/io.c.o [ 7%] Building C object c/CMakeFiles/qpid-proton-platform-io-static.dir/src/reactor/io/posix/selector.c.o [ 7%] Generating src/encodings.h [ 7%] Building C object c/CMakeFiles/qpid-proton-platform-io-objects.dir/src/reactor/io/posix/selector.c.o [ 8%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/object/object.c.o [ 8%] Built target qpid-proton-platform-io-objects [ 8%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/object/list.c.o [ 9%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/object/map.c.o [ 9%] Built target qpid-proton-platform-io-static [ 10%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/object/string.c.o [ 11%] Building C object c/CMakeFiles/qpid-proton-proactor-objects.dir/src/proactor/epoll_raw_connection.c.o [ 11%] Built target generated_c_files [ 11%] Building C object c/CMakeFiles/qpid-proton-proactor-objects.dir/src/proactor/epoll_timer.c.o [ 12%] Building C object c/CMakeFiles/qpid-proton-proactor-objects.dir/src/proactor/proactor-internal.c.o [ 12%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/object/iterator.c.o [ 13%] Building C object c/CMakeFiles/qpid-proton-proactor-objects.dir/src/proactor/netaddr-internal.c.o [ 14%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/object/object.c.o [ 15%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/object/list.c.o [ 15%] Building C object c/CMakeFiles/qpid-proton-proactor-objects.dir/src/proactor/raw_connection.c.o [ 15%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/object/map.c.o [ 16%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/object/string.c.o [ 17%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/object/record.c.o [ 17%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/init.c.o [ 17%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/object/iterator.c.o [ 17%] Building C object c/CMakeFiles/qpid-proton-proactor-static.dir/src/proactor/epoll_raw_connection.c.o [ 18%] Building C object c/CMakeFiles/qpid-proton-proactor-static.dir/src/proactor/epoll_timer.c.o [ 18%] Building C object c/CMakeFiles/qpid-proton-proactor-static.dir/src/proactor/proactor-internal.c.o [ 19%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/object/record.c.o [ 20%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/memory.c.o [ 20%] Built target qpid-proton-proactor-objects [ 21%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/logger.c.o [ 21%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/init.c.o [ 22%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/memory.c.o [ 23%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/logger.c.o [ 24%] Building C object c/CMakeFiles/qpid-proton-proactor-static.dir/src/proactor/netaddr-internal.c.o [ 24%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/util.c.o [ 24%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/util.c.o [ 25%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/error.c.o [ 26%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/error.c.o [ 26%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/buffer.c.o [ 26%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/buffer.c.o [ 27%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/types.c.o [ 27%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/framing.c.o [ 28%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/types.c.o [ 28%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/framing.c.o [ 29%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/codec.c.o [ 30%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/decoder.c.o [ 31%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/codec.c.o [ 32%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/decoder.c.o [ 33%] Building C object c/CMakeFiles/qpid-proton-proactor-static.dir/src/proactor/raw_connection.c.o [ 33%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/encoder.c.o [ 33%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/encoder.c.o [ 34%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/dispatcher.c.o [ 35%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/dispatcher.c.o [ 35%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/connection_driver.c.o [ 36%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/connection_driver.c.o [ 36%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/engine.c.o [ 37%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/engine.c.o [ 38%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/event.c.o [ 38%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/event.c.o [ 39%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/autodetect.c.o [ 40%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/transport.c.o [ 40%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/autodetect.c.o [ 40%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/core/message.c.o [ 41%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/transport.c.o [ 41%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/message.c.o [ 41%] Linking C static library libqpid-proton-proactor-static.a [ 41%] Built target qpid-proton-proactor-static [ 42%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/sasl/sasl.c.o [ 42%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/sasl/default_sasl.c.o [ 42%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/sasl/default_sasl.c.o [ 43%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/sasl/sasl.c.o [ 44%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/sasl/cyrus_sasl.c.o [ 44%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/ssl/openssl.c.o [ 45%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/sasl/cyrus_sasl.c.o /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c: In function 'get_dh2048': /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c:398:3: error: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 398 | DH *dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:31, from /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c:47: /usr/include/openssl/dh.h:199:27: note: declared here 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c:406:7: error: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 406 | || !DH_set0_pqg(dh, dhp_bn, NULL, dhg_bn)) { | ^~ /usr/include/openssl/dh.h:255:27: note: declared here 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c:407:5: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 407 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c: In function 'pni_init_ssl_domain': /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c:548:5: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 548 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ [ 46%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/ssl/openssl.c.o [ 46%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/compiler/gcc/start.c.o [ 47%] Building C object c/CMakeFiles/qpid-proton-core-static.dir/src/compiler/gcc/start.c.o /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c: In function 'get_dh2048': /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c:398:3: error: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 398 | DH *dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:31, from /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c:47: /usr/include/openssl/dh.h:199:27: note: declared here 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c:406:7: error: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 406 | || !DH_set0_pqg(dh, dhp_bn, NULL, dhg_bn)) { | ^~ /usr/include/openssl/dh.h:255:27: note: declared here 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c:407:5: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 407 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c: In function 'pni_init_ssl_domain': /builddir/build/BUILD/qpid-proton-0.34.0/c/src/ssl/openssl.c:548:5: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 548 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ cc1: all warnings being treated as errors make[2]: *** [c/CMakeFiles/qpid-proton-core-objects.dir/build.make:462: c/CMakeFiles/qpid-proton-core-objects.dir/src/ssl/openssl.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1072: c/CMakeFiles/qpid-proton-core-objects.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[2]: *** [c/CMakeFiles/qpid-proton-core-static.dir/build.make:462: c/CMakeFiles/qpid-proton-core-static.dir/src/ssl/openssl.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:1150: c/CMakeFiles/qpid-proton-core-static.dir/all] Error 2 [ 47%] Built target test_main make: *** [Makefile:146: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.gVO20k (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.gVO20k (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 x86_64 --nodeps /builddir/build/SPECS/rsyslog.spec