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/pbzip2.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188307-12842/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/pbzip2.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/pbzip2-1.1.13-4.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/pbzip2.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188307-12842/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/pbzip2.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.51hDGY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pbzip2-1.1.13 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pbzip2-1.1.13.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pbzip2-1.1.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pbzip2-1.1.12-buildflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + iconv -f iso-8859-1 -t utf-8 AUTHORS -o AUTHORS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.v2jWZx + 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 pbzip2-1.1.13 + /usr/bin/make -O -j32 V=1 VERBOSE=1 g++ -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 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_STACKSIZE_CUSTOMIZATION -pthread -D_POSIX_PTHREAD_SEMANTICS -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 pbzip2.cpp BZ2StreamScanner.cpp ErrorContext.cpp -o pbzip2 -lbz2 -lpthread pbzip2.cpp:1223:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1223 | fprintf(stderr, "pbzip2: *WARNING: Compressed block size is large [%"PRIuMAX" bytes].\n", | ^ pbzip2.cpp:1832:33: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1832 | fprintf(stderr, " Output Size: %"PRIuMAX" bytes\n", (uintmax_t)CompressedSize); | ^ pbzip2.cpp:2075:33: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 2075 | fprintf(stderr, " Output Size: %"PRIuMAX" bytes\n", (uintmax_t)CompressedSize); | ^ pbzip2.cpp:2797:33: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 2797 | fprintf(stderr, "pbzip2: *ERROR: Could not initialize (OutputBuffer); size=%"PRIuMAX"! Aborting...\n", (uintmax_t)size); | ^ pbzip2.cpp:4105:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 4105 | fprintf(stderr, " Input Size: %"PRIuMAX" bytes\n", (uintmax_t)InFileSize); | ^ pbzip2.cpp:4227:57: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 4227 | fprintf(stderr, "*Warning* Max memory limit increased to %"PRIuMAX" MB to support %d CPUs\n", (uintmax_t)((NumBufferedBlocksMax + (numCPU * 2)) * blockSize)/1000000, numCPU); | ^ pbzip2.cpp: In function 'int testCompressedData(char*)': pbzip2.cpp:2998:20: warning: variable 'nread' set but not used [-Wunused-but-set-variable] 2998 | int bzerr, nread, streamNo; | ^~~~~ pbzip2.cpp: In function 'int main(int, char**)': pbzip2.cpp:3602:137: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 3602 | fprintf(stderr,"pbzip2: *WARNING: Stack size %d bytes less than minumum - adjusting to %d bytes.\n", | ~^ | | | int | %ld + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gDTZvC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64 + cd pbzip2-1.1.13 + install -D -m755 pbzip2 /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/bin/pbzip2 + install -D -m644 pbzip2.1 /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/share/man/man1/pbzip2.1 + ln -sf ./pbzip2 /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/bin/pbunzip2 + ln -sf ./pbzip2 /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/bin/pbzcat + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.1.13-4.ocs23 --unique-debug-suffix -1.1.13-4.ocs23.loongarch64 --unique-debug-src-base pbzip2-1.1.13-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/pbzip2-1.1.13 extracting debug info from /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/bin/pbzip2 289 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: pbzip2-1.1.13-4.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7arQhA + umask 022 + cd /builddir/build/BUILD + cd pbzip2-1.1.13 + DOCDIR=/builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/share/doc/pbzip2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/share/doc/pbzip2 + cp -pr AUTHORS /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/share/doc/pbzip2 + cp -pr ChangeLog /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/share/doc/pbzip2 + cp -pr README /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/share/doc/pbzip2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.An7LG6 + umask 022 + cd /builddir/build/BUILD + cd pbzip2-1.1.13 + LICENSEDIR=/builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/share/licenses/pbzip2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/share/licenses/pbzip2 + cp -pr COPYING /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64/usr/share/licenses/pbzip2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: pbzip2 = 1.1.13-4.ocs23 pbzip2(loongarch-64) = 1.1.13-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) rtld(GNU_HASH) Processing files: pbzip2-debugsource-1.1.13-4.ocs23.loongarch64 Provides: pbzip2-debugsource = 1.1.13-4.ocs23 pbzip2-debugsource(loongarch-64) = 1.1.13-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pbzip2-debuginfo-1.1.13-4.ocs23.loongarch64 Provides: debuginfo(build-id) = b95bfe579c39372ccb15088b362ca62fdface78c pbzip2-debuginfo = 1.1.13-4.ocs23 pbzip2-debuginfo(loongarch-64) = 1.1.13-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pbzip2-debugsource(loongarch-64) = 1.1.13-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pbzip2-1.1.13-4.ocs23.loongarch64 Wrote: /builddir/build/RPMS/pbzip2-debugsource-1.1.13-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/pbzip2-1.1.13-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/pbzip2-debuginfo-1.1.13-4.ocs23.loongarch64.rpm Child return code was: 0