+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/mcstrans.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xfdo1Z + 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.LMWfRX + 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 -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 -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 -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 -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 -fPIE -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mls_level.o mls_level.c In file included from mcscolor.c:12:0: /usr/include/selinux/flask.h:5:2: warning: #warning "Please remove any #include's of this header in your source code." [-Wcpp] #warning "Please remove any #include's of this header in your source code." ^~~~~~~ /usr/include/selinux/flask.h:6:2: warning: #warning "Instead, use string_to_security_class() to map the class name to a value." [-Wcpp] #warning "Instead, use string_to_security_class() to map the class name to a value." ^~~~~~~ In file included from mcscolor.c:13:0: /usr/include/selinux/av_permissions.h:1:2: warning: #warning "Please remove any #include of this header in your source code." [-Wcpp] #warning "Please remove any #include of this header in your source code." ^~~~~~~ /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] #warning "Instead, use string_to_av_perm() to map the permission name to a value." ^~~~~~~ mcstransd.c: In function 'send_response': mcstransd.c:107:19: warning: implicit declaration of function 'writev'; did you mean 'write'? [-Wimplicit-function-declaration] while (((count = writev(fd, resp_hdr, 3)) < 0) && (errno == EINTR)); ^~~~~~ write mcstransd.c: In function 'service_request': mcstransd.c:233:19: warning: implicit declaration of function 'readv'; did you mean 'read'? [-Wimplicit-function-declaration] while (((count = readv(fd, req_hdr, 3)) < 0) && (errno == EINTR)); ^~~~~ read mcstransd.c: In function 'write_pid_file': mcstransd.c:593:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(pidfd, val, (unsigned int)len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mcstrans.c: In function 'add_inotify_cache': mcstrans.c:1844:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(trans, 1, BUF_LEN, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -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.XohGCC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64 + cd mcstrans-0.3.4 + rm -rf /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/lib64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64//usr/lib64 + mkdir -p /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/usr/share/mcstrans + mkdir -p /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/etc/selinux/mls/setrans.d + make DESTDIR=/builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64 LIBDIR=/builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/usr/lib64 SHLIBDIR=/builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/lib64 SBINDIR=/builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.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-11.fc28.riscv64/usr/sbin || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/usr/sbin install -m 755 mcstransd /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/usr/sbin test -d /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/etc/rc.d/init.d || install -m 755 -d /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/etc/rc.d/init.d install -m 755 mcstrans.init /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.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-11.fc28.riscv64/usr/share/man/man8 install -m 644 man8/*.8 /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.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-11.fc28.riscv64/usr/lib64/*.a' + cp -r share/examples share/util /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/usr/share/mcstrans/ + mkdir -p /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/usr/lib/systemd/system + install -m644 /builddir/build/SOURCES/mcstransd.service /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/usr/lib/systemd/system + rm -rf /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64//etc/rc.d/init.d/mcstrans + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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-11.fc28.riscv64 Provides: libsetrans mcstrans = 0.3.4-11.fc28 mcstrans(riscv-64) = 0.3.4-11.fc28 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 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64 Wrote: /builddir/build/SRPMS/mcstrans-0.3.4-11.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/mcstrans-0.3.4-11.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.U5aRa7 + umask 022 + cd /builddir/build/BUILD + cd mcstrans-0.3.4 + rm -rf /builddir/build/BUILDROOT/mcstrans-0.3.4-11.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff