Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2019 12:23:57 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv7-default][sysutils/procenv] Failed for procenv-0.51 in build
Message-ID:  <201912021223.xB2CNvQT078130@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:     ports@FreeBSD.org
Last committer: antoine@FreeBSD.org
Ident:          $FreeBSD: head/sysutils/procenv/Makefile 516306 2019-11-02 12:15:48Z antoine $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-armv7-default/p518745_s355256/logs/procenv-0.51.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p518745_s355256
Log:

=>> Building sysutils/procenv
build started at Mon Dec  2 12:22:15 UTC 2019
port directory: /usr/ports/sysutils/procenv
package name: procenv-0.51
building for: FreeBSD head-armv7-default-job-01 13.0-CURRENT FreeBSD 13.0-CURRENT 1300061 arm
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/sysutils/procenv/Makefile 516306 2019-11-02 12:15:48Z antoine $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300047
Jail OSVERSION: 1300061
Job Id: 01




!!! Jail is newer than host. (Jail: 1300061, Host: 1300047) !!!
!!! 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=1300061
UNAME_v=FreeBSD 13.0-CURRENT 1300061
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 procenv-0.51:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--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/sysutils/procenv/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/procenv/work  HOME=/wrkdirs/usr/ports/sysutils/procenv/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/procenv/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/sysutils/procenv/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/procenv/work  HOME=/wrkdirs/usr/ports/sysutils/procenv/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/procenv/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="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.30.1  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/procenv"  EXAMPLESDIR="share/examples/procenv"  DATADIR="share/procenv"  WWWDIR="www/procenv"  ETCDIR="etc/procenv"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/procenv DOCSDIR=/usr/local/share/doc/procenv EXAMPLESDIR=/usr/local/share/examples/procenv  WWWDIR=/usr/local/www/procenv ETCDIR=/usr/local/etc/procenv
--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
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0) 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 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0) 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=1300061
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   >============================
===>   NOTICE:

The procenv 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 GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   procenv-0.51 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.12.0.txz
<snip>
#define __UINT_FAST16_MAX__ 65535
#define __UINT_FAST16_TYPE__ unsigned short
#define __UINT_FAST32_FMTX__ "X"
#define __UINT_FAST32_FMTo__ "o"
#define __UINT_FAST32_FMTu__ "u"
#define __UINT_FAST32_FMTx__ "x"
#define __UINT_FAST32_MAX__ 4294967295U
#define __UINT_FAST32_TYPE__ unsigned int
#define __UINT_FAST64_FMTX__ "llX"
#define __UINT_FAST64_FMTo__ "llo"
#define __UINT_FAST64_FMTu__ "llu"
#define __UINT_FAST64_FMTx__ "llx"
#define __UINT_FAST64_MAX__ 18446744073709551615ULL
#define __UINT_FAST64_TYPE__ long long unsigned int
#define __UINT_FAST8_FMTX__ "hhX"
#define __UINT_FAST8_FMTo__ "hho"
#define __UINT_FAST8_FMTu__ "hhu"
#define __UINT_FAST8_FMTx__ "hhx"
#define __UINT_FAST8_MAX__ 255
#define __UINT_FAST8_TYPE__ unsigned char
#define __UINT_LEAST16_FMTX__ "hX"
#define __UINT_LEAST16_FMTo__ "ho"
#define __UINT_LEAST16_FMTu__ "hu"
#define __UINT_LEAST16_FMTx__ "hx"
#define __UINT_LEAST16_MAX__ 65535
#define __UINT_LEAST16_TYPE__ unsigned short
#define __UINT_LEAST32_FMTX__ "X"
#define __UINT_LEAST32_FMTo__ "o"
#define __UINT_LEAST32_FMTu__ "u"
#define __UINT_LEAST32_FMTx__ "x"
#define __UINT_LEAST32_MAX__ 4294967295U
#define __UINT_LEAST32_TYPE__ unsigned int
#define __UINT_LEAST64_FMTX__ "llX"
#define __UINT_LEAST64_FMTo__ "llo"
#define __UINT_LEAST64_FMTu__ "llu"
#define __UINT_LEAST64_FMTx__ "llx"
#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
#define __UINT_LEAST64_TYPE__ long long unsigned int
#define __UINT_LEAST8_FMTX__ "hhX"
#define __UINT_LEAST8_FMTo__ "hho"
#define __UINT_LEAST8_FMTu__ "hhu"
#define __UINT_LEAST8_FMTx__ "hhx"
#define __UINT_LEAST8_MAX__ 255
#define __UINT_LEAST8_TYPE__ unsigned char
#define __USER_LABEL_PREFIX__ 
#define __VERSION__ "FreeBSD Clang 9.0.0 (tags/RELEASE_900/final 372316)"
#define __VFP_FP__ 1
#define __WCHAR_MAX__ 4294967295U
#define __WCHAR_TYPE__ unsigned int
#define __WCHAR_UNSIGNED__ 1
#define __WCHAR_WIDTH__ 32
#define __WINT_MAX__ 2147483647
#define __WINT_TYPE__ int
#define __WINT_WIDTH__ 32
#define __arm 1
#define __arm__ 1
#define __clang__ 1
#define __clang_major__ 9
#define __clang_minor__ 0
#define __clang_patchlevel__ 0
#define __clang_version__ "9.0.0 (tags/RELEASE_900/final 372316)"
#define __llvm__ 1
#define __unix 1
#define __unix__ 1
#define unix 1

XXX:--------------------------------------------------
XXX: ./src/tests/show_compiler_details: compiler ('/nxb-bin/usr/bin/cc') features

FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0)
Target: armv7-unknown-freebsd13.0-gnueabihf
Thread model: posix
InstalledDir: /nxb-bin/usr/bin

XXX:--------------------------------------------------
XXX: ./src/tests/show_compiler_details: compiler ('/nxb-bin/usr/bin/cc') search paths

programs: =/nxb-bin/usr/bin
libraries: =/nxb-bin/usr/lib/clang/9.0.0:/usr/lib

XXX:--------------------------------------------------
## ---------------------------------------------------------------- ##
## showing result of test './src/tests/show_compiler_details': pass ##
## ---------------------------------------------------------------- ##
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating procenv.spec
config.status: creating config.h
config.status: executing depfiles commands

    Configure settings for procenv version 0.51

    Build platform              : freebsd
    Reproducible build          : no
    Debug build                 : no
    Check unit test framework   : 

    Libraries:

    libapparmor                 : no
    libselinux                  : no
    libcap                      : no
    libnuma                     : no
    libpthread                  : yes
    libkvm                      : yes
              
===========================================================================
=======================<phase: build          >============================
===>  Building for procenv-0.51
gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/procenv/work/procenv-0.51'
gmake  all-recursive
gmake[2]: Entering directory '/wrkdirs/usr/ports/sysutils/procenv/work/procenv-0.51'
Making all in src
gmake[3]: Entering directory '/wrkdirs/usr/ports/sysutils/procenv/work/procenv-0.51/src'
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..  -I . -I ./platform     -I ./platform/freebsd -D PROCENV_PLATFORM_FREEBSD -D PROCENV_PLATFORM_BSD       -pedantic -std=gnu99 -Wall -Wunused -fstack-protector -Wformat  -fdata-sections -ffunction-sections -Werror -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -MT procenv-procenv.o -MD -MP -MF .deps/procenv-procenv.Tpo -c -o procenv-procenv.o `test -f 'procenv.c' || echo './'`procenv.c
mv -f .deps/procenv-procenv.Tpo .deps/procenv-procenv.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..  -I . -I ./platform     -I ./platform/freebsd -D PROCENV_PLATFORM_FREEBSD -D PROCENV_PLATFORM_BSD       -pedantic -std=gnu99 -Wall -Wunused -fstack-protector -Wformat  -fdata-sections -ffunction-sections -Werror -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -MT procenv-pr_list.o -MD -MP -MF .deps/procenv-pr_list.Tpo -c -o procenv-pr_list.o `test -f 'pr_list.c' || echo './'`pr_list.c
mv -f .deps/procenv-pr_list.Tpo .deps/procenv-pr_list.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..  -I . -I ./platform     -I ./platform/freebsd -D PROCENV_PLATFORM_FREEBSD -D PROCENV_PLATFORM_BSD       -pedantic -std=gnu99 -Wall -Wunused -fstack-protector -Wformat  -fdata-sections -ffunction-sections -Werror -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -MT procenv-pstring.o -MD -MP -MF .deps/procenv-pstring.Tpo -c -o procenv-pstring.o `test -f 'pstring.c' || echo './'`pstring.c
mv -f .deps/procenv-pstring.Tpo .deps/procenv-pstring.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..  -I . -I ./platform     -I ./platform/freebsd -D PROCENV_PLATFORM_FREEBSD -D PROCENV_PLATFORM_BSD       -pedantic -std=gnu99 -Wall -Wunused -fstack-protector -Wformat  -fdata-sections -ffunction-sections -Werror -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -MT procenv-string-util.o -MD -MP -MF .deps/procenv-string-util.Tpo -c -o procenv-string-util.o `test -f 'string-util.c' || echo './'`string-util.c
mv -f .deps/procenv-string-util.Tpo .deps/procenv-string-util.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..  -I . -I ./platform     -I ./platform/freebsd -D PROCENV_PLATFORM_FREEBSD -D PROCENV_PLATFORM_BSD       -pedantic -std=gnu99 -Wall -Wunused -fstack-protector -Wformat  -fdata-sections -ffunction-sections -Werror -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -MT procenv-output.o -MD -MP -MF .deps/procenv-output.Tpo -c -o procenv-output.o `test -f 'output.c' || echo './'`output.c
mv -f .deps/procenv-output.Tpo .deps/procenv-output.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..  -I . -I ./platform     -I ./platform/freebsd -D PROCENV_PLATFORM_FREEBSD -D PROCENV_PLATFORM_BSD       -pedantic -std=gnu99 -Wall -Wunused -fstack-protector -Wformat  -fdata-sections -ffunction-sections -Werror -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -MT procenv-util.o -MD -MP -MF .deps/procenv-util.Tpo -c -o procenv-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/procenv-util.Tpo .deps/procenv-util.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..  -I . -I ./platform     -I ./platform/freebsd -D PROCENV_PLATFORM_FREEBSD -D PROCENV_PLATFORM_BSD       -pedantic -std=gnu99 -Wall -Wunused -fstack-protector -Wformat  -fdata-sections -ffunction-sections -Werror -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -MT platform/procenv-platform-generic.o -MD -MP -MF platform/.deps/procenv-platform-generic.Tpo -c -o platform/procenv-platform-generic.o `test -f 'platform/platform-generic.c' || echo './'`platform/platform-generic.c
mv -f platform/.deps/procenv-platform-generic.Tpo platform/.deps/procenv-platform-generic.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..  -I . -I ./platform     -I ./platform/freebsd -D PROCENV_PLATFORM_FREEBSD -D PROCENV_PLATFORM_BSD       -pedantic -std=gnu99 -Wall -Wunused -fstack-protector -Wformat  -fdata-sections -ffunction-sections -Werror -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -MT platform/freebsd/procenv-platform.o -MD -MP -MF platform/freebsd/.deps/procenv-platform.Tpo -c -o platform/freebsd/procenv-platform.o `test -f 'platform/freebsd/platform.c' || echo './'`platform/freebsd/platform.c
platform/freebsd/platform.c:140:8: error: implicit declaration of function 'cap_getmode' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = cap_getmode (&mode);
              ^
platform/freebsd/platform.c:146:8: error: implicit declaration of function 'cap_rights_get' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = cap_rights_get (fd, &rights);
              ^
platform/freebsd/platform.c:152:2: error: implicit declaration of function 'show_capsicum_cap' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        show_capsicum_cap (rights, CAP_ACCEPT);
        ^
platform/freebsd/platform.c:152:29: error: use of undeclared identifier 'CAP_ACCEPT'
        show_capsicum_cap (rights, CAP_ACCEPT);
                                   ^
platform/freebsd/platform.c:153:29: error: use of undeclared identifier 'CAP_ACL_CHECK'
        show_capsicum_cap (rights, CAP_ACL_CHECK);
                                   ^
platform/freebsd/platform.c:154:29: error: use of undeclared identifier 'CAP_ACL_DELETE'
        show_capsicum_cap (rights, CAP_ACL_DELETE);
                                   ^
platform/freebsd/platform.c:155:29: error: use of undeclared identifier 'CAP_ACL_GET'
        show_capsicum_cap (rights, CAP_ACL_GET);
                                   ^
platform/freebsd/platform.c:156:29: error: use of undeclared identifier 'CAP_ACL_SET'
        show_capsicum_cap (rights, CAP_ACL_SET);
                                   ^
platform/freebsd/platform.c:157:29: error: use of undeclared identifier 'CAP_BIND'
        show_capsicum_cap (rights, CAP_BIND);
                                   ^
platform/freebsd/platform.c:159:29: error: use of undeclared identifier 'CAP_BINDAT'
        show_capsicum_cap (rights, CAP_BINDAT);
                                   ^
platform/freebsd/platform.c:160:29: error: use of undeclared identifier 'CAP_CHFLAGSAT'
        show_capsicum_cap (rights, CAP_CHFLAGSAT);
                                   ^
platform/freebsd/platform.c:162:29: error: use of undeclared identifier 'CAP_CONNECT'
        show_capsicum_cap (rights, CAP_CONNECT);
                                   ^
platform/freebsd/platform.c:164:29: error: use of undeclared identifier 'CAP_CONNECTAT'
        show_capsicum_cap (rights, CAP_CONNECTAT);
                                   ^
platform/freebsd/platform.c:166:29: error: use of undeclared identifier 'CAP_CREATE'
        show_capsicum_cap (rights, CAP_CREATE);
                                   ^
platform/freebsd/platform.c:168:29: error: use of undeclared identifier 'CAP_EVENT'
        show_capsicum_cap (rights, CAP_EVENT);
                                   ^
platform/freebsd/platform.c:170:29: error: use of undeclared identifier 'CAP_EXTATTR_DELETE'
        show_capsicum_cap (rights, CAP_EXTATTR_DELETE);
                                   ^
platform/freebsd/platform.c:171:29: error: use of undeclared identifier 'CAP_EXTATTR_GET'
        show_capsicum_cap (rights, CAP_EXTATTR_GET);
                                   ^
platform/freebsd/platform.c:172:29: error: use of undeclared identifier 'CAP_EXTATTR_LIST'
        show_capsicum_cap (rights, CAP_EXTATTR_LIST);
                                   ^
platform/freebsd/platform.c:173:29: error: use of undeclared identifier 'CAP_EXTATTR_SET'
        show_capsicum_cap (rights, CAP_EXTATTR_SET);
                                   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[3]: *** [Makefile:833: platform/freebsd/procenv-platform.o] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/sysutils/procenv/work/procenv-0.51/src'
gmake[2]: *** [Makefile:452: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/sysutils/procenv/work/procenv-0.51'
gmake[1]: *** [Makefile:350: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/procenv/work/procenv-0.51'
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/procenv



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