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/ftplib.spec'], chrootPath='/var/lib/mock/f31-build-52707-27707/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ftplib.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=1548892800 Wrote: /builddir/build/SRPMS/ftplib-4.0-10.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ftplib.spec'], chrootPath='/var/lib/mock/f31-build-52707-27707/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ftplib.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=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SFegIW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ftplib-4.0-1 + /usr/bin/gzip -dc /builddir/build/SOURCES/ftplib-4.0-1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ftplib-4.0-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ftplib-3.1-1-modernize.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .modern --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (ftplib-3.1-1-modernize.patch): patching file src/Makefile Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wiqEnV + umask 022 + cd /builddir/build/BUILD + cd ftplib-4.0-1 + cd src/ + make -j4 'DEBUG=-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' BUILDSTDERR: ftplib.c: In function 'FtpAccess': BUILDSTDERR: ftplib.c:966:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 966 | if (!FtpAcceptConnection(*nData,nControl)) BUILDSTDERR: | ^ BUILDSTDERR: ftplib.c: In function 'FtpAccess': BUILDSTDERR: ftplib.c:966:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 966 | if (!FtpAcceptConnection(*nData,nControl)) BUILDSTDERR: | ^ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 cc -Wall -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. -Wno-unused-variable -D_FILE_OFFSET_BITS=64 -D__unix__ -c -o qftp.o qftp.c cc -c -Wall -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. -Wno-unused-variable -D_FILE_OFFSET_BITS=64 -D__unix__ -fPIC -D_REENTRANT ftplib.c -o ftplib.o test -d unshared || mkdir unshared cc -c -Wall -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. -Wno-unused-variable -D_FILE_OFFSET_BITS=64 -D__unix__ -D_REENTRANT ftplib.c -o unshared/ftplib.o cc -shared -Wl,-soname,libftp.so.4 -lc -o libftp.so.4.0 ftplib.o ar -rcs libftp.a unshared/ftplib.o cc -o qftp.static qftp.o libftp.a ln -sf libftp.so.4.0 libftp.so.4 ln -sf libftp.so.4.0 libftp.so cc -L. -o qftp qftp.o -lftp Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7aprYU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64 + cd ftplib-4.0-1 + rm -rf /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64 + mkdir /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/include + cd src/ + make DESTDIR=/builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64 LIBDIR=/usr/lib64 install + cd /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/lib64 + chmod +x libftp.so.4.0 + ln -sf libftp.so.4.0 libftp.so.4 + ln -sf libftp.so.4 libftp.so + cd /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/bin + for f in ftpdir ftpget ftplist ftprm ftpsend + ln -s qftp ftpdir + for f in ftpdir ftpget ftplist ftprm ftpsend + ln -s qftp ftpget + for f in ftpdir ftpget ftplist ftprm ftpsend + ln -s qftp ftplist + for f in ftpdir ftpget ftplist ftprm ftpsend + ln -s qftp ftprm + for f in ftpdir ftpget ftplist ftprm ftpsend + ln -s qftp ftpsend + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.0-10.fc31 --unique-debug-suffix -4.0-10.fc31.riscv64 --unique-debug-src-base ftplib-4.0-10.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ftplib-4.0-1 BUILDSTDERR: 90 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/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs install qftp /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/bin install -m 644 libftp.so.4.0 /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/lib64 install -m 644 ftplib.h /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/include explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/lib64/libftp.so.4.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/bin/qftp extracting debug info from /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/lib64/libftp.so.4.0 extracting debug info from /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/bin/qftp original debug info size: 144kB, size after compression: 144kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Processing files: ftplib-4.0-10.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UxSFjV + umask 022 + cd /builddir/build/BUILD + cd ftplib-4.0-1 + DOCDIR=/builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/doc/ftplib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/doc/ftplib + cp -pr CHANGES /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/doc/ftplib + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Nbze6V + umask 022 + cd /builddir/build/BUILD + cd ftplib-4.0-1 + LICENSEDIR=/builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/licenses/ftplib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/licenses/ftplib + cp -pr LICENSE /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/licenses/ftplib + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: ftplib = 4.0-10.fc31 ftplib(riscv-64) = 4.0-10.fc31 libftp.so.4()(64bit) 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: ftplib-devel-4.0-10.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.t8gLyW + umask 022 + cd /builddir/build/BUILD + cd ftplib-4.0-1 + DOCDIR=/builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/doc/ftplib-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/doc/ftplib-devel + cp -pr additional_rfcs /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/doc/ftplib-devel + cp -pr README.ftplib-4.0-1 /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/doc/ftplib-devel + cp -pr RFC959.txt /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/doc/ftplib-devel + cp -pr html/ /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/doc/ftplib-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: ftplib-devel = 4.0-10.fc31 ftplib-devel(riscv-64) = 4.0-10.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libftp.so.4()(64bit) Processing files: qftp-4.0-10.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.k3TPjV + umask 022 + cd /builddir/build/BUILD + cd ftplib-4.0-1 + DOCDIR=/builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/doc/qftp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/doc/qftp + cp -pr README.qftp /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64/usr/share/doc/qftp + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: qftp = 4.0-10.fc31 qftp(riscv-64) = 4.0-10.fc31 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) libftp.so.4()(64bit) rtld(GNU_HASH) Processing files: ftplib-debugsource-4.0-10.fc31.riscv64 Provides: ftplib-debugsource = 4.0-10.fc31 ftplib-debugsource(riscv-64) = 4.0-10.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ftplib-debuginfo-4.0-10.fc31.riscv64 Provides: debuginfo(build-id) = 77a1999fdb0e6fde818002ab1ceacd9f7b488628 ftplib-debuginfo = 4.0-10.fc31 ftplib-debuginfo(riscv-64) = 4.0-10.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ftplib-debugsource(riscv-64) = 4.0-10.fc31 Processing files: qftp-debuginfo-4.0-10.fc31.riscv64 Provides: debuginfo(build-id) = 33a6b45b8c13d777e0ba590fe453ed8f76e7f96e qftp-debuginfo = 4.0-10.fc31 qftp-debuginfo(riscv-64) = 4.0-10.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ftplib-debugsource(riscv-64) = 4.0-10.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64 Wrote: /builddir/build/RPMS/qftp-4.0-10.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ftplib-4.0-10.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ftplib-debugsource-4.0-10.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/qftp-debuginfo-4.0-10.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ftplib-debuginfo-4.0-10.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ftplib-devel-4.0-10.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Wh81yX + umask 022 + cd /builddir/build/BUILD + cd ftplib-4.0-1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ftplib-4.0-10.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0