=> Building net/smcroute Started : Friday, 21 FEB 2020 at 09:26:28 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-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 smcroute-2.1.0: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/smcroute XDG_CONFIG_HOME=/construction/net/smcroute HOME=/construction/net/smcroute TMPDIR="/tmp" PATH=/construction/net/smcroute/.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 -------------------------------------------------- --bindir=/usr/local/sbin --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/smcroute XDG_CONFIG_HOME=/construction/net/smcroute HOME=/construction/net/smcroute TMPDIR="/tmp" PATH=/construction/net/smcroute/.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/smcroute/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/smcroute" EXAMPLESDIR="share/examples/smcroute" DATADIR="share/smcroute" WWWDIR="www/smcroute" ETCDIR="etc/smcroute" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/smcroute DOCSDIR=/usr/local/share/doc/smcroute EXAMPLESDIR=/usr/local/share/examples/smcroute WWWDIR=/usr/local/www/smcroute ETCDIR=/usr/local/etc/smcroute -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem 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=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> smcroute-2.1.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> smcroute-2.1.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of smcroute-2.1.0 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by smcroute-2.1.0 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by smcroute-2.1.0 for building => SHA256 Checksum OK for troglobit-smcroute-2.1.0_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by smcroute-2.1.0 for building ===> Extracting for smcroute-2.1.0 => SHA256 Checksum OK for troglobit-smcroute-2.1.0_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for smcroute-2.1.0 ===> Applying ports patches for smcroute-2.1.0 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> smcroute-2.1.0 depends on package: autoconf>=2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_3.txz Installing autoconf-2.69_3... `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: ........ done `-- Installing indexinfo-0.3.1... `-- Extracting indexinfo-0.3.1: . done `-- Installing m4-1.4.18_1,1... `-- Extracting m4-1.4.18_1,1: .......... done `-- Installing perl5-5.30.1... `-- Extracting perl5-5.30.1: .......... done Extracting autoconf-2.69_3: .......... done ===== 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. ===> smcroute-2.1.0 depends on package: autoconf>=2.69 - found ===> Returning to build of smcroute-2.1.0 ===> smcroute-2.1.0 depends on package: automake>=1.16.1 - not found ===> Installing existing package /packages/All/automake-1.16.1_2.txz Installing automake-1.16.1_2... Extracting automake-1.16.1_2: .......... done ===> smcroute-2.1.0 depends on package: automake>=1.16.1 - found ===> Returning to build of smcroute-2.1.0 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for smcroute-2.1.0 configure.ac:19: installing './compile' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' Makefile.am: installing './depcomp' 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 make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) 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 whether cc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of cc... gcc3 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 minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... yes checking for ANSI C header files... (cached) yes checking for arpa/inet.h... (cached) yes checking for fcntl.h... (cached) yes checking for netinet/in.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/types.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for net/route.h... yes checking for sys/param.h... (cached) yes checking for ifaddrs.h... yes checking for linux/sockios.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for uint32_t... (cached) yes checking for pid_t... (cached) yes checking for vfork.h... (cached) no checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... yes checking for working vfork... (cached) yes checking for atexit... (cached) yes checking for dup2... (cached) yes checking for memset... (cached) yes checking for select... (cached) yes checking for socket... yes checking for strchr... (cached) yes checking for strerror... (cached) yes checking for strrchr... (cached) yes checking for asprintf... (cached) yes checking for sun_len member in struct sockaddr_un... yes checking for linux/mroute.h... no checking for linux/filter.h... no checking for netinet/ip_mroute.h... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for smcroute-2.1.0 --- all --- /usr/bin/make all-am --- smcroute.o --- --- mroute-api.o --- --- ifvc.o --- --- cmdpkt.o --- --- ipc.o --- --- mcgroup.o --- --- parse-conf.o --- --- log.o --- --- pidfile.o --- --- smcroute.o --- cc -DHAVE_CONFIG_H -I. -pipe -O2 -fno-strict-aliasing -MT smcroute.o -MD -MP -MF .deps/smcroute.Tpo -c -o smcroute.o smcroute.c --- mroute-api.o --- cc -DHAVE_CONFIG_H -I. -pipe -O2 -fno-strict-aliasing -MT mroute-api.o -MD -MP -MF .deps/mroute-api.Tpo -c -o mroute-api.o mroute-api.c --- ifvc.o --- cc -DHAVE_CONFIG_H -I. -pipe -O2 -fno-strict-aliasing -MT ifvc.o -MD -MP -MF .deps/ifvc.Tpo -c -o ifvc.o ifvc.c --- cmdpkt.o --- cc -DHAVE_CONFIG_H -I. -pipe -O2 -fno-strict-aliasing -MT cmdpkt.o -MD -MP -MF .deps/cmdpkt.Tpo -c -o cmdpkt.o cmdpkt.c --- ipc.o --- cc -DHAVE_CONFIG_H -I. -pipe -O2 -fno-strict-aliasing -MT ipc.o -MD -MP -MF .deps/ipc.Tpo -c -o ipc.o ipc.c --- mcgroup.o --- cc -DHAVE_CONFIG_H -I. -pipe -O2 -fno-strict-aliasing -MT mcgroup.o -MD -MP -MF .deps/mcgroup.Tpo -c -o mcgroup.o mcgroup.c --- parse-conf.o --- cc -DHAVE_CONFIG_H -I. -pipe -O2 -fno-strict-aliasing -MT parse-conf.o -MD -MP -MF .deps/parse-conf.Tpo -c -o parse-conf.o parse-conf.c --- log.o --- cc -DHAVE_CONFIG_H -I. -pipe -O2 -fno-strict-aliasing -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c --- pidfile.o --- cc -DHAVE_CONFIG_H -I. -pipe -O2 -fno-strict-aliasing -MT pidfile.o -MD -MP -MF .deps/pidfile.Tpo -c -o pidfile.o pidfile.c --- cmdpkt.o --- In file included from cmdpkt.c:28: mclab.h:131:21: error: 'MAXVIFS' undeclared here (not in a function); did you mean 'MAX_IF'? #define MAX_MC_VIFS MAXVIFS /* from linux/mroute.h */ ^~~~~~~ mclab.h:139:12: note: in expansion of macro 'MAX_MC_VIFS' uint8 ttl[MAX_MC_VIFS]; /* outgoing VIFs */ ^~~~~~~~~~~ --- mroute-api.o --- In file included from mroute-api.c:26: mclab.h:131:21: error: 'MAXVIFS' undeclared here (not in a function); did you mean 'MAX_IF'? #define MAX_MC_VIFS MAXVIFS /* from linux/mroute.h */ ^~~~~~~ mclab.h:139:12: note: in expansion of macro 'MAX_MC_VIFS' uint8 ttl[MAX_MC_VIFS]; /* outgoing VIFs */ ^~~~~~~~~~~ --- smcroute.o --- In file included from smcroute.c:38: mclab.h:131:21: error: 'MAXVIFS' undeclared here (not in a function); did you mean 'MAX_IF'? #define MAX_MC_VIFS MAXVIFS /* from linux/mroute.h */ ^~~~~~~ mclab.h:139:12: note: in expansion of macro 'MAX_MC_VIFS' uint8 ttl[MAX_MC_VIFS]; /* outgoing VIFs */ ^~~~~~~~~~~ smcroute.c: In function 'read_mroute4_socket': smcroute.c:146:30: error: dereferencing pointer to incomplete type 'struct igmpmsg' if (ip->ip_p == 0 && igmpctl->im_msgtype == IGMPMSG_NOCACHE) { ^~ --- mroute-api.o --- mroute-api.c: In function 'mroute4_enable': mroute-api.c:122:45: error: 'MRT_INIT' undeclared (first use in this function); did you mean 'LOG_INIT'? if (setsockopt(mroute4_socket, IPPROTO_IP, MRT_INIT, (void *)&arg, sizeof(arg))) { ^~~~~~~~ LOG_INIT mroute-api.c:122:45: note: each undeclared identifier is reported only once for each function it appears in --- smcroute.o --- smcroute.c:146:46: error: 'IGMPMSG_NOCACHE' undeclared (first use in this function); did you mean 'SF_NOCACHE'? if (ip->ip_p == 0 && igmpctl->im_msgtype == IGMPMSG_NOCACHE) { ^~~~~~~~~~~~~~~ SF_NOCACHE smcroute.c:146:46: note: each undeclared identifier is reported only once for each function it appears in --- mcgroup.o --- In file included from mcgroup.c:24: mclab.h:131:21: error: 'MAXVIFS' undeclared here (not in a function); did you mean 'MAX_IF'? #define MAX_MC_VIFS MAXVIFS /* from linux/mroute.h */ ^~~~~~~ mclab.h:139:12: note: in expansion of macro 'MAX_MC_VIFS' uint8 ttl[MAX_MC_VIFS]; /* outgoing VIFs */ ^~~~~~~~~~~ --- ipc.o --- In file included from ipc.c:29: mclab.h:131:21: error: 'MAXVIFS' undeclared here (not in a function); did you mean 'MAX_IF'? #define MAX_MC_VIFS MAXVIFS /* from linux/mroute.h */ ^~~~~~~ mclab.h:139:12: note: in expansion of macro 'MAX_MC_VIFS' uint8 ttl[MAX_MC_VIFS]; /* outgoing VIFs */ ^~~~~~~~~~~ --- mroute-api.o --- mroute-api.c: In function 'mroute4_disable': mroute-api.c:168:45: error: 'MRT_DONE' undeclared (first use in this function); did you mean 'RTF_DONE'? if (setsockopt(mroute4_socket, IPPROTO_IP, MRT_DONE, NULL, 0)) ^~~~~~~~ RTF_DONE mroute-api.c: In function 'mroute4_add_vif': mroute-api.c:191:16: error: storage size of 'vc' isn't known struct vifctl vc; ^~ --- ipc.o --- *** [ipc.o] Error code 1 make[2]: stopped in /construction/net/smcroute/smcroute-2.1.0 --- mroute-api.o --- mroute-api.c:232:45: error: 'MRT_ADD_VIF' undeclared (first use in this function) if (setsockopt(mroute4_socket, IPPROTO_IP, MRT_ADD_VIF, (void *)&vc, sizeof(vc))) ^~~~~~~~~~~ --- smcroute.o --- *** [smcroute.o] Error code 1 make[2]: stopped in /construction/net/smcroute/smcroute-2.1.0 --- mroute-api.o --- mroute-api.c: In function 'mroute4_del_vif': mroute-api.c:255:47: error: 'MRT_DEL_VIF' undeclared (first use in this function) ret = setsockopt(mroute4_socket, IPPROTO_IP, MRT_DEL_VIF, (void *)&vif, sizeof(vif)); ^~~~~~~~~~~ mroute-api.c: In function '__mroute4_add': mroute-api.c:270:16: error: storage size of 'mc' isn't known struct mfcctl mc; ^~ --- parse-conf.o --- In file included from parse-conf.c:24: mclab.h:131:21: error: 'MAXVIFS' undeclared here (not in a function); did you mean 'MAX_IF'? #define MAX_MC_VIFS MAXVIFS /* from linux/mroute.h */ ^~~~~~~ mclab.h:139:12: note: in expansion of macro 'MAX_MC_VIFS' uint8 ttl[MAX_MC_VIFS]; /* outgoing VIFs */ ^~~~~~~~~~~ *** [parse-conf.o] Error code 1 make[2]: stopped in /construction/net/smcroute/smcroute-2.1.0 --- mroute-api.o --- mroute-api.c:290:45: error: 'MRT_ADD_MFC' undeclared (first use in this function) if (setsockopt(mroute4_socket, IPPROTO_IP, MRT_ADD_MFC, (void *)&mc, sizeof(mc))) { ^~~~~~~~~~~ mroute-api.c: In function '__mroute4_del': mroute-api.c:303:16: error: storage size of 'mc' isn't known struct mfcctl mc; ^~ mroute-api.c:313:45: error: 'MRT_DEL_MFC' undeclared (first use in this function) if (setsockopt(mroute4_socket, IPPROTO_IP, MRT_DEL_MFC, (void *)&mc, sizeof(mc))) { ^~~~~~~~~~~ --- pidfile.o --- mv -f .deps/pidfile.Tpo .deps/pidfile.Po --- ifvc.o --- In file included from ifvc.c:28: mclab.h:131:21: error: 'MAXVIFS' undeclared here (not in a function); did you mean 'MAX_IF'? #define MAX_MC_VIFS MAXVIFS /* from linux/mroute.h */ ^~~~~~~ mclab.h:139:12: note: in expansion of macro 'MAX_MC_VIFS' uint8 ttl[MAX_MC_VIFS]; /* outgoing VIFs */ ^~~~~~~~~~~ --- mroute-api.o --- *** [mroute-api.o] Error code 1 make[2]: stopped in /construction/net/smcroute/smcroute-2.1.0 --- ifvc.o --- *** [ifvc.o] Error code 1 make[2]: stopped in /construction/net/smcroute/smcroute-2.1.0 --- cmdpkt.o --- *** [cmdpkt.o] Error code 1 make[2]: stopped in /construction/net/smcroute/smcroute-2.1.0 --- mcgroup.o --- *** [mcgroup.o] Error code 1 make[2]: stopped in /construction/net/smcroute/smcroute-2.1.0 --- log.o --- In file included from log.c:25: mclab.h:131:21: error: 'MAXVIFS' undeclared here (not in a function); did you mean 'MAX_IF'? #define MAX_MC_VIFS MAXVIFS /* from linux/mroute.h */ ^~~~~~~ mclab.h:139:12: note: in expansion of macro 'MAX_MC_VIFS' uint8 ttl[MAX_MC_VIFS]; /* outgoing VIFs */ ^~~~~~~~~~~ *** [log.o] Error code 1 make[2]: stopped in /construction/net/smcroute/smcroute-2.1.0 8 errors make[2]: stopped in /construction/net/smcroute/smcroute-2.1.0 *** [all] Error code 2 make[1]: stopped in /construction/net/smcroute/smcroute-2.1.0 1 error make[1]: stopped in /construction/net/smcroute/smcroute-2.1.0 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/net/smcroute -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 21 FEB 2020 at 09:26:54 UTC Duration: 00:00:25