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 aarch64 --nodeps /builddir/build/SPECS/mod_fcgid.spec'], chrootPath='/var/lib/mock/dist-oc9-build-50640-14595/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/mod_fcgid.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: line 18: Possible unexpanded macro in: Requires: httpd-mmn = %{_httpd_mmn} Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/mod_fcgid-2.3.9-3.oc9.src.rpm RPM build warnings: line 18: Possible unexpanded macro in: Requires: httpd-mmn = %{_httpd_mmn} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mod_fcgid.spec'], chrootPath='/var/lib/mock/dist-oc9-build-50640-14595/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mod_fcgid.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kAoao4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mod_fcgid-2.3.9 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/mod_fcgid-2.3.9.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_fcgid-2.3.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/mod_fcgid-2.3.9-segfault-upload.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/mod_fcgid-2.3.9-r1848298.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp -p /builddir/build/SOURCES/fcgid24.conf fcgid24.conf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e9CWLp + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 mod_fcgid-2.3.9 + APXS=/usr/lib64/httpd/build/vendor-apxs + ./configure.apxs Configuring mod_fcgid for APXS in /usr/lib64/httpd/build/vendor-apxs Detecting features Finished, run 'make' to compile mod_fcgid Run 'make install' to install mod_fcgid + make Making all in modules/fcgid make[1]: Entering directory '/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid' /usr/bin/libtool --silent --mode=compile gcc -O2 -g -Wall -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/include -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c mod_fcgid.c && touch mod_fcgid.slo /usr/bin/libtool --silent --mode=compile gcc -O2 -g -Wall -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/include -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c fcgid_bridge.c && touch fcgid_bridge.slo /usr/bin/libtool --silent --mode=compile gcc -O2 -g -Wall -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/include -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c fcgid_conf.c && touch fcgid_conf.slo /usr/bin/libtool --silent --mode=compile gcc -O2 -g -Wall -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/include -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c fcgid_pm_main.c && touch fcgid_pm_main.slo /usr/bin/libtool --silent --mode=compile gcc -O2 -g -Wall -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/include -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c fcgid_protocol.c && touch fcgid_protocol.slo /usr/bin/libtool --silent --mode=compile gcc -O2 -g -Wall -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/include -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c fcgid_spawn_ctl.c && touch fcgid_spawn_ctl.slo /usr/bin/libtool --silent --mode=compile gcc -O2 -g -Wall -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/include -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c fcgid_proctbl_unix.c && touch fcgid_proctbl_unix.slo /usr/bin/libtool --silent --mode=compile gcc -O2 -g -Wall -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/include -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c fcgid_pm_unix.c && touch fcgid_pm_unix.slo /usr/bin/libtool --silent --mode=compile gcc -O2 -g -Wall -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/include -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c fcgid_proc_unix.c && touch fcgid_proc_unix.slo /usr/bin/libtool --silent --mode=compile gcc -O2 -g -Wall -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/include -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c fcgid_bucket.c && touch fcgid_bucket.slo /usr/bin/libtool --silent --mode=compile gcc -O2 -g -Wall -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/include -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c fcgid_filter.c && touch fcgid_filter.slo /usr/bin/libtool --silent --mode=compile gcc -O2 -g -Wall -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid -I/builddir/build/BUILD/mod_fcgid-2.3.9/include -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c fcgid_mutex_unix.c && touch fcgid_mutex_unix.slo /usr/bin/libtool --silent --mode=link gcc -O2 -g -Wall -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mod_fcgid.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_fcgid.lo fcgid_bridge.lo fcgid_conf.lo fcgid_pm_main.lo fcgid_protocol.lo fcgid_spawn_ctl.lo fcgid_proctbl_unix.lo fcgid_pm_unix.lo fcgid_proc_unix.lo fcgid_bucket.lo fcgid_filter.lo fcgid_mutex_unix.lo gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[1]: Leaving directory '/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid' make[1]: *** [/builddir/build/BUILD/mod_fcgid-2.3.9/modules/fcgid/modules.mk:20: mod_fcgid.la] Error 1 make: *** [/usr/lib64/httpd/build/rules.mk:75: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.e9CWLp (%build) Bad exit status from /var/tmp/rpm-tmp.e9CWLp (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mod_fcgid.spec\n', 1)] 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 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 aarch64 --nodeps /builddir/build/SPECS/mod_fcgid.spec