Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libss7.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-149674-79723/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/libss7.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/libss7-2.0.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/libss7.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-149674-79723/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/libss7.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.ue1rI9 + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/OpenCloudOS/gpgverify --keyring=/builddir/build/SOURCES/libss7.gpg --signature=/builddir/build/SOURCES/libss7-2.0.1.tar.gz.asc --data=/builddir/build/SOURCES/libss7-2.0.1.tar.gz gpg: NOTE: THIS IS A DEVELOPMENT VERSION! gpg: It is only intended for test purposes and should NOT be gpg: used in a production environment or with production keys! gpgv: Signature made Fri Aug 27 23:31:57 2021 CST gpgv: using RSA key 5D984BE337191CE7 gpgv: Good signature from "Asterisk Development Team " + cd /builddir/build/BUILD + rm -rf libss7-2.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libss7-2.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libss7-2.0.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.O5wWX2 + 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 libss7-2.0.1 + /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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT version.o -MF .version.o.d -MP -c -o version.o version.c 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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT parser_debug.o -MF .parser_debug.o.d -MP -c -o parser_debug.o parser_debug.c 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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT ss7_sched.o -MF .ss7_sched.o.d -MP -c -o ss7_sched.o ss7_sched.c 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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT ss7.o -MF .ss7.o.d -MP -c -o ss7.o ss7.c 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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT mtp2.o -MF .mtp2.o.d -MP -c -o mtp2.o mtp2.c 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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT mtp3.o -MF .mtp3.o.d -MP -c -o mtp3.o mtp3.c 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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT isup.o -MF .isup.o.d -MP -c -o isup.o isup.c ar rcs libss7.a isup.o mtp2.o mtp3.o ss7.o ss7_sched.o version.o ranlib libss7.a gcc -o parser_debug parser_debug.o libss7.a -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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-hlibss7.so.2.0 -o libss7.so.2.0 isup.o mtp2.o mtp3.o ss7.o ss7_sched.o version.o /sbin/ldconfig -n . ln -sf libss7.so.2.0 libss7.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DTtUau + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64 ++ dirname /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64 + cd libss7-2.0.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64 'INSTALL=/usr/bin/install -p' libdir=/usr/lib64 mkdir -p /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/lib64 mkdir -p /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/include install -m 644 libss7.h /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/include install -m 755 libss7.so.2.0 /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/lib64 #if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then /sbin/restorecon -v /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/lib64/libss7.so.2.0; fi ( cd /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/lib64 ; ln -sf libss7.so.2.0 libss7.so) install -m 644 libss7.a /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/lib64 if test $(id -u) = 0; then /sbin/ldconfig -n /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/lib64; fi + find /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64 -name '*.a' -print -delete /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/lib64/libss7.a + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.0.1-2.oc9 --unique-debug-suffix -2.0.1-2.oc9.loongarch64 --unique-debug-src-base libss7-2.0.1-2.oc9.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/libss7-2.0.1 extracting debug info from /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/lib64/libss7.so.2.0 577 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: libss7-2.0.1-2.oc9.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZDbBzv + umask 022 + cd /builddir/build/BUILD + cd libss7-2.0.1 + DOCDIR=/builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/share/doc/libss7 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/share/doc/libss7 + cp -pr ChangeLog /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/share/doc/libss7 + cp -pr NEWS-05-30-2008 NEWS-08-12-2008 NEWS-08-23-2006 NEWS-09-11-2006 NEWS-09-27-2006 /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/share/doc/libss7 + cp -pr README /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/share/doc/libss7 + cp -pr libss7-2.0.1-summary.html libss7-2.0.1-summary.txt /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/share/doc/libss7 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DJMhQR + umask 022 + cd /builddir/build/BUILD + cd libss7-2.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/share/licenses/libss7 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/share/licenses/libss7 + cp -pr LICENSE /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64/usr/share/licenses/libss7 + RPM_EC=0 ++ jobs -p + exit 0 Provides: libss7 = 2.0.1-2.oc9 libss7(loongarch-64) = 2.0.1-2.oc9 libss7.so.2.0()(64bit) 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) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: libss7-devel-2.0.1-2.oc9.loongarch64 Provides: libss7-devel = 2.0.1-2.oc9 libss7-devel(loongarch-64) = 2.0.1-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libss7.so.2.0()(64bit) Processing files: libss7-debugsource-2.0.1-2.oc9.loongarch64 Provides: libss7-debugsource = 2.0.1-2.oc9 libss7-debugsource(loongarch-64) = 2.0.1-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libss7-debuginfo-2.0.1-2.oc9.loongarch64 Provides: debuginfo(build-id) = 2f648ca611590f66185a99c45e4db498b9a587c6 libss7-debuginfo = 2.0.1-2.oc9 libss7-debuginfo(loongarch-64) = 2.0.1-2.oc9 libss7.so.2.0-2.0.1-2.oc9.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libss7-debugsource(loongarch-64) = 2.0.1-2.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libss7-2.0.1-2.oc9.loongarch64 Wrote: /builddir/build/RPMS/libss7-devel-2.0.1-2.oc9.loongarch64.rpm Wrote: /builddir/build/RPMS/libss7-debugsource-2.0.1-2.oc9.loongarch64.rpm Wrote: /builddir/build/RPMS/libss7-2.0.1-2.oc9.loongarch64.rpm Wrote: /builddir/build/RPMS/libss7-debuginfo-2.0.1-2.oc9.loongarch64.rpm Child return code was: 0