=> Building sysutils/socklog Started : Friday, 20 APR 2018 at 07:44:21 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.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-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 socklog-2.1.0_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/sysutils/socklog XDG_CONFIG_HOME=/construction/sysutils/socklog HOME=/construction/sysutils/socklog TMPDIR="/tmp" PATH=/construction/sysutils/socklog/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/sysutils/socklog XDG_CONFIG_HOME=/construction/sysutils/socklog HOME=/construction/sysutils/socklog TMPDIR="/tmp" PATH=/construction/sysutils/socklog/.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/sysutils/socklog/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/socklog" EXAMPLESDIR="share/examples/socklog" DATADIR="share/socklog" WWWDIR="www/socklog" ETCDIR="etc/socklog" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 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=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> socklog-2.1.0_1 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 ===> socklog-2.1.0_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of socklog-2.1.0_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for socklog-2.1.0_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for socklog-2.1.0_1 echo "cc -pipe -O2 -fno-strict-aliasing" > /construction/sysutils/socklog/admin/socklog-2.1.0/src/conf-cc echo "cc -s " > /construction/sysutils/socklog/admin/socklog-2.1.0/src/conf-ld -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for socklog-2.1.0_1 cd /construction/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:367: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:587: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-5.0-synth-dragonfly.5.0-synth-:-:-: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 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> socklog-2.1.0_1 depends on file: /usr/local/sbin/chpst - not found ===> Installing existing package /packages/All/runit-2.1.2_3.txz Installing runit-2.1.2_3... Extracting runit-2.1.2_3: .......... done Message from runit-2.1.2_3: 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 -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for socklog-2.1.0_1 ===> Generating temporary packing list install -s -m 555 /construction/sysutils/socklog/admin/socklog-2.1.0/command/* /construction/sysutils/socklog/stage/usr/local/bin install -m 444 /construction/sysutils/socklog/admin/socklog-2.1.0/man/*.1 /construction/sysutils/socklog/stage/usr/local/man/man1 install -m 444 /construction/sysutils/socklog/admin/socklog-2.1.0/man/*.8 /construction/sysutils/socklog/stage/usr/local/man/man8 install -m 0644 /construction/sysutils/socklog/admin/socklog-2.1.0/package/CHANGES /construction/sysutils/socklog/admin/socklog-2.1.0/package/README /construction/sysutils/socklog/stage/usr/local/share/doc/socklog install -m 0644 /construction/sysutils/socklog/admin/socklog-2.1.0/doc/*.html /construction/sysutils/socklog/stage/usr/local/share/doc/socklog ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for socklog-2.1.0_1 file sizes/checksums [30]: . done packing files [30]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 20 APR 2018 at 07:44:30 UTC Duration: 00:00:09