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/libutempter.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-186534-12833/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/libutempter.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/libutempter-1.2.1-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/libutempter.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-186534-12833/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/libutempter.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.dKBw7P + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libutempter-1.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libutempter-1.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libutempter-1.2.1 + /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.6YZu8C + 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 libutempter-1.2.1 + make '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' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' libdir=/usr/lib64 libexecdir=/usr/libexec gcc -W -Wall -Waggregate-return -Wcast-align -Wconversion -Wdisabled-optimization -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -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 -std=gnu99 -DLIBEXECDIR=\"/usr/libexec\" -Wl,-z,relro -Wl,-stats -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -fPIE -pie -Wl,-z,now utempter.c -o utempter /usr/bin/ld: total time in link: 0.030433 gcc -W -Wall -Waggregate-return -Wcast-align -Wconversion -Wdisabled-optimization -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -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 -std=gnu99 -DLIBEXECDIR=\"/usr/libexec\" -c -fPIC iface.c -o iface.os gcc -Wl,-z,relro -Wl,-stats -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared \ -Wl,-soname,libutempter.so.0,--version-script=libutempter.map,-z,defs \ -lc iface.os -o libutempter.so /usr/bin/ld: total time in link: 0.033934 gcc -W -Wall -Waggregate-return -Wcast-align -Wconversion -Wdisabled-optimization -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -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 -std=gnu99 -DLIBEXECDIR=\"/usr/libexec\" -c -o iface.o iface.c ar -rv libutempter.a iface.o ar: creating libutempter.a a - iface.o ranlib libutempter.a + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UD1HVz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64 + cd libutempter-1.2.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' libdir=/usr/lib64 libexecdir=/usr/libexec mkdir -p /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/lib64 /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/libexec/utempter \ /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/include /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/share/man/man3 /usr/bin/install -p -p -m2711 utempter /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/libexec/utempter/ /usr/bin/install -p -p -m644 utempter.h /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/include/ /usr/bin/install -p -p -m755 libutempter.so /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/lib64/libutempter.so.1.2.1 /usr/bin/install -p -p -m644 libutempter.a /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/lib64/ ln -s libutempter.so.1.2.1 /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/lib64/libutempter.so.0 ln -s libutempter.so.0 /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/lib64/libutempter.so /usr/bin/install -p -p -m644 utempter.3 /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/share/man/man3/ for n in libutempter utempter_add_record utempter_remove_record \ utempter_remove_added_record utempter_set_helper; do \ ln -s utempter.3 /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/share/man/man3/$n.3; \ done + rm -f /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/lib64/libutempter.a + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.2.1-5.ocs23 --unique-debug-suffix -1.2.1-5.ocs23.loongarch64 --unique-debug-src-base libutempter-1.2.1-5.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/libutempter-1.2.1 extracting debug info from /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/lib64/libutempter.so.1.2.1 extracting debug info from /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/libexec/utempter/utempter 16 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: libutempter-1.2.1-5.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9RdtOS + umask 022 + cd /builddir/build/BUILD + cd libutempter-1.2.1 + DOCDIR=/builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/share/doc/libutempter + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/share/doc/libutempter + cp -pr README /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/share/doc/libutempter + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.x8PYGb + umask 022 + cd /builddir/build/BUILD + cd libutempter-1.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/share/licenses/libutempter + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/share/licenses/libutempter + cp -pr COPYING /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64/usr/share/licenses/libutempter + RPM_EC=0 ++ jobs -p + exit 0 Provides: libutempter = 1.2.1-5.ocs23 libutempter(loongarch-64) = 1.2.1-5.ocs23 libutempter.so.0()(64bit) libutempter.so.0(UTEMPTER_1.1)(64bit) utempter = 0.5.2 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils 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) rtld(GNU_HASH) Processing files: libutempter-devel-1.2.1-5.ocs23.loongarch64 Provides: libutempter-devel = 1.2.1-5.ocs23 libutempter-devel(loongarch-64) = 1.2.1-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libutempter.so.0()(64bit) Processing files: libutempter-debugsource-1.2.1-5.ocs23.loongarch64 Provides: libutempter-debugsource = 1.2.1-5.ocs23 libutempter-debugsource(loongarch-64) = 1.2.1-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libutempter-debuginfo-1.2.1-5.ocs23.loongarch64 Provides: debuginfo(build-id) = 9022d8a6bce9a65716b6063413aa9b64f3c3e413 debuginfo(build-id) = bb594863e764a6461286b43c105b6695bd0156da libutempter-debuginfo = 1.2.1-5.ocs23 libutempter-debuginfo(loongarch-64) = 1.2.1-5.ocs23 libutempter.so.1.2.1-1.2.1-5.ocs23.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libutempter-debugsource(loongarch-64) = 1.2.1-5.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libutempter-1.2.1-5.ocs23.loongarch64 Wrote: /builddir/build/RPMS/libutempter-devel-1.2.1-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libutempter-debugsource-1.2.1-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libutempter-debuginfo-1.2.1-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libutempter-1.2.1-5.ocs23.loongarch64.rpm Child return code was: 0