Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mcstrans.spec'], chrootPath='/var/lib/mock/f33-build-361368-60239/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/mcstrans-3.1-2.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mcstrans.spec'], chrootPath='/var/lib/mock/f33-build-361368-60239/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PdW80d + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mcstrans-3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/mcstrans-3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mcstrans-3.1 + /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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oXWSZd + umask 022 + cd /builddir/build/BUILD + cd mcstrans-3.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -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 -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 -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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + make LIBDIR=/usr/lib64 -j4 make -C src make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.1/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 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mcstrans.o mcstrans.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mcscolor.o mcscolor.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mcstransd.o mcstransd.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mls_level.o mls_level.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.1/src' make -C utils make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.1/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 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -I../src -fPIE -c -o transcon.o transcon.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -I../src -fPIE -c -o untranscon.o untranscon.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o untranscon untranscon.o ../src/mcstrans.o ../src/mls_level.o -lpcre -lselinux -l:libsepol.a gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.1/utils' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TGLYpf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64 + cd mcstrans-3.1 + rm -rf /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/lib64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64//usr/lib64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/share/mcstrans + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/etc/selinux/mls/setrans.d + make DESTDIR=/builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64 LIBDIR=/usr/lib64 SHLIBDIR=lib64 SBINDIR=/usr/sbin install make -C src install make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.1/src' test -d /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/sbin || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/sbin install -m 755 mcstransd /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/sbin test -d /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/etc/rc.d/init.d || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/etc/rc.d/init.d install -m 755 mcstrans.init /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/etc/rc.d/init.d/mcstrans test -d /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/lib/systemd/system || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/lib/systemd/system install -m 644 mcstrans.service /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/lib/systemd/system/ make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.1/src' make -C man install make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.1/man' mkdir -p /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/share/man/man5 mkdir -p /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/share/man/man8 install -m 644 man5/*.5 /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/share/man/man5 install -m 644 man8/*.8 /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/share/man/man8 for lang in ru ; do \ if [ -e ${lang}/man5 ] ; then \ mkdir -p /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/share/man/${lang}/man5 ; \ install -m 644 ${lang}/man5/*.5 /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/share/man/${lang}/man5 ; \ fi ; \ if [ -e ${lang}/man8 ] ; then \ mkdir -p /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/share/man/${lang}/man8 ; \ install -m 644 ${lang}/man8/*.8 /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/share/man/${lang}/man8 ; \ fi ; \ done make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.1/man' + rm -f '/builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/lib64/*.a' + cp -r share/examples share/util /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/share/mcstrans/ + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/lib/systemd/system + ln -s /usr/lib/systemd/system/mcstrans.service /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64//usr/lib/systemd/system/mcstransd.service + rm -rf /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64//etc/rc.d/init.d/mcstrans + install -m644 /builddir/build/SOURCES/secolor.conf.8 /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/share/man/man8/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.1-2.fc33 --unique-debug-suffix -3.1-2.fc33.riscv64 --unique-debug-src-base mcstrans-3.1-2.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mcstrans-3.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/sbin/mcstransd extracting debug info from /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64/usr/sbin/mcstransd original debug info size: 520kB, size after compression: 516kB /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.1-2.fc33.riscv64 warning: absolute symlink: /usr/lib/systemd/system/mcstransd.service -> /usr/lib/systemd/system/mcstrans.service Provides: libsetrans mcstrans = 3.1-2.fc33 mcstrans(riscv-64) = 3.1-2.fc33 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: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(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.1-2.fc33.riscv64 Provides: mcstrans-debugsource = 3.1-2.fc33 mcstrans-debugsource(riscv-64) = 3.1-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mcstrans-debuginfo-3.1-2.fc33.riscv64 Provides: debuginfo(build-id) = fffe354e3d24cf29d16dcc23966d2d61922d3292 mcstrans-debuginfo = 3.1-2.fc33 mcstrans-debuginfo(riscv-64) = 3.1-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mcstrans-debugsource(riscv-64) = 3.1-2.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64 Wrote: /builddir/build/RPMS/mcstrans-debugsource-3.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/mcstrans-3.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/mcstrans-debuginfo-3.1-2.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YBXPef + umask 022 + cd /builddir/build/BUILD + cd mcstrans-3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mcstrans-3.1-2.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0