[package - head-amd64-default][java/aparapi] Failed for aparapi-1.0.0 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Fri Feb 9 07:07:23 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: dieterich at ogolem.org
Last committer: kwm at FreeBSD.org
Ident: $FreeBSD: head/java/aparapi/Makefile 422757 2016-09-25 21:40:54Z kwm $
Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p461193_s329007/logs/aparapi-1.0.0.log
Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p461193_s329007
Log:
=>> Building java/aparapi
build started at Fri Feb 9 07:06:35 UTC 2018
port directory: /usr/ports/java/aparapi
package name: aparapi-1.0.0
building for: FreeBSD head-amd64-default-job-21 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64
maintained by: dieterich at ogolem.org
Makefile ident: $FreeBSD: head/java/aparapi/Makefile 422757 2016-09-25 21:40:54Z kwm $
Poudriere version: 3.2.4-48-gf881e389
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 21
!!! 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---
---End OPTIONS List---
--MAINTAINER--
dieterich at ogolem.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/java/aparapi/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/java/aparapi/work HOME=/wrkdirs/usr/ports/java/aparapi/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/java/aparapi/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--
JAVA_HOME=/usr/local/openjdk8 XDG_DATA_HOME=/wrkdirs/usr/ports/java/aparapi/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/java/aparapi/work HOME=/wrkdirs/usr/ports/java/aparapi/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/java/aparapi/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--
PORTDOCS="" PORTEXAMPLES="" JAVASHAREDIR="share/java" JAVAJARDIR="share/java/classes" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/aparapi" EXAMPLESDIR="share/examples/aparapi" DATADIR="share/aparapi" WWWDIR="www/aparapi" ETCDIR="etc/aparapi"
--End PLIST_SUB--
--SUB_LIST--
JAVASHAREDIR="/usr/local/share/java" JAVAJARDIR="/usr/local/share/java/classes" JAVALIBDIR="/usr/local/share/java/classes" JAVA_VERSION="1.7+" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/aparapi DOCSDIR=/usr/local/share/doc/aparapi EXAMPLESDIR=/usr/local/share/examples/aparapi WWWDIR=/usr/local/www/aparapi ETCDIR=/usr/local/etc/aparapi
--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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> aparapi-1.0.0 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.4.txz
[head-amd64-default-job-21] Installing pkg-1.10.4...
[head-amd64-default-job-21] Extracting pkg-1.10.4: .......... done
===> aparapi-1.0.0 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of aparapi-1.0.0
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by aparapi-1.0.0 for building
===========================================================================
=======================<phase: checksum >============================
===> License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by aparapi-1.0.0 for building
=> SHA256 Checksum OK for aparapi-aparapi-1.0.0-SNAPSHOT_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by aparapi-1.0.0 for building
===> Extracting for aparapi-1.0.0
=> SHA256 Checksum OK for aparapi-aparapi-1.0.0-SNAPSHOT_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for aparapi-1.0.0
===> Converting DOS text files to UNIX text files
===> Applying FreeBSD patches for aparapi-1.0.0
===========================================================================
=======================<phase: build-depends >============================
===> aparapi-1.0.0 depends on package: opencl>=0 - not found
===> Installing existing package /packages/All/opencl-2.1.txz
[head-amd64-default-job-21] Installing opencl-2.1...
[head-amd64-default-job-21] Extracting opencl-2.1: .......... done
Message from opencl-2.1:
OpenCL is the first open, royalty-free standard for cross-platform,
parallel programming of modern processors.
===> aparapi-1.0.0 depends on package: opencl>=0 - found
===> Returning to build of aparapi-1.0.0
===> aparapi-1.0.0 depends on file: /usr/local/openjdk8/bin/java - not found
===> Installing existing package /packages/All/openjdk8-8.162.12.txz
[head-amd64-default-job-21] Installing openjdk8-8.162.12...
[head-amd64-default-job-21] `-- Installing alsa-lib-1.1.2...
[head-amd64-default-job-21] `-- Extracting alsa-lib-1.1.2: .......... done
[head-amd64-default-job-21] `-- Installing dejavu-2.37...
[head-amd64-default-job-21] | `-- Installing fontconfig-2.12.1,1...
[head-amd64-default-job-21] | | `-- Installing expat-2.2.5...
[head-amd64-default-job-21] | | `-- Extracting expat-2.2.5: .......... done
[head-amd64-default-job-21] | | `-- Installing freetype2-2.8_1...
[head-amd64-default-job-21] | | `-- Extracting freetype2-2.8_1: .......... done
[head-amd64-default-job-21] | `-- Extracting fontconfig-2.12.1,1: .......... done
Running fc-cache to build fontconfig cache...
/usr/local/share/fonts: skipping, no such directory
/usr/local/lib/X11/fonts: skipping, no such directory
/var/db/fontconfig: cleaning cache directory
fc-cache: succeeded
[head-amd64-default-job-21] | `-- Installing mkfontdir-1.0.7...
[head-amd64-default-job-21] | | `-- Installing mkfontscale-1.1.2...
<snip>
[javac] case inArray:
[javac] ^
[javac] /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/src/java/com/amd/aparapi/internal/model/ClassModel.java:1029: warning: [fallthrough] possible fall-through into case
[javac] case inArray:
[javac] ^
[javac] /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/src/java/com/amd/aparapi/internal/instruction/InstructionSet.java:1290: warning: [rawtypes] found raw type: LocalVariableTableEntry
[javac] final LocalVariableTableEntry localVariableTableEntry = method.getLocalVariableTableEntry();
[javac] ^
[javac] missing type arguments for generic class LocalVariableTableEntry<T>
[javac] where T is a type-variable:
[javac] T extends LocalVariableInfo declared in interface LocalVariableTableEntry
[javac] /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/src/java/com/amd/aparapi/internal/instruction/InstructionSet.java:3725: warning: [rawtypes] found raw type: Constant
[javac] @SuppressWarnings("unchecked") public interface ConstantPoolEntryConstant extends Constant{
[javac] ^
[javac] missing type arguments for generic class Constant<T>
[javac] where T is a type-variable:
[javac] T extends Object declared in interface Constant
[javac] /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/src/java/com/amd/aparapi/internal/model/MethodModel.java:1445: warning: [overrides] Class FakeLocalVariableTableEntry.Var overrides equals, but neither it nor any superclass overrides hashCode method
[javac] class Var implements LocalVariableInfo{
[javac] ^
[javac] /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/src/java/com/amd/aparapi/internal/model/MethodModel.java:1630: warning: [unchecked] unchecked conversion
[javac] LocalVariableTableEntry<LocalVariableInfo> localVariableTableEntry = method.getLocalVariableTableEntry();
[javac] ^
[javac] required: LocalVariableTableEntry<LocalVariableInfo>
[javac] found: LocalVariableTableEntry
[javac] /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/src/java/com/amd/aparapi/internal/model/MethodModel.java:1681: warning: [unchecked] unchecked conversion
[javac] return (method.getLocalVariableTableEntry());
[javac] ^
[javac] required: LocalVariableTableEntry<LocalVariableInfo>
[javac] found: LocalVariableTableEntry
[javac] /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/src/java/com/amd/aparapi/internal/model/MethodModel.java:1681: warning: [unchecked] unchecked conversion
[javac] return (method.getLocalVariableTableEntry());
[javac] ^
[javac] required: LocalVariableTableEntry<LocalVariableInfo>
[javac] found: LocalVariableTableEntry
[javac] /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/src/java/com/amd/aparapi/internal/instruction/ExpressionList.java:785: warning: [unchecked] unchecked conversion
[javac] .getLocalVariableTableEntry();
[javac] ^
[javac] required: LocalVariableTableEntry<LocalVariableInfo>
[javac] found: LocalVariableTableEntry
[javac] /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/src/java/com/amd/aparapi/device/OpenCLDevice.java:399: warning: [rawtypes] found raw type: Class
[javac] final T instance = (T) Proxy.newProxyInstance(OpenCLDevice.class.getClassLoader(), new Class[] {
[javac] ^
[javac] missing type arguments for generic class Class<T>
[javac] where T is a type-variable:
[javac] T extends Object declared in class Class
[javac] /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/src/java/com/amd/aparapi/device/OpenCLDevice.java:399: warning: [unchecked] unchecked cast
[javac] final T instance = (T) Proxy.newProxyInstance(OpenCLDevice.class.getClassLoader(), new Class[] {
[javac] ^
[javac] required: T
[javac] found: Object
[javac] where T is a type-variable:
[javac] T extends OpenCL<T> declared in method <T>bind(Class<T>,String)
[javac] /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/src/java/com/amd/aparapi/internal/writer/BlockWriter.java:267: warning: [cast] redundant cast to CompositeInstruction
[javac] writeConditional(((CompositeInstruction) instruction).getBranchSet(), true);
[javac] ^
[javac] 18 warnings
[javac] Creating empty /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/classes/com/amd/aparapi/internal/tool/package-info.class
[javac] Creating empty /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/classes/com/amd/aparapi/exception/package-info.class
[javac] Creating empty /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/classes/com/amd/aparapi/package-info.class
[javac] Creating empty /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/classes/com/amd/aparapi/device/package-info.class
[javac] Creating empty /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/classes/com/amd/aparapi/annotation/package-info.class
[javac] Creating empty /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/classes/com/amd/aparapi/opencl/package-info.class
[jar] Building jar: /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi/dist/aparapi.jar
[echo] OS Name: FreeBSD
[echo] OS Version: 12.0-CURRENT
[echo] OS Arch: amd64
[echo] Java Ver: 1.8.0_162
[echo]
[echo] Note: Since AMD APP SDK 2.9 you can have multiple versions installed/co-exist on same machine,
[echo] so AMD introduced a completely new naming convention for their installation directories
[echo] For example C:/Program Files/AMD APP SDK/2.9-1
[echo]
init:
[echo] amd.app.sdk.dir /usr/local
[echo] msvc.dir ${msvc.dir}
[echo] msvc.sdk.dir ${msvc.sdk.dir}
check:
clean:
javah:
[mkdir] Created dir: /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi.jni/include
msvc:
gcc:
gcc_mac:
clang_freebsd:
[mkdir] Created dir: /wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi.jni/dist
[echo] freebsdcc amd64
[exec] src/cpp/runKernel/Aparapi.cpp:1193:37: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
[exec] jniContext->commandQueue = clCreateCommandQueue(jniContext->context, (cl_device_id)jniContext->deviceId,
[exec] ^
[exec] /usr/local/include/CL/cl.h:1430:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
[exec] cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
[exec] ^
[exec] /usr/local/include/CL/cl_platform.h:117:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
[exec] #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
[exec] ^
[exec] 1 warning generated.
[exec] In file included from src/cpp/runKernel/AparapiBuffer.cpp:39:
[exec] In file included from src/cpp/runKernel/AparapiBuffer.h:42:
[exec] In file included from src/cpp/runKernel/ProfileInfo.h:41:
[exec] src/cpp/JNIHelper.h:237:20: error: cast from pointer to smaller type 'int' loses information
[exec] return (jT)NULL;
[exec] ^~~~~~~~
[exec] src/cpp/runKernel/AparapiBuffer.cpp:76:29: note: in instantiation of function template specialization 'JNIHelper::getInstanceField<int>' requested here
[exec] int numDims = JNIHelper::getInstanceField<jint>(env, arg, "numDims", IntArg);
[exec] ^
[exec] 1 error generated.
[exec] src/cpp/invoke/OpenCLJNI.cpp:112:18: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
[exec] queue = clCreateCommandQueue(context, deviceId, queue_props, &status);
[exec] ^
[exec] /usr/local/include/CL/cl.h:1430:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
[exec] cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
[exec] ^
[exec] /usr/local/include/CL/cl_platform.h:117:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
[exec] #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
[exec] ^
[exec] src/cpp/invoke/OpenCLJNI.cpp:414:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
[exec] profile(profileInfoArr[i], &events[i], type, "unknown", 0L);
[exec] ^
[exec] In file included from src/cpp/invoke/OpenCLJNI.cpp:42:
[exec] In file included from src/cpp/invoke/OpenCLJNI.h:45:
[exec] src/cpp/JNIHelper.h:237:20: error: cast from pointer to smaller type 'int' loses information
[exec] return (jT)NULL;
[exec] ^~~~~~~~
[exec] src/cpp/JNIHelper.h:217:18: note: in instantiation of function template specialization 'JNIHelper::getInstanceField<int>' requested here
[exec] return getInstanceField<jT>(jenv, instance, fieldName, getSignature((jT)0));
[exec] ^
[exec] src/cpp/invoke/OpenCLMem.h:39:36: note: in instantiation of function template specialization 'JNIHelper::getInstanceField<int>' requested here
[exec] return((size_t)JNIHelper::getInstanceField<jint>(jenv, memInstance, "sizeInBytes"));
[exec] ^
[exec] In file included from src/cpp/invoke/OpenCLJNI.cpp:42:
[exec] In file included from src/cpp/invoke/OpenCLJNI.h:45:
[exec] src/cpp/JNIHelper.h:237:20: error: C-style cast from 'nullptr_t' to 'float' is not allowed
[exec] return (jT)NULL;
[exec] ^~~~~~~~
[exec] src/cpp/JNIHelper.h:217:18: note: in instantiation of function template specialization 'JNIHelper::getInstanceField<float>' requested here
[exec] return getInstanceField<jT>(jenv, instance, fieldName, getSignature((jT)0));
[exec] ^
[exec] src/cpp/invoke/OpenCLJNI.cpp:149:28: note: in instantiation of function template specialization 'JNIHelper::getInstanceField<float>' requested here
[exec] cl_T value = JNIHelper::getInstanceField<jT>(jenv, arg, "value");
[exec] ^
[exec] src/cpp/invoke/OpenCLJNI.cpp:214:10: note: in instantiation of function template specialization 'putPrimative<float, float>' requested here
[exec] putPrimative<jfloat, cl_float>(jenv, kernel, arg, argIndex);
[exec] ^
[exec] In file included from src/cpp/invoke/OpenCLJNI.cpp:42:
[exec] In file included from src/cpp/invoke/OpenCLJNI.h:45:
[exec] src/cpp/JNIHelper.h:237:20: error: C-style cast from 'nullptr_t' to 'double' is not allowed
[exec] return (jT)NULL;
[exec] ^~~~~~~~
[exec] src/cpp/JNIHelper.h:217:18: note: in instantiation of function template specialization 'JNIHelper::getInstanceField<double>' requested here
[exec] return getInstanceField<jT>(jenv, instance, fieldName, getSignature((jT)0));
[exec] ^
[exec] src/cpp/invoke/OpenCLJNI.cpp:149:28: note: in instantiation of function template specialization 'JNIHelper::getInstanceField<double>' requested here
[exec] cl_T value = JNIHelper::getInstanceField<jT>(jenv, arg, "value");
[exec] ^
[exec] src/cpp/invoke/OpenCLJNI.cpp:218:10: note: in instantiation of function template specialization 'putPrimative<double, double>' requested here
[exec] putPrimative<jdouble, cl_double>(jenv, kernel, arg, argIndex);
[exec] ^
[exec] 2 warnings and 3 errors generated.
[exec] In file included from src/cpp/invoke/OpenCLMem.cpp:1:
[exec] In file included from src/cpp/invoke/OpenCLMem.h:4:
[exec] src/cpp/JNIHelper.h:237:20: error: cast from pointer to smaller type 'int' loses information
[exec] return (jT)NULL;
[exec] ^~~~~~~~
[exec] src/cpp/JNIHelper.h:217:18: note: in instantiation of function template specialization 'JNIHelper::getInstanceField<int>' requested here
[exec] return getInstanceField<jT>(jenv, instance, fieldName, getSignature((jT)0));
[exec] ^
[exec] src/cpp/invoke/OpenCLMem.h:39:36: note: in instantiation of function template specialization 'JNIHelper::getInstanceField<int>' requested here
[exec] return((size_t)JNIHelper::getInstanceField<jint>(jenv, memInstance, "sizeInBytes"));
[exec] ^
[exec] 1 error generated.
[exec] src/cpp/classtools.cpp:60:4: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
[exec] delete bytes;
[exec] ^
[exec] []
[exec] src/cpp/classtools.cpp:56:23: note: allocated with 'new[]' here
[exec] : len(_len), bytes(new byte_t[len]), ptr(bytes){
[exec] ^
[exec] src/cpp/classtools.cpp:356:28: warning: data argument not used by format string [-Wformat-extra-args]
[exec] fprintf(stdout, " }] ", attributeName->getUTF8Bytes());
[exec] ~~~~~~ ^
[exec] 2 warnings generated.
BUILD FAILED
/wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/build.xml:47: The following error occurred while executing this line:
/wrkdirs/usr/ports/java/aparapi/work/aparapi-1.0.0-SNAPSHOT/com.amd.aparapi.jni/build.xml:518: exec returned: 1
Total time: 32 seconds
*** Error code 1
Stop.
make: stopped in /usr/ports/java/aparapi
More information about the freebsd-pkg-fallout
mailing list