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/libffi.spec'], chrootPath='/var/lib/mock/dist-an7_9-updates-build-219194-62048/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n9o2wrdy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n9o2wrdy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f73f627736d74b59b8bf3abcbfee37c6', '-D', '/var/lib/mock/dist-an7_9-updates-build-219194-62048/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n9o2wrdy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libffi.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libffi-3.1-23.0.3.an7.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/libffi.spec'], chrootPath='/var/lib/mock/dist-an7_9-updates-build-219194-62048/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n9o2wrdy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n9o2wrdy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b6cd171264cd47ca9835b9bd3c8399d0', '-D', '/var/lib/mock/dist-an7_9-updates-build-219194-62048/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n9o2wrdy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libffi.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qQvpa6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libffi-3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/libffi-3.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libffi-3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libffi-3.1-fix-include-path.patch):' Patch #0 (libffi-3.1-fix-include-path.patch): + /usr/bin/cat /builddir/build/SOURCES/libffi-3.1-fix-include-path.patch + /usr/bin/patch -p1 -b --suffix .fixpath --fuzz=0 patching file libffi.pc.in Patch #1 (libffi-3.1-fix-exec-stack.patch): + echo 'Patch #1 (libffi-3.1-fix-exec-stack.patch):' + /usr/bin/cat /builddir/build/SOURCES/libffi-3.1-fix-exec-stack.patch + /usr/bin/patch -p1 -b --suffix .execstack --fuzz=0 patching file src/x86/win32.S Patch #2 (libffi-aarch64-rhbz1174037.patch): + echo 'Patch #2 (libffi-aarch64-rhbz1174037.patch):' + /usr/bin/cat /builddir/build/SOURCES/libffi-aarch64-rhbz1174037.patch + /usr/bin/patch -p1 -b --suffix .aarch64 --fuzz=0 patching file src/aarch64/ffi.c Patch #3 (libffi-3.1-aarch64-fix-exec-stack.patch): + echo 'Patch #3 (libffi-3.1-aarch64-fix-exec-stack.patch):' + /usr/bin/cat /builddir/build/SOURCES/libffi-3.1-aarch64-fix-exec-stack.patch + /usr/bin/patch -p1 -b --suffix .aarch64execstack --fuzz=0 patching file src/aarch64/sysv.S Hunk #1 succeeded at 331 (offset -65 lines). Patch #5 (libffi-3.1-closures-Create-temporary-file-with-O_TMPFILE-and-O_.patch): + echo 'Patch #5 (libffi-3.1-closures-Create-temporary-file-with-O_TMPFILE-and-O_.patch):' + /usr/bin/cat /builddir/build/SOURCES/libffi-3.1-closures-Create-temporary-file-with-O_TMPFILE-and-O_.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/closures.c Patch #6 (libffi-3.1-libffi_tmpdir.patch): + echo 'Patch #6 (libffi-3.1-libffi_tmpdir.patch):' + /usr/bin/cat /builddir/build/SOURCES/libffi-3.1-libffi_tmpdir.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/closures.c Hunk #1 succeeded at 382 (offset 20 lines). Patch #7 (libffi-3.1-memfd.patch): + echo 'Patch #7 (libffi-3.1-memfd.patch):' + /usr/bin/cat /builddir/build/SOURCES/libffi-3.1-memfd.patch + /usr/bin/patch -p1 --fuzz=0 patching file configure.ac patching file configure patching file fficonfig.h.in patching file src/closures.c Patch #1000 (0001-arch-support-loongarch64-platform.patch): + echo 'Patch #1000 (0001-arch-support-loongarch64-platform.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-arch-support-loongarch64-platform.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile.am patching file Makefile.in patching file config.guess patching file config.sub patching file configure patching file src/loongarch/ffi.c patching file src/loongarch/ffitarget.h patching file src/loongarch/sysv.S patching file testsuite/libffi.call/many3.c patching file testsuite/libffi.call/many4.c patching file testsuite/libffi.call/many5.c patching file testsuite/libffi.call/many6.c patching file testsuite/libffi.call/many7.c patching file testsuite/libffi.call/many8.c patching file testsuite/libffi.call/struct11.c patching file testsuite/libffi.call/struct12.c patching file testsuite/libffi.call/struct13.c patching file testsuite/libffi.call/struct14.c patching file testsuite/libffi.call/struct15.c patching file testsuite/libffi.call/struct16.c patching file testsuite/libffi.call/struct17.c patching file testsuite/libffi.call/struct18.c patching file testsuite/libffi.call/struct19.c patching file testsuite/libffi.call/struct20.c patching file testsuite/libffi.call/struct21.c patching file testsuite/libffi.call/struct22.c patching file testsuite/libffi.call/va_2.c patching file testsuite/libffi.call/va_struct4.c patching file testsuite/libffi.call/va_struct5.c patching file testsuite/libffi.closures/cls_float_va.c patching file testsuite/libffi.complex/cls_complex_struct1.inc patching file testsuite/libffi.complex/cls_complex_struct1_double.c patching file testsuite/libffi.complex/cls_complex_struct1_float.c patching file testsuite/libffi.complex/cls_complex_struct1_longdouble.c patching file testsuite/libffi.complex/return_complex_struct.inc patching file testsuite/libffi.complex/return_complex_struct_double.c patching file testsuite/libffi.complex/return_complex_struct_float.c patching file testsuite/libffi.complex/return_complex_struct_longdouble.c patching file testsuite/libffi.complex/test_complex_non_va.inc patching file testsuite/libffi.complex/test_complex_non_va1.inc patching file testsuite/libffi.complex/test_complex_non_va1_double.c patching file testsuite/libffi.complex/test_complex_non_va1_float.c patching file testsuite/libffi.complex/test_complex_non_va1_longdouble.c patching file testsuite/libffi.complex/test_complex_non_va2.inc patching file testsuite/libffi.complex/test_complex_non_va2_double.c patching file testsuite/libffi.complex/test_complex_non_va2_float.c patching file testsuite/libffi.complex/test_complex_non_va2_longdouble.c patching file testsuite/libffi.complex/test_complex_non_va3.inc patching file testsuite/libffi.complex/test_complex_non_va3_double.c patching file testsuite/libffi.complex/test_complex_non_va3_float.c patching file testsuite/libffi.complex/test_complex_non_va3_longdouble.c patching file testsuite/libffi.complex/test_complex_non_va_double.c patching file testsuite/libffi.complex/test_complex_non_va_float.c patching file testsuite/libffi.complex/test_complex_non_va_longdouble.c patching file testsuite/libffi.complex/test_complex_va.inc patching file testsuite/libffi.complex/test_complex_va1.inc patching file testsuite/libffi.complex/test_complex_va1_double.c patching file testsuite/libffi.complex/test_complex_va1_float.c patching file testsuite/libffi.complex/test_complex_va1_longdouble.c patching file testsuite/libffi.complex/test_complex_va2.inc patching file testsuite/libffi.complex/test_complex_va2_double.c patching file testsuite/libffi.complex/test_complex_va2_float.c patching file testsuite/libffi.complex/test_complex_va2_longdouble.c patching file testsuite/libffi.complex/test_complex_va3.inc patching file testsuite/libffi.complex/test_complex_va3_double.c patching file testsuite/libffi.complex/test_complex_va3_float.c patching file testsuite/libffi.complex/test_complex_va3_longdouble.c patching file testsuite/libffi.complex/test_complex_va_double.c patching file testsuite/libffi.complex/test_complex_va_float.c patching file testsuite/libffi.complex/test_complex_va_longdouble.c Patch #1001 (0001-add-loongarch64-objects.patch): + echo 'Patch #1001 (0001-add-loongarch64-objects.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-add-loongarch64-objects.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile.am patching file Makefile.in patching file configure patching file src/loongarch/ffi.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.stA2tI + umask 022 + cd /builddir/build/BUILD + cd libffi-3.1 + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wa,--generate-missing-build-notes=yes' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wa,--generate-missing-build-notes=yes' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wa,--generate-missing-build-notes=yes' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking target system type... x86_64-Anolis-linux-gnu continue configure in default builddir "./x86_64-Anolis-linux-gnu" ....exec /bin/sh .././configure "--srcdir=.." "--enable-builddir=x86_64-Anolis-linux-gnu" "linux gnu" checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking target system type... x86_64-Anolis-linux-gnu checking for gsed... sed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-Anolis-linux-gcc... no checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/builddir/build/BUILD/libffi-3.1/x86_64-Anolis-linux-gnu': configure: error: C compiler cannot create executables See `config.log' for more details error: Bad exit status from /var/tmp/rpm-tmp.stA2tI (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.stA2tI (%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: # /usr/bin/systemd-nspawn -q -M b6cd171264cd47ca9835b9bd3c8399d0 -D /var/lib/mock/dist-an7_9-updates-build-219194-62048/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.n9o2wrdy:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libffi.spec