Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/httpd.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-69235-3993/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/httpd.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/httpd-2.4.57-3.ocs23.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/httpd.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-69235-3993/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/httpd.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wfcdRC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpd-2.4.57 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httpd-2.4.57.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd httpd-2.4.57 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.43-apxs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.43-deplibs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.53-detect-systemd.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f Patch #1 (httpd-2.4.48-r1842929+.patch): + echo 'Patch #1 (httpd-2.4.48-r1842929+.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.in patching file acinclude.m4 Hunk #2 succeeded at 672 (offset 6 lines). patching file configure.in patching file include/ap_config_layout.h.in patching file include/http_config.h patching file modules/dav/fs/mod_dav_fs.c patching file server/core.c Hunk #1 succeeded at 144 (offset 2 lines). Hunk #2 succeeded at 1456 (offset 10 lines). Hunk #3 succeeded at 3235 (offset 10 lines). Hunk #4 succeeded at 4561 (offset 17 lines). Hunk #5 succeeded at 5100 (offset 20 lines). Hunk #6 succeeded at 5377 (offset 50 lines). + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.43-mod_systemd.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.53-export.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.43-corelimit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.54-selinux.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f Patch #2 (httpd-2.4.43-gettid.patch): + echo 'Patch #2 (httpd-2.4.43-gettid.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure.in Hunk #1 succeeded at 502 (offset 24 lines). Hunk #2 succeeded at 514 (offset 24 lines). patching file server/log.c Hunk #2 succeeded at 627 (offset 2 lines). Hunk #3 succeeded at 972 (offset 2 lines). + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.54-icons.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.43-cachehardmax.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.43-socket-activation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.43-sslciphdefault.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.43-sslprotdefault.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.48-r1828172+.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.43-logjournal.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.53-separate-systemd-fns.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.43-enable-sslv3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httpd-2.4.48-r1878890.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f Patch #3014 (httpd-2.4.46-htcacheclean-dont-break.patch): + echo 'Patch #3014 (httpd-2.4.46-htcacheclean-dont-break.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file support/htcacheclean.c Hunk #1 succeeded at 558 (offset 1 line). + sed -i '/^#define PLATFORM/s/Unix/OpenCloudOS Stream/' os/unix/os.h + sed -i '/suexec/s/setcap /echo Skipping setcap for /' Makefile.in + cp -p /builddir/build/SOURCES/instance.conf . + sed ' 0,/^ServerRoot/d; /# Supplemental configuration/,$d /^ *CustomLog .logs/s,logs/,logs/${HTTPD_INSTANCE}_, /^ *ErrorLog .logs/s,logs/,logs/${HTTPD_INSTANCE}_, ' ++ echo MODULE_MAGIC_NUMBER_MAJOR ++ cpp -include include/ap_mmn.h ++ sed -n '/^2/p' + vmmn=20120211 + test x20120211 '!=' x20120211 + cp /builddir/build/SOURCES/apache-poweredby.png ./docs/icons/apache_pb3.png + cp /builddir/build/SOURCES/config.layout . + sed -i s/OpenCloudOS/OpenCloudOS/g config.layout + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oVjiOx + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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 httpd-2.4.57 + rm -rf srclib/apr srclib/apr-util srclib/pcre + autoheader Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec.pm line 21. Compilation failed in require at /usr/share/autoconf/Autom4te/FileUtils.pm line 76. BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/FileUtils.pm line 76. Compilation failed in require at /usr/bin/autoheader line 48. BEGIN failed--compilation aborted at /usr/bin/autoheader line 48. + exit 1 RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.oVjiOx (%build) %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.oVjiOx (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/httpd.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/httpd.spec