Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mt-st.spec'], chrootPath='/var/lib/mock/f31-build-112551-34278/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mt-st.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=1564012800 Wrote: /builddir/build/SRPMS/mt-st-1.1-25.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mt-st.spec'], chrootPath='/var/lib/mock/f31-build-112551-34278/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mt-st.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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sDVSkS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mt-st-1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/mt-st-1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mt-st-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/mt-st-1.1-redhat.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/mt-st-1.1-SDLT.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/mt-st-0.7-config-files.patch + /usr/bin/cat /builddir/build/SOURCES/mt-st-0.9b-manfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/mt-st-1.1-include.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/mt-st-1.1-options.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/mt-st-1.1-man.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + f=README.stinit + iconv -f ISO8859-1 -t UTF-8 -o README.stinit.new README.stinit + touch -r README.stinit README.stinit.new + mv README.stinit.new README.stinit + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9Zw3uS + umask 022 + cd /builddir/build/BUILD + cd mt-st-1.1 + make '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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mt mt.c BUILDSTDERR: mt.c: In function 'main': BUILDSTDERR: mt.c:283:15: warning: variable 'cmd_code' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 283 | int mtfd, cmd_code, i, argn, len, oflags; BUILDSTDERR: | ^~~~~~~~ gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o stinit stinit.c BUILDSTDERR: stinit.c: In function 'find_string': BUILDSTDERR: stinit.c:151:11: warning: comparison between pointer and zero character constant [-Wpointer-compare] BUILDSTDERR: 151 | if (cp2 == '\0') BUILDSTDERR: | ^~ BUILDSTDERR: stinit.c:151:7: note: did you mean to dereference the pointer? BUILDSTDERR: 151 | if (cp2 == '\0') BUILDSTDERR: | ^ BUILDSTDERR: stinit.c: In function 'sg_io_errcheck': BUILDSTDERR: stinit.c:454:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 454 | int status; BUILDSTDERR: | ^~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4RyUVS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64 + cd mt-st-1.1 + make install mkdir -p /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/bin /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/sbin /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/man/man8 install -m 755 mt /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/bin install -c -m 444 mt.1 /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/man/man1 (if [ -f /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/man/man1/mt.1.gz ] ; then \ rm -f /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/man/man1/mt.1.gz; gzip /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/man/man1/mt.1; fi) install -m 755 stinit /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/sbin install -c -m 444 stinit.8 /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/man/man8 (if [ -f /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/man/man8/stinit.8.gz ] ; then \ rm -f /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/man/man8/stinit.8.gz; gzip /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/man/man8/stinit.8; fi) + install -D -p -m 0644 /builddir/build/SOURCES/stinit.service /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/lib/systemd/system/stinit.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1-25.fc31 --unique-debug-suffix -1.1-25.fc31.riscv64 --unique-debug-src-base mt-st-1.1-25.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mt-st-1.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/sbin/stinit explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/bin/mt extracting debug info from /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/sbin/stinit extracting debug info from /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/bin/mt original debug info size: 148kB, size after compression: 152kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 94 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: mt-st-1.1-25.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xjRnaW + umask 022 + cd /builddir/build/BUILD + cd mt-st-1.1 + DOCDIR=/builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/doc/mt-st + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/doc/mt-st + cp -pr COPYING /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/doc/mt-st + cp -pr README /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/doc/mt-st + cp -pr README.stinit /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/doc/mt-st + cp -pr mt-st-1.1.lsm /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/doc/mt-st + cp -pr stinit.def.examples /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64/usr/share/doc/mt-st + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: mt-st = 1.1-25.fc31 mt-st(riscv-64) = 1.1-25.fc31 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) rtld(GNU_HASH) Processing files: mt-st-debugsource-1.1-25.fc31.riscv64 Provides: mt-st-debugsource = 1.1-25.fc31 mt-st-debugsource(riscv-64) = 1.1-25.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mt-st-debuginfo-1.1-25.fc31.riscv64 Provides: debuginfo(build-id) = 7cfc4000b49155ae0ad75a4b52f5cac6e09f09f9 debuginfo(build-id) = e3f47f888c5f69ee0bef8a5a62b4db698ff70b39 mt-st-debuginfo = 1.1-25.fc31 mt-st-debuginfo(riscv-64) = 1.1-25.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mt-st-debugsource(riscv-64) = 1.1-25.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64 Wrote: /builddir/build/RPMS/mt-st-debugsource-1.1-25.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mt-st-1.1-25.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mt-st-debuginfo-1.1-25.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fHoGHS + umask 022 + cd /builddir/build/BUILD + cd mt-st-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mt-st-1.1-25.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0