Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-64006-36098/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=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4qg0crdn:/etc/resolv.conf', '--bind=/dev/btrfs-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.4qg0crdn:/etc/resolv.conf', '--bind=/dev/btrfs-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', '5073d0c72bbe4929b675af6bcfb89cf8', '-D', '/var/lib/mock/dist-an8-loongarch64-build-64006-36098/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4qg0crdn:/etc/resolv.conf', '--bind=/dev/btrfs-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 --target loongarch64 --nodeps /builddir/build/SPECS/annobin.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/annobin-9.23-2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-64006-36098/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=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4qg0crdn:/etc/resolv.conf', '--bind=/dev/btrfs-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.4qg0crdn:/etc/resolv.conf', '--bind=/dev/btrfs-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', '942469f7f4174766a4ee5c44f1893ab9', '-D', '/var/lib/mock/dist-an8-loongarch64-build-64006-36098/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4qg0crdn:/etc/resolv.conf', '--bind=/dev/btrfs-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 --target loongarch64 --nodeps /builddir/build/SPECS/annobin.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mUWMCf + umask 022 + cd /builddir/build/BUILD Requires: (gcc >= 8 and gcc < 9) + '[' -z '8.3.0-24 vec' ']' + echo 'Requires: (gcc >= 8 and gcc < 9)' + cd /builddir/build/BUILD + rm -rf annobin-9.23 + /usr/bin/xz -dc /builddir/build/SOURCES/annobin-9.23.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd annobin-9.23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + touch aclocal.m4 gcc-plugin/config.h.in + touch configure gcc-plugin/configure Makefile.in annocheck/Makefile.in clang-plugin/Makefile.in doc/Makefile.in gcc-plugin/Makefile.in llvm-plugin/Makefile.in scripts/Makefile.in tests/Makefile.in + touch doc/annobin.info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Z3YvSq + umask 022 + cd /builddir/build/BUILD + cd annobin-9.23 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -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/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./gcc-plugin/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./gcc-plugin/config.guess ++ basename ./gcc-plugin/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./gcc-plugin/config.guess '/usr/lib/rpm/redhat/config.guess' -> './gcc-plugin/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./gcc-plugin/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./gcc-plugin/config.sub ++ basename ./gcc-plugin/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./gcc-plugin/config.sub '/usr/lib/rpm/redhat/config.sub' -> './gcc-plugin/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"~' ./config/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"~' ./gcc-plugin/ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-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 --quiet --with-gcc-plugin-dir=/usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin + /usr/bin/make -O -j4 Making all in gcc-plugin /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/annobin-9.23/gcc-plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include -I/usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include -O2 -g -c -o dummy.annobin.lo dummy.annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include -I/usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include -O2 -g -c dummy.annobin.cc -fPIC -DPIC -o .libs/dummy.annobin.o make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.23/gcc-plugin' In file included from /usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include/system.h:687, from /usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include/gcc-plugin.h:28, from annobin.h:27, from dummy.annobin.cc:16: /usr/include/gmp.h:85:2: error: #error "The gmp-devel package is not usable with the architecture." #error "The gmp-devel package is not usable with the architecture." ^~~~~ In file included from /usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include/tm.h:36, from /usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include/backend.h:28, from /usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include/gcc-plugin.h:30, from annobin.h:27, from dummy.annobin.cc:16: /usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include/config/loongarch/loongarch.h:25:10: fatal error: config/vxworks-dummy.h: No such file or directory #include "config/vxworks-dummy.h" ^~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:465: dummy.annobin.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/annobin-9.23/gcc-plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include -I/usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include -O2 -g -c -o annobin.lo annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include -I/usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include -O2 -g -c annobin.cc -fPIC -DPIC -o .libs/annobin.o make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.23/gcc-plugin' In file included from /usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include/system.h:687, from /usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include/gcc-plugin.h:28, from annobin.h:27, from annobin.cc:16: /usr/include/gmp.h:85:2: error: #error "The gmp-devel package is not usable with the architecture." #error "The gmp-devel package is not usable with the architecture." ^~~~~ In file included from /usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include/tm.h:36, from /usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include/backend.h:28, from /usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include/gcc-plugin.h:30, from annobin.h:27, from annobin.cc:16: /usr/lib/gcc/loongarch64-redhat-linux-gnu/8/plugin/include/config/loongarch/loongarch.h:25:10: fatal error: config/vxworks-dummy.h: No such file or directory #include "config/vxworks-dummy.h" ^~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:465: annobin.lo] Error 1 make[1]: *** [Makefile:365: all] Error 2 RPM build errors: make: *** [Makefile:426: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.Z3YvSq (%build) Bad exit status from /var/tmp/rpm-tmp.Z3YvSq (%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 942469f7f4174766a4ee5c44f1893ab9 -D /var/lib/mock/dist-an8-loongarch64-build-64006-36098/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.4qg0crdn:/etc/resolv.conf --bind=/dev/btrfs-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 --target loongarch64 --nodeps /builddir/build/SPECS/annobin.spec