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/shim.spec'], chrootPath='/var/lib/mock/dist-an23-build-213010-61948/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/shim.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1675814400 Wrote: /builddir/build/SRPMS/shim-15.7-1.an23.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/shim.spec'], chrootPath='/var/lib/mock/dist-an23-build-213010-61948/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/shim.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1675814400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.R0vUux + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shim-15.7 + mkdir shim-15.7 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hD9ouU + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 shim-15.7 + '[' yes = yes ']' + pesign -i /builddir/build/SOURCES/shimia32.efi -h -P + read file0 hash0 + read file1 hash1 + '[' 318fc1aaad65432bd2ccbc1cef631aaaf0c597a3a91f0e2bd768d1a270f34d26 = 318fc1aaad65432bd2ccbc1cef631aaaf0c597a3a91f0e2bd768d1a270f34d26 ']' + cp /builddir/build/SOURCES/shimia32.efi shimia32.efi + '[' no = yes ']' + '[' yes = no ']' + cp -av /usr/share/shim/15.7-1.an23/ia32/mmia32.efi mmia32-unsigned.efi '/usr/share/shim/15.7-1.an23/ia32/mmia32.efi' -> 'mmia32-unsigned.efi' + /usr/libexec/pesign/pesign-rpmbuild-helper x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'OpenSC Card (Fedora Signer)' --client-cert '/CN=Fedora Secure Boot Signer' --cert 'Red Hat Test Certificate' --hostname iZ2ze8vdmdyl66lfybi1hzZ --vendor 'OpenAnolis Community' --rhelcert 'Red Hat Test Certificate' --in mmia32-unsigned.efi --out mmia32-signed.efi --sign + main x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'OpenSC Card (Fedora Signer)' --client-cert '/CN=Fedora Secure Boot Signer' --cert 'Red Hat Test Certificate' --hostname iZ2ze8vdmdyl66lfybi1hzZ --vendor 'OpenAnolis Community' --rhelcert 'Red Hat Test Certificate' --in mmia32-unsigned.efi --out mmia32-signed.efi --sign + [[ 20 -lt 3 ]] + local target_cpu=x86_64 + shift + local bin=/usr/bin/pesign + shift + local client=/usr/bin/pesign-client + shift + local rhelcafile= + local rhelcertfile= + certout=() + local certout + sattrout=() + local sattrout + input=() + local input + output=() + local output + client_token=() + local client_token + client_cert=() + local client_cert + token=() + local token + cert=() + local cert + rhelcert=() + local rhelcert + local rhelver=0 + local sign= + local arch= + local vendor= + local HOSTNAME= + [[ 17 -ge 2 ]] + case " ${1} " in + client_token[0]=-t + client_token[1]='OpenSC Card (Fedora Signer)' + shift + shift + [[ 15 -ge 2 ]] + case " ${1} " in + client_cert[0]=-c + client_cert[1]='/CN=Fedora Secure Boot Signer' + shift + shift + [[ 13 -ge 2 ]] + case " ${1} " in + cert[0]=-c + cert[1]='Red Hat Test Certificate' + shift + shift + [[ 11 -ge 2 ]] + case " ${1} " in + HOSTNAME=iZ2ze8vdmdyl66lfybi1hzZ + shift + shift + [[ 9 -ge 2 ]] + case " ${1} " in + vendor='OpenAnolis Community' + shift + shift + [[ 7 -ge 2 ]] + case " ${1} " in + rhelcert[0]=-c + rhelcert[1]='Red Hat Test Certificate' + shift + shift + [[ 5 -ge 2 ]] + case " ${1} " in + input[0]=-i + input[1]=mmia32-unsigned.efi + shift + shift + [[ 3 -ge 2 ]] + case " ${1} " in + output[0]=-o + output[1]=mmia32-signed.efi + shift + shift + [[ 1 -ge 2 ]] + [[ 1 -ge 1 ]] + [[ --sign = --sign ]] + sign=-s + shift + [[ 0 -ge 1 ]] + [[ -z x86_64 ]] + target_cpu=x86_64 + target_cpu=x64 + target_cpu=x64 + target_cpu=x64 + local nssdir=/etc/pki/pesign + [[ 2 -eq 2 ]] + [[ Red Hat Test Certificate == \R\e\d\ \H\a\t\ \T\e\s\t\ \C\e\r\t\i\f\i\c\a\t\e ]] + nssdir=/etc/pki/pesign-rh-test + [[ -x /usr/bin/pesign ]] + is_efi_arch x64 + local arch=x64 + arches=('aa64' 'ia32' 'x64') + local arches + local x + for x in "${arches[@]}" + [[ x64 = \a\a\6\4 ]] + for x in "${arches[@]}" + [[ x64 = \i\a\3\2 ]] + for x in "${arches[@]}" + [[ x64 = \x\6\4 ]] + return 0 ++ id -un + USERNAME=mockbuild + local socket= + grep -q ID=fedora /etc/os-release + [[ 0 -ge 7 ]] + [[ -n '' ]] + /usr/bin/pesign --certdir /etc/pki/pesign-rh-test -c 'Red Hat Test Certificate' -s -i mmia32-unsigned.efi -o mmia32-signed.efi + [[ 2 -eq 2 ]] + error_on_empty mmia32-signed.efi + local f=mmia32-signed.efi + [[ ! -s mmia32-signed.efi ]] + mv mmia32-signed.efi mmia32.efi + cp -av /usr/share/shim/15.7-1.an23/ia32/fbia32.efi fbia32-unsigned.efi '/usr/share/shim/15.7-1.an23/ia32/fbia32.efi' -> 'fbia32-unsigned.efi' + /usr/libexec/pesign/pesign-rpmbuild-helper x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'OpenSC Card (Fedora Signer)' --client-cert '/CN=Fedora Secure Boot Signer' --cert 'Red Hat Test Certificate' --hostname iZ2ze8vdmdyl66lfybi1hzZ --vendor 'OpenAnolis Community' --rhelcert 'Red Hat Test Certificate' --in fbia32-unsigned.efi --out fbia32-signed.efi --sign + main x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'OpenSC Card (Fedora Signer)' --client-cert '/CN=Fedora Secure Boot Signer' --cert 'Red Hat Test Certificate' --hostname iZ2ze8vdmdyl66lfybi1hzZ --vendor 'OpenAnolis Community' --rhelcert 'Red Hat Test Certificate' --in fbia32-unsigned.efi --out fbia32-signed.efi --sign + [[ 20 -lt 3 ]] + local target_cpu=x86_64 + shift + local bin=/usr/bin/pesign + shift + local client=/usr/bin/pesign-client + shift + local rhelcafile= + local rhelcertfile= + certout=() + local certout + sattrout=() + local sattrout + input=() + local input + output=() + local output + client_token=() + local client_token + client_cert=() + local client_cert + token=() + local token + cert=() + local cert + rhelcert=() + local rhelcert + local rhelver=0 + local sign= + local arch= + local vendor= + local HOSTNAME= + [[ 17 -ge 2 ]] + case " ${1} " in + client_token[0]=-t + client_token[1]='OpenSC Card (Fedora Signer)' + shift + shift + [[ 15 -ge 2 ]] + case " ${1} " in + client_cert[0]=-c + client_cert[1]='/CN=Fedora Secure Boot Signer' + shift + shift + [[ 13 -ge 2 ]] + case " ${1} " in + cert[0]=-c + cert[1]='Red Hat Test Certificate' + shift + shift + [[ 11 -ge 2 ]] + case " ${1} " in + HOSTNAME=iZ2ze8vdmdyl66lfybi1hzZ + shift + shift + [[ 9 -ge 2 ]] + case " ${1} " in + vendor='OpenAnolis Community' + shift + shift + [[ 7 -ge 2 ]] + case " ${1} " in + rhelcert[0]=-c + rhelcert[1]='Red Hat Test Certificate' + shift + shift + [[ 5 -ge 2 ]] + case " ${1} " in + input[0]=-i + input[1]=fbia32-unsigned.efi + shift + shift + [[ 3 -ge 2 ]] + case " ${1} " in + output[0]=-o + output[1]=fbia32-signed.efi + shift + shift + [[ 1 -ge 2 ]] + [[ 1 -ge 1 ]] + [[ --sign = --sign ]] + sign=-s + shift + [[ 0 -ge 1 ]] + [[ -z x86_64 ]] + target_cpu=x86_64 + target_cpu=x64 + target_cpu=x64 + target_cpu=x64 + local nssdir=/etc/pki/pesign + [[ 2 -eq 2 ]] + [[ Red Hat Test Certificate == \R\e\d\ \H\a\t\ \T\e\s\t\ \C\e\r\t\i\f\i\c\a\t\e ]] + nssdir=/etc/pki/pesign-rh-test + [[ -x /usr/bin/pesign ]] + is_efi_arch x64 + local arch=x64 + arches=('aa64' 'ia32' 'x64') + local arches + local x + for x in "${arches[@]}" + [[ x64 = \a\a\6\4 ]] + for x in "${arches[@]}" + [[ x64 = \i\a\3\2 ]] + for x in "${arches[@]}" + [[ x64 = \x\6\4 ]] + return 0 ++ id -un + USERNAME=mockbuild + local socket= + grep -q ID=fedora /etc/os-release + [[ 0 -ge 7 ]] + [[ -n '' ]] + /usr/bin/pesign --certdir /etc/pki/pesign-rh-test -c 'Red Hat Test Certificate' -s -i fbia32-unsigned.efi -o fbia32-signed.efi + [[ 2 -eq 2 ]] + error_on_empty fbia32-signed.efi + local f=fbia32-signed.efi + [[ ! -s fbia32-signed.efi ]] + mv fbia32-signed.efi fbia32.efi + rm -vf mmia32-unsigned.efi fbia32-unsigned.efi shimia32-unsigned.efi removed 'mmia32-unsigned.efi' removed 'fbia32-unsigned.efi' + '[' yes = yes ']' + pesign -i /builddir/build/SOURCES/shimx64.efi -h -P + read file0 hash0 + read file1 hash1 + '[' 25f6c1bda1747719655a47e5b14d0617c8f657c00e4024c36d92d8ce26a4e28e = 25f6c1bda1747719655a47e5b14d0617c8f657c00e4024c36d92d8ce26a4e28e ']' + cp /builddir/build/SOURCES/shimx64.efi shimx64.efi + '[' no = yes ']' + '[' yes = no ']' + cp -av /usr/share/shim/15.7-1.an23/x64/mmx64.efi mmx64-unsigned.efi '/usr/share/shim/15.7-1.an23/x64/mmx64.efi' -> 'mmx64-unsigned.efi' + /usr/libexec/pesign/pesign-rpmbuild-helper x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'OpenSC Card (Fedora Signer)' --client-cert '/CN=Fedora Secure Boot Signer' --cert 'Red Hat Test Certificate' --hostname iZ2ze8vdmdyl66lfybi1hzZ --vendor 'OpenAnolis Community' --rhelcert 'Red Hat Test Certificate' --in mmx64-unsigned.efi --out mmx64-signed.efi --sign + main x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'OpenSC Card (Fedora Signer)' --client-cert '/CN=Fedora Secure Boot Signer' --cert 'Red Hat Test Certificate' --hostname iZ2ze8vdmdyl66lfybi1hzZ --vendor 'OpenAnolis Community' --rhelcert 'Red Hat Test Certificate' --in mmx64-unsigned.efi --out mmx64-signed.efi --sign + [[ 20 -lt 3 ]] + local target_cpu=x86_64 + shift + local bin=/usr/bin/pesign + shift + local client=/usr/bin/pesign-client + shift + local rhelcafile= + local rhelcertfile= + certout=() + local certout + sattrout=() + local sattrout + input=() + local input + output=() + local output + client_token=() + local client_token + client_cert=() + local client_cert + token=() + local token + cert=() + local cert + rhelcert=() + local rhelcert + local rhelver=0 + local sign= + local arch= + local vendor= + local HOSTNAME= + [[ 17 -ge 2 ]] + case " ${1} " in + client_token[0]=-t + client_token[1]='OpenSC Card (Fedora Signer)' + shift + shift + [[ 15 -ge 2 ]] + case " ${1} " in + client_cert[0]=-c + client_cert[1]='/CN=Fedora Secure Boot Signer' + shift + shift + [[ 13 -ge 2 ]] + case " ${1} " in + cert[0]=-c + cert[1]='Red Hat Test Certificate' + shift + shift + [[ 11 -ge 2 ]] + case " ${1} " in + HOSTNAME=iZ2ze8vdmdyl66lfybi1hzZ + shift + shift + [[ 9 -ge 2 ]] + case " ${1} " in + vendor='OpenAnolis Community' + shift + shift + [[ 7 -ge 2 ]] + case " ${1} " in + rhelcert[0]=-c + rhelcert[1]='Red Hat Test Certificate' + shift + shift + [[ 5 -ge 2 ]] + case " ${1} " in + input[0]=-i + input[1]=mmx64-unsigned.efi + shift + shift + [[ 3 -ge 2 ]] + case " ${1} " in + output[0]=-o + output[1]=mmx64-signed.efi + shift + shift + [[ 1 -ge 2 ]] + [[ 1 -ge 1 ]] + [[ --sign = --sign ]] + sign=-s + shift + [[ 0 -ge 1 ]] + [[ -z x86_64 ]] + target_cpu=x86_64 + target_cpu=x64 + target_cpu=x64 + target_cpu=x64 + local nssdir=/etc/pki/pesign + [[ 2 -eq 2 ]] + [[ Red Hat Test Certificate == \R\e\d\ \H\a\t\ \T\e\s\t\ \C\e\r\t\i\f\i\c\a\t\e ]] + nssdir=/etc/pki/pesign-rh-test + [[ -x /usr/bin/pesign ]] + is_efi_arch x64 + local arch=x64 + arches=('aa64' 'ia32' 'x64') + local arches + local x + for x in "${arches[@]}" + [[ x64 = \a\a\6\4 ]] + for x in "${arches[@]}" + [[ x64 = \i\a\3\2 ]] + for x in "${arches[@]}" + [[ x64 = \x\6\4 ]] + return 0 ++ id -un + USERNAME=mockbuild + local socket= + grep -q ID=fedora /etc/os-release + [[ 0 -ge 7 ]] + [[ -n '' ]] + /usr/bin/pesign --certdir /etc/pki/pesign-rh-test -c 'Red Hat Test Certificate' -s -i mmx64-unsigned.efi -o mmx64-signed.efi + [[ 2 -eq 2 ]] + error_on_empty mmx64-signed.efi + local f=mmx64-signed.efi + [[ ! -s mmx64-signed.efi ]] + mv mmx64-signed.efi mmx64.efi + cp -av /usr/share/shim/15.7-1.an23/x64/fbx64.efi fbx64-unsigned.efi '/usr/share/shim/15.7-1.an23/x64/fbx64.efi' -> 'fbx64-unsigned.efi' + /usr/libexec/pesign/pesign-rpmbuild-helper x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'OpenSC Card (Fedora Signer)' --client-cert '/CN=Fedora Secure Boot Signer' --cert 'Red Hat Test Certificate' --hostname iZ2ze8vdmdyl66lfybi1hzZ --vendor 'OpenAnolis Community' --rhelcert 'Red Hat Test Certificate' --in fbx64-unsigned.efi --out fbx64-signed.efi --sign + main x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'OpenSC Card (Fedora Signer)' --client-cert '/CN=Fedora Secure Boot Signer' --cert 'Red Hat Test Certificate' --hostname iZ2ze8vdmdyl66lfybi1hzZ --vendor 'OpenAnolis Community' --rhelcert 'Red Hat Test Certificate' --in fbx64-unsigned.efi --out fbx64-signed.efi --sign + [[ 20 -lt 3 ]] + local target_cpu=x86_64 + shift + local bin=/usr/bin/pesign + shift + local client=/usr/bin/pesign-client + shift + local rhelcafile= + local rhelcertfile= + certout=() + local certout + sattrout=() + local sattrout + input=() + local input + output=() + local output + client_token=() + local client_token + client_cert=() + local client_cert + token=() + local token + cert=() + local cert + rhelcert=() + local rhelcert + local rhelver=0 + local sign= + local arch= + local vendor= + local HOSTNAME= + [[ 17 -ge 2 ]] + case " ${1} " in + client_token[0]=-t + client_token[1]='OpenSC Card (Fedora Signer)' + shift + shift + [[ 15 -ge 2 ]] + case " ${1} " in + client_cert[0]=-c + client_cert[1]='/CN=Fedora Secure Boot Signer' + shift + shift + [[ 13 -ge 2 ]] + case " ${1} " in + cert[0]=-c + cert[1]='Red Hat Test Certificate' + shift + shift + [[ 11 -ge 2 ]] + case " ${1} " in + HOSTNAME=iZ2ze8vdmdyl66lfybi1hzZ + shift + shift + [[ 9 -ge 2 ]] + case " ${1} " in + vendor='OpenAnolis Community' + shift + shift + [[ 7 -ge 2 ]] + case " ${1} " in + rhelcert[0]=-c + rhelcert[1]='Red Hat Test Certificate' + shift + shift + [[ 5 -ge 2 ]] + case " ${1} " in + input[0]=-i + input[1]=fbx64-unsigned.efi + shift + shift + [[ 3 -ge 2 ]] + case " ${1} " in + output[0]=-o + output[1]=fbx64-signed.efi + shift + shift + [[ 1 -ge 2 ]] + [[ 1 -ge 1 ]] + [[ --sign = --sign ]] + sign=-s + shift + [[ 0 -ge 1 ]] + [[ -z x86_64 ]] + target_cpu=x86_64 + target_cpu=x64 + target_cpu=x64 + target_cpu=x64 + local nssdir=/etc/pki/pesign + [[ 2 -eq 2 ]] + [[ Red Hat Test Certificate == \R\e\d\ \H\a\t\ \T\e\s\t\ \C\e\r\t\i\f\i\c\a\t\e ]] + nssdir=/etc/pki/pesign-rh-test + [[ -x /usr/bin/pesign ]] + is_efi_arch x64 + local arch=x64 + arches=('aa64' 'ia32' 'x64') + local arches + local x + for x in "${arches[@]}" + [[ x64 = \a\a\6\4 ]] + for x in "${arches[@]}" + [[ x64 = \i\a\3\2 ]] + for x in "${arches[@]}" + [[ x64 = \x\6\4 ]] + return 0 ++ id -un + USERNAME=mockbuild + local socket= + grep -q ID=fedora /etc/os-release + [[ 0 -ge 7 ]] + [[ -n '' ]] + /usr/bin/pesign --certdir /etc/pki/pesign-rh-test -c 'Red Hat Test Certificate' -s -i fbx64-unsigned.efi -o fbx64-signed.efi + [[ 2 -eq 2 ]] + error_on_empty fbx64-signed.efi + local f=fbx64-signed.efi + [[ ! -s fbx64-signed.efi ]] + mv fbx64-signed.efi fbx64.efi + rm -vf mmx64-unsigned.efi fbx64-unsigned.efi shimx64-unsigned.efi removed 'mmx64-unsigned.efi' removed 'fbx64-unsigned.efi' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.D5wnId + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 + rm -rf /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64 + cd shim-15.7 + install -D -d -m 0755 /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/ + install -D -d -m 0700 /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/ + install -D -d -m 0700 /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/ + install -D -d -m 0700 /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/anolis/ + install -D -d -m 0700 /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/BOOT/ + install -m 0700 shimx64.efi /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/anolis/shimx64.efi + install -m 0700 mmx64.efi /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/anolis/mmx64.efi + install -m 0700 /builddir/build/SOURCES/BOOTX64.CSV /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/anolis/BOOTX64.CSV + install -m 0700 shimx64.efi /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/BOOT/BOOTX64.EFI + install -m 0700 fbx64.efi /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/BOOT/fbx64.efi + install -m 0700 shimia32.efi /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/anolis/shimia32.efi + install -m 0700 mmia32.efi /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/anolis/mmia32.efi + install -m 0700 /builddir/build/SOURCES/BOOTIA32.CSV /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/anolis/BOOTIA32.CSV + install -m 0700 shimia32.efi /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/BOOT/BOOTIA32.EFI + install -m 0700 fbia32.efi /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/BOOT/fbia32.efi + install -m 0700 /builddir/build/SOURCES/shimx64.efi /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/boot/efi/EFI/anolis/shim.efi + install -D -d -m 0755 /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/etc/dnf/protected.d/ + install -m 0644 /builddir/build/SOURCES/shim.conf /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64/etc/dnf/protected.d/ + cd /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64 + find ./boot/efi -type f + sed -e 's/\./\^/' -e 's,^\\\./,.*/,' -e 's,$,$,' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs --files-from /builddir/build/BUILD/shim-x64-15.7-1.an23.x86_64-shebangs.txt + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/relink_symlinks + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: shim-x64-15.7-1.an23.x86_64 Provides: bundled(openssl) = 1.0.2j shim = 15.7-1.an23 shim-signed = 15.7-1.an23 shim-signed-x64 = 15.7-1.an23 shim-x64 = 15.7-1.an23 shim-x64(x86-64) = 15.7-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: fwupd < 1.5.8 grub2-efi-x64 < 2.06~rc1 Obsoletes: shim < 15.7-1.an23 shim-signed < 15.7-1.an23 Processing files: shim-ia32-15.7-1.an23.x86_64 Provides: bundled(openssl) = 1.0.2j shim-ia32 = 15.7-1.an23 shim-ia32(x86-64) = 15.7-1.an23 shim-signed-ia32 = 15.7-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: fwupd < 1.5.8 grub2-efi-ia32 < 2.06~rc1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/shim-15.7-1.an23.x86_64 Wrote: /builddir/build/RPMS/shim-ia32-15.7-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/shim-x64-15.7-1.an23.x86_64.rpm Child return code was: 0