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 loongarch64 --nodeps /builddir/build/SPECS/greenboot.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-142218-9720/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/greenboot.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/greenboot-0.15.4-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/greenboot.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-142218-9720/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/greenboot.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.3jIoKo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf greenboot-0.15.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.15.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd greenboot-0.15.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.q2Jdmn + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 greenboot-0.15.4 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9Kqvgu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64 + cd greenboot-0.15.4 + mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/motd.d/ + mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/libexec/greenboot + mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/etc/greenboot/check/required.d + mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/etc/greenboot/check/wanted.d + mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/etc/greenboot/green.d + mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/etc/greenboot/red.d + mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/greenboot/check/required.d + mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/greenboot/check/wanted.d + mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/greenboot/green.d + mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/greenboot/red.d + mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/systemd/system/greenboot-healthcheck.service.d + mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/tmpfiles.d + install -DpZm 0755 usr/libexec/greenboot/greenboot usr/libexec/greenboot/greenboot-grub2-set-counter usr/libexec/greenboot/greenboot-loading-message usr/libexec/greenboot/greenboot-rpm-ostree-grub2-check-fallback usr/libexec/greenboot/greenboot-status usr/libexec/greenboot/redboot-auto-reboot /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/libexec/greenboot + install -DpZm 0644 usr/lib/motd.d/boot-status /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/motd.d/boot-status + install -DpZm 0644 usr/lib/systemd/system/greenboot-healthcheck.service.d/10-network-online.conf /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/systemd/system/greenboot-healthcheck.service.d/10-network-online.conf + install -DpZm 0644 usr/lib/systemd/system/redboot.target /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/systemd/system + install -DpZm 0644 usr/lib/systemd/system/greenboot-grub2-set-counter.service usr/lib/systemd/system/greenboot-grub2-set-success.service usr/lib/systemd/system/greenboot-healthcheck.service usr/lib/systemd/system/greenboot-loading-message.service usr/lib/systemd/system/greenboot-rpm-ostree-grub2-check-fallback.service usr/lib/systemd/system/greenboot-status.service usr/lib/systemd/system/greenboot-task-runner.service usr/lib/systemd/system/redboot-auto-reboot.service usr/lib/systemd/system/redboot-task-runner.service /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/systemd/system + install -DpZm 0644 usr/lib/tmpfiles.d/greenboot-status-motd.conf /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/tmpfiles.d/greenboot-status-motd.conf + install -DpZm 0755 usr/lib/greenboot/check/required.d/00_required_scripts_start.sh usr/lib/greenboot/check/required.d/01_repository_dns_check.sh usr/lib/greenboot/check/required.d/02_watchdog.sh /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/greenboot/check/required.d + install -DpZm 0755 usr/lib/greenboot/check/wanted.d/00_wanted_scripts_start.sh usr/lib/greenboot/check/wanted.d/01_update_platforms_check.sh /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/lib/greenboot/check/wanted.d + install -DpZm 0644 etc/greenboot/greenboot.conf /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/etc/greenboot/greenboot.conf + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/lib/greenboot/check/required.d/00_required_scripts_start.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/greenboot/check/required.d/01_repository_dns_check.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/greenboot/check/required.d/02_watchdog.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/greenboot/check/wanted.d/00_wanted_scripts_start.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/greenboot/check/wanted.d/01_update_platforms_check.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/greenboot/greenboot from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/greenboot/greenboot-grub2-set-counter from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/greenboot/greenboot-loading-message from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/greenboot/greenboot-rpm-ostree-grub2-check-fallback from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/greenboot/greenboot-status from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/greenboot/redboot-auto-reboot from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: greenboot-0.15.4-2.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oqfbcQ + umask 022 + cd /builddir/build/BUILD + cd greenboot-0.15.4 + DOCDIR=/builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/share/doc/greenboot + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/share/doc/greenboot + cp -pr README.md /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/share/doc/greenboot + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NSR6Bg + umask 022 + cd /builddir/build/BUILD + cd greenboot-0.15.4 + LICENSEDIR=/builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/share/licenses/greenboot + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/share/licenses/greenboot + cp -pr LICENSE /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64/usr/share/licenses/greenboot + RPM_EC=0 ++ jobs -p + exit 0 Provides: greenboot = 0.15.4-2.ocs23 greenboot(loongarch-64) = 0.15.4-2.ocs23 greenboot-auto-update-fallback greenboot-grub2 greenboot-reboot greenboot-rpm-ostree-grub2 greenboot-status Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/bash Recommends: openssh Processing files: greenboot-default-health-checks-0.15.4-2.ocs23.loongarch64 Provides: greenboot-default-health-checks = 0.15.4-2.ocs23 greenboot-default-health-checks(loongarch-64) = 0.15.4-2.ocs23 greenboot-update-platforms-check Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/greenboot-0.15.4-2.ocs23.loongarch64 Wrote: /builddir/build/RPMS/greenboot-default-health-checks-0.15.4-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/greenboot-0.15.4-2.ocs23.loongarch64.rpm Child return code was: 0