Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ftp.spec'], chrootPath='/var/lib/mock/f37-build-650189-72752/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ftp.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/ftp-0.17-90.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ftp.spec'], chrootPath='/var/lib/mock/f37-build-650189-72752/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ftp.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wUBvNw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netkit-ftp-0.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/netkit-ftp-0.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd netkit-ftp-0.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (netkit-ftp-0.17-pre20000412.pasv-security.patch):' Patch #1 (netkit-ftp-0.17-pre20000412.pasv-security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ftp/ftp.1 patching file ftp/ftp.c patching file ftp/main.c + echo 'Patch #2 (netkit-ftp-0.17-acct.patch):' Patch #2 (netkit-ftp-0.17-acct.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .acct --fuzz=0 patching file ftp/ftp.c Patch #3 (netkit-ftp.usagi-ipv6.patch): + echo 'Patch #3 (netkit-ftp.usagi-ipv6.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipv6 --fuzz=0 patching file ChangeLog patching file configure patching file ftp/CVS/Entries patching file ftp/CVS/Repository patching file ftp/CVS/Root patching file ftp/Makefile patching file ftp/cmds.c patching file ftp/cmdtab.c patching file ftp/domacro.c patching file ftp/ftp.1 patching file ftp/ftp.c Hunk #6 succeeded at 488 (offset 1 line). Hunk #7 succeeded at 503 (offset 1 line). Hunk #8 succeeded at 1183 (offset 1 line). Hunk #9 succeeded at 1210 (offset 1 line). Hunk #10 succeeded at 1433 (offset 1 line). Hunk #11 succeeded at 1484 (offset 1 line). Hunk #12 succeeded at 1502 (offset 1 line). Hunk #13 succeeded at 1518 (offset 1 line). Hunk #14 succeeded at 1585 (offset 1 line). Hunk #15 succeeded at 1624 (offset 1 line). Hunk #16 succeeded at 1653 (offset 1 line). patching file ftp/ftp_var.h Patch #4 (netkit-ftp-0.17-segv.patch): + echo 'Patch #4 (netkit-ftp-0.17-segv.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .segv --fuzz=0 patching file ftp/ftp.c Hunk #3 succeeded at 1801 (offset 2 lines). Hunk #4 succeeded at 1831 (offset 2 lines). Hunk #5 succeeded at 1918 (offset 2 lines). patching file ftp/main.c Patch #5 (netkit-ftp-0.17-volatile.patch): + echo 'Patch #5 (netkit-ftp-0.17-volatile.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .volatile --fuzz=0 patching file configure Patch #6 (netkit-ftp-0.17-runique_mget.patch): + echo 'Patch #6 (netkit-ftp-0.17-runique_mget.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .runique_mget --fuzz=0 patching file ftp/ftp.c Hunk #1 succeeded at 932 (offset 9 lines). + echo 'Patch #7 (netkit-ftp-locale.patch):' Patch #7 (netkit-ftp-locale.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .locale --fuzz=0 patching file ftp/main.c Patch #8 (netkit-ftp-0.17-printf.patch): + echo 'Patch #8 (netkit-ftp-0.17-printf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .printf --fuzz=0 patching file ftp/cmds.c Patch #9 (netkit-ftp-0.17-longint.patch): + echo 'Patch #9 (netkit-ftp-0.17-longint.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .longint --fuzz=0 patching file ftp/ftp.c Patch #10 (netkit-ftp-0.17-vsftp165083.patch): + echo 'Patch #10 (netkit-ftp-0.17-vsftp165083.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .vsftp165083 --fuzz=0 patching file ftp/ftp.c Patch #11 (netkit-ftp-0.17-C-Frame121.patch): + echo 'Patch #11 (netkit-ftp-0.17-C-Frame121.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .C-Frame121 --fuzz=0 patching file ftp/ftp.c + echo 'Patch #12 (netkit-ftp-0.17-data.patch):' Patch #12 (netkit-ftp-0.17-data.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .data --fuzz=0 patching file ftp/ftp.c Patch #13 (netkit-ftp-0.17-multihome.patch): + echo 'Patch #13 (netkit-ftp-0.17-multihome.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .multihome --fuzz=0 patching file ftp/ftp_var.h patching file ftp/ftp.c patching file ftp/main.c patching file ftp/ftp.1 Patch #14 (netkit-ftp-0.17-longnames.patch): + echo 'Patch #14 (netkit-ftp-0.17-longnames.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .patch --fuzz=0 patching file ftp/cmds.c patching file ftp/ftp.c patching file ftp/ftp_var.h Patch #15 (netkit-ftp-0.17-multiipv6.patch): + echo 'Patch #15 (netkit-ftp-0.17-multiipv6.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .multiipv6 --fuzz=0 patching file ftp/ftp.c Patch #16 (netkit-ftp-0.17-nodebug.patch): + echo 'Patch #16 (netkit-ftp-0.17-nodebug.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nodebug --fuzz=0 patching file ftp/Makefile Patch #17 (netkit-ftp-0.17-stamp.patch): + echo 'Patch #17 (netkit-ftp-0.17-stamp.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .stamp --fuzz=0 patching file ftp/Makefile Patch #18 (netkit-ftp-0.17-sigseg.patch): + echo 'Patch #18 (netkit-ftp-0.17-sigseg.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sigseg --fuzz=0 patching file ftp/ftp.c Patch #19 (netkit-ftp-0.17-size.patch): + echo 'Patch #19 (netkit-ftp-0.17-size.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .size --fuzz=0 patching file ftp/cmds.c Patch #20 (netkit-ftp-0.17-fdleak.patch): + echo 'Patch #20 (netkit-ftp-0.17-fdleak.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fdleak --fuzz=0 patching file ftp/cmds.c Patch #21 (netkit-ftp-0.17-fprintf.patch): + echo 'Patch #21 (netkit-ftp-0.17-fprintf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fprintf --fuzz=0 patching file ftp/cmds.c Patch #22 (netkit-ftp-0.17-bitrate.patch): + echo 'Patch #22 (netkit-ftp-0.17-bitrate.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bitrate --fuzz=0 patching file ftp/ftp.c Patch #23 (netkit-ftp-0.17-arg_max.patch): + echo 'Patch #23 (netkit-ftp-0.17-arg_max.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .arg_max --fuzz=0 patching file ftp/glob.c Patch #24 (netkit-ftp-0.17-case.patch): + echo 'Patch #24 (netkit-ftp-0.17-case.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .case --fuzz=0 patching file ftp/cmds.c Patch #25 (netkit-ftp-0.17-chkmalloc.patch): + echo 'Patch #25 (netkit-ftp-0.17-chkmalloc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .chkmalloc --fuzz=0 patching file ftp/ruserpass.c Patch #26 (netkit-ftp-0.17-man.patch): + echo 'Patch #26 (netkit-ftp-0.17-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .man --fuzz=0 patching file ftp/ftp.1 Patch #27 (netkit-ftp-0.17-acct_ovl.patch): + echo 'Patch #27 (netkit-ftp-0.17-acct_ovl.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .acct_ovl --fuzz=0 patching file ftp/cmds.c Patch #28 (netkit-ftp-0.17-remove-nested-include.patch): + echo 'Patch #28 (netkit-ftp-0.17-remove-nested-include.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ftp/ftp.c Patch #29 (netkit-ftp-0.17-linelen.patch): + echo 'Patch #29 (netkit-ftp-0.17-linelen.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .linelen --fuzz=0 patching file ftp/ftp_var.h Hunk #1 succeeded at 53 (offset -1 lines). Hunk #2 succeeded at 109 (offset -1 lines). patching file ftp/domacro.c Patch #30 (netkit-ftp-0.17-active-mode-option.patch): + echo 'Patch #30 (netkit-ftp-0.17-active-mode-option.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .activemode --fuzz=0 patching file ftp/main.c patching file ftp/ftp.1 + echo 'Patch #31 (netkit-ftp-0.17-commands-leaks.patch):' Patch #31 (netkit-ftp-0.17-commands-leaks.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cmds-leaks --fuzz=0 patching file ftp/cmds.c + echo 'Patch #32 (netkit-ftp-0.17-lsn-timeout.patch):' Patch #32 (netkit-ftp-0.17-lsn-timeout.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lsn-timeout --fuzz=0 patching file ftp/ftp.c + echo 'Patch #33 (netkit-ftp-0.17-getlogin.patch):' Patch #33 (netkit-ftp-0.17-getlogin.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .getlogin --fuzz=0 patching file ftp/ftp.c patching file ftp/main.c + echo 'Patch #34 (netkit-ftp-0.17-token.patch):' Patch #34 (netkit-ftp-0.17-token.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .token --fuzz=0 patching file ftp/ruserpass.c Patch #35 (netkit-ftp-0.17-linelen-segfault.patch): + echo 'Patch #35 (netkit-ftp-0.17-linelen-segfault.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .linelen-segfault --fuzz=0 patching file ftp/main.c + echo 'Patch #36 (netkit-ftp-0.17-out-of-memory.patch):' Patch #36 (netkit-ftp-0.17-out-of-memory.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .out-of-memory --fuzz=0 patching file ftp/glob.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mviy6b + umask 022 + cd /builddir/build/BUILD + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd netkit-ftp-0.17 + sh configure --with-c-compiler=gcc --enable-ipv6 Directories: /usr/bin /usr/man Checking if C compiler works... yes Checking if gcc accepts gcc warnings... yes Checking if gcc accepts -O2... yes Whether to enable IPv6 support... yes Search for IPv6 library... not found Checking for BSD signal semantics... __conftest.c: In function 'handle': __conftest.c:4:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 4 | void handle(int foo) { count++; write(1,"X",1);} | ^~~~~~~~~~~~~~ XXXyes Checking for ncurses... yes Checking for GNU libc... yes Checking for libreadline... yes Checking for socklen_t... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... + perl -pi -e ' s,^CC=.*$,CC=cc,; s,-O2,\$(RPM_OPT_FLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,; s,^LDFLAGS=.*$,LDFLAGS=\$(RPM_LD_FLAGS),; s,^BINDIR=.*$,BINDIR=/usr/bin,; s,^MANDIR=.*$,MANDIR=/usr/share/man,; s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; ' MCONFIG + /usr/bin/make -O -j4 V=1 VERBOSE=1 (cd ftp && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ cmdtab.c -c make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ domacro.c -c domacro.c: In function 'domacro': domacro.c:100:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 100 | if (*(cp1+1) == 'i') { | ^ domacro.c:110:29: note: here 110 | default: | ^~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ glob.c -c make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ main.c -c make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' main.c: In function 'main': main.c:289:17: warning: 'strncpy' specified bound 4296 equals destination size [-Wstringop-truncation] 289 | strncpy(buf, lineread, buflen); | ^ make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ ruserpass.c -c make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ cmds.c -c make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cmds.c: In function 'domap': cmds.c:2167:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 2167 | if (isdigit(*(cp2 + 1))) { | ^ cmds.c:2185:25: note: here 2185 | default: | ^~~~~~~ cmds.c: In function 'user': cmds.c:1548:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1548 | fgets(theacct, sizeof(theacct), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ ftp.c -c make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' ftp.c: In function 'hookup': ftp.c:197:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 197 | strncpy(hostnamebuf, host, sizeof(hostnamebuf)); | ^ ftp.c:194:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 194 | strncpy(hostnamebuf, res0->ai_canonname, sizeof(hostnamebuf)); | ^ make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes cmds.o cmdtab.o domacro.o ftp.o glob.o main.o ruserpass.o -lreadline -lncurses -o ftp make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YpL5px + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd netkit-ftp-0.17 + mkdir -p /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64/usr/share/man/man5 + make INSTALLROOT=/builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64 install (cd ftp && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' install -p -d /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64/usr/bin install -p -m755 ftp /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64/usr/bin ln -sf ftp /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64/usr/bin/pftp install -p -d /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64/usr/share/man/man1 install -p -m644 ftp.1 /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64/usr/share/man/man1 ln -sf ftp.1 /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64/usr/share/man/man1/pftp.1 install -p -d /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64/usr/share/man/man5 install -p -m644 netrc.5 /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64/usr/share/man/man5 make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.17-90.fc37 --unique-debug-suffix -0.17-90.fc37.riscv64 --unique-debug-src-base ftp-0.17-90.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/netkit-ftp-0.17 extracting debug info from /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64/usr/bin/ftp original debug info size: 848kB, size after compression: 832kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 296 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ftp-0.17-90.fc37.riscv64 Provides: ftp = 0.17-90.fc37 ftp(riscv-64) = 0.17-90.fc37 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libreadline.so.8()(64bit) rtld(GNU_HASH) Processing files: ftp-debugsource-0.17-90.fc37.riscv64 Provides: ftp-debugsource = 0.17-90.fc37 ftp-debugsource(riscv-64) = 0.17-90.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ftp-debuginfo-0.17-90.fc37.riscv64 Provides: debuginfo(build-id) = 7516637bd393cdf2741a72b976bba7418aad500b ftp-debuginfo = 0.17-90.fc37 ftp-debuginfo(riscv-64) = 0.17-90.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ftp-debugsource(riscv-64) = 0.17-90.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64 Wrote: /builddir/build/RPMS/ftp-0.17-90.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/ftp-debugsource-0.17-90.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/ftp-debuginfo-0.17-90.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ymnfvz + umask 022 + cd /builddir/build/BUILD + cd netkit-ftp-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ftp-0.17-90.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.paXTef + umask 022 + cd /builddir/build/BUILD + rm -rf netkit-ftp-0.17 netkit-ftp-0.17.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0