Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2018 02:52:47 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 111arm64-quarterly][security/iaikpkcs11wrapper] Failed for iaikPkcs11Wrapper-1.2.18 in build
Message-ID:  <201804240252.w3O2qlSL096693@thunderx1.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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/2018Q2/security/iaikpkcs11wrapper/Makefile 444251 2017-06-25 00:29:09Z linimon $
Log URL:        http://thunderx1.nyi.freebsd.org/data/111arm64-quarterly/468170/logs/iaikPkcs11Wrapper-1.2.18.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=111arm64-quarterly&build=468170
Log:

=>> Building security/iaikpkcs11wrapper
build started at Tue Apr 24 02:52:01 UTC 2018
port directory: /usr/ports/security/iaikpkcs11wrapper
package name: iaikPkcs11Wrapper-1.2.18
building for: FreeBSD 111arm64-quarterly-job-19 11.1-RELEASE FreeBSD 11.1-RELEASE arm64
maintained by: ale@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2018Q2/security/iaikpkcs11wrapper/Makefile 444251 2017-06-25 00:29:09Z linimon $
Poudriere version: 3.2.6-2-gab7278f5
Host OSVERSION: 1200060
Jail OSVERSION: 1101001
Job Id: 19

---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.6-2-gab7278f5
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--
PORTDOCS="" PORTEXAMPLES="" JAVASHAREDIR="share/java"  JAVAJARDIR="share/java/classes" OSREL=11.1 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 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: aarch64-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: aarch64-unknown-freebsd11.1 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 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: aarch64-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=11.1-RELEASE
OSREL=11.1
OSVERSION=1101001
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
[111arm64-quarterly-job-19] Installing pkg-1.10.5...
[111arm64-quarterly-job-19] 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
[111arm64-quarterly-job-19] Installing openjdk8-8.162.12_2...
[111arm64-quarterly-job-19] `-- Installing alsa-lib-1.1.2_1...
[111arm64-quarterly-job-19] `-- Extracting alsa-lib-1.1.2_1: .......... done
[111arm64-quarterly-job-19] `-- Installing dejavu-2.37...
[111arm64-quarterly-job-19] |   `-- Installing fontconfig-2.12.1_3,1...
[111arm64-quarterly-job-19] |   | `-- Installing expat-2.2.5...
[111arm64-quarterly-job-19] |   | `-- Extracting expat-2.2.5: .......... done
[111arm64-quarterly-job-19] |   | `-- Installing freetype2-2.8_1...
[111arm64-quarterly-job-19] |   | `-- Extracting freetype2-2.8_1: .......... done
[111arm64-quarterly-job-19] |   `-- Extracting fontconfig-2.12.1_3,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-19] |   `-- Installing mkfontdir-1.0.7...
[111arm64-quarterly-job-19] |   | `-- Installing mkfontscale-1.1.2...
[111arm64-quarterly-job-19] |   |   `-- Installing libfontenc-1.1.3_1...
[111arm64-quarterly-job-19] |   |   | `-- Installing xproto-7.0.31...
[111arm64-quarterly-job-19] |   |   | `-- Extracting xproto-7.0.31: .......... 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-ce5d87.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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804240252.w3O2qlSL096693>