Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2019 01:26:06 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv7-default][net-mgmt/flowd] Failed for flowd-0.9.1_3 in build
Message-ID:  <201909290126.x8T1Q6AI041095@beefy12.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     bofh@FreeBSD.org
Last committer: bofh@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/flowd/Makefile 512779 2019-09-25 10:27:24Z bofh $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-armv7-default/p513185_s352860/logs/flowd-0.9.1_3.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p513185_s352860
Log:

=>> Building net-mgmt/flowd
build started at Sun Sep 29 01:25:23 UTC 2019
port directory: /usr/ports/net-mgmt/flowd
package name: flowd-0.9.1_3
building for: FreeBSD head-armv7-default-job-14 13.0-CURRENT FreeBSD 13.0-CURRENT 1300048 arm
maintained by: bofh@FreeBSD.org
Makefile ident:      $FreeBSD: head/net-mgmt/flowd/Makefile 512779 2019-09-25 10:27:24Z bofh $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300040
Jail OSVERSION: 1300048
Job Id: 14




!!! Jail is newer than host. (Jail: 1300048, Host: 1300040) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300048
UNAME_v=FreeBSD 13.0-CURRENT 1300048
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for flowd-0.9.1_3:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     PERL=on: Install flowd perl module
     PYTHON=off: Install flowd Python support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
bofh@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--localstatedir=/var --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/flowd/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/flowd/work  HOME=/wrkdirs/usr/ports/net-mgmt/flowd/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/flowd/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/flowd/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/flowd/work  HOME=/wrkdirs/usr/ports/net-mgmt/flowd/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/flowd/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " PERL="" NO_PERL="@comment " PYTHON="@comment " NO_PYTHON="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.30.0  PERL_VER=5.30  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.30 DOCSDIR="share/doc/flowd"  EXAMPLESDIR="share/examples/flowd"  DATADIR="share/flowd"  WWWDIR="www/flowd"  ETCDIR="etc/flowd"
--End PLIST_SUB--

--SUB_LIST--
DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " PERL="" NO_PERL="@comment " PYTHON="@comment " NO_PYTHON="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/flowd DOCSDIR=/usr/local/share/doc/flowd EXAMPLESDIR=/usr/local/share/examples/flowd  WWWDIR=/usr/local/www/flowd ETCDIR=/usr/local/etc/flowd
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv7
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300048
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License MIT BSD2CLAUSE BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   flowd-0.9.1_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.12.0.txz
[head-armv7-default-job-14] Installing pkg-1.12.0...
[head-armv7-default-job-14] Extracting pkg-1.12.0: .......... done
pkg-static: Cannot runscript POST-INSTALL:Operation not permitted
<snip>
checking for unsigned long int... yes
checking size of unsigned long int... 4
checking for long long int... (cached) yes
checking size of long long int... 8
checking for unsigned long long int... (cached) yes
checking size of unsigned long long int... 8
checking for sa_family_t... yes
checking size of sa_family_t... 1
checking for /proc/pid/fd directory... no
checking for msg_accrights field in struct msghdr... no
checking for msg_control field in struct msghdr... (cached) yes
checking if libc defines __progname... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
config.status: creating flowd.8
config.status: creating flowd-reader.8
config.status: creating flowd.conf.5
config.status: creating flowd-pytypes.h
config.status: creating flowd-config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for flowd-0.9.1_3
gmake[1]: Entering directory '/wrkdirs/usr/ports/net-mgmt/flowd/work/flowd-0.9.1'
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o flowd.o flowd.c
In file included from flowd.c:40:
./store-v2.h:21:9: warning: '_STORE_V2_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _STORE_V2_H
        ^~~~~~~~~~~
./store-v2.h:22:9: note: '_STORE_v2_H' is defined here; did you mean '_STORE_V2_H'?
#define _STORE_v2_H
        ^~~~~~~~~~~
        _STORE_V2_H
flowd.c:199:28: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (store_put_buf(log_fd, output_queue, output_queue_offset, ebuf,
                                  ^~~~~~~~~~~~
./store.h:260:33: note: passing argument to parameter 'buf' here
int store_put_buf(int fd, char *buf, int len, char *ebuf, int elen);
                                ^
flowd.c:353:58: warning: passing 'char [1024]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (store_flow_serialise_masked(flow, conf->store_mask, fbuf,
                                                                ^~~~
./store.h:277:15: note: passing argument to parameter 'buf' here
    u_int8_t *buf, int buflen, int *flowlen, char *ebuf, int elen);
              ^
flowd.c:357:42: warning: passing 'char [1024]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (log_fd != -1 && output_flow_enqueue(fbuf, flen,
                                                ^~~~
flowd.c:129:31: note: passing argument to parameter 'f' here
output_flow_enqueue(u_int8_t *f, size_t len, int verbose)
                              ^
flowd.c:361:27: warning: passing 'char [1024]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                if (output_flow_enqueue(fbuf, flen,
                                        ^~~~
flowd.c:129:31: note: passing argument to parameter 'f' here
output_flow_enqueue(u_int8_t *f, size_t len, int verbose)
                              ^
flowd.c:1359:45: warning: format specifies type 'int' but the argument has type 'sig_atomic_t' (aka 'long') [-Wformat]
                logit(LOG_NOTICE, "Exiting on signal %d", exit_flag);
                                                     ~~   ^~~~~~~~~
                                                     %ld
6 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o privsep_fdpass.o privsep_fdpass.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o privsep.o privsep.c
privsep.c:850:51: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
            getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &orig, &slen) == 0) {
                                                         ^~~~~
/usr/include/sys/socket.h:670:72: note: passing argument to parameter here
int     getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
                                                                           ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o filter.o filter.c
filter.c:224:23: warning: taking address of packed member 'agent_addr' of class or structure 'store_flow_complete' may result in an unaligned pointer value [-Waddress-of-packed-member]
                m = (addr_netmatch(&flow->agent_addr, &rule->match.agent_addr,
                                    ^~~~~~~~~~~~~~~~
filter.c:247:23: warning: taking address of packed member 'src_addr' of class or structure 'store_flow_complete' may result in an unaligned pointer value [-Waddress-of-packed-member]
                m = (addr_netmatch(&flow->src_addr, &rule->match.src_addr,
                                    ^~~~~~~~~~~~~~
filter.c:253:23: warning: taking address of packed member 'dst_addr' of class or structure 'store_flow_complete' may result in an unaligned pointer value [-Waddress-of-packed-member]
                m = (addr_netmatch(&flow->dst_addr, &rule->match.dst_addr,
                                    ^~~~~~~~~~~~~~
3 warnings generated.
/usr/bin/byacc ./parse.y
mv y.tab.c parse.c
rm -f y.tab.h
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o parse.o parse.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o log.o log.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o daemon.o daemon.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o peer.o peer.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o closefrom.o closefrom.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o setproctitle.o setproctitle.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o atomicio.o atomicio.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o addr.o addr.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o store.o store.c
store.c:517:27: warning: passing 'u_int8_t [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return store_put_buf(fd, buf, len, ebuf, elen);
                                 ^~~
store.c:452:29: note: passing argument to parameter 'buf' here
store_put_buf(int fd, char *buf, int len, char *ebuf, int elen)
                            ^
store.c:691:22: warning: taking address of packed member 'agent_addr' of class or structure 'store_flow_complete' may result in an unaligned pointer value [-Waddress-of-packed-member]
                    addr_ntop_buf(&flow->agent_addr));
                                   ^~~~~~~~~~~~~~~~
store.c:696:22: warning: taking address of packed member 'src_addr' of class or structure 'store_flow_complete' may result in an unaligned pointer value [-Waddress-of-packed-member]
                    addr_ntop_buf(&flow->src_addr));
                                   ^~~~~~~~~~~~~~
store.c:707:22: warning: taking address of packed member 'dst_addr' of class or structure 'store_flow_complete' may result in an unaligned pointer value [-Waddress-of-packed-member]
                    addr_ntop_buf(&flow->dst_addr));
                                   ^~~~~~~~~~~~~~
store.c:718:22: warning: taking address of packed member 'gateway_addr' of class or structure 'store_flow_complete' may result in an unaligned pointer value [-Waddress-of-packed-member]
                    addr_ntop_buf(&flow->gateway_addr));
                                   ^~~~~~~~~~~~~~~~~~
store.c:805:3: warning: format specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat]
                fmt_ntoh32(flow->ainfo.time_sec),       // unix_secs
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
store.c:806:3: warning: format specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat]
                fmt_ntoh32(flow->ainfo.time_nanosec),   // unix_nsecs
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
store.c:807:3: warning: format specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat]
                fmt_ntoh32(flow->ainfo.sys_uptime_ms),  // sysuptime
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
store.c:811:3: warning: format specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat]
                fmt_ntoh32(flow->ftimes.flow_start),    // first
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
store.c:812:3: warning: format specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat]
                fmt_ntoh32(flow->ftimes.flow_finish),   // last
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
store.c:808:18: warning: taking address of packed member 'agent_addr' of class or structure 'store_flow_complete' may result in an unaligned pointer value [-Waddress-of-packed-member]
                addr_ntop_buf(&flow->agent_addr),       // exaddr
                               ^~~~~~~~~~~~~~~~
store.c:819:51: warning: taking address of packed member 'src_addr' of class or structure 'store_flow_complete' may result in an unaligned pointer value [-Waddress-of-packed-member]
        snprintf(tmp, sizeof(tmp), "%s,", addr_ntop_buf(&flow->src_addr));
                                                         ^~~~~~~~~~~~~~
store.c:823:51: warning: taking address of packed member 'dst_addr' of class or structure 'store_flow_complete' may result in an unaligned pointer value [-Waddress-of-packed-member]
        snprintf(tmp, sizeof(tmp), "%s,", addr_ntop_buf(&flow->dst_addr));
                                                         ^~~~~~~~~~~~~~
store.c:827:51: warning: taking address of packed member 'gateway_addr' of class or structure 'store_flow_complete' may result in an unaligned pointer value [-Waddress-of-packed-member]
        snprintf(tmp, sizeof(tmp), "%s,", addr_ntop_buf(&flow->gateway_addr));
                                                         ^~~~~~~~~~~~~~~~~~
14 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o store-v2.o store-v2.c
In file included from store-v2.c:30:
./store-v2.h:21:9: warning: '_STORE_V2_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _STORE_V2_H
        ^~~~~~~~~~~
./store-v2.h:22:9: note: '_STORE_v2_H' is defined here; did you mean '_STORE_V2_H'?
#define _STORE_v2_H
        ^~~~~~~~~~~
        _STORE_V2_H
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o crc32.o crc32.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o strlcpy.o strlcpy.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o strlcat.o strlcat.c
ar rv libflowd.a atomicio.o addr.o store.o store-v2.o crc32.o strlcpy.o strlcat.o
ar: warning: creating libflowd.a
a - atomicio.o
a - addr.o
a - store.o
a - store-v2.o
a - crc32.o
a - strlcpy.o
a - strlcat.o
ranlib libflowd.a
/nxb-bin/usr/bin/cc -fstack-protector-strong  -L. -o flowd flowd.o privsep_fdpass.o privsep.o filter.o parse.o log.o daemon.o peer.o closefrom.o setproctitle.o -lflowd 
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -I.  -DSYSCONFDIR="\"/usr/local/etc\"" -DPIDFILEDIR="\"/var/run\"" -DPROGVER="\"0.9.1\"" -DHAVE_CONFIG_H  -c -o flowd-reader.o flowd-reader.c
In file included from flowd-reader.c:33:
./store-v2.h:21:9: warning: '_STORE_V2_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _STORE_V2_H
        ^~~~~~~~~~~
./store-v2.h:22:9: note: '_STORE_v2_H' is defined here; did you mean '_STORE_V2_H'?
#define _STORE_v2_H
        ^~~~~~~~~~~
        _STORE_V2_H
1 warning generated.
/nxb-bin/usr/bin/cc -fstack-protector-strong  -L. -o flowd-reader flowd-reader.o parse.o log.o filter.o libflowd.a 
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/flowd/work/flowd-0.9.1'
(cd /wrkdirs/usr/ports/net-mgmt/flowd/work/flowd-0.9.1/Flowd-perl && /usr/local/bin/perl Makefile.PL  INSTALLSITEMAN3DIR=  DESTDIR=/wrkdirs/usr/ports/net-mgmt/flowd/work/stage PREFIX=/usr/local &&  gmake)
Checking if your kit is complete...
Looks good
WARNING: Setting ABSTRACT via file 'lib/Flowd.pm' failed
 at /usr/local/lib/perl5/5.30/ExtUtils/MakeMaker.pm line 754.
Warning: -L.. changed to -L/wrkdirs/usr/ports/net-mgmt/flowd/work/flowd-0.9.1/Flowd-perl/..
Generating a Unix-style Makefile
Writing Makefile for Flowd
Writing MYMETA.yml and MYMETA.json
gmake[1]: Entering directory '/wrkdirs/usr/ports/net-mgmt/flowd/work/flowd-0.9.1/Flowd-perl'
cp lib/Flowd.pm blib/lib/Flowd.pm
Running Mkbootstrap for Flowd ()
chmod 644 "Flowd.bs"
"/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Flowd.bs blib/arch/auto/Flowd/Flowd.bs 644
"/usr/local/bin/perl" "/usr/local/lib/perl5/5.30/ExtUtils/xsubpp"  -typemap '/usr/local/lib/perl5/5.30/ExtUtils/typemap'  Flowd.xs > Flowd.xsc
mv Flowd.xsc Flowd.c
/usr/bin/cc -c  -I. -I.. -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DVERSION=\"0.9.1\" -DXS_VERSION=\"0.9.1\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.30/mach/CORE"   Flowd.c
cc: error: unable to execute command: posix_spawn failed: Operation not permitted
gmake[1]: *** [Makefile:335: Flowd.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/flowd/work/flowd-0.9.1/Flowd-perl'
*** Error code 2

Stop.
make: stopped in /usr/ports/net-mgmt/flowd



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909290126.x8T1Q6AI041095>