[...] netcat.c:1912:15: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] 1912 | while ((x = getopt (argc, argv, "46ae:g:G:hi:lno:p:rs:tuvw:z")) != EOF) { | ^~~~~~ netcat.c:1951:9: warning: implicit declaration of function 'helpme' [-Wimplicit-function-declaration] 1951 | helpme(); /* exits by itself */ | ^~~~~~ netcat.c:2018:12: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 2018 | SRAND (time (0)); | ^~~~ netcat.c:89:1: note: 'time' is defined in header ''; did you forget to '#include '? 88 | #include /* res_init */ +++ |+#include 89 | netcat.c: At top level: netcat.c:2211:1: warning: return type defaults to 'int' [-Wimplicit-int] 2211 | helpme() | ^~~~~~ In file included from /usr/include/string.h:548, from netcat.c:84: In function 'strncpy', inlined from 'gethostpoop' at netcat.c:469:5: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' writing 192 bytes into a region of size 24 overflows the destination [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ netcat.c: In function 'gethostpoop': netcat.c:115:8: note: destination object 'addrs' of size 24 115 | char addrs[8][24]; /* ascii-format IP addresses */ | ^~~~~ cc1: some warnings being treated as errors make[1]: *** [Makefile:31: nc] Error 1 make[1]: Leaving directory '/tmp/B.enkd6x79/BUILD/nc' make: *** [Makefile:114: generic] Error 2 error: Bad exit status from /tmp/B.enkd6x79/BUILD/tmp/rpm-tmp.xghgqq (%build) RPM build warnings: Could not canonicalize hostname: tld-x64 RPM build errors: Bad exit status from /tmp/B.enkd6x79/BUILD/tmp/rpm-tmp.xghgqq (%build) ended at: Wed Apr 24 15:15:07 2024, done in 0:00:00.459296 error: No files produced. + chmod -R u+rwX /tmp/B.enkd6x79/BUILD + rm -rf /tmp/B.enkd6x79/tmp /tmp/B.enkd6x79/BUILD + rm -rf /tmp/B.enkd6x79 Begin-TLD-Builder-Info Build-Time: user:0.66s sys:0.20s real:0.98s (faults io:0 non-io:64446) End-TLD-Builder-Info