=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for elasticsearch-6.4.0 cd /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna && /usr/bin/env USETOOLS=no CLASSPATH=. JAVA_HOME=/usr/pkg/java/openjdk11 CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include CPPFLAGS=-I/usr/pkg/include CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/tmp/pkgbuild/databases/elasticsearch/work.i386/.cwrapper/bin:/tmp/pkgbuild/databases/elasticsearch/work.i386/.buildlink/bin:/tmp/pkgbuild/databases/elasticsearch/work.i386/.distcc/bin:/tmp/pkgbuild/databases/elasticsearch/work.i386/.gcc/bin:/tmp/pkgbuild/databases/elasticsearch/work.i386/.tools/bin:/usr/pkg/java/openjdk11/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc/elasticsearch HOME=/tmp/pkgbuild/databases/elasticsearch/work.i386/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/databases/elasticsearch/work.i386/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/pkgbuild/databases/elasticsearch/work.i386/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/tmp/pkgbuild/databases/elasticsearch/work.i386/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/pkgbuild/databases/elasticsearch/work.i386/.buildlink/lib/pkgconfig:/tmp/pkgbuild/databases/elasticsearch/work.i386/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgbuild/databases/elasticsearch/work.i386/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/databases/elasticsearch/work.i386/.cwrapper/config ant -Ddynlink.native=true -Dgrep=grep -Dmake.PATH=PATH=/tmp/pkgbuild/databases/elasticsearch/work.i386/.cwrapper/bin:/tmp/pkgbuild/databases/elasticsearch/work.i386/.buildlink/bin:/tmp/pkgbuild/databases/elasticsearch/work.i386/.distcc/bin:/tmp/pkgbuild/databases/elasticsearch/work.i386/.gcc/bin:/tmp/pkgbuild/databases/elasticsearch/work.i386/.tools/bin:/usr/pkg/java/openjdk11/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin -Dmake=make native Buildfile: /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/build.xml -enable-native: -prepare-anttools: [mkdir] Created dir: /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/build/ant-tools [javac] Compiling 3 source files to /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/build/ant-tools [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] 4 warnings -dynamic-properties: [mkdir] Created dir: /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/build/native-netbsd-x86 [mkdir] Created dir: /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/build/classes [mkdir] Created dir: /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/build/test-classes [mkdir] Created dir: /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/build/reports [mkdir] Created dir: /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/doc [mkdir] Created dir: /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/build/aar [echo] Java version 11.0.5-internal, compatibility: 1.6, ant: 11 [echo] JNA version 4.5.1-SNAPSHOT, native 5.2.0, android 4050100 [echo] OpenJDK Server VM (Oracle Corporation, 11.0.5-internal+0-adhoc.pkgsrc.openjdk-jdk11u-jdk-11.0.5-10-1) [echo] java.home=/usr/pkg/java/openjdk11 [echo] java.library.path=/usr/pkg/lib/jni:/usr/pkg/lib:/lib:/usr/lib [echo] os.prefix=netbsd-x86 [echo] os.name=NetBSD [echo] os.arch=i386 (little) [echo] build=build [echo] build.native=/tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/build/native-netbsd-x86 [echo] build.aar=/tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/build/aar -setup: compile: [javac] Compiling 61 source files to /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/src/com/sun/jna/Structure.java:1817: warning: [deprecation] newInstance() in Class has been deprecated [javac] Structure s = (Structure)type.newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/src/com/sun/jna/IntegerType.java:120: warning: [deprecation] newInstance() in Class has been deprecated [javac] IntegerType number = getClass().newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/src/com/sun/jna/Memory.java:180: warning: [deprecation] finalize() in Object has been deprecated [javac] protected void finalize() { [javac] ^ [javac] /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/src/com/sun/jna/CallbackReference.java:379: warning: [deprecation] finalize() in Object has been deprecated [javac] protected void finalize() { [javac] ^ [javac] /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/src/com/sun/jna/CallbackReference.java:485: warning: [deprecation] isAccessible() in AccessibleObject has been deprecated [javac] if (!callbackMethod.isAccessible()) { [javac] ^ [javac] /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/src/com/sun/jna/NativeLibrary.java:621: warning: [deprecation] finalize() in Object has been deprecated [javac] protected void finalize() { [javac] ^ [javac] /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/src/com/sun/jna/Native.java:232: warning: [deprecation] finalize() in Object has been deprecated [javac] protected void finalize() { [javac] ^ [javac] /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/src/com/sun/jna/NativeMappedConverter.java:61: warning: [deprecation] newInstance() in Class has been deprecated [javac] return (NativeMapped)type.newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/src/com/sun/jna/PointerType.java:82: warning: [deprecation] newInstance() in Class has been deprecated [javac] PointerType pt = getClass().newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 13 warnings javah: BUILD FAILED /tmp/pkgbuild/databases/elasticsearch/work.i386/elasticsearch-6.4.0/jna/build.xml:668: javah does not exist under Java 10 and higher, use the javac task with nativeHeaderDir instead Total time: 7 seconds *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/databases/elasticsearch *** Error code 1 Stop. make: stopped in /usr/pkgsrc/databases/elasticsearch