=> Building net/libbgpdump Started : Thursday, 7 MAR 2019 at 12:24:52 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-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 -------------------------------------------------- ===> The following configuration options are available for libbgpdump-1.4.99.15: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/libbgpdump XDG_CONFIG_HOME=/construction/net/libbgpdump HOME=/construction/net/libbgpdump TMPDIR="/tmp" PATH=/construction/net/libbgpdump/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 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/net/libbgpdump XDG_CONFIG_HOME=/construction/net/libbgpdump HOME=/construction/net/libbgpdump TMPDIR="/tmp" PATH=/construction/net/libbgpdump/.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=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local 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/net/libbgpdump/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/libbgpdump" EXAMPLESDIR="share/examples/libbgpdump" DATADIR="share/libbgpdump" WWWDIR="www/libbgpdump" ETCDIR="etc/libbgpdump" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libbgpdump DOCSDIR=/usr/local/share/doc/libbgpdump EXAMPLESDIR=/usr/local/share/examples/libbgpdump WWWDIR=/usr/local/www/libbgpdump ETCDIR=/usr/local/etc/libbgpdump -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE 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 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> libbgpdump-1.4.99.15 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> libbgpdump-1.4.99.15 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of libbgpdump-1.4.99.15 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by libbgpdump-1.4.99.15 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by libbgpdump-1.4.99.15 for building => SHA256 Checksum OK for libbgpdump-1.4.99.15.tgz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by libbgpdump-1.4.99.15 for building ===> Extracting for libbgpdump-1.4.99.15 => SHA256 Checksum OK for libbgpdump-1.4.99.15.tgz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for libbgpdump-1.4.99.15 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for libbgpdump-1.4.99.15 configure: loading site script /xports/Templates/config.site checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for ranlib... ranlib checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for netinet/in.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for u_char_t... no checking for u_int8_t... (cached) yes checking for u_int16_t... (cached) yes checking for u_int32_t... (cached) yes checking for gzopen in -lz... yes checking for BZ2_bzReadOpen in -lbz2... yes checking for inet_ntoa... (cached) yes checking for inet_ntop... (cached) yes configure: creating ./config.status config.status: creating bgpdump.spec config.status: creating Makefile config.status: creating bgpdump-config.h config.status: bgpdump-config.h is unchanged -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for libbgpdump-1.4.99.15 --- bgpdump_lib.o --- --- bgpdump_mstream.o --- --- cfile_tools.o --- --- util.o --- --- inet_ntop.o --- --- bgpdump_lib.o --- cc -fPIC -g -O3 -pipe -O2 -fno-strict-aliasing -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -c bgpdump_lib.c --- bgpdump_mstream.o --- cc -fPIC -g -O3 -pipe -O2 -fno-strict-aliasing -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -c bgpdump_mstream.c --- cfile_tools.o --- cc -fPIC -g -O3 -pipe -O2 -fno-strict-aliasing -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -c cfile_tools.c --- util.o --- cc -fPIC -g -O3 -pipe -O2 -fno-strict-aliasing -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -c util.c --- inet_ntop.o --- cc -fPIC -g -O3 -pipe -O2 -fno-strict-aliasing -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -c inet_ntop.c --- cfile_tools.o --- cfile_tools.c: In function 'cfr_open': cfile_tools.c:91:4: warning: assignment to 'struct gzFile_s **' from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-Wincompatible-pointer-types] f = gzdopen(0, "r"); ^ cfile_tools.c:162:4: warning: assignment to 'struct gzFile_s **' from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-Wincompatible-pointer-types] f = gzopen(path, "r"); ^ cfile_tools.c: In function 'cfr_read': cfile_tools.c:307:23: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] retval = gzread(in, ptr, size*nmemb); ^~ In file included from /usr/include/zlib.h:34, from cfile_tools.h:42, from cfile_tools.c:25: /usr/include/zlib.h:1313:28: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~ cfile_tools.c:310:29: warning: passing argument 1 of 'gzeof' from incompatible pointer type [-Wincompatible-pointer-types] stream->eof = gzeof(in); ^~ In file included from /usr/include/zlib.h:34, from cfile_tools.h:42, from cfile_tools.c:25: /usr/include/zlib.h:1475:27: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzeof OF((gzFile file)); ^~ cfile_tools.c: In function 'cfr_getline': cfile_tools.c:394:34: warning: passing argument 1 of 'gzgets' from incompatible pointer type [-Wincompatible-pointer-types] char * return_ptr = gzgets((gzFile *)(stream->data2), *lineptr, *n ); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cfile_tools.h:42, from cfile_tools.c:25: /usr/include/zlib.h:1372:24: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'struct gzFile_s **' ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len)); ^~~~~~ cfile_tools.c: In function 'cfr_strerror': cfile_tools.c:476:22: warning: passing argument 1 of 'gzerror' from incompatible pointer type [-Wincompatible-pointer-types] gzerror((gzFile*)(stream->data2), &(stream->error2))); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from cfile_tools.h:42, from cfile_tools.c:25: /usr/include/zlib.h:1536:30: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'struct gzFile_s **' ZEXTERN const char * ZEXPORT gzerror OF((gzFile file, int *errnum)); ^~~~~~~ --- bgpdump_lib.o --- bgpdump_lib.c: In function 'bgpdump_read_next': bgpdump_lib.c:182:8: warning: implicit declaration of function 'process_mrtd_bgp'; did you mean 'process_zebra_bgp'? [-Wimplicit-function-declaration] ok = process_mrtd_bgp(&s,this_entry); ^~~~~~~~~~~~~~~~ process_zebra_bgp bgpdump_lib.c: In function 'bgpdump_free_mp_info': bgpdump_lib.c:211:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(info->announce[afi][safi]) ^~ bgpdump_lib.c:213:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' info->announce[afi][safi] = NULL; ^~~~ bgpdump_lib.c: At top level: bgpdump_lib.c:314:5: warning: no previous prototype for 'process_mrtd_bgp' [-Wmissing-prototypes] int process_mrtd_bgp(struct mstream *s, BGPDUMP_ENTRY *entry) { ^~~~~~~~~~~~~~~~ bgpdump_lib.c: In function 'process_mrtd_bgp': bgpdump_lib.c:318:14: warning: passing argument 2 of 'read_asn' from incompatible pointer type [-Wincompatible-pointer-types] read_asn(s, &entry->body.mrtd_message.source_as, ASN16_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bgpdump_lib.c:70:50: note: expected 'as_t *' {aka 'unsigned int *'} but argument is of type 'u_int16_t *' {aka 'short unsigned int *'} static as_t read_asn(struct mstream *s, as_t *asn, u_int8_t len); ~~~~~~^~~ bgpdump_lib.c:321:14: warning: passing argument 2 of 'read_asn' from incompatible pointer type [-Wincompatible-pointer-types] read_asn(s, &entry->body.mrtd_message.destination_as, ASN16_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bgpdump_lib.c:70:50: note: expected 'as_t *' {aka 'unsigned int *'} but argument is of type 'u_int16_t *' {aka 'short unsigned int *'} static as_t read_asn(struct mstream *s, as_t *asn, u_int8_t len); ~~~~~~^~~ bgpdump_lib.c:336:14: warning: passing argument 2 of 'read_asn' from incompatible pointer type [-Wincompatible-pointer-types] read_asn(s, &entry->body.mrtd_state_change.destination_as, ASN16_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bgpdump_lib.c:70:50: note: expected 'as_t *' {aka 'unsigned int *'} but argument is of type 'u_int16_t *' {aka 'short unsigned int *'} static as_t read_asn(struct mstream *s, as_t *asn, u_int8_t len); ~~~~~~^~~ bgpdump_lib.c: In function 'read_asn': bgpdump_lib.c:1301:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(asn) ^~ bgpdump_lib.c:1303:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return asn16; ^~~~~~ bgpdump_lib.c: In function 'process_attr_aspath_string': bgpdump_lib.c:1075:18: warning: 'asn' may be used uninitialized in this function [-Wmaybe-uninitialized] pos += int2str(asn, as->str + pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bgpdump_lib.c: In function 'bgpdump_read_next': bgpdump_lib.c:347:14: warning: 'asn_len' may be used uninitialized in this function [-Wmaybe-uninitialized] u_int8_t asn_len; ^~~~~~~ --- libbgpdump.a --- ar r libbgpdump.a bgpdump_lib.o bgpdump_mstream.o cfile_tools.o util.o inet_ntop.o /usr/libexec/binutils227/elf/ar: creating libbgpdump.a ranlib libbgpdump.a --- libbgpdump.so --- --- bgpdump --- --- libbgpdump.so --- cc -fPIC -g -O3 -pipe -O2 -fno-strict-aliasing -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -shared -o libbgpdump.so bgpdump_lib.o bgpdump_mstream.o cfile_tools.o util.o inet_ntop.o -lbz2 -lz --- bgpdump --- cc -fPIC -g -O3 -pipe -O2 -fno-strict-aliasing -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -o bgpdump bgpdump.c libbgpdump.a -lbz2 -lz In function 'table_line_dump_v2_prefix', inlined from 'process' at bgpdump.c:355:21: bgpdump.c:1716:17: warning: 'strncpy' specified bound 46 equals destination size [-Wstringop-truncation] strncpy(nexthop, inet_ntoa(attr->nexthop), BGPDUMP_ADDRSTRLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bgpdump.c: In function 'process': bgpdump.c:317:5: warning: 'strncpy' specified bound 46 equals destination size [-Wstringop-truncation] strncpy(prefix, inet_ntoa(e->prefix.v4_addr), BGPDUMP_ADDRSTRLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'table_line_mrtd_route', inlined from 'process' at bgpdump.c:303:10: bgpdump.c:1596:7: warning: 'strncpy' specified bound 46 equals destination size [-Wstringop-truncation] strncpy(peer, inet_ntoa(route->peer_ip.v4_addr), BGPDUMP_ADDRSTRLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bgpdump.c:1597:21: warning: 'strncpy' specified bound 46 equals destination size [-Wstringop-truncation] strncpy(prefix, inet_ntoa(route->prefix.v4_addr), BGPDUMP_ADDRSTRLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bgpdump.c:1621:7: warning: 'strncpy' specified bound 46 equals destination size [-Wstringop-truncation] strncpy(nexthop, inet_ntoa(entry->attr->nexthop), BGPDUMP_ADDRSTRLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for libbgpdump-1.4.99.15 ===> Generating temporary packing list install -s -m 555 /construction/net/libbgpdump/libbgpdump-1.4.99.15/bgpdump /construction/net/libbgpdump/stage/usr/local/bin install -m 0644 /construction/net/libbgpdump/libbgpdump-1.4.99.15/libbgpdump.* /construction/net/libbgpdump/stage/usr/local/lib /usr/bin/strip /construction/net/libbgpdump/stage/usr/local/lib/libbgpdump.so install -m 0644 /construction/net/libbgpdump/libbgpdump-1.4.99.15/bgpdump_attr.h /construction/net/libbgpdump/stage/usr/local/include install -m 0644 /construction/net/libbgpdump/libbgpdump-1.4.99.15/bgpdump_formats.h /construction/net/libbgpdump/stage/usr/local/include install -m 0644 /construction/net/libbgpdump/libbgpdump-1.4.99.15/bgpdump_lib.h /construction/net/libbgpdump/stage/usr/local/include /bin/mkdir -p /construction/net/libbgpdump/stage/usr/local/share/doc/libbgpdump /construction/net/libbgpdump/stage/usr/local/share/examples/libbgpdump install -m 0644 /construction/net/libbgpdump/libbgpdump-1.4.99.15/README /construction/net/libbgpdump/stage/usr/local/share/doc/libbgpdump install -m 0644 /construction/net/libbgpdump/libbgpdump-1.4.99.15/example.c /construction/net/libbgpdump/stage/usr/local/share/examples/libbgpdump ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for libbgpdump-1.4.99.15 file sizes/checksums [11]: . done packing files [11]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 7 MAR 2019 at 12:25:00 UTC Duration: 00:00:08