Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/mcstrans.spec'], chrootPath='/var/lib/mock/rocky-9-ppc64le/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=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/mcstrans.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/mcstrans-3.2-4.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/mcstrans.spec"], chrootPath='/var/lib/mock/rocky-9-ppc64le/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=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/mcstrans.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2FxRgp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mcstrans-3.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/mcstrans-3.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mcstrans-3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-mcstrans-Fir-RESOURCE_LEAK-and-USE_AFTER_FREE-coveri.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-mcstrans-Fix-USER_AFTER_FREE-problem.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-mcstrans-Do-not-accept-incomplete-contexts.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-mcstrans-fix-RESOURCE_LEAK-CWE-772.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ky36SA + umask 022 + cd /builddir/build/BUILD + cd mcstrans-3.2 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + 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 -j16 V=1 VERBOSE=1 LIBDIR=/usr/lib64 /usr/bin/make -C src make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.2/src' 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mls_level.o mls_level.c make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.2/src' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.2/src' 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mcscolor.o mcscolor.c make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.2/src' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.2/src' 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mcstransd.o mcstransd.c make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.2/src' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.2/src' 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mcstrans.o mcstrans.c make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.2/src' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.2/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -pie -o mcstransd mcstrans.o mcscolor.o mcstransd.o mls_level.o -lselinux -lcap -lpcre -l:libsepol.a make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.2/src' /usr/bin/make -C utils make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.2/utils' 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -I../src -fPIE -c -o untranscon.o untranscon.c make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.2/utils' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.2/utils' 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -I../src -fPIE -c -o transcon.o transcon.c make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.2/utils' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.2/utils' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o transcon transcon.o ../src/mcstrans.o ../src/mls_level.o -lpcre -lselinux -l:libsepol.a make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.2/utils' make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.2/utils' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o untranscon untranscon.o ../src/mcstrans.o ../src/mls_level.o -lpcre -lselinux -l:libsepol.a make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.2/utils' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rrr6eg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le + cd mcstrans-3.2 + rm -rf /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/lib64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le//usr/lib64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/share/mcstrans + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/etc/selinux/mls/setrans.d + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le 'INSTALL=/usr/bin/install -p' LIBDIR=/usr/lib64 SHLIBDIR=lib64 SBINDIR=/usr/sbin /usr/bin/make -C src install make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.2/src' test -d /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/sbin || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/sbin install -m 755 mcstransd /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/sbin test -d /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/etc/rc.d/init.d || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/etc/rc.d/init.d install -m 755 mcstrans.init /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/etc/rc.d/init.d/mcstrans test -d /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/lib/systemd/system || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/lib/systemd/system install -m 644 mcstrans.service /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/lib/systemd/system/ make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.2/src' /usr/bin/make -C man install make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.2/man' mkdir -p /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/share/man/man5 mkdir -p /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/share/man/man8 install -m 644 man5/*.5 /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/share/man/man5 install -m 644 man8/*.8 /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/share/man/man8 for lang in ru ; do \ if [ -e ${lang}/man5 ] ; then \ mkdir -p /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/share/man/${lang}/man5 ; \ install -m 644 ${lang}/man5/*.5 /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/share/man/${lang}/man5 ; \ fi ; \ if [ -e ${lang}/man8 ] ; then \ mkdir -p /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/share/man/${lang}/man8 ; \ install -m 644 ${lang}/man8/*.8 /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/share/man/${lang}/man8 ; \ fi ; \ done make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.2/man' + rm -f '/builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/lib64/*.a' + cp -r share/examples share/util /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/share/mcstrans/ + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/lib/systemd/system + ln -s /usr/lib/systemd/system/mcstrans.service /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le//usr/lib/systemd/system/mcstransd.service + rm -rf /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le//etc/rc.d/init.d/mcstrans + install -m644 /builddir/build/SOURCES/secolor.conf.8 /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/share/man/man8/ + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 3.2-4.el9 --unique-debug-suffix -3.2-4.el9.ppc64le --unique-debug-src-base mcstrans-3.2-4.el9.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mcstrans-3.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/sbin/mcstransd extracting debug info from /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le/usr/sbin/mcstransd original debug info size: 236kB, size after compression: 228kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 128 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mcstrans-3.2-4.el9.ppc64le warning: absolute symlink: /usr/lib/systemd/system/mcstransd.service -> /usr/lib/systemd/system/mcstrans.service Provides: libsetrans mcstrans = 3.2-4.el9 mcstrans(ppc-64) = 3.2-4.el9 setransd 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 Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcap.so.2()(64bit) libpcre.so.1()(64bit) libselinux.so.1()(64bit) libselinux.so.1(LIBSELINUX_1.0)(64bit) rtld(GNU_HASH) Processing files: mcstrans-debugsource-3.2-4.el9.ppc64le Provides: mcstrans-debugsource = 3.2-4.el9 mcstrans-debugsource(ppc-64) = 3.2-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mcstrans-debuginfo-3.2-4.el9.ppc64le Provides: debuginfo(build-id) = 6a8ec3e6edefdfba469d989eff1fabfffe12ae74 mcstrans-debuginfo = 3.2-4.el9 mcstrans-debuginfo(ppc-64) = 3.2-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mcstrans-debugsource(ppc-64) = 3.2-4.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le Wrote: /builddir/build/RPMS/mcstrans-debugsource-3.2-4.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/mcstrans-debuginfo-3.2-4.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/mcstrans-3.2-4.el9.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fIOPTr + umask 022 + cd /builddir/build/BUILD + cd mcstrans-3.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mcstrans-3.2-4.el9.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0