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/checkpolicy.spec'], chrootPath='/var/lib/mock/f33-build-361364-60237/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/checkpolicy.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=1595808000 Wrote: /builddir/build/SRPMS/checkpolicy-3.1-3.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/checkpolicy.spec'], chrootPath='/var/lib/mock/f33-build-361364-60237/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/checkpolicy.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=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EUmYw9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf checkpolicy-3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/checkpolicy-3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd checkpolicy-3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ffkaz8 + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-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 + /usr/bin/make -O -j4 V=1 VERBOSE=1 LIBDIR=/usr/lib64 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 -o parse_util.o -c parse_util.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 -o queue.o -c queue.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 -o module_compiler.o -c module_compiler.c bison -y -d policy_parse.y 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 -o checkpolicy.o -c checkpolicy.c flex policy_scan.l 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 -o checkmodule.o -c checkmodule.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 -o y.tab.o -c y.tab.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 -o lex.yy.o -c lex.yy.c In file included from /usr/include/string.h:519, from lex.yy.c:19: In function 'strncpy', inlined from 'yylex' at policy_scan.l:62:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 8190 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -o policy_define.o -c policy_define.c gcc -o checkmodule y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkmodule.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -l:libsepol.a gcc -o checkpolicy y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkpolicy.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -l:libsepol.a /usr/bin/make -C test make[1]: Entering directory '/builddir/build/BUILD/checkpolicy-3.1/test' 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 -c -o dispol.o dispol.c make[1]: Leaving directory '/builddir/build/BUILD/checkpolicy-3.1/test' make[1]: Entering directory '/builddir/build/BUILD/checkpolicy-3.1/test' 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 -c -o dismod.o dismod.c make[1]: Leaving directory '/builddir/build/BUILD/checkpolicy-3.1/test' make[1]: Entering directory '/builddir/build/BUILD/checkpolicy-3.1/test' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dispol dispol.o -l:libsepol.a make[1]: Leaving directory '/builddir/build/BUILD/checkpolicy-3.1/test' make[1]: Entering directory '/builddir/build/BUILD/checkpolicy-3.1/test' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dismod dismod.o -l:libsepol.a make[1]: Leaving directory '/builddir/build/BUILD/checkpolicy-3.1/test' + cd test + /usr/bin/make -O -j4 V=1 VERBOSE=1 LIBDIR=/usr/lib64 make: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Jz3SMa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64 + cd checkpolicy-3.1 + mkdir -p /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64 'INSTALL=/usr/bin/install -p' LIBDIR=/usr/lib64 /usr/bin/make -C test make[1]: Entering directory '/builddir/build/BUILD/checkpolicy-3.1/test' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/checkpolicy-3.1/test' mkdir -p /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/share/man/man8 install -m 755 checkpolicy checkmodule /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin install -m 644 checkpolicy.8 /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/share/man/man8 install -m 644 checkmodule.8 /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/share/man/man8 for lang in ru ; do \ if [ -e ${lang} ] ; then \ mkdir -p /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/share/man/${lang}/man8 ; \ install -m 644 ${lang}/*.8 /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/share/man/${lang}/man8 ; \ fi ; \ done + install test/dismod /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin/sedismod + install test/dispol /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin/sedispol + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.1-3.fc33 --unique-debug-suffix -3.1-3.fc33.riscv64 --unique-debug-src-base checkpolicy-3.1-3.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/checkpolicy-3.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin/checkpolicy explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin/sedismod explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin/sedispol explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin/checkmodule extracting debug info from /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin/checkmodule extracting debug info from /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin/sedismod extracting debug info from /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin/checkpolicy extracting debug info from /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/bin/sedispol original debug info size: 3444kB, size after compression: 3304kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 1131 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: checkpolicy-3.1-3.fc33.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.I1ETE9 + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-3.1 + LICENSEDIR=/builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/share/licenses/checkpolicy + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/share/licenses/checkpolicy + cp -pr COPYING /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64/usr/share/licenses/checkpolicy + RPM_EC=0 ++ jobs -p + exit 0 Provides: checkpolicy = 3.1-3.fc33 checkpolicy(riscv-64) = 3.1-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) rtld(GNU_HASH) Processing files: checkpolicy-debugsource-3.1-3.fc33.riscv64 Provides: checkpolicy-debugsource = 3.1-3.fc33 checkpolicy-debugsource(riscv-64) = 3.1-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: checkpolicy-debuginfo-3.1-3.fc33.riscv64 Provides: checkpolicy-debuginfo = 3.1-3.fc33 checkpolicy-debuginfo(riscv-64) = 3.1-3.fc33 debuginfo(build-id) = 05252d491a65a97289ddefab4d5cbcc23d58ec6c debuginfo(build-id) = 328909c012f2394d62f310d1396d7098ba0bd958 debuginfo(build-id) = 51b309bfc3c6ebf935b28e3661ca911a2ff1faf9 debuginfo(build-id) = d23f6bdb0d5ea440edcfce68497eae396367d916 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: checkpolicy-debugsource(riscv-64) = 3.1-3.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64 Wrote: /builddir/build/RPMS/checkpolicy-debugsource-3.1-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/checkpolicy-3.1-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/checkpolicy-debuginfo-3.1-3.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5VXyEb + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/checkpolicy-3.1-3.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0