Powered by The Bad Thing. Your IP: 18.97.14.91 | nc a54d7132-aad2-448b-a6c7-16962fe7351fToc:- error 1
netcat.c:229:9: error: format not a string literal and no format arguments [-Werror=format-security]
- error 2
netcat.c:249:3: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration]
- error 3
netcat.c:250:3: error: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration]
- error 4
netcat.c:268:3: error: implicit declaration of function ‘alarm’ [-Wimplicit-function-declaration]
- error 5
netcat.c:289:22: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 6
netcat.c:730:1: error: return type defaults to ‘int’ [-Wimplicit-int]
- error 7
netcat.c:735:3: error: implicit declaration of function ‘dup2’ [-Wimplicit-function-declaration]
- error 8
netcat.c:745:3: error: implicit declaration of function ‘execl’ [-Wimplicit-function-declaration]
- error 9
netcat.c:1146:1: error: return type defaults to ‘int’ [-Wimplicit-int]
- error 10
netcat.c:1152:8: error: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration]
- error 11
netcat.c:1453:1: error: return type defaults to ‘int’ [-Wimplicit-int]
- error 12
netcat.c:1698:14: error: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration]
- error 13
netcat.c:1803:1: error: return type defaults to ‘int’ [-Wimplicit-int]
- error 14
netcat.c:1856:19: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 15
netcat.c:1857:20: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 16
netcat.c:1858:20: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 17
netcat.c:1912:15: error: implicit declaration of function ‘getopt’ [-Wimplicit-function-declaration]
- error 18
netcat.c:1951:9: error: implicit declaration of function ‘helpme’ [-Wimplicit-function-declaration]
- error 19
netcat.c:2018:12: error: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]
- error 20
netcat.c:2211:1: error: return type defaults to ‘int’ [-Wimplicit-int]
- error 21
make[1]: *** [Makefile:31: nc] Error 1
- error 22
error: Bad exit status from /tmp/B.x1xf5cyu/BUILD/tmp/rpm-tmp.YHVwCI (%build)
- error 23
RPM build errors:
- error 24
error: No files produced.
Content:- removed all Group fields translations (oure rpm now can handle translating
Group field using gettext).
* Fri Jan 18 2002 kloczek <kloczek@pld-linux.org> ab4d435 - perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
* Fri Jan 18 2002 kloczek <kloczek@pld-linux.org> 074fbd0 - release 16.
+ rpm -Uhv --nodeps --define '_topdir /tmp/B.x1xf5cyu' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' nc-1.10-23.src.rpm
Updating / installing...
nc-1.10-23 ########################################
+ rm -f nc-1.10-23.src.rpm
+ install -m 700 -d /tmp/B.x1xf5cyu/BUILD/tmp
+ TMPDIR=/tmp/B.x1xf5cyu/BUILD/tmp
+ exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.x1xf5cyu' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'prep exit 0' /tmp/B.x1xf5cyu/nc.spec
Building target platforms: i686-pld-linux
Building for target i686-pld-linux
warning: Could not canonicalize hostname: nereid
RPM build warnings:
Could not canonicalize hostname: nereid
checking BuildConflict-ing packages
rpm: Building target platforms: i686-pld-linux
rpm: Building for target i686-pld-linux
rpm: warning: Could not canonicalize hostname: nereid
rpm:
rpm: RPM build warnings:
rpm: Could not canonicalize hostname: nereid
no BuildConflicts found
checking BR
rpm: Building target platforms: i686-pld-linux
rpm: Building for target i686-pld-linux
rpm: warning: Could not canonicalize hostname: nereid
rpm:
rpm: RPM build warnings:
rpm: Could not canonicalize hostname: nereid
no BR needed
building RPM using: set -ex; : build-id: a54d7132-aad2-448b-a6c7-16962fe7351f; TMPDIR=/tmp/B.x1xf5cyu/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '__jobs 28' --define '_smp_mflags -j28' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.x1xf5cyu' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.x1xf5cyu/nc.spec
+ : build-id: a54d7132-aad2-448b-a6c7-16962fe7351f
+ TMPDIR=/tmp/B.x1xf5cyu/BUILD/tmp
+ exec nice -n 0 rpmbuild -bb --define '__jobs 28' --define '_smp_mflags -j28' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.x1xf5cyu' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.x1xf5cyu/nc.spec
Building target platforms: i686-pld-linux
Building for target i686-pld-linux
warning: Could not canonicalize hostname: nereid
Executing(%mkbuilddir): /bin/sh -e /tmp/B.x1xf5cyu/BUILD/tmp/rpm-tmp.eyQ2mr
Executing(%prep): /bin/sh -e /tmp/B.x1xf5cyu/BUILD/tmp/rpm-tmp.zUhQyI
+ umask 022
+ cd /tmp/B.x1xf5cyu/BUILD/nc-1.10-build
+ cd /tmp/B.x1xf5cyu/BUILD/nc-1.10-build
+ rm -rf nc
+ /bin/mkdir -p nc
+ cd nc
+ /usr/lib/rpm/rpmuncompress -x /tmp/B.x1xf5cyu/nc110.tgz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (nc-arm.patch):'
Patch #0 (nc-arm.patch):
+ </tmp/B.x1xf5cyu/nc-arm.patch
+ /usr/bin/patch -s -f -p1 '--fuzz=0'
+ echo 'Patch #1 (nc-v6-20000918.patch.gz):'
Patch #1 (nc-v6-20000918.patch.gz):
+ /usr/lib/rpm/rpmuncompress /tmp/B.x1xf5cyu/nc-v6-20000918.patch.gz
+ /usr/bin/patch -s -f -p1 '--fuzz=0'
+ echo 'Patch #2 (nc-proto.patch):'
Patch #2 (nc-proto.patch):
+ </tmp/B.x1xf5cyu/nc-proto.patch
+ /usr/bin/patch -s -f -p1 '--fuzz=0'
+ echo 'Patch #3 (nc-halfclose.patch):'
Patch #3 (nc-halfclose.patch):
+ </tmp/B.x1xf5cyu/nc-halfclose.patch
+ /usr/bin/patch -s -f -p1 '--fuzz=0'
+ echo 'Patch #4 (nc-timeout.patch):'
Patch #4 (nc-timeout.patch):
+ </tmp/B.x1xf5cyu/nc-timeout.patch
+ /usr/bin/patch -s -f -p1 '--fuzz=0'
+ RPM_EC=0
+ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /tmp/B.x1xf5cyu/BUILD/tmp/rpm-tmp.YHVwCI
TMP=/home/users/builder/tmp
HOME=/home/users/builder
PATH=/home/users/builder/GNUstep/Tools:/bin:/usr/bin:/usr/local/bin:/home/users/builder/bin
TMPDIR=/tmp/B.x1xf5cyu/BUILD/tmp
+ umask 022
+ cd /tmp/B.x1xf5cyu/BUILD/nc-1.10-build
+ cd nc
+ /usr/bin/make -Otarget -j28 generic 'DFLAGS=-DINET6 -DTELNET -DGAPING_SECURITY_HOLE' 'CC=/usr/bin/i686-pld-linux-gcc -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security '
make -e nc -j28 -Otarget --jobserver-auth=fifo:/tmp/B.x1xf5cyu/BUILD/tmp/GMfifo24074 --sync-mutex=fnm:/tmp/B.x1xf5cyu/BUILD/tmp/Gm5A6Vpr XFLAGS='-DGENERIC' STATIC=
make[1]: Entering directory '/tmp/B.x1xf5cyu/BUILD/nc-1.10-build/nc'
make[1]: warning: -j28 forced in submake: resetting jobserver mode.
make[1]: Leaving directory '/tmp/B.x1xf5cyu/BUILD/nc-1.10-build/nc'
make[1]: Entering directory '/tmp/B.x1xf5cyu/BUILD/nc-1.10-build/nc'
/usr/bin/i686-pld-linux-gcc -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -s -DINET6 -DTELNET -DGAPING_SECURITY_HOLE -DGENERIC -o nc netcat.c
netcat.c: In function ‘holler’:
netcat.c:218:6: warning: old-style function definition [-Wold-style-definition]
218 | void holler (str, p1, p2, p3, p4, p5, p6)
| ^~~~~~
netcat.c:229:9: error: format not a string literal and no format arguments [-Werror=format-security]
229 | fprintf (stderr, h_errs[h_errno]); /* handle it here */
| ^~~~~~~
netcat.c: In function ‘bail’:
netcat.c:243:6: warning: old-style function definition [-Wold-style-definition]
243 | void bail (str, p1, p2, p3, p4, p5, p6)
| ^~~~
netcat.c:249:3: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration]
249 | close (netfd);
| ^~~~~
| pclose
netcat.c:250:3: error: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration]
250 | sleep (1);
| ^~~~~
netcat.c: In function ‘tmtravel’:
netcat.c:268:3: error: implicit declaration of function ‘alarm’ [-Wimplicit-function-declaration]
268 | alarm (0);
| ^~~~~
netcat.c: In function ‘arm’:
netcat.c:280:6: warning: old-style function definition [-Wold-style-definition]
280 | void arm (num, secs)
| ^~~
netcat.c:289:22: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
289 | signal (SIGALRM, tmtravel);
| ^~~~~~~~
| |
| void (*)(void)
In file included from netcat.c:86:
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
netcat.c:265:6: note: ‘tmtravel’ declared here
265 | void tmtravel ()
| ^~~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
netcat.c: In function ‘Hmalloc’:
netcat.c:298:8: warning: old-style function definition [-Wold-style-definition]
298 | char * Hmalloc (size)
| ^~~~~~~
netcat.c: In function ‘findline’:
netcat.c:314:14: warning: old-style function definition [-Wold-style-definition]
314 | unsigned int findline (buf, siz)
| ^~~~~~~~
netcat.c: In function ‘comparehosts’:
netcat.c:343:5: warning: old-style function definition [-Wold-style-definition]
343 | int comparehosts (poop, hp)
| ^~~~~~~~~~~~
netcat.c: In function ‘comparehosts6’:
netcat.c:376:5: warning: old-style function definition [-Wold-style-definition]
376 | int comparehosts6 (poop, hp)
| ^~~~~~~~~~~~~
netcat.c: In function ‘gethostpoop’:
netcat.c:402:8: warning: old-style function definition [-Wold-style-definition]
402 | HINF * gethostpoop (name, numeric)
| ^~~~~~~~~~~
netcat.c: In function ‘gethost6poop’:
netcat.c:496:8: warning: old-style function definition [-Wold-style-definition]
496 | HINF6 *gethost6poop(name, numeric)
| ^~~~~~~~~~~~
netcat.c: In function ‘getportpoop’:
netcat.c:587:8: warning: old-style function definition [-Wold-style-definition]
587 | USHORT getportpoop (pstring, pnum)
| ^~~~~~~~~~~
netcat.c: In function ‘nextport’:
netcat.c:667:8: warning: old-style function definition [-Wold-style-definition]
667 | USHORT nextport (block)
| ^~~~~~~~
netcat.c: In function ‘loadports’:
netcat.c:703:6: warning: old-style function definition [-Wold-style-definition]
703 | void loadports (block, lo, hi)
| ^~~~~~~~~
netcat.c: At top level:
netcat.c:730:1: error: return type defaults to ‘int’ [-Wimplicit-int]
730 | doexec (fd)
| ^~~~~~
netcat.c: In function ‘doexec’:
netcat.c:730:1: warning: old-style function definition [-Wold-style-definition]
netcat.c:735:3: error: implicit declaration of function ‘dup2’ [-Wimplicit-function-declaration]
735 | dup2 (fd, 0); /* the precise order of fiddlage */
| ^~~~
netcat.c:745:3: error: implicit declaration of function ‘execl’ [-Wimplicit-function-declaration]
745 | execl (pr00gie, p, NULL);
| ^~~~~
netcat.c:745:3: warning: incompatible implicit declaration of built-in function ‘execl’ [-Wbuiltin-declaration-mismatch]
netcat.c: In function ‘doconnect’:
netcat.c:757:5: warning: old-style function definition [-Wold-style-definition]
757 | int doconnect (rad, rp, lad, lp)
| ^~~~~~~~~
netcat.c: In function ‘dolisten’:
netcat.c:933:5: warning: old-style function definition [-Wold-style-definition]
933 | int dolisten (rad, rp, lad, lp)
| ^~~~~~~~
netcat.c: At top level:
netcat.c:1146:1: error: return type defaults to ‘int’ [-Wimplicit-int]
1146 | udptest (fd, where)
| ^~~~~~~
netcat.c: In function ‘udptest’:
netcat.c:1146:1: warning: old-style function definition [-Wold-style-definition]
netcat.c:1152:8: error: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration]
1152 | rr = write (fd, bigbuf_in, 1);
| ^~~~~
| fwrite
netcat.c: In function ‘doconnect6’:
netcat.c:1187:5: warning: old-style function definition [-Wold-style-definition]
1187 | int doconnect6(rad, rp, lad, lp)
| ^~~~~~~~~~
netcat.c: In function ‘dolisten6’:
netcat.c:1295:5: warning: old-style function definition [-Wold-style-definition]
1295 | int dolisten6(rad, rp, lad, lp)
| ^~~~~~~~~
netcat.c: At top level:
netcat.c:1453:1: error: return type defaults to ‘int’ [-Wimplicit-int]
1453 | udptest6(fd, where)
| ^~~~~~~~
netcat.c: In function ‘udptest6’:
netcat.c:1453:1: warning: old-style function definition [-Wold-style-definition]
netcat.c: In function ‘oprint’:
netcat.c:1497:6: warning: old-style function definition [-Wold-style-definition]
1497 | void oprint (which, buf, n)
| ^~~~~~
netcat.c: In function ‘atelnet’:
netcat.c:1586:6: warning: old-style function definition [-Wold-style-definition]
1586 | void atelnet (buf, size)
| ^~~~~~~
netcat.c: In function ‘readwrite’:
netcat.c:1624:5: warning: old-style function definition [-Wold-style-definition]
1624 | int readwrite (fd)
| ^~~~~~~~~
netcat.c:1698:14: error: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration]
1698 | rr = read (fd, bigbuf_net, BIGSIZ);
| ^~~~
| fread
netcat.c: At top level:
netcat.c:1803:1: error: return type defaults to ‘int’ [-Wimplicit-int]
1803 | main (argc, argv)
| ^~~~
netcat.c: In function ‘main’:
netcat.c:1803:1: warning: old-style function definition [-Wold-style-definition]
netcat.c:1856:19: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
1856 | signal (SIGINT, catch);
| ^~~~~
| |
| void (*)(void)
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
netcat.c:256:6: note: ‘catch’ declared here
256 | void catch ()
| ^~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
netcat.c:1857:20: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
1857 | signal (SIGQUIT, catch);
| ^~~~~
| |
| void (*)(void)
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
netcat.c:256:6: note: ‘catch’ declared here
256 | void catch ()
| ^~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
netcat.c:1858:20: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
1858 | signal (SIGTERM, catch);
| ^~~~~
| |
| void (*)(void)
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
netcat.c:256:6: note: ‘catch’ declared here
256 | void catch ()
| ^~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
netcat.c:1912:15: error: 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: error: implicit declaration of function ‘helpme’ [-Wimplicit-function-declaration]
1951 | helpme(); /* exits by itself */
| ^~~~~~
netcat.c:2018:12: error: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]
2018 | SRAND (time (0));
| ^~~~
netcat.c:89:1: note: ‘time’ is defined in header ‘<time.h>’; this is probably fixable by adding ‘#include <time.h>’
88 | #include <resolv.h> /* res_init */
+++ |+#include <time.h>
89 |
netcat.c: At top level:
netcat.c:2211:1: error: return type defaults to ‘int’ [-Wimplicit-int]
2211 | helpme()
| ^~~~~~
cc1: some warnings being treated as errors
make[1]: *** [Makefile:31: nc] Error 1
make[1]: Leaving directory '/tmp/B.x1xf5cyu/BUILD/nc-1.10-build/nc'
make: *** [Makefile:114: generic] Error 2
error: Bad exit status from /tmp/B.x1xf5cyu/BUILD/tmp/rpm-tmp.YHVwCI (%build)
RPM build warnings:
Could not canonicalize hostname: nereid
RPM build errors:
Bad exit status from /tmp/B.x1xf5cyu/BUILD/tmp/rpm-tmp.YHVwCI (%build)
ended at: Tue Mar 3 00:14:53 2026, done in 0:00:00.377813
error: No files produced.
+ chmod -R u+rwX /tmp/B.x1xf5cyu/BUILD
+ rm -rf /tmp/B.x1xf5cyu/tmp /tmp/B.x1xf5cyu/BUILD
+ rm -rf /tmp/B.x1xf5cyu
Begin-PLD-Builder-Info
Build-Time: user:1.34s sys:0.94s real:2.34s (faults io:0 non-io:123635)
End-PLD-Builder-Info
|
|