------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/gmake-4.2.1_3.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/openssl-1.1.1d,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/perl5-5.30.1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor ===== Message from perl5-5.30.1: -- The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. Installing /packages/All/net-snmp-5.7.3_20,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor ===== Message from net-snmp-5.7.3_20,1: -- **** This port installs snmpd, header files and libraries but does not start snmpd by default. If you want to auto-start snmpd and snmptrapd:, add the following to /etc/rc.conf: snmpd_enable="YES" snmpd_flags="-a" snmpd_conffile="/usr/local/share/snmp/snmpd.conf /etc/snmpd.conf" snmptrapd_enable="YES" snmptrapd_flags="-a -p /var/run/snmptrapd.pid" **** You may also specify the following make variables: NET_SNMP_SYS_CONTACT="zi@FreeBSD.org" NET_SNMP_SYS_LOCATION="USA" DEFAULT_SNMP_VERSION=3 NET_SNMP_MIB_MODULES="host smux mibII/mta_sendmail ucd-snmp/diskio" NET_SNMP_LOGFILE=/var/log/snmpd.log NET_SNMP_PERSISTENTDIR=/var/net-snmp to define default values (or to override the defaults). To avoid being prompted during the configuration process, you should (minimally) define the first two variables. (NET_SNMP_SYS_*) You may also define the following to avoid all interactive configuration: BATCH="yes" SUCCEEDED 00:00:06 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> sdig-0.45_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> sdig-0.45_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sdig-0.45_1 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> sdig-0.45_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sdig-0.45_1 for building => SHA256 Checksum OK for sdig-0.45.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> sdig-0.45_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sdig-0.45_1 for building ===> Extracting for sdig-0.45_1 => SHA256 Checksum OK for sdig-0.45.tar.gz. Extracted Memory Use: 0.54M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for sdig-0.45_1 ===> Applying ports patches for sdig-0.45_1 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> sdig-0.45_1 depends on executable: gmake - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> sdig-0.45_1 depends on shared library: libnetsnmp.so - found (/usr/local/lib/libnetsnmp.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> sdig-0.45_1 depends on executable: gmake - found ===> sdig-0.45_1 depends on shared library: libnetsnmp.so - found (/usr/local/lib/libnetsnmp.so) ===> Configuring for sdig-0.45_1 configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes 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 style of include used by gmake... GNU checking dependency style of cc... gcc3 checking how to run the C preprocessor... cpp checking for net-snmp-config... net-snmp-config checking for inet_pton in -lnsl... no checking for inet_aton... (cached) yes checking for inet_pton... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h config.status: executing depfiles commands SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for sdig-0.45_1 gmake[1]: Entering directory '/construction/net-mgmt/sdig/sdig-0.45' CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /construction/net-mgmt/sdig/sdig-0.45/missing --run aclocal-1.11 /construction/net-mgmt/sdig/sdig-0.45/missing: aclocal-1.11: not found WARNING: `aclocal-1.11' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /construction/net-mgmt/sdig/sdig-0.45/missing --run autoconf /construction/net-mgmt/sdig/sdig-0.45/missing: autoconf: not found cd . && /bin/sh /construction/net-mgmt/sdig/sdig-0.45/missing --run automake-1.11 --gnu WARNING: `autoconf' is missing on your system. You should only need it if you modified `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. /bin/sh ./config.status --recheck /construction/net-mgmt/sdig/sdig-0.45/missing: automake-1.11: not found WARNING: `automake-1.11' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/share/info/ --build=x86_64-portbld-dragonfly5.9 build_alias=x86_64-portbld-dragonfly5.9 CC=cc CFLAGS=-pipe -D_WANT_SEMUN -O2 -fno-strict-aliasing LDFLAGS= LIBS= CPPFLAGS= CPP=cpp --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes 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 style of include used by make... GNU checking dependency style of cc... gcc3 checking how to run the C preprocessor... cpp checking for net-snmp-config... net-snmp-config checking for inet_pton in -lnsl... no checking for inet_aton... yes checking for inet_pton... yes configure: creating ./config.status /bin/sh ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h config.status: include/config.h is unchanged config.status: executing depfiles commands Making all in src gmake[2]: Entering directory '/construction/net-mgmt/sdig/sdig-0.45/src' cc -DHAVE_CONFIG_H -I. -I../include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -pipe -I/usr/local/include -I/include -O2 -fno-strict-aliasing -std=c99 -Udragonfly5 -Ddragonfly5=dragonfly5 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.30/mach/CORE -I/usr/local/include -I/usr/local/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -pipe -D_WANT_SEMUN -O2 -fno-strict-aliasing -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c cc -DHAVE_CONFIG_H -I. -I../include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -pipe -I/usr/local/include -I/include -O2 -fno-strict-aliasing -std=c99 -Udragonfly5 -Ddragonfly5=dragonfly5 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.30/mach/CORE -I/usr/local/include -I/usr/local/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -pipe -D_WANT_SEMUN -O2 -fno-strict-aliasing -MT sdig.o -MD -MP -MF .deps/sdig.Tpo -c -o sdig.o sdig.c cc -DHAVE_CONFIG_H -I. -I../include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -pipe -I/usr/local/include -I/include -O2 -fno-strict-aliasing -std=c99 -Udragonfly5 -Ddragonfly5=dragonfly5 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.30/mach/CORE -I/usr/local/include -I/usr/local/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -pipe -D_WANT_SEMUN -O2 -fno-strict-aliasing -MT query.o -MD -MP -MF .deps/query.Tpo -c -o query.o query.c cc -DHAVE_CONFIG_H -I. -I../include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -pipe -I/usr/local/include -I/include -O2 -fno-strict-aliasing -std=c99 -Udragonfly5 -Ddragonfly5=dragonfly5 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.30/mach/CORE -I/usr/local/include -I/usr/local/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -pipe -D_WANT_SEMUN -O2 -fno-strict-aliasing -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c cc -DHAVE_CONFIG_H -I. -I../include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -pipe -I/usr/local/include -I/include -O2 -fno-strict-aliasing -std=c99 -Udragonfly5 -Ddragonfly5=dragonfly5 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.30/mach/CORE -I/usr/local/include -I/usr/local/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -pipe -D_WANT_SEMUN -O2 -fno-strict-aliasing -MT snmpget.o -MD -MP -MF .deps/snmpget.Tpo -c -o snmpget.o snmpget.c cc -DHAVE_CONFIG_H -I. -I../include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -pipe -I/usr/local/include -I/include -O2 -fno-strict-aliasing -std=c99 -Udragonfly5 -Ddragonfly5=dragonfly5 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.30/mach/CORE -I/usr/local/include -I/usr/local/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -pipe -D_WANT_SEMUN -O2 -fno-strict-aliasing -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o output.c sdig.c: In function 'main': sdig.c:155:2: warning: implicit declaration of function 'loadconfig'; did you mean 'lpathconf'? [-Wimplicit-function-declaration] loadconfig(conf); ^~~~~~~~~~ lpathconf sdig.c:159:18: warning: implicit declaration of function 'output_sem_init' [-Wimplicit-function-declaration] if ( dofork ) { output_sem_init(); } ^~~~~~~~~~~~~~~ sdig.c:167:3: warning: implicit declaration of function 'resolvename'; did you mean 'getsockname'? [-Wimplicit-function-declaration] resolvename(query); ^~~~~~~~~~~ getsockname sdig.c:180:4: warning: implicit declaration of function 'switchscan' [-Wimplicit-function-declaration] switchscan(query, pack_mac(stdmac)); ^~~~~~~~~~ sdig.c:180:22: warning: implicit declaration of function 'pack_mac'; did you mean 'printmac'? [-Wimplicit-function-declaration] switchscan(query, pack_mac(stdmac)); ^~~~~~~~ printmac sdig.c:197:3: warning: implicit declaration of function 'routerscan' [-Wimplicit-function-declaration] routerscan(query); ^~~~~~~~~~ query.c: In function 'switchscan': query.c:488:3: warning: implicit declaration of function 'output_sem_cleanup' [-Wimplicit-function-declaration] output_sem_cleanup(); ^~~~~~~~~~~~~~~~~~ output.c: In function 'output_sem_init': output.c:42:2: warning: implicit declaration of function 'debug'; did you mean 'debugmsg'? [-Wimplicit-function-declaration] debug(3, "output_sem_init: getting semaphore... sz=%d\n", sizeof(int)); ^~~~~ debugmsg output.c: In function 'printport': output.c:180:2: warning: implicit declaration of function 'do_ifdescr' [-Wimplicit-function-declaration] do_ifdescr(sw, port); ^~~~~~~~~~ config.c: In function 'addrouter': config.c:244:14: warning: implicit declaration of function 'ntohl'; did you mean 'atoll'? [-Wimplicit-function-declaration] tmp->addr = ntohl(inet_addr(addr)); ^~~~~ atoll config.c:244:20: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] tmp->addr = ntohl(inet_addr(addr)); ^~~~~~~~~ mv -f .deps/common.Tpo .deps/common.Po mv -f .deps/sdig.Tpo .deps/sdig.Po mv -f .deps/output.Tpo .deps/output.Po mv -f .deps/snmpget.Tpo .deps/snmpget.Po mv -f .deps/config.Tpo .deps/config.Po mv -f .deps/query.Tpo .deps/query.Po cc -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -pipe -I/usr/local/include -I/include -O2 -fno-strict-aliasing -std=c99 -Udragonfly5 -Ddragonfly5=dragonfly5 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.30/mach/CORE -I/usr/local/include -I/usr/local/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -pipe -D_WANT_SEMUN -O2 -fno-strict-aliasing -o sdig common.o sdig.o query.o config.o snmpget.o output.o -L/usr/local/lib -lm -lkvm -ldevstat -L/lib -L/usr/local/lib -lcrypto -lssl -lwrap -L/usr/local/lib -L/usr/local/lib -lnetsnmp -lcrypto -lkinfo -lssp_nonshared gmake[2]: Leaving directory '/construction/net-mgmt/sdig/sdig-0.45/src' gmake[2]: Entering directory '/construction/net-mgmt/sdig/sdig-0.45' gmake[2]: Nothing to be done for 'all-am'. gmake[2]: Leaving directory '/construction/net-mgmt/sdig/sdig-0.45' gmake[1]: Leaving directory '/construction/net-mgmt/sdig/sdig-0.45' SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for sdig-0.45_1 ===> Generating temporary packing list install -s -m 555 /construction/net-mgmt/sdig/sdig-0.45/src/sdig /construction/net-mgmt/sdig/stage/usr/local/bin install -m 0644 /construction/net-mgmt/sdig/sdig-0.45/sdig.conf /construction/net-mgmt/sdig/stage/usr/local/etc install -m 0644 /construction/net-mgmt/sdig/sdig-0.45/mactable /construction/net-mgmt/sdig/stage/usr/local/etc install -m 444 /construction/net-mgmt/sdig/sdig-0.45/sdig.8 /construction/net-mgmt/sdig/stage/usr/local/man/man8 install -m 444 /construction/net-mgmt/sdig/sdig-0.45/sdig.conf.5 /construction/net-mgmt/sdig/stage/usr/local/man/man5 ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: you need USES=ssl Error: /usr/local/bin/sdig is linked to /usr/local/lib/libcrypto.so.11 from security/openssl but it is not declared as a dependency Warning: you need USES=ssl Error: /usr/local/bin/sdig is linked to /usr/local/lib/libssl.so.11 from security/openssl but it is not declared as a dependency Warning: you need USES=ssl Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for sdig-0.45_1 file sizes/checksums [5]: 0% file sizes/checksums [5]: 100% packing files [5]: 0% packing files [5]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:15