MidnightBSD Magus

devel/jna

Java access to native shared libraries

Flavor Version Run OSVersion Arch License Restricted Status
5.5.0 432 2.0 i386 apache2 lgpl2.1 0 fail

Events

Machine Type Time Message
m2032 info 2020-11-26 20:59:39.47254 Test Started
m2032 fail 2020-11-26 21:00:02.581009 make build returned non-zero: 1
m2032 fail 2020-11-26 21:00:02.62891 Test complete.

Log

===>  Building for jna-5.5.0
Buildfile: /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build.xml

-enable-native:

-prepare-anttools:
    [mkdir] Created dir: /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/ant-tools
    [javac] Compiling 3 source files to /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/ant-tools
    [javac] Note: /magus/work/usr/mports/devel/jna/work/jna-5.5.0/src/com/sun/jna/ELFAnalyser.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

-dynamic-properties:
    [mkdir] Created dir: /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86
    [mkdir] Created dir: /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/headers
    [mkdir] Created dir: /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/classes
    [mkdir] Created dir: /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/test-classes
    [mkdir] Created dir: /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/reports
    [mkdir] Created dir: /magus/work/usr/mports/devel/jna/work/jna-5.5.0/doc
    [mkdir] Created dir: /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/aar
     [echo] Java version 1.8.0_181, compatibility: 1.6, ant: 1.8
     [echo] JNA version 5.5.0, native 6.1.0, android 5050099
     [echo] OpenJDK Server VM (Oracle Corporation, 25.181-b13)
     [echo] java.home=/usr/local/openjdk8/jre
     [echo] java.library.path=/usr/local/lib
     [echo] os.prefix=midnightbsd-x86
     [echo] os.name=MidnightBSD
     [echo] os.arch=i386 (little)
     [echo] build=build
     [echo] build.native=/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86
     [echo] build.headers=/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/headers
     [echo] build.aar=/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/aar

-setup:

compile:
    [javac] Compiling 63 source files to /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning

javah:
[propertyfile] Creating new property file: /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/headers/jni.properties

-native-api-check:

:rsrc:

rsrc:

-prepare-native:

native:
     [exec] gmake[1]: Entering directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native'
     [exec] Generating configure
     [exec] autoreconf-2.69: Entering directory `.'
     [exec] autoreconf-2.69: configure.ac: not using Gettext
     [exec] autoreconf-2.69: running: aclocal --force -I m4
     [exec] autoreconf-2.69: configure.ac: tracing
     [exec] autoreconf-2.69: running: libtoolize --copy --force
     [exec] libtoolize: putting auxiliary files in '.'.
     [exec] libtoolize: copying file './ltmain.sh'
     [exec] libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
     [exec] libtoolize: copying file 'm4/libtool.m4'
     [exec] libtoolize: copying file 'm4/ltoptions.m4'
     [exec] libtoolize: copying file 'm4/ltsugar.m4'
     [exec] libtoolize: copying file 'm4/ltversion.m4'
     [exec] libtoolize: copying file 'm4/lt~obsolete.m4'
     [exec] autoreconf-2.69: running: /usr/local/bin/autoconf-2.69 --force
     [exec] autoreconf-2.69: running: /usr/local/bin/autoheader-2.69 --force
     [exec] autoreconf-2.69: running: automake --add-missing --copy --force-missing
     [exec] configure.ac:31: installing './compile'
     [exec] configure.ac:8: installing './config.guess'
     [exec] configure.ac:8: installing './config.sub'
     [exec] configure.ac:19: installing './install-sh'
     [exec] configure.ac:19: installing './missing'
     [exec] Makefile.am: installing './depcomp'
     [exec] Makefile.am:56: installing './mdate-sh'
     [exec] Configuring libffi (i386)autoreconf-2.69: Leaving directory `.'
     [exec] checking build system type... i386-unknown-midnightbsd2.0
     [exec] 
     [exec] checking host system type... i386-unknown-midnightbsd2.0
     [exec] checking target system type... i386-unknown-midnightbsd2.0
     [exec] checking for gsed... sed
     [exec] checking for a BSD-compatible install... /usr/bin/install -c
     [exec] checking whether build environment is sane... yes
     [exec] checking for a thread-safe mkdir -p... /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/install-sh -c -d
     [exec] checking for gawk... no
     [exec] checking for mawk... no
     [exec] checking for nawk... nawk
     [exec] checking whether make sets $(MAKE)... yes
     [exec] checking whether make supports nested variables... yes
     [exec] checking for gcc... cc
     [exec] checking whether the C compiler works... yes
     [exec] checking for C compiler default output file name... a.out
     [exec] checking for suffix of executables... 
     [exec] checking whether we are cross compiling... no
     [exec] checking for suffix of object files... o
     [exec] checking whether we are using the GNU C compiler... yes
     [exec] checking whether cc accepts -g... yes
     [exec] checking for cc option to accept ISO C89... none needed
     [exec] checking whether cc understands -c and -o together... yes
     [exec] checking whether make supports the include directive... yes (GNU style)
     [exec] checking dependency style of cc... gcc3
     [exec] checking whether we are using the GNU C++ compiler... yes
     [exec] checking whether c++ accepts -g... yes
     [exec] checking dependency style of c++... gcc3
     [exec] checking dependency style of cc... gcc3
     [exec] checking how to print strings... printf
     [exec] checking for a sed that does not truncate output... /usr/bin/sed
     [exec] checking for grep that handles long lines and -e... /usr/bin/grep
     [exec] checking for egrep... /usr/bin/grep -E
     [exec] checking for fgrep... /usr/bin/grep -F
     [exec] checking for ld used by cc... /usr/bin/ld
     [exec] checking if the linker (/usr/bin/ld) is GNU ld... yes
     [exec] checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
     [exec] checking the name lister (/usr/bin/nm) interface... BSD nm
     [exec] checking whether ln -s works... yes
     [exec] checking the maximum length of command line arguments... 196608
     [exec] checking how to convert i386-unknown-midnightbsd2.0 file names to i386-unknown-midnightbsd2.0 format... func_convert_file_noop
     [exec] checking how to convert i386-unknown-midnightbsd2.0 file names to toolchain format... func_convert_file_noop
     [exec] checking for /usr/bin/ld option to reload object files... -r
     [exec] checking for objdump... objdump
     [exec] checking how to recognize dependent libraries... pass_all
     [exec] checking for dlltool... no
     [exec] checking how to associate runtime and link libraries... printf %s\n
     [exec] checking for ar... ar
     [exec] checking for archiver @FILE support... no
     [exec] checking for strip... strip
     [exec] checking for ranlib... ranlib
     [exec] checking command to parse /usr/bin/nm output from cc object... ok
     [exec] checking for sysroot... no
     [exec] checking for a working dd... /bin/dd
     [exec] checking how to truncate binary pipes... /bin/dd bs=4096 count=1
     [exec] checking for mt... mt
     [exec] checking if mt is a manifest tool... no
     [exec] checking how to run the C preprocessor... cpp
     [exec] checking for ANSI C header files... yes
     [exec] checking for sys/types.h... yes
     [exec] checking for sys/stat.h... yes
     [exec] checking for stdlib.h... yes
     [exec] checking for string.h... yes
     [exec] checking for memory.h... yes
     [exec] checking for strings.h... yes
     [exec] checking for inttypes.h... yes
     [exec] checking for stdint.h... yes
     [exec] checking for unistd.h... yes
     [exec] checking for dlfcn.h... yes
     [exec] checking for objdir... .libs
     [exec] checking if cc supports -fno-rtti -fno-exceptions... yes
     [exec] checking for cc option to produce PIC... -fPIC -DPIC
     [exec] checking if cc PIC flag -fPIC -DPIC works... yes
     [exec] checking if cc static flag -static works... yes
     [exec] checking if cc supports -c -o file.o... yes
     [exec] checking if cc supports -c -o file.o... (cached) yes
     [exec] checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
     [exec] checking dynamic linker characteristics... midnightbsd2.0 ld.so
     [exec] checking how to hardcode library paths into programs... immediate
     [exec] checking whether stripping libraries is possible... no
     [exec] checking if libtool supports shared libraries... yes
     [exec] checking whether to build shared libraries... no
     [exec] checking whether to build static libraries... yes
     [exec] checking how to run the C++ preprocessor... c++ -E
     [exec] checking for ld used by c++... /usr/bin/ld
     [exec] checking if the linker (/usr/bin/ld) is GNU ld... yes
     [exec] checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
     [exec] checking for c++ option to produce PIC... -fPIC -DPIC
     [exec] checking if c++ PIC flag -fPIC -DPIC works... yes
     [exec] checking if c++ static flag -static works... yes
     [exec] checking if c++ supports -c -o file.o... yes
     [exec] checking if c++ supports -c -o file.o... (cached) yes
     [exec] checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
     [exec] checking dynamic linker characteristics... midnightbsd2.0 ld.so
     [exec] checking how to hardcode library paths into programs... immediate
     [exec] checking size of size_t... 4
     [exec] checking for C compiler vendor... clang
     [exec] checking CFLAGS for maximum warnings... -Wall
     [exec] checking whether to enable maintainer-specific portions of Makefiles... no
     [exec] checking sys/mman.h usability... yes
     [exec] checking sys/mman.h presence... yes
     [exec] checking for sys/mman.h... yes
     [exec] checking for mmap... yes
     [exec] checking for mkostemp... yes
     [exec] checking for sys/mman.h... (cached) yes
     [exec] checking for mmap... (cached) yes
     [exec] checking whether read-only mmap of a plain file works... yes
     [exec] checking whether mmap from /dev/zero works... yes
     [exec] checking for MAP_ANON(YMOUS)... yes
     [exec] checking whether mmap with MAP_ANON(YMOUS) works... yes
     [exec] checking for ANSI C header files... (cached) yes
     [exec] checking for memcpy... yes
     [exec] checking for size_t... yes
     [exec] checking for working alloca.h... no
     [exec] checking for alloca... yes
     [exec] checking size of double... 8
     [exec] checking size of long double... 12cc: error: unsupported option '-print-multi-os-directory'
     [exec] checking whether byte ordering is bigendian... no
     [exec] cc: error: no input files
     [exec] 
     [exec] checking assembler .cfi pseudo-op support... yes
     [exec] checking for _ prefix in compiled symbols... no
     [exec] checking whether .eh_frame section should be read-only... yes
     [exec] checking for __attribute__((visibility("hidden")))... yes
     [exec] checking that generated files are newer than configure... done
     [exec] configure: creating ./config.status
     [exec] config.status: creating include/Makefile
     [exec] config.status: creating include/ffi.h
     [exec] config.status: creating Makefile
     [exec] config.status: creating testsuite/Makefile
     [exec] config.status: creating man/Makefile
     [exec] config.status: creating libffi.pc
     [exec] config.status: creating fficonfig.h
     [exec] config.status: linking /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/x86/ffitarget.h to include/ffitarget.h
     [exec] config.status: executing buildir commands
     [exec] config.status: skipping top_srcdir/Makefile - not created
     [exec] config.status: executing depfiles commands
     [exec] config.status: executing libtool commands
     [exec] config.status: executing include commands
     [exec] config.status: executing src commands
     [exec] gmake -C /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi
     [exec] gmake[2]: Entering directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi'
     [exec] gmake 'AR_FLAGS=' 'CC_FOR_BUILD=' 'CFLAGS=-O2 -fno-omit-frame-pointer -fno-strict-aliasing  -Wall -fexceptions' 'CXXFLAGS=-O2 -pipe -fno-strict-aliasing' 'CFLAGS_FOR_BUILD=' 'CFLAGS_FOR_TARGET=' 'INSTALL=/usr/bin/install -c' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_PROGRAM=/usr/bin/install -c' 'INSTALL_SCRIPT=/usr/bin/install -c' 'JC1FLAGS=' 'LDFLAGS=' 'LIBCFLAGS=' 'LIBCFLAGS_FOR_TARGET=' 'MAKE=gmake' 'MAKEINFO=/bin/sh /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/missing makeinfo ' 'PICFLAG=' 'PICFLAG_FOR_TARGET=' 'RUNTESTFLAGS=' 'SHELL=/bin/sh' 'exec_prefix=/usr/local' 'infodir=/usr/local/share/info' 'libdir=/usr/local/lib' 'mandir=/usr/local/share/man' 'prefix=/usr/local' 'AR=ar' 'AS=as' 'CC=cc' 'CXX=c++' 'LD=/usr/bin/ld' 'NM=/usr/bin/nm' 'RANLIB=ranlib' 'DESTDIR=' all-recursive
     [exec] gmake[3]: Entering directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi'
     [exec] Making all in include
     [exec] gmake[4]: Entering directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi/include'
     [exec] gmake[4]: Nothing to be done for 'all'.
     [exec] gmake[4]: Leaving directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi/include'
     [exec] Making all in testsuite
     [exec] gmake[4]: Entering directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi/testsuite'
     [exec] gmake[4]: Nothing to be done for 'all'.
     [exec] gmake[4]: Leaving directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi/testsuite'
     [exec] Making all in man
     [exec] gmake[4]: Entering directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi/man'
     [exec] gmake[4]: Nothing to be done for 'all'.
     [exec] gmake[4]: Leaving directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi/man'
     [exec] gmake[4]: Entering directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi'
     [exec] depbase=`echo src/prep_cif.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
     [exec] /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi  -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING  -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -Wall -fexceptions -MT src/prep_cif.lo -MD -MP -MF $depbase.Tpo -c -o src/prep_cif.lo /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/prep_cif.c &&\
     [exec] mv -f $depbase.Tpo $depbase.Plo
     [exec] libtool: compile:  cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING -O2 -fno-omit-frame-pointer -fno-strict-aliasing -Wall -fexceptions -MT src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo -c /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/prep_cif.c  -fPIC -DPIC -o src/prep_cif.o
     [exec] depbase=`echo src/types.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
     [exec] /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi  -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING  -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -Wall -fexceptions -MT src/types.lo -MD -MP -MF $depbase.Tpo -c -o src/types.lo /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/types.c &&\
     [exec] mv -f $depbase.Tpo $depbase.Plo
     [exec] libtool: compile:  cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING -O2 -fno-omit-frame-pointer -fno-strict-aliasing -Wall -fexceptions -MT src/types.lo -MD -MP -MF src/.deps/types.Tpo -c /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/types.c  -fPIC -DPIC -o src/types.o
     [exec] depbase=`echo src/raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
     [exec] /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi  -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING  -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -Wall -fexceptions -MT src/raw_api.lo -MD -MP -MF $depbase.Tpo -c -o src/raw_api.lo /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/raw_api.c &&\
     [exec] mv -f $depbase.Tpo $depbase.Plo
     [exec] libtool: compile:  cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING -O2 -fno-omit-frame-pointer -fno-strict-aliasing -Wall -fexceptions -MT src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo -c /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/raw_api.c  -fPIC -DPIC -o src/raw_api.o
     [exec] depbase=`echo src/java_raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
     [exec] /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi  -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING  -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -Wall -fexceptions -MT src/java_raw_api.lo -MD -MP -MF $depbase.Tpo -c -o src/java_raw_api.lo /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/java_raw_api.c &&\
     [exec] mv -f $depbase.Tpo $depbase.Plo
     [exec] libtool: compile:  cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING -O2 -fno-omit-frame-pointer -fno-strict-aliasing -Wall -fexceptions -MT src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw_api.Tpo -c /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/java_raw_api.c  -fPIC -DPIC -o src/java_raw_api.o
     [exec] depbase=`echo src/closures.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
     [exec] /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi  -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING  -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -Wall -fexceptions -MT src/closures.lo -MD -MP -MF $depbase.Tpo -c -o src/closures.lo /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/closures.c &&\
     [exec] mv -f $depbase.Tpo $depbase.Plo
     [exec] libtool: compile:  cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING -O2 -fno-omit-frame-pointer -fno-strict-aliasing -Wall -fexceptions -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/closures.c  -fPIC -DPIC -o src/closures.o
     [exec] depbase=`echo src/x86/ffi.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
     [exec] /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/x86/ffi.c:398:21: warning: incompatible pointer types passing 'unsigned int (char *, extended_cif *)' to parameter of type 'void (*)(char *, extended_cif *)' [-Wincompatible-pointer-types]
     [exec]       ffi_call_SYSV(ffi_prep_args, &ecif, cif->bytes, cif->flags, ecif.rvalue,
     [exec]                     ^~~~~~~~~~~~~
     [exec] /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/x86/ffi.c:352:34: note: passing argument to parameter here
     [exec] extern void ffi_call_SYSV(void (*)(char *, extended_cif *), extended_cif *,
     [exec]                                  ^
     [exec] /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi  -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING  -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -Wall -fexceptions -MT src/x86/ffi.lo -MD -MP -MF $depbase.Tpo -c -o src/x86/ffi.lo /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/x86/ffi.c &&\
     [exec] mv -f $depbase.Tpo $depbase.Plo
     [exec] /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/x86/ffi.c:919:21: warning: incompatible pointer types passing 'unsigned int (char *, extended_cif *)' to parameter of type 'void (*)(char *, extended_cif *)' [-Wincompatible-pointer-types]
     [exec]       ffi_call_SYSV(ffi_prep_args_raw, &ecif, cif->bytes, cif->flags,
     [exec]                     ^~~~~~~~~~~~~~~~~
     [exec] /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/x86/ffi.c:352:34: note: passing argument to parameter here
     [exec] libtool: compile:  cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING -O2 -fno-omit-frame-pointer -fno-strict-aliasing -Wall -fexceptions -MT src/x86/ffi.lo -MD -MP -MF src/x86/.deps/ffi.Tpo -c /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/x86/ffi.c  -fPIC -DPIC -o src/x86/ffi.oextern void ffi_call_SYSV(void (*)(char *, extended_cif *), extended_cif *,
     [exec] 
     [exec]                                  ^
     [exec] 2 warnings generated.
     [exec] depbase=`echo src/x86/freebsd.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
     [exec] /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi  -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -MT src/x86/freebsd.lo -MD -MP -MF $depbase.Tpo -c -o src/x86/freebsd.lo /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/x86/freebsd.S &&\
     [exec] mv -f $depbase.Tpo $depbase.Plo
     [exec] libtool: compile:  cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -O2 -fno-omit-frame-pointer -fno-strict-aliasing -MT src/x86/freebsd.lo -MD -MP -MF src/x86/.deps/freebsd.Tpo -c /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/x86/freebsd.S  -fPIC -DPIC -o src/x86/freebsd.o
     [exec] depbase=`echo src/x86/win32.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
     [exec] /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi  -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -MT src/x86/win32.lo -MD -MP -MF $depbase.Tpo -c -o src/x86/win32.lo /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/x86/win32.S &&\
     [exec] mv -f $depbase.Tpo $depbase.Plo
     [exec] libtool: compile:  cc -DHAVE_CONFIG_H -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING -I. -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/include -Iinclude -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src -O2 -fno-omit-frame-pointer -fno-strict-aliasing -MT src/x86/win32.lo -MD -MP -MF src/x86/.deps/win32.Tpo -c /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/src/x86/win32.S  -fPIC -DPIC -o src/x86/win32.o
     [exec] /bin/sh ./libtool  --tag=CC   --mode=link cc  -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -Wall -fexceptions   -o libffi_convenience.la  src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo     src/x86/ffi.lo src/x86/freebsd.lo src/x86/win32.lo                                     
     [exec] libtool: link: ar cru .libs/libffi_convenience.a  src/prep_cif.o src/types.o src/raw_api.o src/java_raw_api.o src/closures.o src/x86/ffi.o src/x86/freebsd.o src/x86/win32.o
     [exec] libtool: link: ranlib .libs/libffi_convenience.a
     [exec] libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" )
     [exec] /bin/sh ./libtool  --tag=CC   --mode=link cc  -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -Wall -fexceptions -no-undefined -version-info `grep -v '^#' /magus/work/usr/mports/devel/jna/work/jna-5.5.0/native/libffi/libtool-version`    -o libffi.la -rpath /usr/local/lib src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo     src/x86/ffi.lo src/x86/freebsd.lo src/x86/win32.lo                                     
     [exec] libtool: link: ar cru .libs/libffi.a  src/prep_cif.o src/types.o src/raw_api.o src/java_raw_api.o src/closures.o src/x86/ffi.o src/x86/freebsd.o src/x86/win32.o
     [exec] libtool: link: ranlib .libs/libffi.a
     [exec] libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la" "libffi.la" )
     [exec] gmake[4]: Leaving directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi'
     [exec] gmake[3]: Leaving directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi'
     [exec] gmake[2]: Leaving directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi'
     [exec] cc -W -Wall -Wno-unused -Wno-parentheses -fPIC  -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -D_REENTRANT -DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING -I"/usr/local/openjdk8/jre/../include" -I"/usr/local/openjdk8/jre/../include/midnightbsd" -I"/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/headers" -I/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/libffi/include -I/usr/local/include -DJNA_JNI_VERSION='"6.1.0"' -DCHECKSUM='"147a998f0cbc89681a1ae6c0dd121629"' -Wno-unused-variable -c dispatch.c -o /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/dispatch.o
     [exec] gmake[1]: Leaving directory '/magus/work/usr/mports/devel/jna/work/jna-5.5.0/native'
     [exec] In file included from dispatch.c:30:
     [exec] In file included from ./dispatch.h:30:
     [exec] In file included from /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/headers/com_sun_jna_Function.h:2:
     [exec] /usr/local/openjdk8/jre/../include/jni.h:45:10: fatal error: 'jni_md.h' file not found
     [exec] #include "jni_md.h"
     [exec]          ^~~~~~~~~~
     [exec] 1 error generated.
     [exec] gmake[1]: *** [Makefile:436: /magus/work/usr/mports/devel/jna/work/jna-5.5.0/build/native-midnightbsd-x86/dispatch.o] Error 1

BUILD FAILED
/magus/work/usr/mports/devel/jna/work/jna-5.5.0/build.xml:1007: exec returned: 2

Total time: 8 seconds
*** Error code 1

Stop.
make: stopped in /usr/mports/devel/jna