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/stalld.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-224920-16804/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/stalld.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/stalld-1.17.2-5.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/stalld.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-224920-16804/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/stalld.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.gIMdKB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stalld-b08c9fa390424e870651806daad6d765a438ec45 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/stalld-b08c9fa390424e870651806daad6d765a438ec45.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd stalld-b08c9fa390424e870651806daad6d765a438ec45 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-fix-stalld.service-start-fail-when-selinux-on.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-stalld.service-Fix-failure-to-set-FIFO-scheduling-cl.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.jTkPeR + 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 stalld-b08c9fa390424e870651806daad6d765a438ec45 + /usr/bin/make -O -j32 V=1 VERBOSE=1 '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 -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 -DVERSION=\"1.17.2\"' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -DVERSION=\"1.17.2\" -c -o src/throttling.o src/throttling.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -DVERSION=\"1.17.2\" -c -o src/utils.o src/utils.c make -C tests VERSION=1.17.2 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 -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 -DVERSION=\"1.17.2\"" LDFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1" make[1]: Entering directory '/builddir/build/BUILD/stalld-b08c9fa390424e870651806daad6d765a438ec45/tests' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -DVERSION="1.17.2" -o test01 test01.c -lpthread make[1]: Leaving directory '/builddir/build/BUILD/stalld-b08c9fa390424e870651806daad6d765a438ec45/tests' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -DVERSION=\"1.17.2\" -c -o src/stalld.o src/stalld.c gcc -o stalld -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 src/stalld.o src/throttling.o src/utils.o -lpthread + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8217hc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64 + cd stalld-b08c9fa390424e870651806daad6d765a438ec45 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' DOCDIR=/usr/share/doc MANDIR=/usr/share/man BINDIR=/usr/bin DATADIR=/usr/share VERSION=1.17.2 /usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/bin /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/share/doc /usr/bin/install -p stalld -m 755 /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/bin /usr/bin/install -p README.md -m 644 /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/share/doc /usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/share/man/man8 /usr/bin/install -p man/stalld.8 -m 644 /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/share/man/man8 /usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/share/licenses/stalld /usr/bin/install -p gpl-2.0.txt -m 644 /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/share/licenses/stalld + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' -C redhat UNITDIR=/usr/lib/systemd/system make: Entering directory '/builddir/build/BUILD/stalld-b08c9fa390424e870651806daad6d765a438ec45/redhat' /usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/etc/sysconfig /usr/bin/install -p stalld.conf -m 644 /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/etc/sysconfig/stalld /usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/lib/systemd/system /usr/bin/install -p stalld.service -m 644 /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/lib/systemd/system /usr/bin/install -p ../scripts/throttlectl.sh /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/bin/throttlectl make: Leaving directory '/builddir/build/BUILD/stalld-b08c9fa390424e870651806daad6d765a438ec45/redhat' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.17.2-5.ocs23 --unique-debug-suffix -1.17.2-5.ocs23.loongarch64 --unique-debug-src-base stalld-1.17.2-5.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/stalld-b08c9fa390424e870651806daad6d765a438ec45 extracting debug info from /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/bin/stalld 148 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: stalld-1.17.2-5.ocs23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.X7GqQ7 + umask 022 + cd /builddir/build/BUILD + cd stalld-b08c9fa390424e870651806daad6d765a438ec45 + LICENSEDIR=/builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/share/licenses/stalld + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/share/licenses/stalld + cp -pr gpl-2.0.txt /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64/usr/share/licenses/stalld + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(stalld) = 1.17.2-5.ocs23 stalld = 1.17.2-5.ocs23 stalld(loongarch-64) = 1.17.2-5.ocs23 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 ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) rtld(GNU_HASH) Processing files: stalld-debugsource-1.17.2-5.ocs23.loongarch64 Provides: stalld-debugsource = 1.17.2-5.ocs23 stalld-debugsource(loongarch-64) = 1.17.2-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: stalld-debuginfo-1.17.2-5.ocs23.loongarch64 Provides: debuginfo(build-id) = 2252e54f97a9182450ac651a507aef4ba79d756c stalld-debuginfo = 1.17.2-5.ocs23 stalld-debuginfo(loongarch-64) = 1.17.2-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: stalld-debugsource(loongarch-64) = 1.17.2-5.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/stalld-1.17.2-5.ocs23.loongarch64 Wrote: /builddir/build/RPMS/stalld-debugsource-1.17.2-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/stalld-1.17.2-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/stalld-debuginfo-1.17.2-5.ocs23.loongarch64.rpm Child return code was: 0