=> Building security/fragrouter Started : Thursday, 12 APR 2018 at 05:37:37 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/fragrouter XDG_CONFIG_HOME=/construction/security/fragrouter HOME=/construction/security/fragrouter TMPDIR="/tmp" PATH=/construction/security/fragrouter/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/fragrouter XDG_CONFIG_HOME=/construction/security/fragrouter HOME=/construction/security/fragrouter TMPDIR="/tmp" PATH=/construction/security/fragrouter/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/security/fragrouter/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/fragrouter" EXAMPLESDIR="share/examples/fragrouter" DATADIR="share/fragrouter" WWWDIR="www/fragrouter" ETCDIR="etc/fragrouter" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fragrouter DOCSDIR=/usr/local/share/doc/fragrouter EXAMPLESDIR=/usr/local/share/examples/fragrouter WWWDIR=/usr/local/www/fragrouter ETCDIR=/usr/local/etc/fragrouter -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> fragrouter-1.6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> fragrouter-1.6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of fragrouter-1.6 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by fragrouter-1.6 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by fragrouter-1.6 for building => SHA256 Checksum OK for fragrouter-1.6.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by fragrouter-1.6 for building ===> Extracting for fragrouter-1.6 => SHA256 Checksum OK for fragrouter-1.6.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for fragrouter-1.6 ===> Applying ports patches for fragrouter-1.6 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for fragrouter-1.6 configure: warning: x86_64-portbld-dragonfly5.2: invalid host type loading site script /xports/Templates/config.site creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking if the compiler understands -pipe -Wall... yes checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... yes checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for working const... yes checking for strdup... (cached) yes checking for gethostbyname in -lnsl... no checking for socket in -lsocket... no checking for net/ethernet.h... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h configuring in Libnet-0.99b running /bin/sh ./configure --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/ x86_64-portbld-dragonfly5.2 --cache-file=.././config.cache --srcdir=. configure: warning: x86_64-portbld-dragonfly5.2: invalid host type loading site script /xports/Templates/config.site loading cache .././config.cache checking host system type... x86_64-portbld-dragonfly5.2 checking target system type... x86_64-portbld-dragonfly5.2 checking build system type... x86_64-portbld-dragonfly5.2 checking for gcc... (cached) cc checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for working const... (cached) yes checking for a BSD compatible install... ../ checking whether make sets ${MAKE}... (cached) yes checking for ranlib... ranlib checking for ar... ar checking for ln... ln checking for strerror... (cached) yes checking for pcap_open_live in -lpcap... yes checking low-level packet interface type... found bpf configure: warning: your OS is not officially supported yet configure: warning: dunno if this will work you'll have to edit the makefile by hand please send diffs to mike@infonexus.com checking for build_ip in -lnet... no checking whether byte ordering is bigendian... no checking if unaligned accesses fail... no checking for sys/sockio.h... yes updating cache .././config.cache creating ./config.status creating Makefile creating test/Makefile creating test/TCP/Makefile creating test/Ethernet/Makefile creating test/UDP/Makefile creating test/ICMP/Makefile creating test/Random/Makefile creating util/Makefile creating util/Get-mac/Makefile creating include/config.h -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for fragrouter-1.6 --- ./Libnet-0.99b/libnet.a --- --- attack.o --- --- fragrouter.o --- --- ip_frag.o --- --- list.o --- --- ./Libnet-0.99b/libnet.a --- cd ./Libnet-0.99b; /usr/bin/make --- attack.o --- cc -pipe -Wall -pipe -O2 -fno-strict-aliasing -I./Libnet-0.99b/include -c attack.c --- fragrouter.o --- cc -pipe -Wall -pipe -O2 -fno-strict-aliasing -I./Libnet-0.99b/include -c fragrouter.c --- ip_frag.o --- cc -pipe -Wall -pipe -O2 -fno-strict-aliasing -I./Libnet-0.99b/include -c ip_frag.c --- list.o --- cc -pipe -Wall -pipe -O2 -fno-strict-aliasing -I./Libnet-0.99b/include -c list.c --- ./Libnet-0.99b/libnet.a --- --- version.h --- --- list.o --- list.c: In function 'list_elem': list.c:57:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(new->data, data, len); ^ list.c:57:3: warning: incompatible implicit declaration of built-in function 'memcpy' list.c:57:3: note: include '' or provide a declaration of 'memcpy' --- misc.o --- --- ./Libnet-0.99b/libnet.a --- sed -e 's/.*/#define VERSION "&"/' ./VERSION > version.h --- misc.o --- cc -pipe -Wall -pipe -O2 -fno-strict-aliasing -I./Libnet-0.99b/include -c misc.c --- ./Libnet-0.99b/libnet.a --- --- src/resolve.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/resolve.c -o src/resolve.o --- print.o --- cc -pipe -Wall -pipe -O2 -fno-strict-aliasing -I./Libnet-0.99b/include -c print.c --- send.o --- cc -pipe -Wall -pipe -O2 -fno-strict-aliasing -I./Libnet-0.99b/include -c send.c --- sniff.o --- cc -pipe -Wall -pipe -O2 -fno-strict-aliasing -I./Libnet-0.99b/include -c sniff.c --- send.o --- send.c: In function 'send_init': send.c:65:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = strtok(hops, " "); ^ send.c:66:55: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (; q - optdata < MAX_IPOPTLEN && p != NULL; p = strtok(NULL, " ")) { ^ --- sniff.o --- sniff.c: In function 'sniff_init': sniff.c:73:40: warning: pointer targets in passing argument 2 of 'libnet_get_ipaddr' differ in signedness [-Wpointer-sign] if (!(llip = libnet_get_ipaddr(llif, dev, ebuf))) ^ In file included from ./Libnet-0.99b/include/libnet.h:93:0, from sniff.c:48: ./Libnet-0.99b/include/./libnet/libnet-functions.h:713:1: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' libnet_get_ipaddr(struct link_int *, const u_char *, u_char *); ^ sniff.c:73:45: warning: pointer targets in passing argument 3 of 'libnet_get_ipaddr' differ in signedness [-Wpointer-sign] if (!(llip = libnet_get_ipaddr(llif, dev, ebuf))) ^ In file included from ./Libnet-0.99b/include/libnet.h:93:0, from sniff.c:48: ./Libnet-0.99b/include/./libnet/libnet-functions.h:713:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' libnet_get_ipaddr(struct link_int *, const u_char *, u_char *); ^ sniff.c:76:41: warning: pointer targets in passing argument 2 of 'libnet_get_hwaddr' differ in signedness [-Wpointer-sign] if (!(llmac = libnet_get_hwaddr(llif, dev, ebuf))) ^ In file included from ./Libnet-0.99b/include/libnet.h:93:0, from sniff.c:48: ./Libnet-0.99b/include/./libnet/libnet-functions.h:716:1: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' libnet_get_hwaddr(struct link_int *, const u_char *, u_char *); ^ sniff.c:76:46: warning: pointer targets in passing argument 3 of 'libnet_get_hwaddr' differ in signedness [-Wpointer-sign] if (!(llmac = libnet_get_hwaddr(llif, dev, ebuf))) ^ In file included from ./Libnet-0.99b/include/libnet.h:93:0, from sniff.c:48: ./Libnet-0.99b/include/./libnet/libnet-functions.h:716:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' libnet_get_hwaddr(struct link_int *, const u_char *, u_char *); ^ sniff.c: In function 'sniff_loop': sniff.c:131:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((pkt = (char *)pcap_next(sniff_pd, &pkthdr)) != NULL) { ^ --- tcp_seg.o --- cc -pipe -Wall -pipe -O2 -fno-strict-aliasing -I./Libnet-0.99b/include -c tcp_seg.c --- ./Libnet-0.99b/libnet.a --- --- src/socket.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/socket.c -o src/socket.o src/socket.c: In function 'open_raw_sock': src/socket.c:41:1: warning: type of 'prot' defaults to 'int' [-Wimplicit-int] open_raw_sock(prot) ^ --- src/checksum.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/checksum.c -o src/checksum.o --- attack.o --- attack.c: In function 'attack_init': attack.c:346:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(ebuf, "attack unimplemented"); ^ attack.c:346:5: warning: incompatible implicit declaration of built-in function 'strcpy' attack.c:346:5: note: include '' or provide a declaration of 'strcpy' --- ./Libnet-0.99b/libnet.a --- --- src/prand.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/prand.c -o src/prand.o --- src/version.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/version.c -o src/version.o --- src/error.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/error.c -o src/error.o --- src/write_ip.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/write_ip.c -o src/write_ip.o --- src/insert_ipo.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/insert_ipo.c -o src/insert_ipo.o --- src/insert_tcpo.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/insert_tcpo.c -o src/insert_tcpo.o --- src/bpf.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/bpf.c -o src/bpf.o --- src/packet_mem.o --- --- src/build_ip.o --- --- src/packet_mem.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/packet_mem.c -o src/packet_mem.o --- src/build_ip.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/build_ip.c -o src/build_ip.o --- src/build_tcp.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/build_tcp.c -o src/build_tcp.o --- src/build_udp.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/build_udp.c -o src/build_udp.o --- src/build_arp.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/build_arp.c -o src/build_arp.o --- src/build_ethernet.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/build_ethernet.c -o src/build_ethernet.o --- src/build_icmp.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/build_icmp.c -o src/build_icmp.o --- src/build_igmp.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/build_igmp.c -o src/build_igmp.o --- src/build_dns.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/build_dns.c -o src/build_dns.o --- src/build_snmp.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/build_snmp.c -o src/build_snmp.o --- src/build_rip.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/build_rip.c -o src/build_rip.o --- src/asn1.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/asn1.c -o src/asn1.o --- src/hex_dump.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/hex_dump.c -o src/hex_dump.o --- src/stubs.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/stubs.c -o src/stubs.o --- src/if_addr.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/if_addr.c -o src/if_addr.o --- src/arp.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/arp.c -o src/arp.o --- src/route.o --- cc -pipe -O2 -fno-strict-aliasing -DHAVE_CONFIG_H -c src/route.c -o src/route.o --- libnet --- ar -cr lib/libnet.a src/resolve.o src/socket.o src/checksum.o src/prand.o src/version.o src/error.o src/write_ip.o src/insert_ipo.o src/insert_tcpo.o src/error.o src/bpf.o src/packet_mem.o src/build_ip.o src/build_tcp.o src/build_udp.o src/build_arp.o src/build_ethernet.o src/build_icmp.o src/build_igmp.o src/build_dns.o src/build_snmp.o src/build_rip.o src/asn1.o src/hex_dump.o src/stubs.o src/if_addr.o src/arp.o src/route.o ranlib lib/libnet.a --- fragrouter --- cc -pipe -Wall -o fragrouter attack.o fragrouter.o ip_frag.o list.o misc.o print.o send.o sniff.o tcp_seg.o -lpcap -L./Libnet-0.99b/lib -lnet -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for fragrouter-1.6 ===> Generating temporary packing list cd ./Libnet-0.99b; /usr/bin/make ar -cr lib/libnet.a src/resolve.o src/socket.o src/checksum.o src/prand.o src/version.o src/error.o src/write_ip.o src/insert_ipo.o src/insert_tcpo.o src/error.o src/bpf.o src/packet_mem.o src/build_ip.o src/build_tcp.o src/build_udp.o src/build_arp.o src/build_ethernet.o src/build_icmp.o src/build_igmp.o src/build_dns.o src/build_snmp.o src/build_rip.o src/asn1.o src/hex_dump.o src/stubs.o src/if_addr.o src/arp.o src/route.o ranlib lib/libnet.a cc -pipe -Wall -o fragrouter attack.o fragrouter.o ip_frag.o list.o misc.o print.o send.o sniff.o tcp_seg.o -lpcap -L./Libnet-0.99b/lib -lnet ./mkinstalldirs /construction/security/fragrouter/stage/usr/local/sbin ./mkinstalldirs /construction/security/fragrouter/stage/usr/local/man/man8 install -s -m 555 -m 755 fragrouter /construction/security/fragrouter/stage/usr/local/sbin install -m 0644 fragrouter.8 /construction/security/fragrouter/stage/usr/local/man/man8 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for fragrouter-1.6 file sizes/checksums [2]: . done packing files [2]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 12 APR 2018 at 05:37:48 UTC Duration: 00:00:10