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/fwupdate.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-158809-58484/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/fwupdate.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/fwupdate-11-3.0.1.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/fwupdate.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-158809-58484/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/fwupdate.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XdlaA8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fwupdate-11 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/fwupdate-11.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fwupdate-11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + git init Initialized empty Git repository in /builddir/build/BUILD/fwupdate-11/.git/ + git config user.email fwupdate-owner@fedoraproject.org + git config user.name 'Fedora Ninjas' + git add . + mkdir 'build-%{efiarch}' + git commit -a -q -m '11 baseline.' + git am /builddir/build/SOURCES/Fix-dependency-chain-for-a-parallel-make-issue.patch /builddir/build/SOURCES/1001-uefi-Disable-Wno-address-of-packed-member.patch /builddir/build/SOURCES/9000-add-loongarch64-libdir-judgement.patch Applying: Fix dependency chain for a parallel make issue Applying: uefi: Disable -Wno-address-of-packed-member Applying: Add loongarch64 lib dir judgement + git config --unset user.email + git config --unset user.name + git config fwupdate.efidir anolis + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VHCAQS + umask 022 + cd /builddir/build/BUILD + cd fwupdate-11 + cd 'build-%{efiarch}' + make TOPDIR=.. -f ../Makefile 'OPT_FLAGS=-O2 -g' libdir=/usr/lib64 bindir=/usr/bin EFIDIR=anolis -j4 Building with EFIDIR as anolis make[1]: Entering directory '/builddir/build/BUILD/fwupdate-11/build-%{efiarch}/efi' gcc -Og -g3 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wno-address-of-packed-member -fpic -Werror -Wall -Wextra -fshort-wchar -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_loongarch64 -I/usr/include/efi/ -I/usr/include/efi/loongarch64/ -iquote/builddir/build/BUILD/fwupdate-11/include "-DDEBUGDIR=L\"/\"" -c -o fakeesrt2.o /builddir/build/BUILD/fwupdate-11/efi/fakeesrt2.c gcc -Og -g3 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wno-address-of-packed-member -fpic -Werror -Wall -Wextra -fshort-wchar -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_loongarch64 -I/usr/include/efi/ -I/usr/include/efi/loongarch64/ -iquote/builddir/build/BUILD/fwupdate-11/include "-DDEBUGDIR=L\"/\"" -c -o fakeesrt.o /builddir/build/BUILD/fwupdate-11/efi/fakeesrt.c gcc -Og -g3 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wno-address-of-packed-member -fpic -Werror -Wall -Wextra -fshort-wchar -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_loongarch64 -I/usr/include/efi/ -I/usr/include/efi/loongarch64/ -iquote/builddir/build/BUILD/fwupdate-11/include "-DDEBUGDIR=L\"/\"" -c -o dumpesrt.o /builddir/build/BUILD/fwupdate-11/efi/dumpesrt.c ln -f fwupdate.so make[1]: Circular fwupdate.so <- fwupdate.so dependency dropped. ln: failed to access 'fwupdate.so': No such file or directory make[1]: *** [/builddir/build/BUILD/fwupdate-11/efi/Makefile:79: fwupdate.so] Error 1 make[1]: *** Waiting for unfinished jobs.... rm fakeesrt2.o fakeesrt.o dumpesrt.o make[1]: Leaving directory '/builddir/build/BUILD/fwupdate-11/build-%{efiarch}/efi' make: *** [../Makefile:16: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.VHCAQS (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VHCAQS (%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: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/fwupdate.spec