From owner-freebsd-pkg-fallout@freebsd.org Thu Feb 22 04:24:16 2018 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C0E0F27007 for ; Thu, 22 Feb 2018 04:24:16 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A857F696FF for ; Thu, 22 Feb 2018 04:24:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 69823F27006; Thu, 22 Feb 2018 04:24:15 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 224E4F27005 for ; Thu, 22 Feb 2018 04:24:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C6D9E696F7 for ; Thu, 22 Feb 2018 04:24:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from thunderx1.nyi.freebsd.org (thunderx1.nyi.freebsd.org [IPv6:2610:1c1:1:6082::16:fb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BE7B622865 for ; Thu, 22 Feb 2018 04:24:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from thunderx1.nyi.freebsd.org (localhost [127.0.0.1]) by thunderx1.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1M4OEaj006115 for ; Thu, 22 Feb 2018 04:24:14 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by thunderx1.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w1M4OEeJ006109; Thu, 22 Feb 2018 04:24:14 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Thu, 22 Feb 2018 04:24:14 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201802220424.w1M4OEeJ006109@thunderx1.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - 111arm64-quarterly][security/iaikpkcs11wrapper] Failed for iaikPkcs11Wrapper-1.2.18 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 04:24:16 -0000 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@FreeBSD.org Last committer: linimon@FreeBSD.org Ident: $FreeBSD: branches/2018Q1/security/iaikpkcs11wrapper/Makefile 444251 2017-06-25 00:29:09Z linimon $ Log URL: http://thunderx1.nyi.freebsd.org/data/111arm64-quarterly/462556/logs/iaikPkcs11Wrapper-1.2.18.log Build URL: http://thunderx1.nyi.freebsd.org/build.html?mastername=111arm64-quarterly&build=462556 Log: =>> Building security/iaikpkcs11wrapper build started at Thu Feb 22 04:22:59 UTC 2018 port directory: /usr/ports/security/iaikpkcs11wrapper package name: iaikPkcs11Wrapper-1.2.18 building for: FreeBSD 111arm64-quarterly-job-24 11.1-RELEASE FreeBSD 11.1-RELEASE arm64 maintained by: ale@FreeBSD.org Makefile ident: $FreeBSD: branches/2018Q1/security/iaikpkcs11wrapper/Makefile 444251 2017-06-25 00:29:09Z linimon $ Poudriere version: 3.2.4-56-g0fd5b0e3 Host OSVERSION: 1200052 Jail OSVERSION: 1101001 Job Id: 24 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1101001 UNAME_v=FreeBSD 11.1-RELEASE UNAME_r=11.1-RELEASE 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.4-56-g0fd5b0e3 MASTERMNT=/usr/local/poudriere/data/.m/111arm64-quarterly/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/111arm64-quarterly/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=111arm64-quarterly SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/111arm64-quarterly/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@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-- JAVASHAREDIR="share/java" JAVAJARDIR="share/java/classes" OSREL=11.1 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" 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 #### ARCH=aarch64 CONFIGURE_MAX_CMD_LEN=262144 OPSYS=FreeBSD OSREL=11.1 OSVERSION=1101001 PYTHONBASE=/usr/local UID=0 _OSRELEASE=11.1-RELEASE #### 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) 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-- =================================================== =========================================================================== =================================================== ===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.3_1.txz [111arm64-quarterly-job-24] Installing pkg-1.10.3_1... [111arm64-quarterly-job-24] Extracting pkg-1.10.3_1: .......... done ===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of iaikPkcs11Wrapper-1.2.18 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by iaikPkcs11Wrapper-1.2.18 for building =========================================================================== =================================================== ===> Fetching all distfiles required by iaikPkcs11Wrapper-1.2.18 for building => SHA256 Checksum OK for iaikPkcs11Wrapper_1_2_18.zip. =========================================================================== =================================================== =========================================================================== =================================================== ===> 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for iaikPkcs11Wrapper-1.2.18 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for iaikPkcs11Wrapper-1.2.18 =========================================================================== =================================================== ===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/openjdk8/bin/java - not found ===> Installing existing package /packages/All/openjdk8-8.152.16_2.txz [111arm64-quarterly-job-24] Installing openjdk8-8.152.16_2... [111arm64-quarterly-job-24] `-- Installing alsa-lib-1.1.2... [111arm64-quarterly-job-24] `-- Extracting alsa-lib-1.1.2: .......... done [111arm64-quarterly-job-24] `-- Installing dejavu-2.37... [111arm64-quarterly-job-24] | `-- Installing fontconfig-2.12.1,1... [111arm64-quarterly-job-24] | | `-- Installing expat-2.2.5... [111arm64-quarterly-job-24] | | `-- Extracting expat-2.2.5: .......... done [111arm64-quarterly-job-24] | | `-- Installing freetype2-2.8_1... [111arm64-quarterly-job-24] | | `-- Extracting freetype2-2.8_1: .......... done [111arm64-quarterly-job-24] | `-- 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 [111arm64-quarterly-job-24] | `-- Installing mkfontdir-1.0.7... [111arm64-quarterly-job-24] | | `-- Installing mkfontscale-1.1.2... [111arm64-quarterly-job-24] | | `-- Installing libfontenc-1.1.3_1... [111arm64-quarterly-job-24] | | | `-- Installing xproto-7.0.31... [111arm64-quarterly-job-24] | | | `-- Extracting xproto-7.0.31: .......... done [111arm64-quarterly-job-24] | | `-- Extracting libfontenc-1.1.3_1: ......... done [111arm64-quarterly-job-24] | | `-- Extracting mkfontscale-1.1.2: .. done [111arm64-quarterly-job-24] | `-- Extracting mkfontdir-1.0.7: .. done [111arm64-quarterly-job-24] `-- Extracting dejavu-2.37: .......... done [111arm64-quarterly-job-24] `-- Installing giflib-5.1.4... [111arm64-quarterly-job-24] `-- Extracting giflib-5.1.4: .......... done [111arm64-quarterly-job-24] `-- Installing java-zoneinfo-2017.c... [111arm64-quarterly-job-24] `-- Extracting java-zoneinfo-2017.c: .......... done [111arm64-quarterly-job-24] `-- Installing javavmwrapper-2.6... [111arm64-quarterly-job-24] `-- Extracting javavmwrapper-2.6: .......... done [111arm64-quarterly-job-24] `-- Installing libX11-1.6.5,1... [111arm64-quarterly-job-24] | `-- Installing kbproto-1.0.7... [111arm64-quarterly-job-24] | `-- Extracting kbproto-1.0.7: .......... done [111arm64-quarterly-job-24] | `-- Installing libXau-1.0.8_3... [111arm64-quarterly-job-24] | `-- Extracting libXau-1.0.8_3: .......... done [111arm64-quarterly-job-24] | `-- Installing libXdmcp-1.1.2... [111arm64-quarterly-job-24] | `-- Extracting libXdmcp-1.1.2: ......... done [111arm64-quarterly-job-24] | `-- Installing libxcb-1.12_2... 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-1e9715.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