printf ' ' | fink --no-use-binary-dist --yes --build-as-nobody rebuild netcat 2>&1 The package 'netcat' will be built without being installed. Reading build dependency for netcat-1.10-4... Reading dependency for netcat-1.10-4... Reading build conflict for netcat-1.10-4... The following package will be rebuilt: netcat curl --connect-timeout 30 -f -L -A 'fink/0.37.0' -O http://distfiles.master.finkmirrors.net/distfiles/nc110.tgz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 75267 100 75267 0 0 167k 0 --:--:-- --:--:-- --:--:-- 168k Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-netcat-1.10-4 /sw/build.build dpkg-deb: building package `fink-buildlock-netcat-1.10-4' in `/sw/build.build/fink-buildlock-netcat-1.10-4_2014.07.31-02.29.52_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-netcat-1.10-4_2014.07.31-02.29.52_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-netcat-1.10-4. (Reading database ... 4296 files and directories currently installed.) Unpacking fink-buildlock-netcat-1.10-4 (from .../fink-buildlock-netcat-1.10-4_2014.07.31-02.29.52_darwin-x86_64.deb) ... Setting up fink-buildlock-netcat-1.10-4 (2014.07.31-02.29.52) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.kWH9C env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/nc110.tgz README netcat.blurb Changelog Makefile generic.h netcat.c stupidh data/README data/Makefile data/data.c data/rservice.c data/xor.c data/dns-any.d data/nfs-0.d data/pmap-mnt.d data/rip.d data/showmount.d data/pmap-dump.d data/pm.d scripts/README scripts/dist.sh scripts/ncp scripts/probe scripts/iscan scripts/bsh scripts/irc scripts/web scripts/webproxy scripts/webrelay scripts/websearch scripts/alta sudo -u fink-bld [ENV] sh -c /tmp/fink.QeTEe [ -r /sw/fink/dists/stable/main/finkinfo/net/netcat-1.10.patch ] sudo -u fink-bld [ENV] sh -c /tmp/fink.v7qhl patch -p1 < /sw/fink/dists/stable/main/finkinfo/net/netcat-1.10.patch patching file Makefile patching file netcat.c sudo -u fink-bld [ENV] sh -c /tmp/fink.q2D43 make darwin make -e nc - --jobserver-fds=3,4 -j LD='cc -O' XFLAGS='-DNEXT' STATIC= cc -O -DNEXT -o nc netcat.c netcat.c:33:26: warning: '/*' within block comment [-Wcomment] /* #undef _POSIX_SOURCE /* might need this for something? */ ^ netcat.c:36:19: warning: '/*' within block comment [-Wcomment] /* #define ANAL /* if you want case-sensitive DNS matching */ ^ netcat.c:194:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (stderr, h_errs[h_errno]); /* handle it here */ ^~~~~~~~~~~~~~~ netcat.c:214:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (netfd); ^ netcat.c:215:3: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (1); ^ netcat.c:225:42: warning: too few arguments in call to 'bail' bail (wrote_txt, wrote_net, wrote_out); ~~~~ ^ netcat.c:225:22: warning: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'char *' [-Wint-conversion] bail (wrote_txt, wrote_net, wrote_out); ^~~~~~~~~ netcat.c:225:33: warning: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'char *' [-Wint-conversion] bail (wrote_txt, wrote_net, wrote_out); ^~~~~~~~~ netcat.c:226:17: warning: too few arguments in call to 'bail' bail (" punt!"); ~~~~ ^ netcat.c:233:3: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm (0); ^ netcat.c:235:38: warning: too few arguments in call to 'bail' bail ("spurious timer interrupt!"); ~~~~ ^ netcat.c:267:33: warning: too few arguments in call to 'bail' bail ("Hmalloc %d failed", s); ~~~~ ^ netcat.c:267:32: warning: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'char *' [-Wint-conversion] bail ("Hmalloc %d failed", s); ^ netcat.c:317:69: warning: too few arguments in call to 'holler' holler ("DNS fwd/rev mismatch: %s != %s", poop->name, hp->h_name); ~~~~~~ ^ netcat.c:362:32: warning: too few arguments in call to 'bail' bail ("gethostpoop fuxored"); ~~~~ ^ netcat.c:369:52: warning: too few arguments in call to 'bail' bail ("Can't parse %s as an IP address", name); ~~~~ ^ netcat.c:373:53: warning: too few arguments in call to 'bail' bail ("%s: forward host lookup failed: ", name); ~~~~ ^ netcat.c:389:18: warning: too few arguments in call to 'holler' poop->addrs[x]); ^ netcat.c:404:50: warning: too few arguments in call to 'holler' holler ("%s: inverse host lookup failed: ", name); ~~~~~~ ^ netcat.c:410:13: warning: too few arguments in call to 'holler' poop->name); ^ netcat.c:455:56: warning: too few arguments in call to 'holler' holler ("Warning: port-bynum mismatch, %d != %d", x, y); ~~~~~~ ^ netcat.c:455:52: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] holler ("Warning: port-bynum mismatch, %d != %d", x, y); ^ netcat.c:455:55: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] holler ("Warning: port-bynum mismatch, %d != %d", x, y); ^ netcat.c:553:34: warning: too few arguments in call to 'bail' bail ("loadports: no block?!"); ~~~~ ^ netcat.c:555:51: warning: too few arguments in call to 'bail' bail ("loadports: bogus values %d, %d", lo, hi); ~~~~ ^ netcat.c:555:45: warning: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] bail ("loadports: bogus values %d, %d", lo, hi); ^~ netcat.c:555:49: warning: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] bail ("loadports: bogus values %d, %d", lo, hi); ^~ netcat.c:617:29: warning: too few arguments in call to 'bail' bail ("Can't get socket"); ~~~~ ^ netcat.c:623:38: warning: too few arguments in call to 'holler' holler ("nnetfd reuseaddr failed"); /* ??? */ ~~~~~~ ^ netcat.c:627:38: warning: too few arguments in call to 'holler' holler ("nnetfd reuseport failed"); /* ??? */ ~~~~~~ ^ netcat.c:661:66: warning: too few arguments in call to 'holler' holler ("retrying local %s:%d", inet_ntoa (lclend->sin_addr), lp); ~~~~~~ ^ netcat.c:661:64: warning: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] holler ("retrying local %s:%d", inet_ntoa (lclend->sin_addr), lp); ^~ netcat.c:669:33: warning: too few arguments in call to 'bail' inet_ntoa(lclend->sin_addr), lp); ^ netcat.c:669:31: warning: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] inet_ntoa(lclend->sin_addr), lp); ^~ netcat.c:740:39: warning: too few arguments in call to 'bail' bail ("srcrt setsockopt fuxored"); ~~~~ ^ netcat.c:786:38: warning: too few arguments in call to 'bail' bail ("UDP listen needs -p arg"); ~~~~ ^ netcat.c:790:35: warning: too few arguments in call to 'bail' bail ("local listen fuxored"); ~~~~ ^ netcat.c:804:46: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rr = getsockname (nnetfd, (SA *) lclend, &x); ^~ /usr/include/sys/socket.h:561:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ netcat.c:806:41: warning: too few arguments in call to 'holler' holler ("local getsockname failed"); ~~~~~~ ^ netcat.c:814:26: warning: too few arguments in call to 'holler' holler (bigbuf_net, z); ~~~~~~ ^ netcat.c:814:25: warning: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] holler (bigbuf_net, z); ^ netcat.c:827:56: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (nnetfd, bigbuf_net, BIGSIZ, MSG_PEEK, (SA *) remend, &x); ^~ /usr/include/sys/socket.h:567:25: note: passing argument to parameter here socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); ^ netcat.c:851:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rr = accept (nnetfd, (SA *)remend, &x); ^~ /usr/include/sys/socket.h:555:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ netcat.c:872:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rr = getsockopt (nnetfd, IPPROTO_IP, IP_OPTIONS, optbuf, &x); ^~ /usr/include/sys/socket.h:563:72: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ netcat.c:874:32: warning: too few arguments in call to 'holler' holler ("getsockopt failed"); ~~~~~~ ^ netcat.c:887:41: warning: too few arguments in call to 'holler' holler ("IP options: %s", bigbuf_net); ~~~~~~ ^ netcat.c:899:44: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rr = getsockname (nnetfd, (SA *) lclend, &x); ^~ /usr/include/sys/socket.h:561:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ netcat.c:901:42: warning: too few arguments in call to 'holler' holler ("post-rcv getsockname failed"); ~~~~~~ ^ netcat.c:926:39: warning: too few arguments in call to 'bail' cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:926:38: warning: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:928:39: warning: too few arguments in call to 'holler' cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:928:38: warning: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:948:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] udptest (fd, where) ^~~~~~~ netcat.c:954:8: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] rr = write (fd, bigbuf_in, 1); ^ netcat.c:956:59: warning: too few arguments in call to 'holler' holler ("udptest first write failed?! errno %d", errno); ~~~~~~ ^ netcat.c:956:54: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] holler ("udptest first write failed?! errno %d", errno); ^~~~~ /usr/include/sys/errno.h:81:15: note: expanded from macro 'errno' #define errno (*__error()) ^~~~~~~~~~~~ netcat.c:1006:44: warning: too few arguments in call to 'bail' bail ("oprint called with no open fd?!"); ~~~~ ^ netcat.c:1043:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (&stage[2], "%8.8x ", obc); /* xxx: still slow? */ ^~~~~~~~~ /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ netcat.c:1068:28: warning: too few arguments in call to 'bail' bail ("ofd write err"); ~~~~ ^ netcat.c:1133:43: warning: too few arguments in call to 'holler' holler ("Preposterous fd value %d", fd); ~~~~~~ ^ netcat.c:1133:41: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] holler ("Preposterous fd value %d", fd); ^~ netcat.c:1170:28: warning: too few arguments in call to 'holler' holler ("select fuxored"); ~~~~~~ ^ netcat.c:1182:27: warning: too few arguments in call to 'holler' holler ("net timeout"); ~~~~~~ ^ netcat.c:1192:7: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] rr = read (fd, bigbuf_net, BIGSIZ); ^ netcat.c:1240:49: warning: too few arguments in call to 'holler' holler ("Bogus buffers: %d, %d", rzleft, rnleft); ~~~~~~ ^ netcat.c:1240:35: warning: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'char *' [-Wint-conversion] holler ("Bogus buffers: %d, %d", rzleft, rnleft); ^~~~~~ netcat.c:1240:43: warning: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'char *' [-Wint-conversion] holler ("Bogus buffers: %d, %d", rzleft, rnleft); ^~~~~~ netcat.c:1245:35: warning: too few arguments in call to 'holler' holler ("too many output retries"); ~~~~~~ ^ netcat.c:1296:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^~~~ netcat.c:1320:3: warning: implicit declaration of function 'res_init' is invalid in C99 [-Wimplicit-function-declaration] res_init(); ^ netcat.c:1360:20: warning: too few arguments in call to 'bail' bail ("wrong"); ~~~~ ^ netcat.c:1393:15: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration] while ((x = getopt (argc, argv, "ae:g:G:hi:lno:p:rs:tuvw:z")) != EOF) { ^ netcat.c:1397:27: warning: too few arguments in call to 'bail' bail ("all-A-records NIY"); ~~~~ ^ netcat.c:1409:66: warning: too few arguments in call to 'bail' bail ("invalid hop pointer %d, must be multiple of 4 <= 28", x); ~~~~ ^ netcat.c:1409:65: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] bail ("invalid hop pointer %d, must be multiple of 4 <= 28", x); ^ netcat.c:1413:28: warning: too few arguments in call to 'bail' bail ("too many -g hops"); ~~~~ ^ netcat.c:1424:2: warning: implicit declaration of function 'helpme' is invalid in C99 [-Wimplicit-function-declaration] helpme(); /* exits by itself */ ^ netcat.c:1431:44: warning: too few arguments in call to 'bail' bail ("invalid interval time %s", optarg); ~~~~ ^ netcat.c:1443:41: warning: too few arguments in call to 'bail' bail ("invalid local port %s", optarg); ~~~~ ^ netcat.c:1465:40: warning: too few arguments in call to 'bail' bail ("invalid wait-time %s", optarg); ~~~~ ^ netcat.c:1475:24: warning: too few arguments in call to 'bail' bail ("nc -h for help"); ~~~~ ^ netcat.c:1494:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ofd = open (stage, O_WRONLY | O_CREAT | O_TRUNC, 0664); ^~~~~ /usr/include/sys/fcntl.h:439:22: note: passing argument to parameter here int open(const char *, int, ...) __DARWIN_ALIAS_C(open); ^ netcat.c:1496:35: warning: too few arguments in call to 'bail' bail ("can't open %s", stage); ~~~~ ^ netcat.c:1496:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bail ("can't open %s", stage); ^~~~~ netcat.c:1524:39: warning: too few arguments in call to 'bail' bail ("invalid port %s", argv[optind]); ~~~~ ^ netcat.c:1535:41: warning: too few arguments in call to 'holler' holler (wrote_txt, wrote_net, wrote_out); ~~~~~~ ^ netcat.c:1535:21: warning: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'char *' [-Wint-conversion] holler (wrote_txt, wrote_net, wrote_out); ^~~~~~~~~ netcat.c:1535:32: warning: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'char *' [-Wint-conversion] holler (wrote_txt, wrote_net, wrote_out); ^~~~~~~~~ netcat.c:1538:28: warning: too few arguments in call to 'bail' bail ("no connection"); ~~~~ ^ netcat.c:1543:27: warning: too few arguments in call to 'bail' bail ("no destination"); ~~~~ ^ netcat.c:1545:37: warning: too few arguments in call to 'bail' bail ("no port[s] to connect to"); ~~~~ ^ netcat.c:1562:29: warning: too few arguments in call to 'bail' bail ("invalid port %s", cp); ~~~~ ^ netcat.c:1566:44: warning: too few arguments in call to 'bail' bail ("invalid port %s", argv[optind]); ~~~~ ^ netcat.c:1594:61: warning: too few arguments in call to 'holler' whereto->name, whereto->addrs[0], curport, portpoop->name); ^ netcat.c:1594:38: warning: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] whereto->name, whereto->addrs[0], curport, portpoop->name); ^~~~~~~ netcat.c:1607:63: warning: too few arguments in call to 'holler' whereto->name, whereto->addrs[0], curport, portpoop->name); ^ netcat.c:1607:40: warning: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] whereto->name, whereto->addrs[0], curport, portpoop->name); ^~~~~~~ netcat.c:1622:44: warning: too few arguments in call to 'holler' holler (wrote_txt, wrote_net, wrote_out); ~~~~~~ ^ netcat.c:1622:24: warning: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'char *' [-Wint-conversion] holler (wrote_txt, wrote_net, wrote_out); ^~~~~~~~~ netcat.c:1622:35: warning: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'char *' [-Wint-conversion] holler (wrote_txt, wrote_net, wrote_out); ^~~~~~~~~ netcat.c:1631:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] helpme() ^~~~~~ netcat.c:1637:10: warning: too few arguments in call to 'holler' options:"); ^ netcat.c:1655:33: warning: too few arguments in call to 'holler' -s addr local source address"); ^ netcat.c:1664:41: warning: too few arguments in call to 'holler' -z zero-I/O mode [used for scanning]"); ^ netcat.c:1665:70: warning: too few arguments in call to 'bail' bail ("port numbers can be individual or ranges: lo-hi [inclusive]"); ~~~~ ^ netcat.c:1666:1: warning: control reaches end of non-void function [-Wreturn-type] } /* helpme */ ^ 106 warnings generated. /bin/rm -rf /sw/build.build/root-netcat-1.10-4 /bin/mkdir -p /sw/build.build/root-netcat-1.10-4/sw /bin/mkdir -p /sw/build.build/root-netcat-1.10-4/DEBIAN /usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-netcat-1.10-4 sudo -u fink-bld [ENV] sh -c /tmp/fink.UgX0Q mkdir -p /sw/build.build/root-netcat-1.10-4/sw/bin install nc /sw/build.build/root-netcat-1.10-4/sw/bin/ sudo -u fink-bld [ENV] sh -c /tmp/fink.se8G7 /usr/bin/install -d -m 700 /sw/build.build/root-netcat-1.10-4/sw/share/doc/netcat /bin/cp -r README /sw/build.build/root-netcat-1.10-4/sw/share/doc/netcat/ /bin/chmod -R go=u-w /sw/build.build/root-netcat-1.10-4/sw/share/doc/netcat /bin/rm -f /sw/build.build/root-netcat-1.10-4/sw/info/dir /sw/build.build/root-netcat-1.10-4/sw/info/dir.old /sw/build.build/root-netcat-1.10-4/sw/share/info/dir /sw/build.build/root-netcat-1.10-4/sw/share/info/dir.old Reverting ownership of install dir to root Writing control file... Writing md5sums file... env LANG=C LC_ALL=C dpkg-deb -b root-netcat-1.10-4 /sw/fink/10.9/stable/main/binary-darwin-x86_64/net dpkg-deb: building package `netcat' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/net/netcat_1.10-4_darwin-x86_64.deb'. Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-netcat-1.10-4 (Reading database ... 4297 files and directories currently installed.) Removing fink-buildlock-netcat-1.10-4 ...