=> Building sysutils/socklog build started at Wed Oct 5 17:48:27 PDT 2016 port directory: /usr/ports/sysutils/socklog building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ports@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../04//usr/ports/sysutils/socklog/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=socklog-2.1.0_1 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for socklog-2.1.0_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/sysutils/socklog XDG_CONFIG_HOME=/wrkdirs/sysutils/socklog HOME=/wrkdirs/sysutils/socklog TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/sysutils/socklog XDG_CONFIG_HOME=/wrkdirs/sysutils/socklog HOME=/wrkdirs/sysutils/socklog TMPDIR="/tmp" 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 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/socklog" EXAMPLESDIR="share/examples/socklog" DATADIR="share/socklog" WWWDIR="www/socklog" ETCDIR="etc/socklog" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/socklog DOCSDIR=/usr/local/share/doc/socklog EXAMPLESDIR=/usr/local/share/examples/socklog WWWDIR=/usr/local/www/socklog ETCDIR=/usr/local/etc/socklog --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> NOTICE: The socklog port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License BSD3CLAUSE accepted by the user =========================================================================== =================================================== ===> socklog-2.1.0_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> socklog-2.1.0_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of socklog-2.1.0_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The socklog port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by socklog-2.1.0_1 for building =========================================================================== =================================================== ===> NOTICE: The socklog port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by socklog-2.1.0_1 for building => SHA256 Checksum OK for socklog-2.1.0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The socklog port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by socklog-2.1.0_1 for building ===> Extracting for socklog-2.1.0_1 => SHA256 Checksum OK for socklog-2.1.0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for socklog-2.1.0_1 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for socklog-2.1.0_1 echo "cc -pipe -O2 -fno-strict-aliasing" > /wrkdirs/sysutils/socklog/admin/socklog-2.1.0/src/conf-cc echo "cc -s " > /wrkdirs/sysutils/socklog/admin/socklog-2.1.0/src/conf-ld =========================================================================== =================================================== ===> Building for socklog-2.1.0_1 cd /wrkdirs/sysutils/socklog/admin/socklog-2.1.0 && package/compile Linking ./src/* into ./compile... Compiling everything in ./compile... + cd compile + exec make sh find-systype.sh > systype rm -f compile sh print-cc.sh > compile chmod 555 compile rm -f choose cat warn-auto.sh choose.sh > choose chmod 555 choose ./choose c trydrent direntry.h1 direntry.h2 > direntry.h rm -f load sh print-ld.sh > load chmod 555 load ./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h ./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h ./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h ./compile chkshsgr.c chkshsgr.c: In function 'main': chkshsgr.c:10:19: warning: passing argument 2 of 'getgroups' from incompatible pointer type [-Wincompatible-pointer-types] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^ In file included from chkshsgr.c:3:0: /usr/include/unistd.h:368:6: note: expected 'gid_t * {aka unsigned int *}' but argument is of type 'short int *' int getgroups(int, gid_t []); ^ chkshsgr.c:10:44: warning: passing argument 2 of 'setgroups' from incompatible pointer type [-Wincompatible-pointer-types] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^ In file included from chkshsgr.c:3:0: /usr/include/unistd.h:583:6: note: expected 'const gid_t * {aka const unsigned int *}' but argument is of type 'short int *' int setgroups(int, const gid_t *); ^ ./load chkshsgr ./chkshsgr || ( cat warn-shsgr; exit 1 ) ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h ./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h ./choose c trysysel select.h1 select.h2 > select.h ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h rm -f sysdeps cat systype compile load >> sysdeps grep sysdep direntry.h >> sysdeps grep sysdep haswaitp.h >> sysdeps grep sysdep hassgact.h >> sysdeps grep sysdep hassgprm.h >> sysdeps grep sysdep select.h >> sysdeps grep sysdep uint64.h >> sysdeps grep sysdep iopause.h >> sysdeps grep sysdep hasmkffo.h >> sysdeps grep sysdep hasflock.h >> sysdeps grep sysdep hasshsgr.h >> sysdeps cat sysdeps dragonfly-4.7-development-dragonfly.v4.7.0.78.g7d868-development.#7..mon.aug..1.22.25.32.pdt.2016.....root@pkgbox64.dragonflybsd.org..usr.obj.usr.src.sys.x86_64_generic.-:-:-:genuineintel-000306c3-bfebfbff-:- #!/bin/sh # WARNING: This file was auto-generated. Do not edit! exec cc -pipe -O2 -fno-strict-aliasing -c ${1+"$@"} #!/bin/sh # WARNING: This file was auto-generated. Do not edit! main="$1"; shift exec cc -s -o "$main" "$main".o ${1+"$@"} /* sysdep: +dirent */ /* sysdep: +waitpid */ /* sysdep: +sigaction */ /* sysdep: +sigprocmask */ /* sysdep: +sysselect */ /* sysdep: +ulong64 */ /* sysdep: +poll */ /* sysdep: +mkfifo */ /* sysdep: +flock */ /* sysdep: -shortsetgroups */ ./compile socklog.c ./compile alloc.c ./compile alloc_re.c ./compile buffer.c ./compile buffer_0.c ./compile buffer_1.c ./compile buffer_2.c ./compile buffer_get.c ./compile buffer_put.c ./compile buffer_read.c ./compile buffer_write.c ./compile coe.c ./compile env.c ./compile error.c ./compile error_str.c ./compile fd_copy.c ./compile fd_move.c ./compile fifo.c ./compile lock_ex.c ./compile lock_exnb.c rm -f makelib sh print-ar.sh > makelib chmod 555 makelib ./compile ndelay_off.c ./compile ndelay_on.c ./compile open_append.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c ./compile openreadclose.c ./compile pathexec_env.c ./compile pathexec_run.c pathexec_run.c: In function 'pathexec_run': pathexec_run.c:18:5: warning: implicit declaration of function 'execve' [-Wimplicit-function-declaration] execve(file,argv,envp); ^ ./compile prot.c prot.c: In function 'prot_gid': prot.c:13:7: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] if (setgroups(1,&gid) == -1) return -1; ^ prot.c:15:10: warning: implicit declaration of function 'setgid' [-Wimplicit-function-declaration] return setgid(gid); /* _should_ be redundant, but on some systems it isn't */ ^ prot.c: In function 'prot_uid': prot.c:20:10: warning: implicit declaration of function 'setuid' [-Wimplicit-function-declaration] return setuid(uid); ^ ./compile readclose.c ./compile seek_set.c ./compile sgetopt.c ./compile sig.c ./compile sig_block.c ./compile sig_catch.c ./compile sig_pause.c ./compile stralloc_cat.c ./compile stralloc_catb.c ./compile stralloc_cats.c ./compile stralloc_eady.c ./compile stralloc_opyb.c ./compile stralloc_opys.c ./compile stralloc_pend.c ./compile strerr_die.c ./compile strerr_sys.c ./compile subgetopt.c ./compile wait_nohang.c ./compile wait_pid.c ./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o buffer_2.o buffer_get.o buffer_put.o buffer_read.o buffer_write.o coe.o env.o error.o error_str.o fd_copy.o fd_move.o fifo.o lock_ex.o lock_exnb.o ndelay_off.o ndelay_on.o open_append.o open_read.o open_trunc.o open_write.o openreadclose.o pathexec_env.o pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o sig.o sig_block.o sig_catch.o sig_pause.o stralloc_cat.o stralloc_catb.o stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o wait_pid.o ./compile byte_chr.c ./compile byte_copy.c ./compile byte_cr.c ./compile byte_diff.c ./compile byte_rchr.c ./compile byte_zero.c ./compile fmt_uint.c ./compile fmt_uint0.c ./compile fmt_ulong.c ./compile scan_ulong.c ./compile str_chr.c ./compile str_diff.c ./compile str_len.c ./compile str_start.c ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o byte_rchr.o byte_zero.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o str_chr.o str_diff.o str_len.o str_start.o ./compile trysocketlib.c ( ./load trysocketlib >/dev/null 2>&1 || ( ./load trysocketlib -lxnet >/dev/null 2>&1 && echo '-lxnet' ) || ( ./load trysocketlib -lsocket -lnsl >/dev/null 2>&1 && echo '-lsocket -lnsl' ) ) >socket.lib rm -f trysocketlib.o trysocketlib ./load socklog unix.a byte.a `cat socket.lib` ./compile socklog-check.c ./load socklog-check unix.a byte.a `cat socket.lib` ./compile socklog-conf.c socklog-conf.c: In function 'start': socklog-conf.c:76:19: warning: passing argument 2 of 'buffer_init' from incompatible pointer type [-Wincompatible-pointer-types] buffer_init(&b, write, fd, buf, sizeof buf); ^ In file included from socklog-conf.c:10:0: buffer.h:18:13: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, const void *, size_t) {aka long int (*)(int, const void *, long unsigned int)}' extern void buffer_init(buffer *,int (*)(),int,char *,unsigned int); ^ ./load socklog-conf unix.a byte.a ./compile tryto.c ./compile iopause.c ./compile tai_now.c ./compile tai_pack.c ./compile tai_sub.c ./compile tai_unpack.c ./compile taia_add.c ./compile taia_approx.c ./compile taia_frac.c ./compile taia_less.c ./compile taia_now.c ./compile taia_pack.c ./compile taia_sub.c ./compile taia_uint.c ./makelib time.a iopause.o tai_now.o tai_pack.o tai_sub.o tai_unpack.o taia_add.o taia_approx.o taia_frac.o taia_less.o taia_now.o taia_pack.o taia_sub.o taia_uint.o ./load tryto unix.a byte.a time.a ./compile uncat.c ./load uncat unix.a byte.a time.a Copying commands into ./command... Type 'make test' to run self-tests =========================================================================== =================================================== ===> socklog-2.1.0_1 depends on file: /usr/local/sbin/chpst - not found ===> Installing existing package /packages/All/runit-2.1.2_2.txz Installing runit-2.1.2_2... Extracting runit-2.1.2_2: .......... done Message from runit-2.1.2_2: Using runit with FreeBSD init: # mkdir /var/service # cp -R /usr/local/etc/runit /etc/runit # echo runsvdir_enable=yes >> /etc/rc.conf runit is very easily used instead of init on FreeBSD, but the port maintainer suggests the following alternative method (as opposed to the website method): 1. Copy all of the etc files from /usr/local/etc/runit to /etc/runit; # cp -R /usr/local/etc/runit /etc/runit 2. Copy runit-init AND runit into /sbin; # cp /usr/local/sbin/runit* /sbin 3. Create service directories, enable ttyv4 and disable it in ttys: # mkdir /var/service # cp -R /etc/runit/getty-ttyv4 /var/service # sed 's/^ttyv4/#&/' /etc/ttys (The getty-ttyvx directory will getty on whichever vtty x is on, for example # cp -R /var/service/getty-ttyv4 /var/service/getty-ttyv3 will result in a tty on ttyv3 as well) 4. Don't replace FreeBSD init in place, tell loader to use runit instead: # echo 'init_path="/sbin/runit-init:/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init"' >> /boot/loader.conf 5. Reboot! Note: On FreeBSD, runit-init works in /usr/local/sbin, but *only* if /usr/local/sbin is on the same filesystem as /; check with: # df /usr/local/sbin/runit | sed -ne 's,.* /,/,p' # If this does not return "/" If the output is "/", you may skip step 2 and modify step 4: # echo 'init_path="/usr/local/sbin/runit-init:/sbin/init:/sbin/oninit:/sbin/init.bak:/rescue/init"' >> /boot/loader.conf making upgrades easier. ===> socklog-2.1.0_1 depends on file: /usr/local/sbin/chpst - found ===> Returning to build of socklog-2.1.0_1 =========================================================================== =================================================== ===> Staging for socklog-2.1.0_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/sysutils/socklog/admin/socklog-2.1.0/command/* /wrkdirs/sysutils/socklog/stage/usr/local/bin install -m 444 /wrkdirs/sysutils/socklog/admin/socklog-2.1.0/man/*.1 /wrkdirs/sysutils/socklog/stage/usr/local/man/man1 install -m 444 /wrkdirs/sysutils/socklog/admin/socklog-2.1.0/man/*.8 /wrkdirs/sysutils/socklog/stage/usr/local/man/man8 install -m 0644 /wrkdirs/sysutils/socklog/admin/socklog-2.1.0/package/CHANGES /wrkdirs/sysutils/socklog/admin/socklog-2.1.0/package/README /wrkdirs/sysutils/socklog/stage/usr/local/share/doc/socklog install -m 0644 /wrkdirs/sysutils/socklog/admin/socklog-2.1.0/doc/*.html /wrkdirs/sysutils/socklog/stage/usr/local/share/doc/socklog ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for socklog-2.1.0_1 file sizes/checksums [30]: . done packing files [30]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for socklog-2.1.0_1 build of sysutils/socklog ended at Wed Oct 5 17:48:36 PDT 2016 build time: 00:00:09