>>> tftp-hpa: Building main/tftp-hpa 5.2-r7 (using abuild 3.14.0-r0) started Wed, 16 Oct 2024 03:34:36 +0000 >>> tftp-hpa: Validating /home/buildozer/aports/main/tftp-hpa/APKBUILD... >>> WARNING: tftp-hpa: Setting the maintainer with a comment is deprecated. Use maintainer="Natanael Copa " instead >>> tftp-hpa: Analyzing dependencies... >>> tftp-hpa: Installing for build: build-base (1/1) Installing .makedepends-tftp-hpa (20241016.033438) OK: 243 MiB in 98 packages >>> tftp-hpa: Cleaning up srcdir >>> tftp-hpa: Cleaning up pkgdir >>> tftp-hpa: Cleaning up tmpdir >>> tftp-hpa: Fetching https://distfiles.alpinelinux.org/distfiles/edge/tftp-hpa-5.2.tar.xz >>> tftp-hpa: Fetching https://distfiles.alpinelinux.org/distfiles/edge/tftp-hpa-5.2.tar.xz >>> tftp-hpa: Checking sha512sums... tftp-hpa-5.2.tar.xz: OK in.tftpd.initd: OK in.tftpd.confd: OK fix-common.patch: OK fix-prompt-flush.patch: OK >>> tftp-hpa: Unpacking /var/cache/distfiles/tftp-hpa-5.2.tar.xz... >>> tftp-hpa: fix-common.patch patching file tftp/main.c patching file tftp/tftp.c >>> tftp-hpa: fix-prompt-flush.patch patching file tftp/main.c checking for loongarch64-alpine-linux-musl-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... /bin/grep checking for egrep... /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 loongarch64-alpine-linux-musl-gcc... (cached) 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 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... no 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... no checking readline/readline.h presence... no checking for readline/readline.h... no checking editline/readline.h usability... no checking editline/readline.h presence... no checking for editline/readline.h... no 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 loongarch64-alpine-linux-musl-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 echo \#define VERSION \"tftp-hpa `cat version`\" > version.h make -C lib make -C common make[1]: Entering directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/lib' gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -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/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2 -c xmalloc.c make[1]: Entering directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/common' gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -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/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2 -c tftpsubs.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -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/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2 -c xstrdup.c rm -f libxtra.a ar cq libxtra.a xmalloc.o xstrdup.o ranlib libxtra.a make[1]: Leaving directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/lib' rm -f libcommon.a ar cq libcommon.a tftpsubs.o ranlib libcommon.a make[1]: Leaving directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/common' make -C tftp make -C tftpd make[1]: Entering directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/tftp' gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -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/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2 -c tftp.c make[1]: Entering directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/tftpd' gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -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/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2 -c tftpd.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -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/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2 -c main.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -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/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2 -c recvfrom.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -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/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2 -c misc.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -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/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2 -c remap.c sed -e 's/@@VERSION@@/5.2/g' < tftp.1.in > tftp.1 sed -e 's/@@VERSION@@/5.2/g' < tftpd.8.in > tftpd.8 In file included from main.c:34: /home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/common/tftpsubs.h: In function 'put': /home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/common/tftpsubs.h:84:19: warning: inlining failed in call to 'sa_set_port.constprop.isra': call is unlikely and code size would grow [-Winline] 84 | static inline int sa_set_port(union sock_addr *s, u_short port) | ^~~~~~~~~~~ main.c:585:9: note: called from here 585 | sa_set_port(&peeraddr, port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/common/tftpsubs.h:84:19: warning: inlining failed in call to 'sa_set_port.constprop.isra': call is unlikely and code size would grow [-Winline] 84 | static inline int sa_set_port(union sock_addr *s, u_short port) | ^~~~~~~~~~~ main.c:604:9: note: called from here 604 | sa_set_port(&peeraddr, port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/common/tftpsubs.h: In function 'get': /home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/common/tftpsubs.h:84:19: warning: inlining failed in call to 'sa_set_port.constprop.isra': call is unlikely and code size would grow [-Winline] 84 | static inline int sa_set_port(union sock_addr *s, u_short port) | ^~~~~~~~~~~ main.c:672:13: note: called from here 672 | sa_set_port(&peeraddr, port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/common/tftpsubs.h:84:19: warning: inlining failed in call to 'sa_set_port.constprop.isra': call is unlikely and code size would grow [-Winline] 84 | static inline int sa_set_port(union sock_addr *s, u_short port) | ^~~~~~~~~~~ main.c:687:9: note: called from here 687 | sa_set_port(&peeraddr, port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:191:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 191 | static inline void usage(int errcode) | ^~~~~ main.c:244:25: note: called from here 244 | usage(EX_USAGE); | ^~~~~~~~~~~~~~~ main.c:191:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 191 | static inline void usage(int errcode) | ^~~~~ main.c:266:25: note: called from here 266 | usage(EX_USAGE); | ^~~~~~~~~~~~~~~ main.c:191:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 191 | static inline void usage(int errcode) | ^~~~~ main.c:279:21: note: called from here 279 | usage(*optx == 'h' ? 0 : EX_USAGE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:191:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 191 | static inline void usage(int errcode) | ^~~~~ main.c:284:17: note: called from here 284 | usage(EX_USAGE); | ^~~~~~~~~~~~~~~ tftpd.c: In function 'tftp_recvfile': tftpd.c:1647:69: warning: argument 'oap' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1647 | static void tftp_recvfile(const struct formats *pf, struct tftphdr *oap, int oacklen) | ~~~~~~~~~~~~~~~~^~~ gcc -Wl,--as-needed,-O1,--sort-common tftp.o main.o ../common/libcommon.a /home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/lib/libxtra.a -o tftp make[1]: Leaving directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/tftp' gcc -Wl,--as-needed,-O1,--sort-common tftpd.o recvfrom.o misc.o remap.o ../common/libcommon.a /home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/lib/libxtra.a -o tftpd make[1]: Leaving directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/tftpd' >>> tftp-hpa: Entering fakeroot... make -C lib install make -C common install make -C tftp install make -C tftpd install make[1]: Entering directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/lib' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/lib' make[1]: Entering directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/common' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/common' make[1]: Entering directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/tftpd' mkdir -p /home/buildozer/aports/main/tftp-hpa/pkg/tftp-hpa/usr/sbin /home/buildozer/aports/main/tftp-hpa/pkg/tftp-hpa/usr/share/man/man8 make[1]: Entering directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/tftp' mkdir -p /home/buildozer/aports/main/tftp-hpa/pkg/tftp-hpa/usr/bin /home/buildozer/aports/main/tftp-hpa/pkg/tftp-hpa/usr/share/man/man1 /usr/bin/install -c tftpd /home/buildozer/aports/main/tftp-hpa/pkg/tftp-hpa/usr/sbin/in.tftpd /usr/bin/install -c tftp /home/buildozer/aports/main/tftp-hpa/pkg/tftp-hpa/usr/bin /usr/bin/install -c -m 644 tftpd.8 /home/buildozer/aports/main/tftp-hpa/pkg/tftp-hpa/usr/share/man/man8/in.tftpd.8 cd /home/buildozer/aports/main/tftp-hpa/pkg/tftp-hpa/usr/share/man/man8 && ln -s -f in.tftpd.8 tftpd.8 /usr/bin/install -c -m 644 tftp.1 /home/buildozer/aports/main/tftp-hpa/pkg/tftp-hpa/usr/share/man/man1 make[1]: Leaving directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/tftp' make[1]: Leaving directory '/home/buildozer/aports/main/tftp-hpa/src/tftp-hpa-5.2/tftpd' >>> tftp-hpa-openrc*: Running split function openrc... 'etc/conf.d' -> '/home/buildozer/aports/main/tftp-hpa/pkg/tftp-hpa-openrc/etc/conf.d' 'etc/init.d' -> '/home/buildozer/aports/main/tftp-hpa/pkg/tftp-hpa-openrc/etc/init.d' >>> tftp-hpa-openrc*: Preparing subpackage tftp-hpa-openrc... >>> tftp-hpa-openrc*: Running postcheck for tftp-hpa-openrc >>> tftp-hpa-doc*: Running split function doc... 'usr/share/man' -> '/home/buildozer/aports/main/tftp-hpa/pkg/tftp-hpa-doc/usr/share/man' >>> tftp-hpa-doc*: Preparing subpackage tftp-hpa-doc... >>> tftp-hpa-doc*: Running postcheck for tftp-hpa-doc >>> tftp-hpa*: Running postcheck for tftp-hpa >>> tftp-hpa*: Preparing package tftp-hpa... >>> tftp-hpa*: Stripping binaries >>> tftp-hpa-doc*: Scanning shared objects >>> tftp-hpa-openrc*: Scanning shared objects >>> tftp-hpa*: Scanning shared objects >>> tftp-hpa-doc*: Tracing dependencies... >>> tftp-hpa-doc*: Package size: 7.9 KB >>> tftp-hpa-doc*: Compressing data... >>> tftp-hpa-doc*: Create checksum... >>> tftp-hpa-doc*: Create tftp-hpa-doc-5.2-r7.apk >>> tftp-hpa-openrc*: Tracing dependencies... >>> tftp-hpa-openrc*: Package size: 1008.0 B >>> tftp-hpa-openrc*: Compressing data... >>> tftp-hpa-openrc*: Create checksum... >>> tftp-hpa-openrc*: Create tftp-hpa-openrc-5.2-r7.apk >>> tftp-hpa*: Tracing dependencies... so:libc.musl-loongarch64.so.1 >>> tftp-hpa*: Package size: 68.6 KB >>> tftp-hpa*: Compressing data... >>> tftp-hpa*: Create checksum... >>> tftp-hpa*: Create tftp-hpa-5.2-r7.apk >>> tftp-hpa: Build complete at Wed, 16 Oct 2024 03:34:45 +0000 elapsed time 0h 0m 10s >>> tftp-hpa: Cleaning up srcdir >>> tftp-hpa: Cleaning up pkgdir >>> tftp-hpa: Uninstalling dependencies... (1/1) Purging .makedepends-tftp-hpa (20241016.033438) OK: 243 MiB in 97 packages >>> tftp-hpa: Updating the main/loongarch64 repository index... >>> tftp-hpa: Signing the index...