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/ftplib.spec'], chrootPath='/var/lib/mock/f33-build-136281-41857/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/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=1580169600 Wrote: /builddir/build/SRPMS/ftplib-4.0-12.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/ftplib.spec'], chrootPath='/var/lib/mock/f33-build-136281-41857/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/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=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xvbMFi + 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):' Patch #0 (ftplib-3.1-1-modernize.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .modern --fuzz=0 patching file src/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RNaogg + 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' 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 In file included from /usr/include/string.h:495, from ftplib.c:28: In function 'strncpy', inlined from 'socket_wait' at ftplib.c:214:6: In file included from /usr/include/string.h:495, from ftplib.c:28: In function 'strncpy', inlined from 'socket_wait' at ftplib.c:214:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'FtpAcceptConnection' at ftplib.c:889:3, inlined from 'FtpAccess' at ftplib.c:966:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'FtpAcceptConnection' at ftplib.c:889:3, inlined from 'FtpAccess' at ftplib.c:966:7: In function 'strncpy', inlined from 'FtpAcceptConnection' at ftplib.c:861:9, inlined from 'FtpAccess' at ftplib.c:966:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'FtpAcceptConnection' at ftplib.c:861:9, inlined from 'FtpAccess' at ftplib.c:966:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftplib.c: In function 'FtpAccess': ftplib.c: In function 'FtpAccess': ftplib.c:966:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] 966 | if (!FtpAcceptConnection(*nData,nControl)) | ^ ftplib.c:966:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] 966 | if (!FtpAcceptConnection(*nData,nControl)) | ^ In file included from /usr/include/string.h:495, from ftplib.c:28: In function 'strncpy', inlined from 'FtpXfer' at ftplib.c:1230:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ftplib.c:28: In function 'strncpy', inlined from 'FtpXfer' at ftplib.c:1230:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ClQcBh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64 + cd ftplib-4.0-1 + rm -rf /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64 + mkdir /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/include + cd src/ + make DESTDIR=/builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64 LIBDIR=/usr/lib64 install install qftp /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/bin install -m 644 libftp.so.4.0 /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/lib64 install -m 644 ftplib.h /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/include + cd /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.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-12.fc33.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-12.fc33 --unique-debug-suffix -4.0-12.fc33.riscv64 --unique-debug-src-base ftplib-4.0-12.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ftplib-4.0-1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/bin/qftp explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/lib64/libftp.so.4.0 extracting debug info from /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/bin/qftp extracting debug info from /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/lib64/libftp.so.4.0 original debug info size: 144kB, size after compression: 148kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 90 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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ftplib-4.0-12.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DJCn1h + umask 022 + cd /builddir/build/BUILD + cd ftplib-4.0-1 + DOCDIR=/builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/doc/ftplib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/doc/ftplib + cp -pr CHANGES /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/doc/ftplib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.f1zU6h + umask 022 + cd /builddir/build/BUILD + cd ftplib-4.0-1 + LICENSEDIR=/builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/licenses/ftplib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/licenses/ftplib + cp -pr LICENSE /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/licenses/ftplib + RPM_EC=0 ++ jobs -p + exit 0 Provides: ftplib = 4.0-12.fc33 ftplib(riscv-64) = 4.0-12.fc33 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-12.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bKyC4e + umask 022 + cd /builddir/build/BUILD + cd ftplib-4.0-1 + DOCDIR=/builddir/build/BUILDROOT/ftplib-4.0-12.fc33.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-12.fc33.riscv64/usr/share/doc/ftplib-devel + cp -pr additional_rfcs /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/doc/ftplib-devel + cp -pr README.ftplib-4.0-1 /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/doc/ftplib-devel + cp -pr RFC959.txt /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/doc/ftplib-devel + cp -pr html/ /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/doc/ftplib-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ftplib-devel = 4.0-12.fc33 ftplib-devel(riscv-64) = 4.0-12.fc33 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-12.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1MxMoi + umask 022 + cd /builddir/build/BUILD + cd ftplib-4.0-1 + DOCDIR=/builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/doc/qftp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/doc/qftp + cp -pr README.qftp /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64/usr/share/doc/qftp + RPM_EC=0 ++ jobs -p + exit 0 Provides: qftp = 4.0-12.fc33 qftp(riscv-64) = 4.0-12.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) libftp.so.4()(64bit) rtld(GNU_HASH) Processing files: ftplib-debugsource-4.0-12.fc33.riscv64 Provides: ftplib-debugsource = 4.0-12.fc33 ftplib-debugsource(riscv-64) = 4.0-12.fc33 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-12.fc33.riscv64 Provides: debuginfo(build-id) = e9256d716fc1ffd2eaa81c13bc58f81df7a0eb99 ftplib-debuginfo = 4.0-12.fc33 ftplib-debuginfo(riscv-64) = 4.0-12.fc33 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-12.fc33 Processing files: qftp-debuginfo-4.0-12.fc33.riscv64 Provides: debuginfo(build-id) = fc599de7bd19f321d01f1cbcd976a3d4deda9106 qftp-debuginfo = 4.0-12.fc33 qftp-debuginfo(riscv-64) = 4.0-12.fc33 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-12.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64 Wrote: /builddir/build/RPMS/ftplib-4.0-12.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/qftp-4.0-12.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ftplib-debugsource-4.0-12.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/qftp-debuginfo-4.0-12.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ftplib-devel-4.0-12.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ftplib-debuginfo-4.0-12.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KRAowj + umask 022 + cd /builddir/build/BUILD + cd ftplib-4.0-1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ftplib-4.0-12.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0