printf ' ' | fink --no-use-binary-dist --yes --build-as-nobody rebuild libnids 2>&1 The package 'libnids' will be built without being installed. Reading build dependency for libnids-1.18-6... Reading dependency for libnids-1.18-6... Reading build conflict for libnids-1.18-6... The package 'libpcap1' will be installed. Reading dependency for libpcap1-1.5.3-3... Reading runtime dependency for libpcap1-1.5.3-3... The package 'libnet1.0' will be installed. Reading dependency for libnet1.0-1.0.2a-112... Reading runtime dependency for libnet1.0-1.0.2a-112... The package 'libpcap1-shlibs' will be installed. Reading dependency for libpcap1-shlibs-1.5.3-3... Reading runtime dependency for libpcap1-shlibs-1.5.3-3... The package 'libnet1.0-shlibs' will be installed. Reading dependency for libnet1.0-shlibs-1.0.2a-112... Reading runtime dependency for libnet1.0-shlibs-1.0.2a-112... The following package will be rebuilt: libnids The following 4 additional packages will be installed: libnet1.0 libnet1.0-shlibs libpcap1 libpcap1-shlibs Do you want to continue? [Y/n] (assuming default) curl --connect-timeout 30 -f -L -A 'fink/0.37.0' -O http://distfiles.master.finkmirrors.net/distfiles/libnids-1.18.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 78 111k 78 89534 0 0 207k 0 --:--:-- --:--:-- --:--:-- 206k 100 111k 100 111k 0 0 218k 0 --:--:-- --:--:-- --:--:-- 217k Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/debs/libnet1.0_1.0.2a-112_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/net/libnet1.0-shlibs_1.0.2a-112_darwin-x86_64.deb Selecting previously deselected package libnet1.0. (Reading database ... 4296 files and directories currently installed.) Unpacking libnet1.0 (from .../libnet1.0_1.0.2a-112_darwin-x86_64.deb) ... Selecting previously deselected package libnet1.0-shlibs. Unpacking libnet1.0-shlibs (from .../libnet1.0-shlibs_1.0.2a-112_darwin-x86_64.deb) ... Setting up libnet1.0-shlibs (1.0.2a-112) ... Setting up libnet1.0 (1.0.2a-112) ... Clearing dependency_libs of .la files being installed Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/debs/libpcap1_1.5.3-3_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/net/libpcap1-shlibs_1.5.3-3_darwin-x86_64.deb Selecting previously deselected package libpcap1. (Reading database ... 4321 files and directories currently installed.) Unpacking libpcap1 (from .../libpcap1_1.5.3-3_darwin-x86_64.deb) ... Selecting previously deselected package libpcap1-shlibs. Unpacking libpcap1-shlibs (from .../libpcap1-shlibs_1.5.3-3_darwin-x86_64.deb) ... Setting up libpcap1-shlibs (1.5.3-3) ... Setting up libpcap1 (1.5.3-3) ... Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-libnids-1.18-6 /sw/build.build dpkg-deb: building package `fink-buildlock-libnids-1.18-6' in `/sw/build.build/fink-buildlock-libnids-1.18-6_2014.07.29-08.16.58_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-libnids-1.18-6_2014.07.29-08.16.58_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-libnids-1.18-6. (Reading database ... 4427 files and directories currently installed.) Unpacking fink-buildlock-libnids-1.18-6 (from .../fink-buildlock-libnids-1.18-6_2014.07.29-08.16.58_darwin-x86_64.deb) ... Setting up fink-buildlock-libnids-1.18-6 (2014.07.29-08.16.58) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.FcfIk env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/libnids-1.18.tar.gz libnids-1.18/ libnids-1.18/src/ libnids-1.18/src/checksum.c libnids-1.18/src/ip_fragment.c libnids-1.18/src/ip_fragment.h libnids-1.18/src/ip_options.c libnids-1.18/src/killtcp.c libnids-1.18/src/libnids.c libnids-1.18/src/scan.c libnids-1.18/src/scan.h libnids-1.18/src/tcp.c libnids-1.18/src/tcp.h libnids-1.18/src/util.c libnids-1.18/src/util.h libnids-1.18/src/Makefile.in libnids-1.18/src/libnids.3 libnids-1.18/src/libnids.3.mdoc libnids-1.18/src/checksum.h libnids-1.18/src/config.h.in libnids-1.18/src/hash.c libnids-1.18/src/allpromisc.c libnids-1.18/src/hash.h libnids-1.18/src/nids.h libnids-1.18/doc/ libnids-1.18/doc/PATCH libnids-1.18/doc/TESTS libnids-1.18/doc/bugtraq_post libnids-1.18/doc/NEW_LIBPCAP libnids-1.18/doc/API.html libnids-1.18/doc/API.txt libnids-1.18/doc/LINUX libnids-1.18/doc/PERFORMANCE libnids-1.18/COPYING libnids-1.18/MISC libnids-1.18/README libnids-1.18/samples/ libnids-1.18/samples/overflows.c libnids-1.18/samples/printall.c libnids-1.18/samples/nids_next.c libnids-1.18/samples/sniff.c libnids-1.18/samples/Makefile.in libnids-1.18/CREDITS libnids-1.18/CHANGES libnids-1.18/install-sh libnids-1.18/configure.in libnids-1.18/Makefile.in libnids-1.18/configure libnids-1.18/mkinstalldirs libnids-1.18/config.guess libnids-1.18/config.sub sudo -u fink-bld [ENV] sh -c /tmp/fink.ErHaL [ -r /sw/fink/dists/stable/main/finkinfo/libs/libnids.patch ] sudo -u fink-bld [ENV] sh -c /tmp/fink.mhNAV patch -p1 < /sw/fink/dists/stable/main/finkinfo/libs/libnids.patch patching file src/checksum.c sudo -u fink-bld [ENV] sh -c /tmp/fink.jWaJ4 ./configure --prefix=/sw --mandir=/sw/share/man checking build system type... i386-apple-darwin13.3.0 checking host system type... i386-apple-darwin13.3.0 checking target system type... i386-apple-darwin13.3.0 checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -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 sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... no checking for gettimeofday... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for libpcap... yes checking for libnet... yes checking whether to build shared library... no checking the name of struct icmp... struct icmp checking if tcp states are defined... no checking for bsd-ish struct udphdr... yes checking libnet version... looks old configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating samples/Makefile config.status: creating src/config.h make cd src ; /Applications/Xcode.app/Contents/Developer/usr/bin/make static gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN checksum.c gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN ip_fragment.c gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN ip_options.c gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN killtcp.c gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN libnids.c gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN scan.c gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN tcp.c gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN util.c killtcp.c:24:32: warning: passing 'char [40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] a_tcp->addr.daddr, 0, 0, buf); ^~~ /sw/include/./libnet/libnet-functions.h:412:5: note: passing argument to parameter here ); ^ killtcp.c:27:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] 0x4, 32000, 0, 0, 0, buf + IP_H); ^~~~~~~~~~ /sw/include/./libnet/libnet-functions.h:249:5: note: passing argument to parameter here ); ^ killtcp.c:28:24: warning: passing 'char [40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] libnet_do_checksum(buf, IPPROTO_TCP, TCP_H); ^~~ /sw/include/./libnet/libnet-functions.h:104:13: note: passing argument to parameter here u_char *, /* Pointer to the packet buffer */ ^ killtcp.c:29:33: warning: passing 'char [40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] libnet_write_ip(libnetsock, buf, TCP_H + IP_H); ^~~ /sw/include/./libnet/libnet-functions.h:521:13: note: passing argument to parameter here u_char *, /* Pointer a complete IP datagram */ ^ killtcp.c:32:32: warning: passing 'char [40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] a_tcp->addr.saddr, 0, 0, buf); ^~~ /sw/include/./libnet/libnet-functions.h:412:5: note: passing argument to parameter here ); ^ killtcp.c:35:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] 0x4, 32000, 0, 0, 0, buf + IP_H); ^~~~~~~~~~ /sw/include/./libnet/libnet-functions.h:249:5: note: passing argument to parameter here ); ^ killtcp.c:36:24: warning: passing 'char [40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] libnet_do_checksum(buf, IPPROTO_TCP, TCP_H); ^~~ /sw/include/./libnet/libnet-functions.h:104:13: note: passing argument to parameter here u_char *, /* Pointer to the packet buffer */ ^ killtcp.c:37:33: warning: passing 'char [40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] libnet_write_ip(libnetsock, buf, TCP_H + IP_H); ^~~ /sw/include/./libnet/libnet-functions.h:521:13: note: passing argument to parameter here u_char *, /* Pointer a complete IP datagram */ ^ gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN allpromisc.c tcp.c:126:19: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char * options = (char*)(this_tcphdr + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ip_fragment.c:495:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = skb; ^ ~~~ tcp.c:341:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add2buf(rcv, data + lost, to_copy); ^~~~~~~~~~~ tcp.c:207:41: note: passing argument to parameter 'data' here add2buf(struct half_stream * rcv, char *data, int datalen) ^ tcp.c:357:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add2buf(rcv, data + lost + to_copy + 1, to_copy2); ^~~~~~~~~~~~~~~~~~~~~~~~~ tcp.c:207:41: note: passing argument to parameter 'data' here add2buf(struct half_stream * rcv, char *data, int datalen) ^ tcp.c:369:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add2buf(rcv, data + lost, datalen - lost); ^~~~~~~~~~~ tcp.c:207:41: note: passing argument to parameter 'data' here add2buf(struct half_stream * rcv, char *data, int datalen) ^ tcp.c:399:37: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ip_fragment.c:603:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_from_skb(a_tcp, rcv, snd, data, datalen, this_seq, ^~~~ tcp.c ptr = skb->data + ihl;: 325 ^ ~~~~~~~~~~~~~~~ :15: note: passing argument to parameter 'data' here u_char *data, int datalen, ^ 8 warnings generated. gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN hash.c libnids.c:267:46: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (iph->ip_hl > 5 && ip_options_compile(data)) { ^~~~ libnids.c:36:37: note: passing argument to parameter here extern int ip_options_compile(char *); ^ libnids.c:340:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] process_udp(data); ^~~~ libnids.c:305:31: note: passing argument to parameter 'data' here static void process_udp(char *data) ^ libnids.c:532:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] pcap_hand(0, &h, data); ^~~~ libnids.c:177:71: note: passing argument to parameter 'data' here static void pcap_hand(u_char * par, struct pcap_pkthdr *hdr, u_char * data) ^ In file included from tcp.c:20: ./util.h:27:12: warning: inline function 'after' is not defined [-Wundefined-inline] inline int after(u_int seq1, u_int seq2); ^ tcp.c:331:14: note: used here if (urg && after(urg_ptr, EXP_SEQ - 1) && ^ In file included from tcp.c:20: ./util.h:26:12: warning: inline function 'before' is not defined [-Wundefined-inline] inline int before(u_int seq1, u_int seq2); ^ tcp.c:337:7: note: used here before(rcv->urg_ptr, this_seq + datalen)) { ^ 2 warnings generated. 3 warnings generated. 7 warnings generated. ar -cr libnids.a checksum.o ip_fragment.o ip_options.o killtcp.o libnids.o scan.o tcp.o util.o allpromisc.o hash.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libnids.a(allpromisc.o) has no symbols ranlib libnids.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libnids.a(allpromisc.o) has no symbols /bin/rm -rf /sw/build.build/root-libnids-1.18-6 /bin/mkdir -p /sw/build.build/root-libnids-1.18-6/sw /bin/mkdir -p /sw/build.build/root-libnids-1.18-6/DEBIAN /usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-libnids-1.18-6 sudo -u fink-bld [ENV] sh -c /tmp/fink.V08Vl make install install_prefix=/sw/build.build/root-libnids-1.18-6 cd src ; /Applications/Xcode.app/Contents/Developer/usr/bin/make _install ../mkinstalldirs /sw/build.build/root-libnids-1.18-6/sw/lib mkdir /sw/build.build/root-libnids-1.18-6/sw/lib ../mkinstalldirs /sw/build.build/root-libnids-1.18-6/sw/include mkdir /sw/build.build/root-libnids-1.18-6/sw/include ../mkinstalldirs /sw/build.build/root-libnids-1.18-6/sw/share/man/man3 mkdir /sw/build.build/root-libnids-1.18-6/sw/share mkdir /sw/build.build/root-libnids-1.18-6/sw/share/man mkdir /sw/build.build/root-libnids-1.18-6/sw/share/man/man3 /usr/bin/install -c -c -m 644 libnids.a /sw/build.build/root-libnids-1.18-6/sw/lib /usr/bin/install -c -c -m 644 nids.h /sw/build.build/root-libnids-1.18-6/sw/include /usr/bin/install -c -c -m 644 libnids.3 /sw/build.build/root-libnids-1.18-6/sw/share/man/man3 sudo -u fink-bld [ENV] sh -c /tmp/fink.nHt61 /usr/bin/install -d -m 700 /sw/build.build/root-libnids-1.18-6/sw/share/doc/libnids /bin/cp -r COPYING /sw/build.build/root-libnids-1.18-6/sw/share/doc/libnids/COPYING.libnids /bin/chmod -R go=u-w /sw/build.build/root-libnids-1.18-6/sw/share/doc/libnids /bin/rm -f /sw/build.build/root-libnids-1.18-6/sw/info/dir /sw/build.build/root-libnids-1.18-6/sw/info/dir.old /sw/build.build/root-libnids-1.18-6/sw/share/info/dir /sw/build.build/root-libnids-1.18-6/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-libnids-1.18-6 /sw/fink/10.9/stable/main/binary-darwin-x86_64/libs dpkg-deb: building package `libnids' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/libs/libnids_1.18-6_darwin-x86_64.deb'. Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-libnids-1.18-6 (Reading database ... 4428 files and directories currently installed.) Removing fink-buildlock-libnids-1.18-6 ...