Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mcstrans.spec'], chrootPath='/var/lib/mock/f32-build-119399-36548/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=432000uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1575590400 Wrote: /builddir/build/SRPMS/mcstrans-3.0-1.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mcstrans.spec'], chrootPath='/var/lib/mock/f32-build-119399-36548/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=432000uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1575590400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jwmRk2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mcstrans-3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/mcstrans-3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mcstrans-3.0 + /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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BmFCI4 + umask 022 + cd /builddir/build/BUILD + cd mcstrans-3.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 + make LIBDIR=/usr/lib64 -j4 make -C src make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.0/src' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 cc -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.0/src' make -C utils make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.0/utils' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 cc -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 cc -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.0/utils' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QS5Z02 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64 + cd mcstrans-3.0 + rm -rf /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/lib64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64//usr/lib64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/share/mcstrans + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/etc/selinux/mls/setrans.d + make DESTDIR=/builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64 LIBDIR=/usr/lib64 SHLIBDIR=lib64 SBINDIR=/usr/sbin install make -C src install make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.0/src' test -d /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/sbin || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/sbin install -m 755 mcstransd /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/sbin test -d /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/etc/rc.d/init.d || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/etc/rc.d/init.d install -m 755 mcstrans.init /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/etc/rc.d/init.d/mcstrans test -d /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/lib/systemd/system || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/lib/systemd/system install -m 644 mcstrans.service /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/lib/systemd/system/ make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.0/src' make -C man install make[1]: Entering directory '/builddir/build/BUILD/mcstrans-3.0/man' mkdir -p /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/share/man/man5 mkdir -p /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/share/man/man8 install -m 644 man5/*.5 /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/share/man/man5 install -m 644 man8/*.8 /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/share/man/man8 for lang in ru ; do \ if [ -e ${lang}/man5 ] ; then \ mkdir -p /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/share/man/${lang}/man5 ; \ install -m 644 ${lang}/man5/*.5 /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/share/man/${lang}/man5 ; \ fi ; \ if [ -e ${lang}/man8 ] ; then \ mkdir -p /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/share/man/${lang}/man8 ; \ install -m 644 ${lang}/man8/*.8 /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/share/man/${lang}/man8 ; \ fi ; \ done make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-3.0/man' + rm -f '/builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/lib64/*.a' + cp -r share/examples share/util /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/share/mcstrans/ + mkdir -p /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/lib/systemd/system + ln -s /usr/lib/systemd/system/mcstrans.service /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64//usr/lib/systemd/system/mcstransd.service + rm -rf /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64//etc/rc.d/init.d/mcstrans + install -m644 /builddir/build/SOURCES/secolor.conf.8 /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/share/man/man8/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.0-1.fc32 --unique-debug-suffix -3.0-1.fc32.riscv64 --unique-debug-src-base mcstrans-3.0-1.fc32.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mcstrans-3.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/sbin/mcstransd extracting debug info from /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64/usr/sbin/mcstransd original debug info size: 280kB, size after compression: 276kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 128 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mcstrans-3.0-1.fc32.riscv64 BUILDSTDERR: warning: absolute symlink: /usr/lib/systemd/system/mcstransd.service -> /usr/lib/systemd/system/mcstrans.service Provides: libsetrans mcstrans = 3.0-1.fc32 mcstrans(riscv-64) = 3.0-1.fc32 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) rtld(GNU_HASH) Processing files: mcstrans-debugsource-3.0-1.fc32.riscv64 Provides: mcstrans-debugsource = 3.0-1.fc32 mcstrans-debugsource(riscv-64) = 3.0-1.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mcstrans-debuginfo-3.0-1.fc32.riscv64 Provides: debuginfo(build-id) = 23f872008b523bafaa90da6bb62aa213f6ba5cee mcstrans-debuginfo = 3.0-1.fc32 mcstrans-debuginfo(riscv-64) = 3.0-1.fc32 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.0-1.fc32 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64 Wrote: /builddir/build/RPMS/mcstrans-debugsource-3.0-1.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/mcstrans-3.0-1.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/mcstrans-debuginfo-3.0-1.fc32.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3ymP32 + umask 022 + cd /builddir/build/BUILD + cd mcstrans-3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mcstrans-3.0-1.fc32.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0