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/libtree-ldd.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-197570-80411/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/libtree-ldd.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/libtree-ldd-3.1.1-2.oc9.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/libtree-ldd.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-197570-80411/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/libtree-ldd.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.MOgncC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtree-3.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libtree-3.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libtree-3.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libtree-ldd-c99.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.ekTtaC + 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 libtree-3.1.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' + 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 + /usr/bin/make -O -j32 V=1 VERBOSE=1 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=c99 -Wall -Wextra -Wshadow -pedantic -D_FILE_OFFSET_BITS=64 -c libtree.c {standard input}: Assembler messages: {standard input}:11869: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:11923: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:12277: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:12374: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:12440: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:12477: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13056: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13103: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13179: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13218: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13245: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13280: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13329: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13375: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13483: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13628: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13655: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13688: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13737: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13781: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13884: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:13971: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14001: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14052: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14078: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14129: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14344: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14404: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14427: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14450: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14571: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14604: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14724: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14768: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14801: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14879: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14936: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:14969: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15002: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15085: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15155: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15217: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15301: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15320: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15375: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15408: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15526: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15574: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15627: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15648: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15789: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15828: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15851: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15874: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:15947: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16046: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16083: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16097: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16168: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16288: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16295: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16433: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16456: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16510: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16569: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16602: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16817: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16883: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16906: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:16929: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:17361: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:17384: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:17412: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:17426: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:17538: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:17589: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:17681: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:17692: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:17886: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:17918: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:18231: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:18318: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libtree libtree.o /tmp/ccbCQtdq.s: Assembler messages: /tmp/ccbCQtdq.s:2380: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:2419: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:2477: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:2515: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:2539: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:2564: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:2612: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:2650: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:2745: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:2887: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:2911: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:2936: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:2984: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3022: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3112: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3194: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3222: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3269: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3293: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3322: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3510: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3561: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3579: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3597: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3701: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3727: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3836: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3874: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3900: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:3964: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4013: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4039: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4065: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4133: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4199: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4250: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4319: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4337: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4380: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4412: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4517: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4563: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4611: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4627: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4758: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4793: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4811: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4829: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4895: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:4986: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5019: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5033: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5101: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5216: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5223: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5350: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5368: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5418: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5476: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5498: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5706: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5768: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5786: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:5804: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:6199: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:6217: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:6244: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:6258: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:6352: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:6398: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:6484: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:6495: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:6681: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:6718: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:7018: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:7102: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:7441: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:7490: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:7799: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:7881: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:7944: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! /tmp/ccbCQtdq.s:7979: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! + RPM_EC=0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eK03Fh ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libtree-ldd-3.1.1-2.oc9.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libtree-ldd-3.1.1-2.oc9.loongarch64 ++ dirname /builddir/build/BUILDROOT/libtree-ldd-3.1.1-2.oc9.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libtree-ldd-3.1.1-2.oc9.loongarch64 + cd libtree-3.1.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libtree-ldd-3.1.1-2.oc9.loongarch64 'INSTALL=/usr/bin/install -p' PREFIX=/usr mkdir -p /builddir/build/BUILDROOT/libtree-ldd-3.1.1-2.oc9.loongarch64/usr/bin cp -p libtree /builddir/build/BUILDROOT/libtree-ldd-3.1.1-2.oc9.loongarch64/usr/bin mkdir -p /builddir/build/BUILDROOT/libtree-ldd-3.1.1-2.oc9.loongarch64/usr/share/man/man1 cp -p doc/libtree.1 /builddir/build/BUILDROOT/libtree-ldd-3.1.1-2.oc9.loongarch64/usr/share/man/man1 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.1.1-2.oc9 --unique-debug-suffix -3.1.1-2.oc9.loongarch64 --unique-debug-src-base libtree-ldd-3.1.1-2.oc9.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/libtree-3.1.1 extracting debug info from /builddir/build/BUILDROOT/libtree-ldd-3.1.1-2.oc9.loongarch64/usr/bin/libtree 111 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.q3e0ez + 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 libtree-3.1.1 + /usr/bin/make -O -j32 V=1 VERBOSE=1 check find tests -mindepth 1 -maxdepth 1 -type d | while read -r dir; do \ /usr/bin/make -C "$dir" check || exit 1 ;\ done make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/01_origin' echo 'int f(void){return 1;}' | gcc -shared -Wl,-soname,liba.so -o liba.so -nostdlib -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/01_origin' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/01_origin' echo 'int f(void); int _start(void){return f();}' | gcc -o exe_rpath -Wl,--no-as-needed -Wl,--disable-new-dtags '-Wl,-rpath,$ORIGIN' -Wno-implicit-function-declaration -nostdlib liba.so -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/01_origin' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/01_origin' echo 'int f(void); int _start(void){return f();}' | gcc -o exe_runpath -Wl,--no-as-needed -Wl,--enable-new-dtags '-Wl,-rpath,$ORIGIN' -Wno-implicit-function-declaration -nostdlib liba.so -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/01_origin' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/01_origin' ../../libtree exe_rpath exe_rpath └── liba.so [rpath] ../../libtree exe_runpath exe_runpath └── liba.so [runpath] make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/01_origin' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/02_rpath_of_parents_parent' echo 'int g(void){return 1;}' | gcc -shared -Wl,-soname,libb.so -o libb.so -nostdlib -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/02_rpath_of_parents_parent' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/02_rpath_of_parents_parent' echo 'int g(void); int f(void){return g();}' | gcc -shared -Wl,--no-as-needed -Wl,-soname,liba.so -o liba.so -Wno-implicit-function-declaration libb.so -nostdlib -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/02_rpath_of_parents_parent' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/02_rpath_of_parents_parent' echo 'int f(void); int _start(){return f();}' | gcc -o exe -Wl,--no-as-needed -Wl,--disable-new-dtags '-Wl,-rpath,$ORIGIN' '-Wl,-rpath-link,/builddir/build/BUILD/libtree-3.1.1/tests/02_rpath_of_parents_parent' -Wno-implicit-function-declaration -nostdlib -L. -la -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/02_rpath_of_parents_parent' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/02_rpath_of_parents_parent' ! ../../libtree liba.so # should not find libb.so liba.so └── libb.so not found ┊ Paths considered in this order: ┊ 1. rpath: ┊ 2. LD_LIBRARY_PATH was not set ┊ 3. runpath was not set ┊ 4. ld config files: ┊ 5. Standard paths: ┊ /lib ┊ /lib64 ┊ /usr/lib ┊ /usr/lib64 LD_LIBRARY_PATH=/builddir/build/BUILD/libtree-3.1.1/tests/02_rpath_of_parents_parent ../../libtree liba.so # should find libb.so through LD_LIBRARY_PATH liba.so └── libb.so [LD_LIBRARY_PATH] ../../libtree exe # should find libb.so through exe's rpath exe └── liba.so [rpath] └── libb.so [rpath of 1] make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/02_rpath_of_parents_parent' Error [liba.so]: Not all dependencies were found make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath' echo 'int i(){return 1;}' | gcc -shared -Wl,--no-as-needed -o lib_without_soname.so -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath' mkdir some_dir echo 'int f(){return 42;}' | gcc -shared -Wl,-soname,lib_f.so -Wl,--no-as-needed -o some_dir/lib_f.so -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath' echo 'extern int f(); int g(){return f();}' | gcc -shared -Wl,-soname,lib_g.so -Wl,--no-as-needed "-Wl,-rpath,/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath/some_dir" -L./some_dir -l_f -o lib_g.so -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath' echo 'extern int i(); extern int f(); extern int g(); int main(){return f() + g() + i();}' | gcc -Wl,--no-as-needed "-Wl,-rpath,/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath/" "-Wl,-rpath,/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath/some_dir" -L. -L./some_dir -l_f -l_g /builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath/lib_without_soname.so -o exe_b -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath' echo 'extern int i(); extern int f(); extern int g(); int main(){return f() + g() + i();}' | gcc -Wl,--no-as-needed "-Wl,-rpath,/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath/" -L. -L./some_dir -l_f -l_g /builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath/lib_without_soname.so -o exe_a -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath' ! ../../libtree exe_a # cannot find lib_f.so exe_a ├── /builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath/lib_without_soname.so [direct] ├── lib_g.so [runpath] │ └── lib_f.so [runpath] └── lib_f.so not found ┊ Paths considered in this order: ┊ 1. rpath is skipped because runpath was set ┊ 2. LD_LIBRARY_PATH was not set ┊ 3. runpath: ┊ /builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath/ ┊ 4. ld config files: ┊ 5. Standard paths: ┊ /lib ┊ /lib64 ┊ /usr/lib ┊ /usr/lib64 ../../libtree exe_b # should find lib_f.so exe_b ├── /builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath/lib_without_soname.so [direct] ├── lib_g.so [runpath] │ └── lib_f.so [runpath] └── lib_f.so [runpath] make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/03_direct_and_absolute_rpath' Error [exe_a]: Not all dependencies were found make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' mkdir dir make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' echo 'int b(){return 10;}' | gcc -shared -Wl,-soname,libb.so -Wl,--no-as-needed -o libb.so -Wno-implicit-function-declaration -nostdlib -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' echo 'int a(void){return 42;}' | gcc -shared -Wl,-soname,liba.so -Wl,--no-as-needed -o dir/liba.so -nostdlib -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' echo 'int b(void); int _start(void){return b();}' | gcc -Wl,--no-as-needed -Wl,--disable-new-dtags "-Wl,-rpath,/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath" libb.so -o exe_rpath -Wno-implicit-function-declaration -nostdlib -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' echo 'int b(void); int _start(void){return b();}' | gcc -Wl,--no-as-needed -Wl,--enable-new-dtags "-Wl,-rpath,/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath" libb.so -o exe_runpath -Wno-implicit-function-declaration -nostdlib -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' echo 'int a(void); int b(void){return a();}' | gcc -shared -Wl,-soname,libb.so -Wl,--no-as-needed -Wl,--disable-new-dtags '-Wl,-rpath,$ORIGIN' -Wno-implicit-function-declaration -o dir/libb.so -nostdlib dir/liba.so -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' ../../libtree exe_rpath exe_rpath └── libb.so [rpath] LD_LIBRARY_PATH="/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath/dir" ../../libtree exe_rpath exe_rpath └── libb.so [rpath] ../../libtree exe_runpath exe_runpath └── libb.so [runpath] LD_LIBRARY_PATH="/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath/dir" ../../libtree exe_runpath exe_runpath └── libb.so [LD_LIBRARY_PATH] └── liba.so [rpath] make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/05_32_bits' mkdir -p lib32 echo 'int a(){return 42;}' | gcc -shared -Wl,-soname,libx.so -m32 -o lib32/libx.so -nostdlib -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/05_32_bits' gcc: error: unrecognized command-line option '-m32' make[1]: *** [Makefile:16: lib32/libx.so] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/libtree-3.1.1/tests/05_32_bits' mkdir -p lib64 echo 'int a(){return 42;}' | gcc -shared -Wl,-soname,libx.so -m64 -o lib64/libx.so -nostdlib -x c - make[1]: Leaving directory '/builddir/build/BUILD/libtree-3.1.1/tests/05_32_bits' gcc: error: unrecognized command-line option '-m64' make[1]: *** [Makefile:12: lib64/libx.so] Error 1 make: *** [Makefile:34: check] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.q3e0ez (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.q3e0ez (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libtree-ldd.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libtree-ldd.spec