Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jun 2017 05:28:43 GMT
From:      pkg-fallout@FreeBSD.org
To:        dpejesh@yahoo.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 110i386-default][net/corosync] Failed for corosync-2.3.5_4 in build
Message-ID:  <201706110528.v5B5Show077898@beefy10.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:     dpejesh@yahoo.com
Last committer: bapt@FreeBSD.org
Ident:          $FreeBSD: head/net/corosync/Makefile 441694 2017-05-25 14:35:49Z bapt $
Log URL:        http://beefy10.nyi.freebsd.org/data/110i386-default/443125/logs/corosync-2.3.5_4.log
Build URL:      http://beefy10.nyi.freebsd.org/build.html?mastername=110i386-default&build=443125
Log:

====>> Building net/corosync
build started at Sun Jun 11 05:27:56 UTC 2017
port directory: /usr/ports/net/corosync
building for: FreeBSD 110i386-default-job-21 11.0-RELEASE-p10 FreeBSD 11.0-RELEASE-p10 i386
maintained by: dpejesh@yahoo.com
Makefile ident:      $FreeBSD: head/net/corosync/Makefile 441694 2017-05-25 14:35:49Z bapt $
Poudriere version: 3.1.19-15-g47ff5fcd
Host OSVERSION: 1200031
Jail OSVERSION: 1100122
Job Id: 21

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1100122
UNAME_v=FreeBSD 11.0-RELEASE-p10
UNAME_r=11.0-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/110i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=corosync-2.3.5_4
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/110i386-default/ref/.p/pool
MASTERNAME=110i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.19-15-g47ff5fcd
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for corosync-2.3.5_4:
     DBUS=off: D-Bus IPC system support
     SNMP=off: SNMP network protocol support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--disable-dbus --disable-snmp --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/net/corosync/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/corosync/work  HOME=/wrkdirs/usr/ports/net/corosync/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/corosync/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/corosync/work  HOME=/wrkdirs/usr/ports/net/corosync/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="gcc5" CFLAGS="-O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing"  CPP="cpp5" CPPFLAGS=""  LDFLAGS=" -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5" LIBS=""  CXX="g++5" CXXFLAGS="-O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -
 Wl,-rpath=/usr/local/lib/gcc5"  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--
DBUS="@comment
"
NO_DBUS=""
SNMP="@comment
"
NO_SNMP=""
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/corosync"
EXAMPLESDIR="share/examples/corosync"
DATADIR="share/corosync"
WWWDIR="www/corosync"
ETCDIR="etc/corosync"
--End PLIST_SUB--

--SUB_LIST--
DBUS="@comment
"
NO_DBUS=""
SNMP="@comment
"
NO_SNMP=""
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/corosync
DOCSDIR=/usr/local/share/doc/corosync
EXAMPLESDIR=/usr/local/share/examples/corosync
WWWDIR=/usr/local/www/corosync
ETCDIR=/usr/local/etc/corosync
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
MACHINE=i386
MACHINE_ARCH=i386
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
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=i386
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=11.0
OSVERSION=1100122
PYTHONBASE=/usr/local
UID=0
_JAVA_OS_LIST_REGEXP=native\|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
_OSRELEASE=11.0-RELEASE-p10
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   corosync-2.3.5_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.1.txz
[110i386-default-job-21] Installing pkg-1.10.1...
[110i386-default-job-21] Extracting pkg-1.10.1: .......... done
===>   corosync-2.3.5_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of corosync-2.3.5_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by corosync-2.3.5_4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by corosync-2.3.5_4 for building
=> SHA256 Checksum OK for corosync-2.3.5.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by corosync-2.3.5_4 for building
===>  Extracting for corosync-2.3.5_4
=> SHA256 Checksum OK for corosync-2.3.5.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for corosync-2.3.5_4
===>  Applying FreeBSD patches for corosync-2.3.5_4
===========================================================================
=======================<phase: build-depends  >============================
===>   corosync-2.3.5_4 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_1.txz
[110i386-default-job-21] Installing gmake-4.2.1_1...
[110i386-default-job-21] `-- Installing gettext-runtime-0.19.8.1_1...
[110i386-default-job-21] |   `-- Installing indexinfo-0.2.6...
[110i386-default-job-21] |   `-- Extracting indexinfo-0.2.6: .... done
[110i386-default-job-21] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[110i386-default-job-21] Extracting gmake-4.2.1_1: .......... done
===>   corosync-2.3.5_4 depends on executable: gmake - found
===>   Returning to build of corosync-2.3.5_4
<snip>
config.status: creating pkgconfig/Makefile
config.status: creating test/Makefile
config.status: creating cts/Makefile
config.status: creating cts/agents/Makefile
config.status: creating cts/CTSvars.py
config.status: creating tools/Makefile
config.status: creating conf/Makefile
config.status: creating qdevices/Makefile
config.status: creating Doxyfile
config.status: creating conf/logrotate/Makefile
config.status: creating include/corosync/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

corosync configuration:
  Version                  = 2.3.5
  Prefix                   = /usr/local
  Executables              = ${exec_prefix}/sbin
  Man pages                = /usr/local/man
  Doc dir                  = ${datarootdir}/doc/${PACKAGE_TARNAME}
  Libraries                = ${exec_prefix}/lib
  Header files             = ${prefix}/include
  Arch-independent files   = ${datarootdir}
  State information        = /var
  System configuration     = ${prefix}/etc
  System init.d directory  = ${prefix}/etc/init.d
  System systemd directory = /lib/systemd/system
  System upstart directory = ${prefix}/etc/init
  System init wraps dir    = /usr/local/share/corosync
  Log directory            = /var/log/cluster
  Log rotate directory     = ${prefix}/etc/logrotate.d
  corosync config dir      = ${prefix}/etc/corosync
  Features                 = pie relro bindnow

corosync build info:
  Library SONAME           = 5.0.0
  CFG Library SONAME       = 6.0.0
  CPG Library SONAME       = 4.1.0
  QUORUM Library SONAME    = 5.0.0
  SAM Library SONAME       = 4.4.0
  VOTEQUORUM Library SONAME  = 7.0.0
  CMAP Library SONAME      = 4.1.0
  Default optimization     = -O3
  Default debug options    = 
  Extra compiler warnings  = 
  Env. defined CFLAG       = -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing
  Env. defined CPPFLAGS    = 
  Env. defined LDFLAGS     =  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5
  ANSI defined CPPFLAGS    = 
  Coverage     CFLAGS      = 
  Coverage     LDFLAGS     = 
  Fatal War.   CFLAGS      = 
  Final        CFLAGS      = -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	
  Final        CPPFLAGS    =    -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_builddir)/include/corosync -I$(top_srcdir)/include/corosync
  Final        LDFLAGS     =  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5  -fPIC -DPIC  -pie -Wl,-z,relro -Wl,-z,now  -Wl,--as-needed
===========================================================================
=======================<phase: build          >============================
===>  Building for corosync-2.3.5_4
gmake[1]: Entering directory '/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5'
gmake  all-recursive
gmake[2]: Entering directory '/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5'
Making all in include
gmake[3]: Entering directory '/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5/include'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5/include'
Making all in common_lib
gmake[3]: Entering directory '/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5/common_lib'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync   -I../include -I../include -I../include/corosync -I../include/corosync  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	 -MT error_conversion.lo -MD -MP -MF .deps/error_conversion.Tpo -c -o error_conversion.lo error_conversion.c
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT error_conversion.lo -MD -MP -MF .deps/error_conversion.Tpo -c error_conversion.c  -fPIC -DPIC -o .libs/error_conversion.o
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT error_conversion.lo -MD -MP -MF .deps/error_conversion.Tpo -c error_conversion.c -fPIE -o error_conversion.o >/dev/null 2>&1
mv -f .deps/error_conversion.Tpo .deps/error_conversion.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc5  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	 -version-number 4:0:0 -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5  -fPIC -DPIC  -pie -Wl,-z,relro -Wl,-z,now  -Wl,--as-needed -o libcorosync_common.la -rpath /usr/local/lib error_conversion.lo  -lrt -lpthread 
libtool: link: gcc5 -shared  .libs/error_conversion.o   -L/usr/local/lib/gcc5 -lrt -lpthread  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed   -Wl,-soname -Wl,libcorosync_common.so.4 -o .libs/libcorosync_common.so.4.0.0
libtool: link: (cd ".libs" && rm -f "libcorosync_common.so.4" && ln -s "libcorosync_common.so.4.0.0" "libcorosync_common.so.4")
libtool: link: (cd ".libs" && rm -f "libcorosync_common.so" && ln -s "libcorosync_common.so.4.0.0" "libcorosync_common.so")
libtool: link: /usr/local/bin/ar cru .libs/libcorosync_common.a  error_conversion.o
/usr/local/bin/ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: /usr/local/bin/ranlib .libs/libcorosync_common.a
libtool: link: ( cd ".libs" && rm -f "libcorosync_common.la" && ln -s "../libcorosync_common.la" "libcorosync_common.la" )
gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5/common_lib'
Making all in lib
gmake[3]: Entering directory '/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5/lib'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync   -I../include -I../include -I../include/corosync -I../include/corosync  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	 -MT cpg.lo -MD -MP -MF .deps/cpg.Tpo -c -o cpg.lo cpg.c
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT cpg.lo -MD -MP -MF .deps/cpg.Tpo -c cpg.c  -fPIC -DPIC -o .libs/cpg.o
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT cpg.lo -MD -MP -MF .deps/cpg.Tpo -c cpg.c -fPIE -o cpg.o >/dev/null 2>&1
mv -f .deps/cpg.Tpo .deps/cpg.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc5  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5  -fPIC -DPIC  -pie -Wl,-z,relro -Wl,-z,now  -Wl,--as-needed -o libcpg.la -rpath /usr/local/lib cpg.lo  -version-number 4:1:0 -Wl,--version-script=./libcpg.versions -lpthread ../common_lib/libcorosync_common.la -L/usr/local/lib -lqb 
libtool: link: gcc5 -shared  .libs/cpg.o   -Wl,-rpath -Wl,/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5/common_lib/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib/gcc5 ../common_lib/.libs/libcorosync_common.so -lrt -lpthread -L/usr/local/lib -lqb  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,--version-script=./libcpg.versions   -Wl,-soname -Wl,libcpg.so.4 -o .libs/libcpg.so.4.1.0
libtool: link: (cd ".libs" && rm -f "libcpg.so.4" && ln -s "libcpg.so.4.1.0" "libcpg.so.4")
libtool: link: (cd ".libs" && rm -f "libcpg.so" && ln -s "libcpg.so.4.1.0" "libcpg.so")
libtool: link: /usr/local/bin/ar cru .libs/libcpg.a  cpg.o
/usr/local/bin/ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: /usr/local/bin/ranlib .libs/libcpg.a
libtool: link: ( cd ".libs" && rm -f "libcpg.la" && ln -s "../libcpg.la" "libcpg.la" )
/bin/sh ../libtool  --tag=CC   --mode=compile gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync   -I../include -I../include -I../include/corosync -I../include/corosync  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	 -MT quorum.lo -MD -MP -MF .deps/quorum.Tpo -c -o quorum.lo quorum.c
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT quorum.lo -MD -MP -MF .deps/quorum.Tpo -c quorum.c  -fPIC -DPIC -o .libs/quorum.o
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT quorum.lo -MD -MP -MF .deps/quorum.Tpo -c quorum.c -fPIE -o quorum.o >/dev/null 2>&1
mv -f .deps/quorum.Tpo .deps/quorum.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc5  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5  -fPIC -DPIC  -pie -Wl,-z,relro -Wl,-z,now  -Wl,--as-needed -o libquorum.la -rpath /usr/local/lib quorum.lo  -version-number 5:0:0 -Wl,--version-script=./libquorum.versions -lpthread ../common_lib/libcorosync_common.la -L/usr/local/lib -lqb 
libtool: link: gcc5 -shared  .libs/quorum.o   -Wl,-rpath -Wl,/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5/common_lib/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib/gcc5 ../common_lib/.libs/libcorosync_common.so -lrt -lpthread -L/usr/local/lib -lqb  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,--version-script=./libquorum.versions   -Wl,-soname -Wl,libquorum.so.5 -o .libs/libquorum.so.5.0.0
libtool: link: (cd ".libs" && rm -f "libquorum.so.5" && ln -s "libquorum.so.5.0.0" "libquorum.so.5")
libtool: link: (cd ".libs" && rm -f "libquorum.so" && ln -s "libquorum.so.5.0.0" "libquorum.so")
libtool: link: /usr/local/bin/ar cru .libs/libquorum.a  quorum.o
/usr/local/bin/ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: /usr/local/bin/ranlib .libs/libquorum.a
libtool: link: ( cd ".libs" && rm -f "libquorum.la" && ln -s "../libquorum.la" "libquorum.la" )
/bin/sh ../libtool  --tag=CC   --mode=compile gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync   -I../include -I../include -I../include/corosync -I../include/corosync  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	 -MT cfg.lo -MD -MP -MF .deps/cfg.Tpo -c -o cfg.lo cfg.c
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT cfg.lo -MD -MP -MF .deps/cfg.Tpo -c cfg.c  -fPIC -DPIC -o .libs/cfg.o
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT cfg.lo -MD -MP -MF .deps/cfg.Tpo -c cfg.c -fPIE -o cfg.o >/dev/null 2>&1
mv -f .deps/cfg.Tpo .deps/cfg.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc5  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5  -fPIC -DPIC  -pie -Wl,-z,relro -Wl,-z,now  -Wl,--as-needed -o libcfg.la -rpath /usr/local/lib cfg.lo  -version-number 6:0:0 -Wl,--version-script=./libcfg.versions -lpthread ../common_lib/libcorosync_common.la -L/usr/local/lib -lqb 
libtool: link: gcc5 -shared  .libs/cfg.o   -Wl,-rpath -Wl,/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5/common_lib/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib/gcc5 ../common_lib/.libs/libcorosync_common.so -lrt -lpthread -L/usr/local/lib -lqb  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,--version-script=./libcfg.versions   -Wl,-soname -Wl,libcfg.so.6 -o .libs/libcfg.so.6.0.0
libtool: link: (cd ".libs" && rm -f "libcfg.so.6" && ln -s "libcfg.so.6.0.0" "libcfg.so.6")
libtool: link: (cd ".libs" && rm -f "libcfg.so" && ln -s "libcfg.so.6.0.0" "libcfg.so")
libtool: link: /usr/local/bin/ar cru .libs/libcfg.a  cfg.o
/usr/local/bin/ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: /usr/local/bin/ranlib .libs/libcfg.a
libtool: link: ( cd ".libs" && rm -f "libcfg.la" && ln -s "../libcfg.la" "libcfg.la" )
/bin/sh ../libtool  --tag=CC   --mode=compile gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync   -I../include -I../include -I../include/corosync -I../include/corosync  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	 -MT votequorum.lo -MD -MP -MF .deps/votequorum.Tpo -c -o votequorum.lo votequorum.c
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT votequorum.lo -MD -MP -MF .deps/votequorum.Tpo -c votequorum.c  -fPIC -DPIC -o .libs/votequorum.o
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT votequorum.lo -MD -MP -MF .deps/votequorum.Tpo -c votequorum.c -fPIE -o votequorum.o >/dev/null 2>&1
mv -f .deps/votequorum.Tpo .deps/votequorum.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc5  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5  -fPIC -DPIC  -pie -Wl,-z,relro -Wl,-z,now  -Wl,--as-needed -o libvotequorum.la -rpath /usr/local/lib votequorum.lo  -version-number 7:0:0 -Wl,--version-script=./libvotequorum.versions -lpthread ../common_lib/libcorosync_common.la -L/usr/local/lib -lqb 
libtool: link: gcc5 -shared  .libs/votequorum.o   -Wl,-rpath -Wl,/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5/common_lib/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib/gcc5 ../common_lib/.libs/libcorosync_common.so -lrt -lpthread -L/usr/local/lib -lqb  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,--version-script=./libvotequorum.versions   -Wl,-soname -Wl,libvotequorum.so.7 -o .libs/libvotequorum.so.7.0.0
libtool: link: (cd ".libs" && rm -f "libvotequorum.so.7" && ln -s "libvotequorum.so.7.0.0" "libvotequorum.so.7")
libtool: link: (cd ".libs" && rm -f "libvotequorum.so" && ln -s "libvotequorum.so.7.0.0" "libvotequorum.so")
libtool: link: /usr/local/bin/ar cru .libs/libvotequorum.a  votequorum.o
/usr/local/bin/ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: /usr/local/bin/ranlib .libs/libvotequorum.a
libtool: link: ( cd ".libs" && rm -f "libvotequorum.la" && ln -s "../libvotequorum.la" "libvotequorum.la" )
/bin/sh ../libtool  --tag=CC   --mode=compile gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync   -I../include -I../include -I../include/corosync -I../include/corosync  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	 -MT cmap.lo -MD -MP -MF .deps/cmap.Tpo -c -o cmap.lo cmap.c
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT cmap.lo -MD -MP -MF .deps/cmap.Tpo -c cmap.c  -fPIC -DPIC -o .libs/cmap.o
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT cmap.lo -MD -MP -MF .deps/cmap.Tpo -c cmap.c -fPIE -o cmap.o >/dev/null 2>&1
mv -f .deps/cmap.Tpo .deps/cmap.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc5  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5  -fPIC -DPIC  -pie -Wl,-z,relro -Wl,-z,now  -Wl,--as-needed -o libcmap.la -rpath /usr/local/lib cmap.lo  -version-number 4:1:0 -Wl,--version-script=./libcmap.versions -lpthread ../common_lib/libcorosync_common.la -L/usr/local/lib -lqb 
libtool: link: gcc5 -shared  .libs/cmap.o   -Wl,-rpath -Wl,/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5/common_lib/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib/gcc5 ../common_lib/.libs/libcorosync_common.so -lrt -lpthread -L/usr/local/lib -lqb  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,--version-script=./libcmap.versions   -Wl,-soname -Wl,libcmap.so.4 -o .libs/libcmap.so.4.1.0
libtool: link: (cd ".libs" && rm -f "libcmap.so.4" && ln -s "libcmap.so.4.1.0" "libcmap.so.4")
libtool: link: (cd ".libs" && rm -f "libcmap.so" && ln -s "libcmap.so.4.1.0" "libcmap.so")
libtool: link: /usr/local/bin/ar cru .libs/libcmap.a  cmap.o
/usr/local/bin/ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: /usr/local/bin/ranlib .libs/libcmap.a
libtool: link: ( cd ".libs" && rm -f "libcmap.la" && ln -s "../libcmap.la" "libcmap.la" )
/bin/sh ../libtool  --tag=CC   --mode=compile gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync   -I../include -I../include -I../include/corosync -I../include/corosync  -O2 -pipe  -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -fPIC -DPIC  -fPIE -O3 -ggdb3 	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing 	  -I/usr/local/include  	 -MT sam.lo -MD -MP -MF .deps/sam.Tpo -c -o sam.lo sam.c
libtool: compile:  gcc5 -DHAVE_CONFIG_H -I. -I../include/corosync -I../include -I../include -I../include/corosync -I../include/corosync -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -fPIC -DPIC -O3 -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/local/include -MT sam.lo -MD -MP -MF .deps/sam.Tpo -c sam.c  -fPIC -DPIC -o .libs/sam.o
sam.c: In function 'sam_parent_wait_for_quorum':
sam.c:836:16: error: array type has incomplete element type 'struct pollfd'
  struct pollfd pfds[2];
                ^
sam.c:861:20: error: 'POLLIN' undeclared (first use in this function)
   pfds[1].events = POLLIN;
                    ^
sam.c:861:20: note: each undeclared identifier is reported only once for each function it appears in
sam.c:864:14: warning: implicit declaration of function 'poll' [-Wimplicit-function-declaration]
   poll_err = poll (pfds, 2, -1);
              ^
sam.c:878:27: error: 'POLLERR' undeclared (first use in this function)
    if (pfds[0].revents == POLLERR || pfds[0].revents == POLLHUP ||pfds[0].revents == POLLNVAL) {
                           ^
sam.c:878:57: error: 'POLLHUP' undeclared (first use in this function)
    if (pfds[0].revents == POLLERR || pfds[0].revents == POLLHUP ||pfds[0].revents == POLLNVAL) {
                                                         ^
sam.c:878:86: error: 'POLLNVAL' undeclared (first use in this function)
    if (pfds[0].revents == POLLERR || pfds[0].revents == POLLHUP ||pfds[0].revents == POLLNVAL) {
                                                                                      ^
sam.c:836:16: warning: unused variable 'pfds' [-Wunused-variable]
  struct pollfd pfds[2];
                ^
sam.c: In function 'sam_parent_handler':
sam.c:1029:16: error: array type has incomplete element type 'struct pollfd'
  struct pollfd pfds[2];
                ^
sam.c:1030:2: error: unknown type name 'nfds_t'
  nfds_t nfds;
  ^
sam.c:1041:20: error: 'POLLIN' undeclared (first use in this function)
   pfds[0].events = POLLIN;
                    ^
sam.c:1029:16: warning: unused variable 'pfds' [-Wunused-variable]
  struct pollfd pfds[2];
                ^
sam.c: In function 'hc_callback_thread':
sam.c:1331:16: error: storage size of 'pfds' isn't known
  struct pollfd pfds;
                ^
sam.c:1340:17: error: 'POLLIN' undeclared (first use in this function)
   pfds.events = POLLIN;
                 ^
sam.c:1331:16: warning: unused variable 'pfds' [-Wunused-variable]
  struct pollfd pfds;
                ^
gmake[3]: *** [Makefile:469: sam.lo] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5/lib'
gmake[2]: *** [Makefile:461: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5'
gmake[1]: *** [Makefile:368: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/corosync/work/corosync-2.3.5'
*** Error code 1

Stop.
make: stopped in /usr/ports/net/corosync



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