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/mcstrans.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-141986-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=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/mcstrans.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/mcstrans-3.5-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/mcstrans.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-141986-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=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/mcstrans.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.KnnvzI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mcstrans-3.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mcstrans-3.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mcstrans-3.5 + /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.K78LMw + 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 mcstrans-3.5 + export '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' + 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' + /usr/bin/make -O -j32 V=1 VERBOSE=1 LIBDIR=/usr/lib64 /usr/bin/make -C src make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.5/src' 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 -DPCRE2_CODE_UNIT_WIDTH=8 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mls_level.o mls_level.c make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.5/src' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.5/src' 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 -DPCRE2_CODE_UNIT_WIDTH=8 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mcscolor.o mcscolor.c make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.5/src' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.5/src' 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 -DPCRE2_CODE_UNIT_WIDTH=8 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mcstransd.o mcstransd.c make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.5/src' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.5/src' 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 -DPCRE2_CODE_UNIT_WIDTH=8 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mcstrans.o mcstrans.c make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.5/src' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.5/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -pie -o mcstransd mcstrans.o mcscolor.o mcstransd.o mls_level.o -lselinux -lcap -lpcre2-8 -l:libsepol.a make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.5/src' /usr/bin/make -C utils make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.5/utils' 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 -DPCRE2_CODE_UNIT_WIDTH=8 -D_GNU_SOURCE -I../src -fPIE -c -o untranscon.o untranscon.c make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.5/utils' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.5/utils' 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 -DPCRE2_CODE_UNIT_WIDTH=8 -D_GNU_SOURCE -I../src -fPIE -c -o transcon.o transcon.c make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.5/utils' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.5/utils' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o transcon transcon.o ../src/mcstrans.o ../src/mls_level.o -lpcre2-8 -lselinux -l:libsepol.a make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.5/utils' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.5/utils' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o untranscon untranscon.o ../src/mcstrans.o ../src/mls_level.o -lpcre2-8 -lselinux -l:libsepol.a make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.5/utils' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Jf0jlt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64 + cd mcstrans-3.5 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' LIBDIR=/usr/lib64 SHLIBDIR=lib64 SBINDIR=/usr/sbin /usr/bin/make -C src install make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.5/src' test -d /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/sbin || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/sbin install -m 755 mcstransd /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/sbin test -d /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/etc/rc.d/init.d || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/etc/rc.d/init.d install -m 755 mcstrans.init /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/etc/rc.d/init.d/mcstrans test -d /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/lib/systemd/system || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/lib/systemd/system install -m 644 mcstrans.service /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/lib/systemd/system/ make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.5/src' /usr/bin/make -C man install make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.5/man' mkdir -p /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/share/man/man5 mkdir -p /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/share/man/man8 install -m 644 man5/*.5 /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/share/man/man5 install -m 644 man8/*.8 /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/share/man/man8 for lang in ru ; do \ if [ -e ${lang}/man5 ] ; then \ mkdir -p /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/share/man/${lang}/man5 ; \ install -m 644 ${lang}/man5/*.5 /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/share/man/${lang}/man5 ; \ fi ; \ if [ -e ${lang}/man8 ] ; then \ mkdir -p /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/share/man/${lang}/man8 ; \ install -m 644 ${lang}/man8/*.8 /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/share/man/${lang}/man8 ; \ fi ; \ done make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.5/man' + rm -f '/builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/lib64/*.a' + rm -rf /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64//etc/rc.d/init.d/mcstrans + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/share/mcstrans + cp -rf share/examples share/util /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/share/mcstrans/ + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/lib/systemd/system + ln -s /usr/lib/systemd/system/mcstrans.service /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64//usr/lib/systemd/system/mcstransd.service + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.5-2.ocs23 --unique-debug-suffix -3.5-2.ocs23.loongarch64 --unique-debug-src-base mcstrans-3.5-2.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/mcstrans-3.5 extracting debug info from /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64/usr/sbin/mcstransd 132 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: mcstrans-3.5-2.ocs23.loongarch64 warning: absolute symlink: /usr/lib/systemd/system/mcstransd.service -> /usr/lib/systemd/system/mcstrans.service Provides: libsetrans mcstrans = 3.5-2.ocs23 mcstrans(loongarch-64) = 3.5-2.ocs23 setransd 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: 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) libcap.so.2()(64bit) libpcre2-8.so.0()(64bit) libselinux.so.1()(64bit) libselinux.so.1(LIBSELINUX_1.0)(64bit) rtld(GNU_HASH) Processing files: mcstrans-debugsource-3.5-2.ocs23.loongarch64 Provides: mcstrans-debugsource = 3.5-2.ocs23 mcstrans-debugsource(loongarch-64) = 3.5-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mcstrans-debuginfo-3.5-2.ocs23.loongarch64 Provides: debuginfo(build-id) = 1a3ce8c048e7b5271417557d2e8e0f6f99c4b9ef mcstrans-debuginfo = 3.5-2.ocs23 mcstrans-debuginfo(loongarch-64) = 3.5-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mcstrans-debugsource(loongarch-64) = 3.5-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mcstrans-3.5-2.ocs23.loongarch64 Wrote: /builddir/build/RPMS/mcstrans-debugsource-3.5-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/mcstrans-debuginfo-3.5-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/mcstrans-3.5-2.ocs23.loongarch64.rpm RPM build warnings: absolute symlink: /usr/lib/systemd/system/mcstransd.service -> /usr/lib/systemd/system/mcstrans.service Child return code was: 0