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/numad.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-221600-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=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/numad.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/numad-0.7.1-1git.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/numad.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-221600-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=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/numad.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.sfwBiE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf numad-0.7.1git + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/numad-0.7.1git.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd numad-0.7.1git + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0000-remove-conf.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.sq2D6C + 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 numad-0.7.1git + 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 -std=gnu99' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lpthread -lrt -lm' gcc -MM -DDEPS_RUN -I. numad.c > .depend.X && mv .depend.X .depend 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 -std=gnu99 -I. -D__thread="" -c -o numad.o numad.c numad.c: In function 'main': numad.c:2636:28: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 4 [-Wrestrict] 2636 | if (pthread_create(&tid, &attr, &set_dynamic_options, &tid) != 0) { | ^~~~ ~~~~ numad.c: In function 'set_thp_scan_sleep_ms': numad.c:766:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 766 | write(fd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ numad.c: In function 'register_numad_pid': numad.c:816:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 816 | write(fd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ numad.c: In function 'numad_log': numad.c:150:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 150 | strncpy(buf, ctime(&ts), sizeof(buf)); | ^ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lpthread -lrt -lm numad.o -lpthread -lrt -lm -o numad + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.b4wqAx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64 + cd numad-0.7.1git + install -D -p -m 644 numad.service /builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64/usr/lib/systemd/system/numad.service + install -D -p -m 644 numad.logrotate /builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64/etc/logrotate.d/numad + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' prefix=/builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64/usr mkdir -p /builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64/usr/bin mkdir -p /builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64/usr/share/man/man8 install -m 0755 numad /builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64/usr/bin install -m 0644 numad.8 /builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64/usr/share/man/man8 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.7.1-1git.ocs23 --unique-debug-suffix -0.7.1-1git.ocs23.loongarch64 --unique-debug-src-base numad-0.7.1-1git.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/numad-0.7.1git extracting debug info from /builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64/usr/bin/numad 201 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: numad-0.7.1-1git.ocs23.loongarch64 Provides: config(numad) = 0.7.1-1git.ocs23 numad = 0.7.1-1git.ocs23 numad(loongarch-64) = 0.7.1-1git.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 systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: numad-debugsource-0.7.1-1git.ocs23.loongarch64 Provides: numad-debugsource = 0.7.1-1git.ocs23 numad-debugsource(loongarch-64) = 0.7.1-1git.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: numad-debuginfo-0.7.1-1git.ocs23.loongarch64 Provides: debuginfo(build-id) = 59fff3b8c2de998041ab5c306c7e21c8dfb64589 numad-debuginfo = 0.7.1-1git.ocs23 numad-debuginfo(loongarch-64) = 0.7.1-1git.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: numad-debugsource(loongarch-64) = 0.7.1-1git.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/numad-0.7.1-1git.ocs23.loongarch64 Wrote: /builddir/build/RPMS/numad-0.7.1-1git.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/numad-debugsource-0.7.1-1git.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/numad-debuginfo-0.7.1-1git.ocs23.loongarch64.rpm Child return code was: 0