Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2019 01:20:17 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv7-default][devel/p5-FFI-Platypus] Failed for p5-FFI-Platypus-0.96 in build
Message-ID:  <201910060120.x961KHAZ004462@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:     sunpoet@FreeBSD.org
Last committer: sunpoet@FreeBSD.org
Ident:          $FreeBSD: head/devel/p5-FFI-Platypus/Makefile 509451 2019-08-20 19:18:21Z sunpoet $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-armv7-default/p513859_s353130/logs/p5-FFI-Platypus-0.96.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p513859_s353130
Log:

=>> Building devel/p5-FFI-Platypus
build started at Sun Oct  6 01:18:37 UTC 2019
port directory: /usr/ports/devel/p5-FFI-Platypus
package name: p5-FFI-Platypus-0.96
building for: FreeBSD head-armv7-default-job-20 13.0-CURRENT FreeBSD 13.0-CURRENT 1300048 arm
maintained by: sunpoet@FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/p5-FFI-Platypus/Makefile 509451 2019-08-20 19:18:21Z sunpoet $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300040
Jail OSVERSION: 1300048
Job Id: 20




!!! 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---
---End OPTIONS List---

--MAINTAINER--
sunpoet@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
INSTALLDIRS="site" CC="/nxb-bin/usr/bin/cc" CCFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing " LD="/nxb-bin/usr/bin/cc" PREFIX="/usr/local"  INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib"
--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 PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/p5-FFI-Platypus/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/p5-FFI-Platypus/work  HOME=/wrkdirs/usr/ports/devel/p5-FFI-Platypus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/p5-FFI-Platypus/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES"
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/devel/p5-FFI-Platypus/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/p5-FFI-Platypus/work  HOME=/wrkdirs/usr/ports/devel/p5-FFI-Platypus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/p5-FFI-Platypus/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--
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/FFI-Platypus"  EXAMPLESDIR="share/examples/FFI-Platypus"  DATADIR="share/FFI-Platypus"  WWWDIR="www/FFI-Platypus"  ETCDIR="etc/FFI-Platypus"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/FFI-Platypus DOCSDIR=/usr/local/share/doc/FFI-Platypus EXAMPLESDIR=/usr/local/share/examples/FFI-Platypus  WWWDIR=/usr/local/www/FFI-Platypus ETCDIR=/usr/local/etc/FFI-Platypus
--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 ART10 GPLv1+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   p5-FFI-Platypus-0.96 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.12.0.txz
[head-armv7-default-job-20] Installing pkg-1.12.0...
[head-armv7-default-job-20] Extracting pkg-1.12.0: .......... done
pkg-static: Cannot runscript POST-INSTALL:Operation not permitted
===>   p5-FFI-Platypus-0.96 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of p5-FFI-Platypus-0.96
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
<snip>

--
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:

#!/usr/local/bin/perl

or

#!/usr/bin/env perl

The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
===>   p5-FFI-Platypus-0.96 depends on package: p5-Capture-Tiny>=0 - found
===>   Returning to build of p5-FFI-Platypus-0.96
===>   p5-FFI-Platypus-0.96 depends on package: p5-FFI-CheckLib>=0.05 - not found
===>   Installing existing package /packages/All/p5-FFI-CheckLib-0.25.txz
[head-armv7-default-job-20] Installing p5-FFI-CheckLib-0.25...
[head-armv7-default-job-20] Extracting p5-FFI-CheckLib-0.25: ....... done
===>   p5-FFI-Platypus-0.96 depends on package: p5-FFI-CheckLib>=0.05 - found
===>   Returning to build of p5-FFI-Platypus-0.96
===>   p5-FFI-Platypus-0.96 depends on package: perl5>=5.30.r1<5.31 - found
===>   p5-FFI-Platypus-0.96 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_3.txz
[head-armv7-default-job-20] Installing gmake-4.2.1_3...
[head-armv7-default-job-20] `-- Installing gettext-runtime-0.20.1...
[head-armv7-default-job-20] |   `-- Installing indexinfo-0.3.1...
[head-armv7-default-job-20] |   `-- Extracting indexinfo-0.3.1: .... done
[head-armv7-default-job-20] `-- Extracting gettext-runtime-0.20.1: .......... done
pkg-static: Cannot runscript POST-INSTALL:Operation not permitted
[head-armv7-default-job-20] Extracting gmake-4.2.1_3: .......... done
pkg-static: Cannot runscript POST-INSTALL:Operation not permitted
===>   p5-FFI-Platypus-0.96 depends on executable: gmake - found
===>   Returning to build of p5-FFI-Platypus-0.96
===>   p5-FFI-Platypus-0.96 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.6.3,1.txz
[head-armv7-default-job-20] Installing pkgconf-1.6.3,1...
[head-armv7-default-job-20] Extracting pkgconf-1.6.3,1: .......... done
pkg-static: Cannot runscript POST-INSTALL:Operation not permitted
===>   p5-FFI-Platypus-0.96 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of p5-FFI-Platypus-0.96
===>   p5-FFI-Platypus-0.96 depends on package: perl5>=5.30.r1<5.31 - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   p5-FFI-Platypus-0.96 depends on shared library: libffi.so - not found
===>   Installing existing package /packages/All/libffi-3.2.1_3.txz
[head-armv7-default-job-20] Installing libffi-3.2.1_3...
[head-armv7-default-job-20] Extracting libffi-3.2.1_3: .......... done
pkg-static: Cannot runscript POST-INSTALL:Operation not permitted
===>   p5-FFI-Platypus-0.96 depends on shared library: libffi.so - found (/usr/local/lib/libffi.so)
===>   Returning to build of p5-FFI-Platypus-0.96
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for p5-FFI-Platypus-0.96
using system libffi via pkgconf
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for FFI::Platypus
Writing MYMETA.yml and MYMETA.json
===========================================================================
=======================<phase: build          >============================
===>  Building for p5-FFI-Platypus-0.96
gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/p5-FFI-Platypus/work/FFI-Platypus-0.96'
XX src/dlrun.c
XX bin/
CC src/dlrun.c
LD src/dlrun.o
VV bin/dlrun
UN src/dlrun.o
PR header."stdlib.h"=0
PR header."stdint.h"=0
PR header."sys/types.h"=0
PR header."sys/stat.h"=0
PR header."unistd.h"=0
PR header."alloca.h"=0
PR header."dlfcn.h"=0
PR header."limits.h"=0
PR header."stddef.h"=0
PR header."wchar.h"=0
PR header."signal.h"=0
PR header."inttypes.h"=0
PR header."windows.h"=0
PR header."sys/cygwin.h"=0
PR header."string.h"=0
PR header."psapi.h"=0
PR header."stdio.h"=0
PR header."stdbool.h"=0
PR header."complex.h"=0
Use of uninitialized value $value in concatenation (.) or string at inc/My/ConfigH.pm line 24.
PR probe.abi=0
PR probe.alloca=0
PR probe.complex=0
PR probe.longdouble=0
PR probe.recordvalue=0
PR probe.variadic=0
C pre-processor failed...
only default ABI will be available
cp lib/FFI/Probe/Runner/Builder.pm blib/lib/FFI/Probe/Runner/Builder.pm
cp lib/FFI/Platypus/TypeParser.pm blib/lib/FFI/Platypus/TypeParser.pm
cp lib/FFI/Platypus/Record.pm blib/lib/FFI/Platypus/Record.pm
cp lib/FFI/Platypus/Type/PointerSizeBuffer.pm blib/lib/FFI/Platypus/Type/PointerSizeBuffer.pm
cp lib/FFI/Platypus/Closure.pm blib/lib/FFI/Platypus/Closure.pm
cp lib/FFI/Platypus/Buffer.pm blib/lib/FFI/Platypus/Buffer.pm
cp lib/FFI/Build/File/Library.pm blib/lib/FFI/Build/File/Library.pm
cp lib/FFI/Probe.pm blib/lib/FFI/Probe.pm
cp lib/FFI/Platypus/Type.pm blib/lib/FFI/Platypus/Type.pm
cp lib/FFI/Platypus/DL.pm blib/lib/FFI/Platypus/DL.pm
cp lib/FFI/Build/File/CXX.pm blib/lib/FFI/Build/File/CXX.pm
cp lib/FFI/Platypus/Memory.pm blib/lib/FFI/Platypus/Memory.pm
cp lib/FFI/Build/File/C.pm blib/lib/FFI/Build/File/C.pm
cp lib/FFI/Platypus/ShareConfig.pm blib/lib/FFI/Platypus/ShareConfig.pm
cp lib/FFI/Build/File/Base.pm blib/lib/FFI/Build/File/Base.pm
cp lib/FFI/Platypus.pm blib/lib/FFI/Platypus.pm
cp lib/FFI/typemap blib/lib/FFI/typemap
cp lib/FFI/Build/File/Object.pm blib/lib/FFI/Build/File/Object.pm
cp lib/FFI/Platypus/TypeParser/Version1.pm blib/lib/FFI/Platypus/TypeParser/Version1.pm
cp lib/FFI/Platypus/Function.pm blib/lib/FFI/Platypus/Function.pm
cp lib/FFI/Temp.pm blib/lib/FFI/Temp.pm
cp lib/FFI/Build/MM.pm blib/lib/FFI/Build/MM.pm
cp lib/FFI/Platypus/Lang/ASM.pm blib/lib/FFI/Platypus/Lang/ASM.pm
cp lib/FFI/Probe/Runner.pm blib/lib/FFI/Probe/Runner.pm
cp lib/FFI/Platypus/Declare.pm blib/lib/FFI/Platypus/Declare.pm
cp lib/FFI/Build.pm blib/lib/FFI/Build.pm
cp lib/FFI/Platypus/Lang.pm blib/lib/FFI/Platypus/Lang.pm
cp lib/FFI/Build/Platform.pm blib/lib/FFI/Build/Platform.pm
cp lib/FFI/Platypus/Internal.pm blib/lib/FFI/Platypus/Internal.pm
cp lib/FFI/Platypus/Constant.pm blib/lib/FFI/Platypus/Constant.pm
cp lib/FFI/Probe/Runner/Result.pm blib/lib/FFI/Probe/Runner/Result.pm
cp lib/FFI/Platypus/API.pm blib/lib/FFI/Platypus/API.pm
cp lib/FFI/Platypus/Type/StringArray.pm blib/lib/FFI/Platypus/Type/StringArray.pm
cp lib/FFI/Platypus/TypeParser/Version0.pm blib/lib/FFI/Platypus/TypeParser/Version0.pm
cp lib/FFI/Platypus/Lang/C.pm blib/lib/FFI/Platypus/Lang/C.pm
cp lib/FFI/Platypus/Record/TieArray.pm blib/lib/FFI/Platypus/Record/TieArray.pm
cp lib/FFI/Platypus/Lang/Win32.pm blib/lib/FFI/Platypus/Lang/Win32.pm
cp lib/FFI/Platypus/Bundle.pm blib/lib/FFI/Platypus/Bundle.pm
cp lib/FFI/Platypus/Type/StringPointer.pm blib/lib/FFI/Platypus/Type/StringPointer.pm
cp lib/FFI/Platypus/Legacy.pm blib/lib/FFI/Platypus/Legacy.pm
cp lib/FFI/Platypus/Record/Meta.pm blib/lib/FFI/Platypus/Record/Meta.pm
Running Mkbootstrap for lib/FFI/Platypus ()
chmod 644 "lib/FFI/Platypus.bs"
"/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- lib/FFI/Platypus.bs blib/arch/auto/FFI/Platypus/Platypus.bs 644
"/usr/local/bin/perl" "/usr/local/lib/perl5/5.30/ExtUtils/xsubpp"  -typemap '/usr/local/lib/perl5/5.30/ExtUtils/typemap'  lib/FFI/Platypus.xs > lib/FFI/Platypus.xsc
mv lib/FFI/Platypus.xsc lib/FFI/Platypus.c
"/usr/local/bin/perl" "/usr/local/lib/perl5/5.30/ExtUtils/xsubpp"  -typemap '/usr/local/lib/perl5/5.30/ExtUtils/typemap' lib/FFI/Platypus.xs > lib/FFI/Platypus.xsc
mv lib/FFI/Platypus.xsc lib/FFI/Platypus.c
/nxb-bin/usr/bin/cc -c  -Iinclude -I/usr/local/lib/libffi-3.2.1/include \
-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing \
  -DVERSION=\"0.96\" \
-DXS_VERSION=\"0.96\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.30/mach/CORE"   lib/FFI/Platypus.c -o lib/FFI/Platypus.o
In file included from lib/FFI/Platypus.xs:6:
include/ffi_platypus.h:69:18: error: invalid token at start of a preprocessor expression
#if SIZEOF_VOIDP == 4
                 ^
include/ffi_platypus.h:71:20: error: invalid token at start of a preprocessor expression
#elif SIZEOF_VOIDP == 8
                   ^
include/ffi_platypus.h:74:2: error: "strange pointer size"
#error "strange pointer size"
 ^
include/ffi_platypus.h:140:32: error: use of undeclared identifier 'FFI_PL_SIZE_PTR'
  FFI_PL_TYPE_OPAQUE         = FFI_PL_SIZE_PTR | FFI_PL_BASE_OPAQUE,
                               ^
lib/FFI/Platypus.xs:27:18: error: invalid token at start of a preprocessor expression
#if SIZEOF_VOIDP == 4
                 ^
lib/FFI/Platypus.xs:41:18: error: invalid token at start of a preprocessor expression
#if SIZEOF_VOIDP == 4
                 ^
lib/FFI/../../xs/Internal.xs:17:53: error: use of undeclared identifier 'FFI_PL_SIZE_PTR'
    newCONSTSUB(stash, "FFI_PL_SIZE_PTR",   newSViv(FFI_PL_SIZE_PTR));
                                                    ^
lib/FFI/../../xs/DL.xs:40:11: warning: implicit declaration of function 'dlopen' is invalid in C99 [-Wimplicit-function-declaration]
    ptr = dlopen(filename, flags);
          ^
lib/FFI/../../xs/DL.xs:40:9: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
    ptr = dlopen(filename, flags);
        ^ ~~~~~~~~~~~~~~~~~~~~~~~
lib/FFI/Platypus.c:2517:11: warning: implicit declaration of function 'dlerror' is invalid in C99 [-Wimplicit-function-declaration]
        RETVAL = dlerror();
                 ^
lib/FFI/Platypus.c:2517:9: warning: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion]
        RETVAL = dlerror();
               ^ ~~~~~~~~~
lib/FFI/../../xs/DL.xs:62:11: warning: implicit declaration of function 'dlsym' is invalid in C99 [-Wimplicit-function-declaration]
    ptr = dlsym(handle, symbol);
          ^
lib/FFI/../../xs/DL.xs:62:9: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
    ptr = dlsym(handle, symbol);
        ^ ~~~~~~~~~~~~~~~~~~~~~
lib/FFI/../../xs/DL.xs:79:16: warning: implicit declaration of function 'dlclose' is invalid in C99 [-Wimplicit-function-declaration]
      RETVAL = dlclose(handle);
               ^
7 warnings and 7 errors generated.
gmake[1]: *** [Makefile:456: lib/FFI/Platypus.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/p5-FFI-Platypus/work/FFI-Platypus-0.96'
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/p5-FFI-Platypus



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