==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done ==> Making package: netwatch 1.3.1_2-4 (Wed Mar 29 08:44:06 2023) ==> Retrieving sources... -> Found netwatch-1.3.1-2.tar.xz -> Found format-security.patch ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... netwatch-1.3.1-2.tar.xz ... Passed format-security.patch ... Passed ==> Making package: netwatch 1.3.1_2-4 (Wed Mar 29 08:44:27 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found netwatch-1.3.1-2.tar.xz -> Found format-security.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting netwatch-1.3.1-2.tar.xz with bsdtar ==> Starting prepare()... patching file dispdata.c ==> Starting build()... creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcommon -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now) works... yes checking whether the C compiler (gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcommon -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc -O2 accepts -g... yes checking for mvchgat in -lncurses... yes checking for pthread_create in -lpthread... yes checking how to run the C preprocessor... gcc -O2 -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for strings.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for netinet/ip_icmp.h... yes checking for netinet/ip.h... yes checking for netinet/tcp.h... yes checking for netinet/ip_tcp.h... no checking for netinet/udp.h... yes checking for netinet/ip_udp.h... no checking for netinet/if_ether.h... yes checking for netinet/in.h... yes checking for netinet/socket.h... no checking for net/if.h... yes checking for net/if_ppp.h... yes checking for netinet/if_ether.h... (cached) yes checking for netinet/in.h... (cached) yes checking for ncurses.h... yes checking for ncurses/curses.h... no checking for ncurses.h... (cached) yes checking for pthread.h... yes checking for ncurses/curses.h... (cached) no checking for curses.h... yes checking for sys/if_packet.h... no checking for linux/if_packet.h... yes checking for net/if_packet.h... yes checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether gcc -O2 needs -traditional... no checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for select... yes checking for socket... yes checking for strstr... yes checking for uname... yes updating cache ./config.cache creating ./config.status creating Makefile creating Make.common creating config.h gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcommon -c curs.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcommon -c dispdata.c gcc -g -c services.c gcc -DVERSION='"1.3.1"' -DRELEASE='"2"' -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcommon -c netwatch.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcommon -c processinetrc.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcommon -c gh.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcommon -c warning.c gh.c: In function 'gh': gh.c:109:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] gh.c:126:18: warning: '%s' directive writing up to 255 bytes into a region of size 252 [-Wformat-overflow=] In file included from /usr/include/stdio.h:894, from gh.c:20: In function 'sprintf', inlined from 'gh' at gh.c:126:2: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 12 or more bytes (assuming 267) into a destination of size 254 38 | #endif | ^ 39 | | 40 | __fortify_function int | ~~~~~~~~~~~~~~~~~~~~~~ gh.c: In function 'gh': gh.c:110:18: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] In function 'sprintf', inlined from 'gh' at gh.c:110:4: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 254 38 | #endif | ^ 39 | | 40 | __fortify_function int | ~~~~~~~~~~~~~~~~~~~~~~ gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcommon -c semaphore.c warning.c: In function 'warning': warning.c:40:7: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] warning.c:47:12: warning: implicit declaration of function 'ctime' [-Wimplicit-function-declaration] warning.c:46:17: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] warning.c:61:4: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] warning.c:63:3: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] warning.c:60:20: warning: '%s' directive writing up to 255 bytes into a region of size 251 [-Wformat-overflow=] In file included from /usr/include/stdio.h:894, from warning.c:4: In function 'sprintf', inlined from 'warning' at warning.c:60:4: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 10 and 520 bytes into a destination of size 256 38 | #endif | ^ 39 | | 40 | __fortify_function int | ~~~~~~~~~~~~~~~~~~~~~~ gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcommon -c netresolv.c netresolv.c: In function 'sigincatch': netresolv.c:166:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] netresolv.c: In function 'main': netresolv.c:335:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] gcc -o netresolv -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcommon netresolv.o dispdata.c: In function 'dispdata': dispdata.c:616:2: warning: implicit declaration of function 'setuphelp' [-Wimplicit-function-declaration] dispdata.c:657:2: warning: implicit declaration of function 'dokeyin' [-Wimplicit-function-declaration] dispdata.c:740:7: warning: implicit declaration of function 'uthread_wait'; did you mean 'pthread_exit'? [-Wimplicit-function-declaration] dispdata.c:1357:33: warning: '%s' directive writing up to 511 bytes into a region of size 509 [-Wformat-overflow=] In file included from /usr/include/stdio.h:894, from /usr/include/curses.h:232, from dispdata.c:20: In function 'sprintf', inlined from 'dispdata' at dispdata.c:1357:3: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 1 and 512 bytes into a destination of size 509 38 | #endif | ^ 39 | | 40 | __fortify_function int | ~~~~~~~~~~~~~~~~~~~~~~ netwatch.c: In function 'do_fifo': netwatch.c:675:4: warning: implicit declaration of function 'dokeyin' [-Wimplicit-function-declaration] netwatch.c: In function 'handlechild': netwatch.c:952:9: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'pid_t' {aka 'int'} [-Wformat=] netwatch.c:960:9: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'pid_t' {aka 'int'} [-Wformat=] netwatch.c: In function 'intrhandle': netwatch.c:1168:5: warning: implicit declaration of function 'gh' [-Wimplicit-function-declaration] netwatch.c: In function 'all_netins': netwatch.c:1885:12: warning: implicit declaration of function 'doeth' [-Wimplicit-function-declaration] netwatch.c: In function 'main': netwatch.c:2191:22: warning: format '%u' expects argument of type 'unsigned int *', but argument 4 has type 'u_int16_t *' {aka 'short unsigned int *'} [-Wformat=] netwatch.c:2191:22: warning: format '%u' expects argument of type 'unsigned int *', but argument 5 has type 'u_int16_t *' {aka 'short unsigned int *'} [-Wformat=] netwatch.c: In function 'fixstr': netwatch.c:2655:9: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] netwatch.c:153:1: note: include '<ctype.h>' or provide a declaration of 'isalnum' netwatch.c:2655:25: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] netwatch.c:2655:25: note: include '<ctype.h>' or provide a declaration of 'isspace' netwatch.c:2655:41: warning: implicit declaration of function 'ispunct' [-Wimplicit-function-declaration] netwatch.c:2655:41: note: include '<ctype.h>' or provide a declaration of 'ispunct' netwatch.c: In function 'dokeyin': netwatch.c:3973:9: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] netwatch.c:153:1: note: include '<ctype.h>' or provide a declaration of 'isdigit' netwatch.c: In function 'do_fifo': netwatch.c:653:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] netwatch.c:654:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] netwatch.c:657:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] netwatch.c: In function 'startnetresolv': netwatch.c:1044:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] netwatch.c: In function 'clearnetresolv': netwatch.c:1058:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] netwatch.c: In function 'mygethostbyaddr': netwatch.c:1077:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] netwatch.c: In function 'main': netwatch.c:1981:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] netwatch.c:1982:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] netwatch.c: In function 'gostats': netwatch.c:1263:28: warning: '%s' directive writing up to 79 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:894, from /usr/include/curses.h:232, from netwatch.c:63: In function 'sprintf', inlined from 'gostats' at netwatch.c:1263:5: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 336 bytes into a destination of size 256 38 | #endif | ^ 39 | | 40 | __fortify_function int | ~~~~~~~~~~~~~~~~~~~~~~ netwatch.c: In function 'gostats': netwatch.c:1295:28: warning: '.router.' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] In function 'sprintf', inlined from 'gostats' at netwatch.c:1295:5: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 9 and 343 bytes into a destination of size 256 38 | #endif | ^ 39 | | 40 | __fortify_function int | ~~~~~~~~~~~~~~~~~~~~~~ netwatch.c: In function 'setupstatus': netwatch.c:1941:5: warning: '%s' directive writing up to 511 bytes into a region of size 500 [-Wformat-overflow=] In function 'sprintf', inlined from 'setupstatus' at netwatch.c:1940:3: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 48 and 559 bytes into a destination of size 509 38 | #endif | ^ 39 | | 40 | __fortify_function int | ~~~~~~~~~~~~~~~~~~~~~~ netwatch.c: In function 'updatecurrent': netwatch.c:2922:32: warning: '%s' directive writing up to 511 bytes into a region of size 509 [-Wformat-overflow=] In function 'sprintf', inlined from 'updatecurrent' at netwatch.c:2922:2: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 1 and 512 bytes into a destination of size 509 38 | #endif | ^ 39 | | 40 | __fortify_function int | ~~~~~~~~~~~~~~~~~~~~~~ netwatch.c: In function 'updatecurrent': netwatch.c:2966:32: warning: '%s' directive writing up to 511 bytes into a region of size 509 [-Wformat-overflow=] In function 'sprintf', inlined from 'updatecurrent' at netwatch.c:2966:2: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 1 and 512 bytes into a destination of size 509 38 | #endif | ^ 39 | | 40 | __fortify_function int | ~~~~~~~~~~~~~~~~~~~~~~ gcc -DVERSION='"1.3.1"' -DRELEASE='"2"' -o netwatch -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcommon curs.o dispdata.o services.o netwatch.o processinetrc.o gh.o warning.o semaphore.o -lpthread -lncurses ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "netwatch"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: netwatch 1.3.1_2-4 (Wed Mar 29 08:44:41 2023) ==> Cleaning up...