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/tftp.spec'], chrootPath='/var/lib/mock/f33-build-194430-47114/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/tftp.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=1588464000 Wrote: /builddir/build/SRPMS/tftp-5.2-30.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/tftp.spec'], chrootPath='/var/lib/mock/f33-build-194430-47114/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/tftp.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=1588464000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WYm66M + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tftp-hpa-5.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/tftp-hpa-5.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tftp-hpa-5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tftp-0.40-remap.patch):' Patch #0 (tftp-0.40-remap.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .zero --fuzz=0 patching file tftpd/remap.c Hunk #1 succeeded at 283 (offset -3 lines). Hunk #2 succeeded at 292 (offset -3 lines). Patch #2 (tftp-hpa-0.39-tzfix.patch): + echo 'Patch #2 (tftp-hpa-0.39-tzfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tzfix --fuzz=0 patching file tftpd/tftpd.c Hunk #1 succeeded at 384 (offset 34 lines). Patch #3 (tftp-0.42-tftpboot.patch): + echo 'Patch #3 (tftp-0.42-tftpboot.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tftpboot --fuzz=0 patching file tftp-xinetd patching file README.security Hunk #1 succeeded at 13 (offset -4 lines). Hunk #2 succeeded at 36 (offset -4 lines). patching file tftpd/sample.rules Hunk #1 succeeded at 29 (offset -1 lines). Patch #4 (tftp-0.49-chk_retcodes.patch): + echo 'Patch #4 (tftp-0.49-chk_retcodes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .chk_retcodes --fuzz=0 patching file tftpd/tftpd.c Hunk #1 succeeded at 1008 (offset 76 lines). Patch #5 (tftp-hpa-0.49-fortify-strcpy-crash.patch): + echo 'Patch #5 (tftp-hpa-0.49-fortify-strcpy-crash.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fortify-strcpy-crash --fuzz=0 patching file tftp/tftp.c Patch #6 (tftp-0.49-cmd_arg.patch): + echo 'Patch #6 (tftp-0.49-cmd_arg.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cmd_arg --fuzz=0 patching file config.h patching file configure.in Hunk #1 succeeded at 158 (offset 6 lines). patching file lib/xrealloc.c patching file tftp/main.c Patch #7 (tftp-hpa-0.49-stats.patch): + echo 'Patch #7 (tftp-hpa-0.49-stats.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .stats --fuzz=0 patching file tftp/tftp.c Patch #8 (tftp-hpa-5.2-pktinfo.patch): + echo 'Patch #8 (tftp-hpa-5.2-pktinfo.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pktinfo --fuzz=0 patching file tftpd/recvfrom.c Patch #9 (tftp-doc.patch): + echo 'Patch #9 (tftp-doc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .doc --fuzz=0 patching file tftp/main.c patching file tftpd/tftpd.8.in Patch #10 (tftp-enhanced-logging.patch): + echo 'Patch #10 (tftp-enhanced-logging.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .logging --fuzz=0 patching file tftpd/tftpd.c Patch #11 (tftp-hpa-5.2-gcc10.patch): + echo 'Patch #11 (tftp-hpa-5.2-gcc10.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc10 --fuzz=0 patching file tftp/tftp.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KjSf0K + umask 022 + cd /builddir/build/BUILD + cd tftp-hpa-5.2 + autoreconf + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/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 + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking if gcc accepts -W... yes checking if gcc accepts -Wall... yes checking if gcc accepts -Wpointer-arith... yes checking if gcc accepts -Wbad-function-cast... yes checking if gcc accepts -Wcast-equal... no checking if gcc accepts -Wstrict-prototypes... yes checking if gcc accepts -Wmissing-prototypes... yes checking if gcc accepts -Wmissing-declarations... yes checking if gcc accepts -Wnested-externs... yes checking if gcc accepts -Winline... yes checking if gcc accepts -Wwrite-strings... yes checking if gcc accepts -Wundef... yes checking if gcc accepts -Wshadow... yes checking if gcc accepts -Wsign-compare... yes checking if gcc accepts -pipe... yes checking if gcc accepts -fno-strict-aliasing... yes checking for ANSI C header files... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking if inttypes.h is sane... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for memory.h... (cached) yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking whether time.h and sys/time.h may both be included... yes checking machine/param.h usability... no checking machine/param.h presence... no checking for machine/param.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for off_t... yes checking for pid_t... yes checking for mode_t... yes checking for size_t... yes checking for intmax_t... yes checking for long long... yes checking for uint16_t... yes checking for uint32_t... yes checking for u_short... yes checking for u_long... yes checking for socklen_t... yes checking for library containing socket... none required checking for fcntl... yes checking for setsid... yes checking for recvmsg... yes checking for ftruncate... yes checking for setreuid... yes checking for setregid... yes checking for initgroups... yes checking for setgroups... yes checking for strtoumax... yes checking for strtoull... yes checking for struct msghdr.msg_control... yes checking for struct in_pktinfo.ipi_addr... yes checking for struct addrinfo.ai_addr... yes checking if fcntl.h defines O_NONBLOCK... yes checking if fcntl.h defines O_BINARY... no checking if fcntl.h defines O_TEXT... no checking if fcntl.h defines F_SETLK... yes checking if sys/file.h defines LOCK_SH... yes checking if sys/file.h defines LOCK_EX... yes checking for sigsetjmp... yes checking for library containing xmalloc... no checking for library containing xrealloc... no checking for library containing xstrdup... no checking for library containing bsd_signal... none required checking for library containing getopt_long... none required checking for library containing getaddrinfo... none required checking for library containing freeaddrinfo... none required checking for library containing gai_strerror... none required checking for library containing inet_ntop... none required checking for library containing inet_aton... none required checking for daemon... yes checking for dup2... yes checking if netinet/in.h defines IPPORT_TFTP... yes checking for library containing yp_get_default_domain... no checking for main in -lwrap... no checking for tcpwrappers... no checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for library containing regcomp... none required checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking for library containing tputs... -ltermcap checking for library containing readline... -lreadline checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking for struct sockaddr_in6.sin6_addr... yes checking for IPv6 support... yes checking for struct in6_pktinfo.ipi6_addr... yes checking whether ln -s works... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating MCONFIG config.status: creating aconfig.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 echo \#define VERSION \"tftp-hpa `cat version`\" > version.h make -C lib make -C common make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' 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 -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c xmalloc.c 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 -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c xrealloc.c make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/common' 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 -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c tftpsubs.c 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 -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c xstrdup.c rm -f libxtra.a ar cq libxtra.a xmalloc.o xrealloc.o xstrdup.o ranlib libxtra.a make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' rm -f libcommon.a ar cq libcommon.a tftpsubs.o ranlib libcommon.a make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/common' make -C tftp make -C tftpd make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' 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 -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c tftp.c 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 -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c main.c make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' 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 -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c tftpd.c 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 -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c recvfrom.c tftp.c: In function 'tftp_sendfile': tftp.c:88:5: warning: implicit declaration of function 'bsd_signal'; did you mean 'ssignal'? [-Wimplicit-function-declaration] 88 | bsd_signal(SIGALRM, timer); | ^~~~~~~~~~ | ssignal tftp.c:88:5: warning: nested extern declaration of 'bsd_signal' [-Wnested-externs] main.c: In function 'main': main.c:313:5: warning: implicit declaration of function 'bsd_signal'; did you mean 'ssignal'? [-Wimplicit-function-declaration] 313 | bsd_signal(SIGINT, intr); | ^~~~~~~~~~ | ssignal main.c:313:5: warning: nested extern declaration of 'bsd_signal' [-Wnested-externs] tftpd.c: In function 'main': tftpd.c:392:46: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 392 | snprintf(envtz, sizeof(envtz) - 1, "UTC%+d", (p_tm->tm_gmtoff * -1)/3600); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %+ld sed -e 's/@@VERSION@@/5.2/g' < tftp.1.in > tftp.1 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 -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c misc.c 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 -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c remap.c sed -e 's/@@VERSION@@/5.2/g' < tftpd.8.in > tftpd.8 main.c:194:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 194 | static inline void usage(int errcode) | ^~~~~ main.c:249:25: note: called from here 249 | usage(EX_USAGE); | ^~~~~~~~~~~~~~~ main.c:194:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 194 | static inline void usage(int errcode) | ^~~~~ main.c:271:25: note: called from here 271 | usage(EX_USAGE); | ^~~~~~~~~~~~~~~ main.c:194:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 194 | static inline void usage(int errcode) | ^~~~~ main.c:284:21: note: called from here 284 | usage(*optx == 'h' ? 0 : EX_USAGE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:194:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 194 | static inline void usage(int errcode) | ^~~~~ main.c:289:17: note: called from here 289 | usage(EX_USAGE); | ^~~~~~~~~~~~~~~ tftpd.c: In function 'tftp_recvfile': tftpd.c:1673:69: warning: argument 'oap' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1673 | static void tftp_recvfile(const struct formats *pf, struct tftphdr *oap, int oacklen) | ~~~~~~~~~~~~~~~~^~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld tftp.o main.o ../common/libcommon.a -lreadline -ltermcap /builddir/build/BUILD/tftp-hpa-5.2/lib/libxtra.a -o tftp make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld tftpd.o recvfrom.o misc.o remap.o ../common/libcommon.a /builddir/build/BUILD/tftp-hpa-5.2/lib/libxtra.a -o tftpd make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.m0IANL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64 + cd tftp-hpa-5.2 + rm -rf /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/var/lib/tftpboot + mkdir -p /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/lib/systemd/system + make INSTALLROOT=/builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64 SBINDIR=/usr/sbin MANDIR=/usr/share/man 'INSTALL=install -p' install make -C lib install make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' make -C common install make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/common' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/common' make -C tftp install make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' mkdir -p /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/bin /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/man/man1 install -p tftp /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/bin install -p -m 644 tftp.1 /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' make -C tftpd install make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' mkdir -p /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/sbin /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/man/man8 install -p tftpd /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/sbin/in.tftpd install -p -m 644 tftpd.8 /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/man/man8/in.tftpd.8 cd /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/man/man8 && ln -s -f in.tftpd.8 tftpd.8 make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' + install -p -m 644 /builddir/build/SOURCES/tftp.socket /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/lib/systemd/system + install -p -m 644 /builddir/build/SOURCES/tftp.service /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/lib/systemd/system + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 5.2-30.fc33 --unique-debug-suffix -5.2-30.fc33.riscv64 --unique-debug-src-base tftp-5.2-30.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tftp-hpa-5.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/sbin/in.tftpd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/bin/tftp extracting debug info from /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/bin/tftp extracting debug info from /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/sbin/in.tftpd original debug info size: 308kB, size after compression: 288kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 277 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: tftp-5.2-30.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HNYnUN + umask 022 + cd /builddir/build/BUILD + cd tftp-hpa-5.2 + DOCDIR=/builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/doc/tftp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/doc/tftp + cp -pr README /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/doc/tftp + cp -pr README.security /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/doc/tftp + cp -pr CHANGES /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/doc/tftp + RPM_EC=0 ++ jobs -p + exit 0 Provides: tftp = 5.2-30.fc33 tftp(riscv-64) = 5.2-30.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) libreadline.so.8()(64bit) rtld(GNU_HASH) Processing files: tftp-server-5.2-30.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.twYe2L + umask 022 + cd /builddir/build/BUILD + cd tftp-hpa-5.2 + DOCDIR=/builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/doc/tftp-server + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/doc/tftp-server + cp -pr README /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/doc/tftp-server + cp -pr README.security /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/doc/tftp-server + cp -pr CHANGES /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64/usr/share/doc/tftp-server + RPM_EC=0 ++ jobs -p + exit 0 Provides: tftp-server = 5.2-30.fc33 tftp-server(riscv-64) = 5.2-30.fc33 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-units Requires(preun): /bin/sh Requires(postun): /bin/sh systemd-units 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: tftp-debugsource-5.2-30.fc33.riscv64 Provides: tftp-debugsource = 5.2-30.fc33 tftp-debugsource(riscv-64) = 5.2-30.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tftp-debuginfo-5.2-30.fc33.riscv64 Provides: debuginfo(build-id) = 93e7307b1bfb531861b1586a5639349c3bd1c4bf tftp-debuginfo = 5.2-30.fc33 tftp-debuginfo(riscv-64) = 5.2-30.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tftp-debugsource(riscv-64) = 5.2-30.fc33 Processing files: tftp-server-debuginfo-5.2-30.fc33.riscv64 Provides: debuginfo(build-id) = 74191c72d0992b51907598a86eed4a3fe3133755 tftp-server-debuginfo = 5.2-30.fc33 tftp-server-debuginfo(riscv-64) = 5.2-30.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tftp-debugsource(riscv-64) = 5.2-30.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64 Wrote: /builddir/build/RPMS/tftp-5.2-30.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/tftp-server-5.2-30.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/tftp-debuginfo-5.2-30.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/tftp-debugsource-5.2-30.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/tftp-server-debuginfo-5.2-30.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e8WsZM + umask 022 + cd /builddir/build/BUILD + cd tftp-hpa-5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tftp-5.2-30.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0