Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libffi.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-279063-64448/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q60a7vhq:/etc/resolv.conf', '--bind=/dev/mapper/control', '--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.q60a7vhq:/etc/resolv.conf', '--bind=/dev/mapper/control', '--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', '465f8b5f54254a5cb20750e3a740bb79', '-D', '/var/lib/mock/dist-an8.8-build-279063-64448/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q60a7vhq:/etc/resolv.conf', '--bind=/dev/mapper/control', '--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 --noclean --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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libffi-3.1-23.0.4.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libffi.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-279063-64448/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q60a7vhq:/etc/resolv.conf', '--bind=/dev/mapper/control', '--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.q60a7vhq:/etc/resolv.conf', '--bind=/dev/mapper/control', '--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', 'deb088c261af49c18a7ca7b2009c0af8', '-D', '/var/lib/mock/dist-an8.8-build-279063-64448/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q60a7vhq:/etc/resolv.conf', '--bind=/dev/mapper/control', '--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 --noclean --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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IPOp0D + 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 -xof - + 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/patch --no-backup-if-mismatch -p1 -b --suffix .fixpath --fuzz=0 patching file libffi.pc.in + echo 'Patch #1 (libffi-3.1-fix-exec-stack.patch):' Patch #1 (libffi-3.1-fix-exec-stack.patch): + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -p1 -b --suffix .aarch64 --fuzz=0 patching file src/aarch64/ffi.c + echo 'Patch #3 (libffi-3.1-aarch64-fix-exec-stack.patch):' Patch #3 (libffi-3.1-aarch64-fix-exec-stack.patch): + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/closures.c + echo 'Patch #6 (libffi-3.1-libffi_tmpdir.patch):' Patch #6 (libffi-3.1-libffi_tmpdir.patch): + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.am patching file Makefile.in patching file configure patching file src/loongarch/ffi.c Patch #1002 (0002-libffi-add-sw.patch): + echo 'Patch #1002 (0002-libffi-add-sw.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.am patching file Makefile.in patching file configure patching file configure.ac patching file m4/ax_gcc_archflag.m4 patching file src/sw_64/ffi.c patching file src/sw_64/ffitarget.h patching file src/sw_64/osf.S patching file src/types.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2YGlit + umask 022 + cd /builddir/build/BUILD + cd libffi-3.1 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wa,--generate-missing-build-notes=yes' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wa,--generate-missing-build-notes=yes' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wa,--generate-missing-build-notes=yes' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -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 $(dirname ./configure) -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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./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