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/f29-build-8058-2080/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=345600uid=998gid=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 Wrote: /builddir/build/SRPMS/mcstrans-0.3.4-12.fc29.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/f29-build-8058-2080/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=345600uid=998gid=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qFW49O + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mcstrans-0.3.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/mcstrans-0.3.4.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mcstrans-0.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WRLGUQ + umask 022 + cd /builddir/build/BUILD + cd mcstrans-0.3.4 + make clean rm -f *~ \#* make -C src clean clean make[1]: Entering directory '/builddir/build/BUILD/mcstrans-0.3.4/src' rm -f mcstransd mcstrans.o mcscolor.o mcstransd.o mls_level.o *~ \#* make[1]: 'clean' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-0.3.4/src' make -C utils clean clean make[1]: Entering directory '/builddir/build/BUILD/mcstrans-0.3.4/utils' rm -f untranscon transcon *.o *~ \#* make[1]: 'clean' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-0.3.4/utils' make -C man clean clean make[1]: Entering directory '/builddir/build/BUILD/mcstrans-0.3.4/man' rm -f *~ \#* rm -f man8/*~ man8/\#* make[1]: 'clean' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-0.3.4/man' + make LIBDIR=/usr/lib64 'LDFLAGS=-pie -Wl,-z,relro -Wl,-z,now' '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 -fPIE' -j4 make -C src all make[1]: Entering directory '/builddir/build/BUILD/mcstrans-0.3.4/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 -fPIE -I../include -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 -fPIE -I../include -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 -fPIE -I../include -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 -fPIE -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mls_level.o mls_level.c BUILDSTDERR: In file included from mcscolor.c:12: BUILDSTDERR: /usr/include/selinux/flask.h:5:2: warning: #warning "Please remove any #include's of this header in your source code." [-Wcpp] BUILDSTDERR: #warning "Please remove any #include's of this header in your source code." BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/selinux/flask.h:6:2: warning: #warning "Instead, use string_to_security_class() to map the class name to a value." [-Wcpp] BUILDSTDERR: #warning "Instead, use string_to_security_class() to map the class name to a value." BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from mcscolor.c:13: BUILDSTDERR: /usr/include/selinux/av_permissions.h:1:2: warning: #warning "Please remove any #include of this header in your source code." [-Wcpp] BUILDSTDERR: #warning "Please remove any #include of this header in your source code." BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/selinux/av_permissions.h:2:2: warning: #warning "Instead, use string_to_av_perm() to map the permission name to a value." [-Wcpp] BUILDSTDERR: #warning "Instead, use string_to_av_perm() to map the permission name to a value." BUILDSTDERR: ^~~~~~~ BUILDSTDERR: mcscolor.c: In function 'raw_color': BUILDSTDERR: mcscolor.c:335:30: warning: argument to 'sizeof' in 'strncat' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] BUILDSTDERR: strncat(result, buf, sizeof(buf)); BUILDSTDERR: ^ BUILDSTDERR: mcstransd.c: In function 'send_response': BUILDSTDERR: mcstransd.c:107:19: warning: implicit declaration of function 'writev'; did you mean 'write'? [-Wimplicit-function-declaration] BUILDSTDERR: while (((count = writev(fd, resp_hdr, 3)) < 0) && (errno == EINTR)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: write BUILDSTDERR: mcstransd.c: In function 'service_request': BUILDSTDERR: mcstransd.c:233:19: warning: implicit declaration of function 'readv'; did you mean 'read'? [-Wimplicit-function-declaration] BUILDSTDERR: while (((count = readv(fd, req_hdr, 3)) < 0) && (errno == EINTR)); BUILDSTDERR: ^~~~~ BUILDSTDERR: read BUILDSTDERR: mcstransd.c: In function 'write_pid_file': BUILDSTDERR: mcstransd.c:593:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(pidfd, val, (unsigned int)len); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mcstrans.c: In function 'add_inotify_cache': BUILDSTDERR: mcstrans.c:1844:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(trans, 1, BUF_LEN, f); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pie -Wl,-z,relro -Wl,-z,now -pie -o mcstransd mcstrans.o mcscolor.o mcstransd.o mls_level.o -lselinux -lcap -lpcre /usr/lib64/libsepol.a make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-0.3.4/src' make -C utils all make[1]: Entering directory '/builddir/build/BUILD/mcstrans-0.3.4/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 -fPIE -I../src -D_GNU_SOURCE -pie -Wl,-z,relro -Wl,-z,now untranscon.c -L../src ../src/mcstrans.o ../src/mls_level.o -lselinux -lpcre /usr/lib64/libsepol.a -o untranscon 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 -fPIE -I../src -D_GNU_SOURCE -pie -Wl,-z,relro -Wl,-z,now transcon.c -L../src ../src/mcstrans.o ../src/mls_level.o -lselinux -lpcre /usr/lib64/libsepol.a -o transcon make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-0.3.4/utils' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.varr0S + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64 + cd mcstrans-0.3.4 + rm -rf /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/lib64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64//usr/lib64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/share/mcstrans + mkdir -p /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/etc/selinux/mls/setrans.d + make DESTDIR=/builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64 LIBDIR=/builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/lib64 SHLIBDIR=/builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/lib64 SBINDIR=/builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/sbin install make -C src install install make[1]: Entering directory '/builddir/build/BUILD/mcstrans-0.3.4/src' test -d /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/sbin || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/sbin install -m 755 mcstransd /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/sbin test -d /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/etc/rc.d/init.d || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/etc/rc.d/init.d install -m 755 mcstrans.init /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/etc/rc.d/init.d/mcstrans make[1]: 'install' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-0.3.4/src' make -C man install install make[1]: Entering directory '/builddir/build/BUILD/mcstrans-0.3.4/man' mkdir -p /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/share/man/man8 install -m 644 man8/*.8 /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/share/man/man8 make[1]: 'install' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/mcstrans-0.3.4/man' + rm -f '/builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/lib64/*.a' + cp -r share/examples share/util /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/share/mcstrans/ + mkdir -p /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/lib/systemd/system + install -m644 /builddir/build/SOURCES/mcstransd.service /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/lib/systemd/system + rm -rf /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64//etc/rc.d/init.d/mcstrans + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.3.4-12.fc29 --unique-debug-suffix -0.3.4-12.fc29.riscv64 --unique-debug-src-base mcstrans-0.3.4-12.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mcstrans-0.3.4 extracting debug info from /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/usr/sbin/mcstransd /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 137 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mcstrans-0.3.4-12.fc29.riscv64 Provides: libsetrans mcstrans = 0.3.4-12.fc29 mcstrans(riscv-64) = 0.3.4-12.fc29 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(pre): systemd-units Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh Requires(postun): /bin/sh 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) Obsoletes: libsetrans Processing files: mcstrans-debugsource-0.3.4-12.fc29.riscv64 Provides: mcstrans-debugsource = 0.3.4-12.fc29 mcstrans-debugsource(riscv-64) = 0.3.4-12.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mcstrans-debuginfo-0.3.4-12.fc29.riscv64 Provides: debuginfo(build-id) = 72a54f2fe1b18d75b9de5ee945e73f901d515db6 mcstrans-debuginfo = 0.3.4-12.fc29 mcstrans-debuginfo(riscv-64) = 0.3.4-12.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mcstrans-debugsource(riscv-64) = 0.3.4-12.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64 Wrote: /builddir/build/RPMS/mcstrans-0.3.4-12.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/mcstrans-debugsource-0.3.4-12.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/mcstrans-debuginfo-0.3.4-12.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.U1SBHJ + umask 022 + cd /builddir/build/BUILD + cd mcstrans-0.3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mcstrans-0.3.4-12.fc29.riscv64 + exit 0 Child return code was: 0