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/efibootmgr.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-only-build-40472-20451/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/efibootmgr.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/efibootmgr-16-1.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/efibootmgr.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-only-build-40472-20451/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/efibootmgr.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.zDg2QA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf efibootmgr-16 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/efibootmgr-16.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd efibootmgr-16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + git init Initialized empty Git repository in /builddir/build/BUILD/efibootmgr-16/.git/ + git config user.email example@example.com + git config user.name 'RHEL Ninjas' + git add . + git commit -a -q -m '16 baseline.' + git am /builddir/build/SOURCES/0001-efibootmgr-anolis-del-gcc-flags-Werror.patch Applying: efibootmgr anolis del gcc flags Werror + git config --unset user.email + git config --unset user.name + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8LBZHK + umask 022 + cd /builddir/build/BUILD + cd efibootmgr-16 + make -j4 'CFLAGS=-O2 -g' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' EFIDIR=anolis Building with EFIDIR as anolis make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' make -f /builddir/build/BUILD/efibootmgr-16/Make.deps deps SOURCES="efibootmgr.c efi.c unparse_path.c" SUBDIR_CFLAGS="-I/builddir/build/BUILD/efibootmgr-16/src/include" make[2]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' gcc -O2 -g -I/builddir/build/BUILD/efibootmgr-16/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -MM -MG -MF .efibootmgr.d efibootmgr.c gcc -O2 -g -I/builddir/build/BUILD/efibootmgr-16/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -MM -MG -MF .efi.d efi.c gcc -O2 -g -I/builddir/build/BUILD/efibootmgr-16/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -MM -MG -MF .unparse_path.d unparse_path.c make[2]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' make -f /builddir/build/BUILD/efibootmgr-16/Make.deps deps SOURCES="efibootmgr.c efi.c unparse_path.c" SUBDIR_CFLAGS="-I/builddir/build/BUILD/efibootmgr-16/src/include" gcc -O2 -g -I/builddir/build/BUILD/efibootmgr-16/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -c -o efibootmgr.o efibootmgr.c make[2]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' make[2]: Nothing to be done for 'deps'. make[2]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' gcc -O2 -g -I/builddir/build/BUILD/efibootmgr-16/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -c -o efi.o efi.c gcc -O2 -g -I/builddir/build/BUILD/efibootmgr-16/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -c -o unparse_path.o unparse_path.c gcc -O2 -g -I/builddir/build/BUILD/efibootmgr-16/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -c -o efibootdump.o efibootdump.c efibootmgr.c: In function 'show_vars': efibootmgr.c:944:34: warning: pointer targets in passing argument 1 of 'efidp_format_device_path' differ in signedness [-Wpointer-sign] rc = efidp_format_device_path(text_path, text_path_len, ^~~~~~~~~ In file included from /usr/include/efivar/efivar.h:258, from efibootmgr.c:47: /usr/include/efivar/efivar-dp.h:1247:16: note: expected 'unsigned char *' but argument is of type 'char *' extern ssize_t efidp_format_device_path(unsigned char *buf, size_t size, ^~~~~~~~~~~~~~~~~~~~~~~~ efibootdump.c: In function 'print_boot_entry': efibootdump.c:70:32: warning: pointer targets in passing argument 1 of 'efidp_format_device_path' differ in signedness [-Wpointer-sign] rc = efidp_format_device_path(text_path, text_path_len, ^~~~~~~~~ In file included from /usr/include/efivar/efivar.h:258, from /usr/include/efivar/efiboot.h:33, from efibootdump.c:12: /usr/include/efivar/efivar-dp.h:1247:16: note: expected 'unsigned char *' but argument is of type 'char *' extern ssize_t efidp_format_device_path(unsigned char *buf, size_t size, ^~~~~~~~~~~~~~~~~~~~~~~~ efibootmgr.c:955:34: warning: pointer targets in passing argument 1 of 'efidp_format_device_path' differ in signedness [-Wpointer-sign] rc = efidp_format_device_path(text_path, text_path_len, ^~~~~~~~~ In file included from /usr/include/efivar/efivar.h:258, from efibootmgr.c:47: /usr/include/efivar/efivar-dp.h:1247:16: note: expected 'unsigned char *' but argument is of type 'char *' extern ssize_t efidp_format_device_path(unsigned char *buf, size_t size, ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -I/builddir/build/BUILD/efibootmgr-16/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fno-merge-constants -Wl,--fatal-warnings,--no-allow-shlib-undefined -Wl,-O2 -Wl,--no-undefined-version -o efibootdump efibootdump.o unparse_path.o -lefivar -lefiboot -lpopt gcc -O2 -g -I/builddir/build/BUILD/efibootmgr-16/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fno-merge-constants -Wl,--fatal-warnings,--no-allow-shlib-undefined -Wl,-O2 -Wl,--no-undefined-version -o efibootmgr efibootmgr.o efi.o unparse_path.o -lefivar -lefiboot make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cCTCDU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64 + cd efibootmgr-16 + rm -rf /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64 'INSTALL=/usr/bin/install -p' EFIDIR=anolis libdir=/usr/lib64 bindir=/usr/bin mandir=/usr/share/man localedir=/usr/share/locale/ includedir=/usr/include libexecdir=/usr/libexec datadir=/usr/share Building with EFIDIR as anolis make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64//usr/sbin/ /usr/bin/install -p -m 755 efibootmgr /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64//usr/sbin/efibootmgr /usr/bin/install -p -m 755 efibootdump /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64//usr/sbin/efibootdump /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64//usr/share/man/man8/ /usr/bin/install -p -m 644 efibootmgr.8 /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64//usr/share/man/man8/efibootmgr.8 /usr/bin/install -p -m 644 efibootdump.8 /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64//usr/share/man/man8/efibootdump.8 make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 16-1.0.1.an8 --unique-debug-suffix -16-1.0.1.an8.loongarch64 --unique-debug-src-base efibootmgr-16-1.0.1.an8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/efibootmgr-16 extracting debug info from /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64/usr/sbin/efibootdump extracting debug info from /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64/usr/sbin/efibootmgr /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 149 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: efibootmgr-16-1.0.1.an8.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rfsOA4 + umask 022 + cd /builddir/build/BUILD + cd efibootmgr-16 + DOCDIR=/builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64/usr/share/doc/efibootmgr + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64/usr/share/doc/efibootmgr + cp -pr README /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64/usr/share/doc/efibootmgr + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.EPHYxe + umask 022 + cd /builddir/build/BUILD + cd efibootmgr-16 + LICENSEDIR=/builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64/usr/share/licenses/efibootmgr + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64/usr/share/licenses/efibootmgr + cp -pr COPYING /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64/usr/share/licenses/efibootmgr + exit 0 Provides: efibootmgr = 16-1.0.1.an8 efibootmgr(loongarch-64) = 16-1.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libefiboot.so.1()(64bit) libefiboot.so.1(libefiboot.so.0)(64bit) libefivar.so.1()(64bit) libefivar.so.1(LIBEFIVAR_0.24)(64bit) libefivar.so.1(LIBEFIVAR_1.30)(64bit) libefivar.so.1(libefivar.so.0)(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) rtld(GNU_HASH) Conflicts: elilo <= 3.6-6 Obsoletes: elilo <= 3.6-6 Processing files: efibootmgr-debugsource-16-1.0.1.an8.loongarch64 Provides: efibootmgr-debugsource = 16-1.0.1.an8 efibootmgr-debugsource(loongarch-64) = 16-1.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: efibootmgr-debuginfo-16-1.0.1.an8.loongarch64 Provides: debuginfo(build-id) = 755d8f4f7f560262a42f1cc97bab54818b3956dc debuginfo(build-id) = e80ab4efe9d0a7f9f37e197c2d7a16ed66aa161c efibootmgr-debuginfo = 16-1.0.1.an8 efibootmgr-debuginfo(loongarch-64) = 16-1.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: efibootmgr-debugsource(loongarch-64) = 16-1.0.1.an8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64 Wrote: /builddir/build/RPMS/efibootmgr-16-1.0.1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/efibootmgr-debugsource-16-1.0.1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/efibootmgr-debuginfo-16-1.0.1.an8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Jl9cwo + umask 022 + cd /builddir/build/BUILD + cd efibootmgr-16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/efibootmgr-16-1.0.1.an8.loongarch64 + exit 0 Child return code was: 0