[package - head-amd64-default][devel/staf] Failed for staf-3.4.23_3 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Fri Feb 9 04:06:26 UTC 2018


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:     kozlov.sergey.404 at gmail.com
Last committer: asomers at FreeBSD.org
Ident:          $FreeBSD: head/devel/staf/Makefile 447227 2017-08-03 15:20:17Z asomers $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p461193_s329007/logs/staf-3.4.23_3.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p461193_s329007
Log:

=>> Building devel/staf
build started at Fri Feb  9 04:01:19 UTC 2018
port directory: /usr/ports/devel/staf
package name: staf-3.4.23_3
building for: FreeBSD head-amd64-default-job-04 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64
maintained by: kozlov.sergey.404 at gmail.com
Makefile ident:      $FreeBSD: head/devel/staf/Makefile 447227 2017-08-03 15:20:17Z asomers $
Poudriere version: 3.2.4-48-gf881e389
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 04




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200056
UNAME_v=FreeBSD 12.0-CURRENT 1200056
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.2.4-48-gf881e389
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
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 staf-3.4.23_3:
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     IPV6=on: IPv6 protocol support
     JAVA=off: Java platform support
     OPENSSL=on: SSL/TLS support via OpenSSL
     PERL=off: Perl scripting language support
     PYTHON=off: Python bindings or support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
kozlov.sergey.404 at gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/staf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/staf/work  HOME=/wrkdirs/usr/ports/devel/staf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/staf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/devel/staf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/staf/work  HOME=/wrkdirs/usr/ports/devel/staf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/staf/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  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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--
STAF_VAR_DIR=/var/db/STAF PORTDOCS="" PORTEXAMPLES="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " IPV6="" NO_IPV6="@comment " JAVA="@comment " NO_JAVA="" OPENSSL="" NO_OPENSSL="@comment " PERL="@comment " NO_PERL="" PYTHON="@comment " NO_PYTHON="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/staf"  EXAMPLESDIR="share/examples/staf"  DATADIR="share/staf"  WWWDIR="www/staf"  ETCDIR="etc/staf"
--End PLIST_SUB--

--SUB_LIST--
STAF_VAR_DIR=/var/db/STAF DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " IPV6="" NO_IPV6="@comment " JAVA="@comment " NO_JAVA="" OPENSSL="" NO_OPENSSL="@comment " PERL="@comment " NO_PERL="" PYTHON="@comment " NO_PYTHON="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/staf DOCSDIR=/usr/local/share/doc/staf EXAMPLESDIR=/usr/local/share/examples/staf  WWWDIR=/usr/local/www/staf ETCDIR=/usr/local/etc/staf
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /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=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200056
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=12.0-CURRENT
#### 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)  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 EPL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   staf-3.4.23_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-amd64-default-job-04] Installing pkg-1.10.4...
[head-amd64-default-job-04] Extracting pkg-1.10.4: .......... done
===>   staf-3.4.23_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of staf-3.4.23_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License EPL accepted by the user
===> Fetching all distfiles required by staf-3.4.23_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License EPL accepted by the user
===> Fetching all distfiles required by staf-3.4.23_3 for building
=> SHA256 Checksum OK for STAF3423-src.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License EPL accepted by the user
===> Fetching all distfiles required by staf-3.4.23_3 for building
===>  Extracting for staf-3.4.23_3
=> SHA256 Checksum OK for STAF3423-src.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for staf-3.4.23_3
===>  Applying FreeBSD patches for staf-3.4.23_3
/usr/bin/sed -i.bak "s|%%DATADIR%%|/usr/local/share/staf|"  /wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConverter.cpp  /wrkdirs/usr/ports/devel/staf/work/src/staf/connproviders/tcp/STAFTCPConnProvider.cpp
/usr/bin/sed -i.bak "s|%%PREFIX%%|/usr/local|g"  /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.cpp
/usr/bin/sed -i.bak "s|%%STAFVARDIR%%|/var/db/STAF|g"  /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.cpp
===========================================================================
=======================<phase: build-depends  >============================
===>   staf-3.4.23_3 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_1.txz
[head-amd64-default-job-04] Installing gmake-4.2.1_1...
[head-amd64-default-job-04] `-- Installing gettext-runtime-0.19.8.1_1...
[head-amd64-default-job-04] |   `-- Installing indexinfo-0.3.1...
[head-amd64-default-job-04] |   `-- Extracting indexinfo-0.3.1: .... done
[head-amd64-default-job-04] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-amd64-default-job-04] Extracting gmake-4.2.1_1: .......... done
===>   staf-3.4.23_3 depends on executable: gmake - found
===>   Returning to build of staf-3.4.23_3
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for staf-3.4.23_3
===========================================================================
=======================<phase: build          >============================
<snip>
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
2 warnings generated.
*** Compiling STAFDelegatedService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFDelegatedService.cpp:9:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
2 warnings generated.
*** Compiling STAFProcessService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProcessService.cpp:13:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProcessService.cpp:1218:72: warning: '&&' within '||' [-Wlogical-op-parentheses]
        for (iter = fProcessList.begin(); (iter != fProcessList.end()) &&
                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProcessService.cpp:1218:72: note: place parentheses around the '&&' expression to silence this warning
        for (iter = fProcessList.begin(); (iter != fProcessList.end()) &&
                                                                       ^
                                          (
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProcessService.cpp:1256:52: warning: adding 'unsigned int' to a string does not append to the string [-Wstring-plus-int]
                "Error dispatching a thread, RC: " + dispatchRC);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProcessService.cpp:1256:52: note: use array indexing to silence this warning
                "Error dispatching a thread, RC: " + dispatchRC);
                                                   ^
                                                   [           ]
4 warnings generated.
*** Compiling STAFFSService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFFSService.cpp:11:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFFSService.cpp:2418:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFFSService.cpp:3583:28: warning: '/*' within block comment [-Wcomment]
                /tmp/Test 1/*est*1**.txt* -> "/tmp/Test 1/"*"est"*"1"**".txt"*
                           ^
4 warnings generated.
*** Compiling STAFHandleService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFHandleService.cpp:9:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
2 warnings generated.
*** Compiling STAFLifeCycleService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFLifeCycleService.cpp:10:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
2 warnings generated.
*** Compiling STAFVariableService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFVariableService.cpp:9:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
2 warnings generated.
*** Compiling STAFServiceService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFServiceService.cpp:9:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
2 warnings generated.
*** Compiling STAFQueueService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFQueueService.cpp:9:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
2 warnings generated.
*** Compiling STAFShutdownService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFShutdownService.cpp:9:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
2 warnings generated.
*** Compiling STAFMiscService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFMiscService.cpp:9:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFMiscService.cpp:607:34: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
                if (propertyLine == "") break;
                                 ^  ~~
3 warnings generated.
*** Compiling STAFTraceService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFTraceService.cpp:9:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
2 warnings generated.
*** Compiling STAFDiagService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFDiagService.cpp:9:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
2 warnings generated.
*** Compiling STAFSemService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFSemService.cpp:9:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
2 warnings generated.
*** Compiling STAFTrustService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFTrustService.cpp:9:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
2 warnings generated.
*** Compiling STAFExternalService.o ***
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFExternalService.cpp:10:
In file included from /wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFProc.h:18:
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:22:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafif/STAFConnectionProvider.h:29:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct STAFConnectionProviderImpl
^
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFExternalService.cpp:85:41: error: non-constant-expression cannot be narrowed from type 'std::__1::list<STAFString, std::__1::allocator<STAFString> >::size_type' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing]
                                        options.size(), optionNames,
                                        ^~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFExternalService.cpp:85:41: note: insert an explicit cast to silence this issue
                                        options.size(), optionNames,
                                        ^~~~~~~~~~~~~~
                                        static_cast<unsigned int>( )
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFExternalService.cpp:139:66: warning: adding 'unsigned int' to a string does not append to the string [-Wstring-plus-int]
        message += STAFString(" level validation failure, RC = " + rc) +
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/wrkdirs/usr/ports/devel/staf/work/src/staf/stafproc/STAFExternalService.cpp:139:66: note: use array indexing to silence this warning
        message += STAFString(" level validation failure, RC = " + rc) +
                                                                 ^
                              &                                  [   ]
3 warnings and 1 error generated.
gmake[1]: *** [/wrkdirs/usr/ports/devel/staf/work/src/staf/build/makefile.inf:35: /wrkdirs/usr/ports/devel/staf/work/obj/freebsd/staf/retail/stafproc/STAFExternalService.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/staf/work/src/staf'
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/staf


More information about the freebsd-pkg-fallout mailing list