[package - head-arm64-default][security/iaikpkcs11wrapper] Failed for iaikPkcs11Wrapper-1.2.18 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Tue Apr 17 04:40:27 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: ale at FreeBSD.org
Last committer: linimon at FreeBSD.org
Ident: $FreeBSD: head/security/iaikpkcs11wrapper/Makefile 444251 2017-06-25 00:29:09Z linimon $
Log URL: http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p466765_s332262/logs/iaikPkcs11Wrapper-1.2.18.log
Build URL: http://thunderx1.nyi.freebsd.org/build.html?mastername=head-arm64-default&build=p466765_s332262
Log:
=>> Building security/iaikpkcs11wrapper
build started at Tue Apr 17 04:39:39 UTC 2018
port directory: /usr/ports/security/iaikpkcs11wrapper
package name: iaikPkcs11Wrapper-1.2.18
building for: FreeBSD head-arm64-default-job-08 12.0-CURRENT FreeBSD 12.0-CURRENT 1200061 arm64
maintained by: ale at FreeBSD.org
Makefile ident: $FreeBSD: head/security/iaikpkcs11wrapper/Makefile 444251 2017-06-25 00:29:09Z linimon $
Poudriere version: 3.2.6-1-ga0ae87a0
Host OSVERSION: 1200060
Jail OSVERSION: 1200061
Job Id: 08
!!! Jail is newer than host. (Jail: 1200061, Host: 1200060) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200061
UNAME_v=FreeBSD 12.0-CURRENT 1200061
UNAME_r=12.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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.6-1-ga0ae87a0
MASTERMNT=/usr/local/poudriere/data/.m/head-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-arm64-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 iaikPkcs11Wrapper-1.2.18:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
ale at FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/security/iaikpkcs11wrapper/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/iaikpkcs11wrapper/work HOME=/wrkdirs/usr/ports/security/iaikpkcs11wrapper/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/iaikpkcs11wrapper/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/iaikpkcs11wrapper/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/iaikpkcs11wrapper/work HOME=/wrkdirs/usr/ports/security/iaikpkcs11wrapper/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/iaikpkcs11wrapper/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 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -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/iaikPkcs11Wrapper" EXAMPLESDIR="share/examples/iaikPkcs11Wrapper" DATADIR="share/iaikPkcs11Wrapper" WWWDIR="www/iaikPkcs11Wrapper" ETCDIR="etc/iaikPkcs11Wrapper"
--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.6+" JAVA_OS="native" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/iaikPkcs11Wrapper DOCSDIR=/usr/local/share/doc/iaikPkcs11Wrapper EXAMPLESDIR=/usr/local/share/examples/iaikPkcs11Wrapper WWWDIR=/usr/local/www/iaikPkcs11Wrapper ETCDIR=/usr/local/etc/iaikPkcs11Wrapper
--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 ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200061
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---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 1048576
stack size (kbytes, -s) 1048576
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 >============================
===========================================================================
=======================<phase: pkg-depends >============================
===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.5.txz
[head-arm64-default-job-08] Installing pkg-1.10.5...
[head-arm64-default-job-08] Extracting pkg-1.10.5: .......... done
===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of iaikPkcs11Wrapper-1.2.18
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> Fetching all distfiles required by iaikPkcs11Wrapper-1.2.18 for building
===========================================================================
=======================<phase: checksum >============================
===> Fetching all distfiles required by iaikPkcs11Wrapper-1.2.18 for building
=> SHA256 Checksum OK for iaikPkcs11Wrapper_1_2_18.zip.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> Fetching all distfiles required by iaikPkcs11Wrapper-1.2.18 for building
===> Extracting for iaikPkcs11Wrapper-1.2.18
=> SHA256 Checksum OK for iaikPkcs11Wrapper_1_2_18.zip.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for iaikPkcs11Wrapper-1.2.18
===> Converting DOS text files to UNIX text files
===> Applying FreeBSD patches for iaikPkcs11Wrapper-1.2.18
===========================================================================
=======================<phase: build-depends >============================
===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/openjdk8/bin/java - not found
===> Installing existing package /packages/All/openjdk8-8.162.12_2.txz
[head-arm64-default-job-08] Installing openjdk8-8.162.12_2...
[head-arm64-default-job-08] `-- Installing alsa-lib-1.1.2_1...
[head-arm64-default-job-08] `-- Extracting alsa-lib-1.1.2_1: .......... done
[head-arm64-default-job-08] `-- Installing dejavu-2.37...
[head-arm64-default-job-08] | `-- Installing fontconfig-2.12.1_3,1...
[head-arm64-default-job-08] | | `-- Installing expat-2.2.5...
[head-arm64-default-job-08] | | `-- Extracting expat-2.2.5: .......... done
[head-arm64-default-job-08] | | `-- Installing freetype2-2.9_1...
[head-arm64-default-job-08] | | `-- Extracting freetype2-2.9_1: .......... done
[head-arm64-default-job-08] | `-- Extracting fontconfig-2.12.1_3,1: .......... done
<snip>
ckAssertReturnValueOK(env, rv, __FUNCTION__);
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2515:36: warning: passing 'const char [66]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; }
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2522:37: warning: passing 'const char [66]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK)
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2566:34: warning: passing 'const char [65]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ckAssertReturnValueOK(env, rv, __FUNCTION__);
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2611:34: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ckAssertReturnValueOK(env, rv, __FUNCTION__);
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2649:34: warning: passing 'const char [67]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ckAssertReturnValueOK(env, rv, __FUNCTION__);
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2687:34: warning: passing 'const char [66]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ckAssertReturnValueOK(env, rv, __FUNCTION__);
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2725:34: warning: passing 'const char [72]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ckAssertReturnValueOK(env, rv, __FUNCTION__);
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2770:36: warning: passing 'const char [68]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; }
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2777:37: warning: passing 'const char [68]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK)
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2822:36: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; }
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2828:37: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK)
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2873:36: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL; }
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2879:37: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK)
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2924:36: warning: passing 'const char [72]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; }
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2930:37: warning: passing 'const char [72]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK)
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2975:36: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; }
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:2981:37: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK)
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:3031:37: warning: passing 'const char [66]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK)
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:3128:37: warning: passing 'const char [70]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK)
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:3210:36: warning: passing 'const char [62]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL_PTR; }
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:3222:37: warning: passing 'const char [62]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK)
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:3285:37: warning: passing 'const char [64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK)
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:3361:37: warning: passing 'const char [64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) {
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:3427:34: warning: passing 'const char [65]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ckAssertReturnValueOK(env, rv, __FUNCTION__);
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:3468:34: warning: passing 'const char [69]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ckAssertReturnValueOK(env, rv, __FUNCTION__);
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:3502:34: warning: passing 'const char [72]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ckAssertReturnValueOK(env, rv, __FUNCTION__);
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:3533:34: warning: passing 'const char [69]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ckAssertReturnValueOK(env, rv, __FUNCTION__);
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:3567:36: warning: passing 'const char [71]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return 0L; }
^~~~~~~~~~~~
./../common/pkcs11wrapper.h:209:67: note: passing argument to parameter 'callerMethodName' here
jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName);
^
./../common/pkcs11wrapper.c:5527:55: warning: incompatible pointer types passing 'CK_VOID_PTR *' (aka 'void **') to parameter of type 'CK_ATTRIBUTE_PTR *' (aka 'struct CK_ATTRIBUTE **') [-Wincompatible-pointer-types]
if (jAttributeArrayToCKAttributeArray(env, jPValue, &(ckAttribute.pValue), &(ckAttribute.ulValueLen))) {
^~~~~~~~~~~~~~~~~~~~~
./../common/pkcs11wrapper.c:4531:91: note: passing argument to parameter 'ckpArray' here
int jAttributeArrayToCKAttributeArray(JNIEnv *env, jobjectArray jArray, CK_ATTRIBUTE_PTR *ckpArray, CK_ULONG_PTR ckpLength)
^
./../common/pkcs11wrapper.c:6549:50: warning: passing 'CK_LONG *' (aka 'long *') to parameter of type 'CK_ULONG_PTR' (aka 'unsigned long *') converts between pointers to integer types with different sign [-Wpointer-sign]
jByteArrayToCKByteArray(env, jObject, &ckpByte, &ivLength);
^~~~~~~~~
./../common/pkcs11wrapper.c:4365:103: note: passing argument to parameter 'ckpLength' here
int jByteArrayToCKByteArray(JNIEnv *env, const jbyteArray jArray, CK_BYTE_PTR *ckpArray, CK_ULONG_PTR ckpLength)
^
./../common/pkcs11wrapper.c:6584:50: warning: passing 'CK_LONG *' (aka 'long *') to parameter of type 'CK_ULONG_PTR' (aka 'unsigned long *') converts between pointers to integer types with different sign [-Wpointer-sign]
jByteArrayToCKByteArray(env, jObject, &ckpByte, &ivLength);
^~~~~~~~~
./../common/pkcs11wrapper.c:4365:103: note: passing argument to parameter 'ckpLength' here
int jByteArrayToCKByteArray(JNIEnv *env, const jbyteArray jArray, CK_BYTE_PTR *ckpArray, CK_ULONG_PTR ckpLength)
^
99 warnings generated.
/usr/bin/ld: error: /tmp/pkcs11wrapper-0ad7e5.o is incompatible with /usr/lib/crti.o
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:22: release] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/iaikpkcs11wrapper/work/src/native/unix/linux-x86'
*** Error code 1
Stop.
make: stopped in /usr/ports/security/iaikpkcs11wrapper
More information about the freebsd-pkg-fallout
mailing list