Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/grubby.spec'], chrootPath='/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-472453-74119/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/grubby.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1716336000 Wrote: /builddir/build/SRPMS/grubby-8.40-44.an23_rva23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/grubby.spec'], chrootPath='/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-472453-74119/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/grubby.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1716336000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5uSMk7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf grubby-8.40-1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grubby-8.40-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd grubby-8.40-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Fix-GCC-warnings-about-possible-string-truncations-a.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Fix-stringop-overflow-warning.patch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-Fix-maybe-uninitialized-warning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-Use-system-LDFLAGS.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0006-Honor-sbindir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0007-Make-installkernel-to-use-kernel-install-scripts-on-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0008-Add-usr-libexec-rpm-sort.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0009-Fix-build-with-rpm-4.16.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1000-grubby-support-anolis.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4QG5Ny + 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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' + 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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -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 grubby-8.40-1 + /usr/bin/make -O -j64 V=1 VERBOSE=1 gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb -DVERSION='"8.40"' -c -o log.o log.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb -DVERSION='"8.40"' -c -o rpm-sort.o rpm-sort.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb -DVERSION='"8.40"' -c -o grubby.o grubby.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb -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 -o rpm-sort rpm-sort.o -lrpmio gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb -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 -o grubby grubby.o log.o -lblkid -lpopt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YQdlBT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64 ++ dirname /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64 + 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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' + 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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -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 grubby-8.40-1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64 'INSTALL=/usr/bin/install -p' mandir=/usr/share/man sbindir=/usr/sbin libexecdir=/usr/libexec mkdir -p /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/sbin mkdir -p /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64//usr/share/man/man8 install -m 755 new-kernel-pkg /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/sbin install -m 644 new-kernel-pkg.8 /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64//usr/share/man/man8 install -m 755 installkernel /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/sbin install -m 644 installkernel.8 /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64//usr/share/man/man8 if [ -f grubby ]; then \ install -m 755 grubby /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/sbin ; \ install -m 644 grubby.8 /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64//usr/share/man/man8 ; \ fi install -m 755 -d /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/libexec/grubby/ install -m 755 rpm-sort /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/libexec/grubby/rpm-sort + mkdir -p /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/libexec/grubby/ /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/libexec/installkernel/ /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/sbin/ + mv -v /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/sbin/grubby /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/libexec/grubby/grubby renamed '/builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/sbin/grubby' -> '/builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/libexec/grubby/grubby' + mv -v /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/sbin/installkernel /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/libexec/installkernel/installkernel renamed '/builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/sbin/installkernel' -> '/builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/libexec/installkernel/installkernel' + install -m 0755 /builddir/build/SOURCES/grubby-bls /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/libexec/grubby/ + install -m 0755 /builddir/build/SOURCES/installkernel-bls /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/libexec/installkernel/ + sed -e s,@@LIBEXECDIR@@,/usr/libexec/grubby,g /builddir/build/SOURCES/grubby.in + sed -e s,@@LIBEXECDIR@@,/usr/libexec/installkernel,g /builddir/build/SOURCES/installkernel.in + install -D -m 0755 -t /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/lib/kernel/install.d/ /builddir/build/SOURCES/95-kernel-hooks.install + install -D -m 0755 -t /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/lib/kernel/install.d/ /builddir/build/SOURCES/10-devicetree.install + rm /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/share/man/man8/grubby.8 + install -m 0644 /builddir/build/SOURCES/grubby.8 /builddir/build/BUILDROOT/grubby-8.40-44.an23_rva23.riscv64/usr/share/man/man8/ + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 8.40-44.an23_rva23 --unique-debug-suffix -8.40-44.an23_rva23.riscv64 --unique-debug-src-base grubby-8.40-44.an23_rva23.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/grubby-8.40-1 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/grubby-8.40-44.an23_rva23.riscv64 find-debuginfo: done + /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/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 mangling shebang in /usr/sbin/new-kernel-pkg from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/grubby/grubby-bls from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/installkernel/installkernel-bls from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/installkernel/installkernel from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/lib/kernel/install.d/10-devicetree.install from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 -j64 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ca2CwB + 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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' + 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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -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 grubby-8.40-1 + make test ./test.sh: line 196: eliloTest: command not found ./test.sh: line 196: eliloTest: command not found ./test.sh: line 196: extlinuxTest: command not found ./test.sh: line 196: extlinuxTest: command not found ./test.sh: line 196: extlinuxTest: command not found ./test.sh: line 196: extlinuxTest: command not found ./test.sh: line 196: extlinuxTest: command not found ./test.sh: line 196: extlinuxTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grubTest: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: grub2Test: command not found ./test.sh: line 196: liloTest: command not found ./test.sh: line 196: liloTest: command not found ./test.sh: line 196: liloTest: command not found ./test.sh: line 196: liloTest: command not found ./test.sh: line 196: liloTest: command not found ./test.sh: line 196: liloTest: command not found ./test.sh: line 196: liloTest: command not found ./test.sh: line 196: yabootTest: command not found ./test.sh: line 196: yabootTest: command not found ./test.sh: line 196: yabootTest: command not found ./test.sh: line 196: ziplTest: command not found Permission preservation ... --elilo FAIL (grubby returned non-zero) ./test.sh: line 201: 2583929 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c ${b}-test Permission preservation ... --extlinux FAIL (grubby returned non-zero) ./test.sh: line 201: 2584025 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c ${b}-test Permission preservation ... --grub ./test.sh: line 201: 2584129 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c ${b}-test FAIL (grubby returned non-zero) Permission preservation ... --grub2 FAIL (grubby returned non-zero) ./test.sh: line 201: 2584216 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c ${b}-test Permission preservation ... --lilo FAIL (grubby returned non-zero) ./test.sh: line 201: 2584316 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c ${b}-test Permission preservation ... --yaboot FAIL (grubby returned non-zero) ./test.sh: line 201: 2584440 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c ${b}-test Permission preservation ... --zipl ./test.sh: line 201: 2584565 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c ${b}-test FAIL (grubby returned non-zero) Following symlinks ... --elilo failed (grubby returned non-zero) ./test.sh: line 232: 2584659 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c mytest Following symlinks ... --extlinux failed (grubby returned non-zero) ./test.sh: line 232: 2584778 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c mytest Following symlinks ... --grub failed (grubby returned non-zero) ./test.sh: line 232: 2584881 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c mytest Following symlinks ... --grub2 failed (grubby returned non-zero) ./test.sh: line 232: 2584905 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c mytest Following symlinks ... --lilo ./test.sh: line 232: 2584936 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c mytest failed (grubby returned non-zero) Following symlinks ... --yaboot ./test.sh: line 232: 2584998 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c mytest failed (grubby returned non-zero) Following symlinks ... --zipl failed (grubby returned non-zero) ./test.sh: line 232: 2585089 Illegal instruction (core dumped) ./grubby --${b} --add-kernel bar --title title -c mytest ./test.sh: line 259: grubTest: command not found ./test.sh: line 260: grubTest: command not found ./test.sh: line 261: grubTest: command not found ./test.sh: line 262: grubTest: command not found ./test.sh: line 263: grubTest: command not found ./test.sh: line 264: grubTest: command not found ./test.sh: line 265: grubTest: command not found ./test.sh: line 268: grubTest: command not found ./test.sh: line 269: grubTest: command not found ./test.sh: line 270: grubTest: command not found ./test.sh: line 273: grubTest: command not found ./test.sh: line 276: grubDisplayTest: command not found ./test.sh: line 277: grubDisplayTest: command not found ./test.sh: line 278: grubDisplayTest: command not found ./test.sh: line 279: grubDisplayTest: command not found ./test.sh: line 280: grubDisplayTest: command not found ./test.sh: line 281: grubDisplayTest: command not found ./test.sh: line 282: grubDisplayTest: command not found ./test.sh: line 283: grubDisplayTest: command not found ./test.sh: line 284: grubDisplayTest: command not found ./test.sh: line 285: grubDisplayTest: command not found ./test.sh: line 286: grubDisplayTest: command not found ./test.sh: line 289: grubDisplayTest: command not found ./test.sh: line 290: grubDisplayTest: command not found ./test.sh: line 291: grubDisplayTest: command not found ./test.sh: line 292: grubDisplayTest: command not found ./test.sh: line 293: grubDisplayTest: command not found ./test.sh: line 294: grubDisplayTest: command not found ./test.sh: line 295: grubDisplayTest: command not found ./test.sh: line 296: grubDisplayTest: command not found ./test.sh: line 297: grubDisplayTest: command not found ./test.sh: line 298: grubDisplayTest: command not found ./test.sh: line 299: grubDisplayTest: command not found ./test.sh: line 302: liloTest: command not found ./test.sh: line 303: liloTest: command not found ./test.sh: line 304: liloTest: command not found ./test.sh: line 306: liloTest: command not found ./test.sh: line 310: ziplTest: command not found ./test.sh: line 311: ziplTest: command not found ./test.sh: line 314: grubTest: command not found ./test.sh: line 316: grubTest: command not found ./test.sh: line 318: grubTest: command not found ./test.sh: line 323: extlinuxTest: command not found ./test.sh: line 324: extlinuxTest: command not found ./test.sh: line 325: extlinuxTest: command not found ./test.sh: line 326: extlinuxTest: command not found ./test.sh: line 329: grubTest: command not found ./test.sh: line 331: grubTest: command not found ./test.sh: line 335: extlinuxTest: command not found ./test.sh: line 337: extlinuxTest: command not found ./test.sh: line 341: grubTest: command not found ./test.sh: line 343: grubTest: command not found ./test.sh: line 345: grubTest: command not found ./test.sh: line 349: yabootTest: command not found ./test.sh: line 350: yabootTest: command not found ./test.sh: line 351: yabootTest: command not found ./test.sh: line 354: ziplTest: command not found ./test.sh: line 355: ziplTest: command not found ./test.sh: line 358: extlinuxTest: command not found ./test.sh: line 360: extlinuxTest: command not found ./test.sh: line 364: grubTest: command not found ./test.sh: line 365: grubTest: command not found ./test.sh: line 367: grubTest: command not found ./test.sh: line 368: grubTest: command not found ./test.sh: line 370: grubTest: command not found ./test.sh: line 372: grubTest: command not found ./test.sh: line 373: grubTest: command not found ./test.sh: line 374: grubTest: command not found ./test.sh: line 375: grubTest: command not found ./test.sh: line 377: grubTest: command not found ./test.sh: line 379: grubTest: command not found ./test.sh: line 381: grubTest: command not found ./test.sh: line 384: grubTest: command not found ./test.sh: line 386: grubTest: command not found ./test.sh: line 389: grubTest: command not found ./test.sh: line 394: grubTest: command not found ./test.sh: line 400: liloTest: command not found ./test.sh: line 402: liloTest: command not found ./test.sh: line 404: liloTest: command not found ./test.sh: line 405: liloTest: command not found ./test.sh: line 406: liloTest: command not found ./test.sh: line 407: liloTest: command not found ./test.sh: line 408: liloTest: command not found ./test.sh: line 410: liloTest: command not found ./test.sh: line 414: extlinuxTest: command not found ./test.sh: line 415: extlinuxTest: command not found ./test.sh: line 417: extlinuxTest: command not found ./test.sh: line 418: extlinuxTest: command not found ./test.sh: line 420: extlinuxTest: command not found ./test.sh: line 422: extlinuxTest: command not found ./test.sh: line 423: extlinuxTest: command not found ./test.sh: line 424: extlinuxTest: command not found ./test.sh: line 425: extlinuxTest: command not found ./test.sh: line 427: extlinuxTest: command not found ./test.sh: line 429: extlinuxTest: command not found ./test.sh: line 431: extlinuxTest: command not found ./test.sh: line 434: extlinuxTest: command not found ./test.sh: line 438: liloTest: command not found ./test.sh: line 440: liloTest: command not found ./test.sh: line 442: liloTest: command not found ./test.sh: line 444: liloTest: command not found ./test.sh: line 446: liloTest: command not found ./test.sh: line 448: liloTest: command not found ./test.sh: line 453: grubTest: command not found ./test.sh: line 455: grubTest: command not found ./test.sh: line 457: grubTest: command not found ./test.sh: line 459: grubTest: command not found ./test.sh: line 461: grubTest: command not found ./test.sh: line 463: grubTest: command not found ./test.sh: line 465: grubTest: command not found ./test.sh: line 469: grubTest: command not found ./test.sh: line 471: grubTest: command not found ./test.sh: line 474: grubTest: command not found ./test.sh: line 636: yabootTest: command not found ./test.sh: line 638: yabootTest: command not found ./test.sh: line 641: yabootTest: command not found ./test.sh: line 644: ziplTest: command not found ./test.sh: line 645: ziplTest: command not found ./test.sh: line 648: extlinuxTest: command not found ./test.sh: line 650: extlinuxTest: command not found ./test.sh: line 652: extlinuxTest: command not found ./test.sh: line 655: extlinuxTest: command not found ./test.sh: line 658: extlinuxTest: command not found ./test.sh: line 664: extlinuxTest: command not found ./test.sh: line 671: extlinuxTest: command not found ./test.sh: line 680: liloTest: command not found ./test.sh: line 682: liloTest: command not found ./test.sh: line 684: liloTest: command not found ./test.sh: line 688: eliloTest: command not found ./test.sh: line 692: grubTest: command not found ./test.sh: line 696: grubTest: command not found ./test.sh: line 700: grubTest: command not found ./test.sh: line 704: grubTest: command not found ./test.sh: line 708: grubTest: command not found ./test.sh: line 711: grubTest: command not found ./test.sh: line 716: grubTest: command not found ./test.sh: line 718: grubTest: command not found ./test.sh: line 720: grubTest: command not found ./test.sh: line 724: eliloTest: command not found ./test.sh: line 728: eliloTest: command not found ./test.sh: line 734: eliloTest: command not found ./test.sh: line 736: eliloTest: command not found ./test.sh: line 738: eliloTest: command not found 0 (0%) tests passed, 14 (100%) tests failed make: *** [Makefile:42: test] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.ca2CwB (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ca2CwB (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/grubby.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/grubby.spec