=> Building security/iaikpkcs11wrapper Started : Saturday, 15 FEB 2020 at 17:14:27 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> 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 -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/security/iaikpkcs11wrapper XDG_CONFIG_HOME=/construction/security/iaikpkcs11wrapper HOME=/construction/security/iaikpkcs11wrapper TMPDIR="/tmp" PATH=/construction/security/iaikpkcs11wrapper/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/iaikpkcs11wrapper XDG_CONFIG_HOME=/construction/security/iaikpkcs11wrapper HOME=/construction/security/iaikpkcs11wrapper TMPDIR="/tmp" PATH=/construction/security/iaikpkcs11wrapper/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/security/iaikpkcs11wrapper/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" JAVASHAREDIR="share/java" JAVAJARDIR="share/java/classes" OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/iaikPkcs11Wrapper" EXAMPLESDIR="share/examples/iaikPkcs11Wrapper" DATADIR="share/iaikPkcs11Wrapper" WWWDIR="www/iaikPkcs11Wrapper" ETCDIR="etc/iaikPkcs11Wrapper" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- JAVASHAREDIR="/usr/local/share/java" JAVAJARDIR="/usr/local/share/java/classes" JAVALIBDIR="/usr/local/share/java/classes" 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- 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.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... 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 -------------------------------------------------------------------------------- => iaikPkcs11Wrapper_1_2_18.zip doesn't seem to exist in /distfiles/. => Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/ale/iaikPkcs11Wrapper_1_2_18.zip iaikPkcs11Wrapper_1_2_18.zip 3292 kB 995 kBps 03s ===> 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 ports 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.181.13_1.txz Installing openjdk8-8.181.13_1... `-- Installing alsa-lib-1.1.2_2... `-- Extracting alsa-lib-1.1.2_2: .......... done `-- Installing dejavu-2.37_1... | `-- Installing fontconfig-2.12.6,1... | | `-- Installing expat-2.2.8... | | `-- Extracting expat-2.2.8: .......... done | | `-- Installing freetype2-2.10.1... | | `-- Extracting freetype2-2.10.1: .......... done | `-- Extracting fontconfig-2.12.6,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 | `-- Installing mkfontscale-1.2.1... | | `-- Installing libfontenc-1.1.4... | | `-- Extracting libfontenc-1.1.4: ...... done | `-- Extracting mkfontscale-1.2.1: .... done `-- Extracting dejavu-2.37_1: .......... done `-- Installing giflib-5.2.1... `-- Extracting giflib-5.2.1: .......... done `-- Installing java-zoneinfo-2019.b... `-- Extracting java-zoneinfo-2019.b: .......... done `-- Installing javavmwrapper-2.7.4... `-- Extracting javavmwrapper-2.7.4: .......... done `-- Installing libX11-1.6.9,1... | `-- Installing libXau-1.0.9... | `-- Extracting libXau-1.0.9: .......... done | `-- Installing libXdmcp-1.1.3... | | `-- Installing xorgproto-2019.2... | | `-- Extracting xorgproto-2019.2: .......... done | `-- Extracting libXdmcp-1.1.3: ...... done | `-- Installing libxcb-1.13.1... | | `-- Installing libpthread-stubs-0.4... | | `-- Extracting libpthread-stubs-0.4: .... done | | `-- Installing libxml2-2.9.10... | | `-- Extracting libxml2-2.9.10: .......... done | `-- Extracting libxcb-1.13.1: .......... done `-- Extracting libX11-1.6.9,1: .......... done `-- Installing libXext-1.3.4,1... `-- Extracting libXext-1.3.4,1: .......... done `-- Installing libXi-1.7.10,1... | `-- Installing libXfixes-5.0.3_2... | `-- Extracting libXfixes-5.0.3_2: ....... done `-- Extracting libXi-1.7.10,1: .......... done `-- Installing libXrender-0.9.10_2... `-- Extracting libXrender-0.9.10_2: ....... done `-- Installing libXt-1.2.0,1... | `-- Installing libICE-1.0.10,1... | `-- Extracting libICE-1.0.10,1: .......... done | `-- Installing libSM-1.2.3,1... | `-- Extracting libSM-1.2.3,1: ........ done `-- Extracting libXt-1.2.0,1: .......... done `-- Installing libXtst-1.2.3_2... `-- Extracting libXtst-1.2.3_2: .......... done Extracting openjdk8-8.181.13_1: .......... done ===== Message from freetype2-2.10.1: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed). ===== Message from dejavu-2.37_1: -- Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ===== Message from openjdk8-8.181.13_1: -- ====================================================================== This OpenJDK implementation requires procfs(5) mounted on /proc. If you have not done it yet, please do the following: mount -t procfs proc /proc To make it permanent, you need the following line in /etc/fstab: proc /proc procfs rw 0 0 ====================================================================== ===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/openjdk8/bin/java - found ===> Returning to build of iaikPkcs11Wrapper-1.2.18 ===> iaikPkcs11Wrapper-1.2.18 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.20.1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: . done `-- Extracting gettext-runtime-0.20.1: .......... done Extracting gmake-4.2.1_3: .......... done ===> iaikPkcs11Wrapper-1.2.18 depends on executable: gmake - found ===> Returning to build of iaikPkcs11Wrapper-1.2.18 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for iaikPkcs11Wrapper-1.2.18 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for iaikPkcs11Wrapper-1.2.18 gmake[1]: Entering directory '/construction/security/iaikpkcs11wrapper/src/native/unix/linux-x86_64' mkdir -p release/ cc -fPIC -I ../src/ -I ../../common/ -DUNIX -m64 -o release/libpkcs11wrapper.so ../../common/pkcs11wrapper.c -shared In file included from ../../common/pkcs11wrapper.c:62: ../src/platform.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_connect': ../src/platform.c:123:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Initialize': ../../common/pkcs11wrapper.c:270:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Finalize': ../../common/pkcs11wrapper.c:310:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetInfo': ../../common/pkcs11wrapper.c:339:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetSlotList': ../../common/pkcs11wrapper.c:377:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:385:38: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetSlotInfo': ../../common/pkcs11wrapper.c:427:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetTokenInfo': ../../common/pkcs11wrapper.c:463:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetMechanismList': ../../common/pkcs11wrapper.c:501:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:507:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetMechanismInfo': ../../common/pkcs11wrapper.c:549:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1InitToken': ../../common/pkcs11wrapper.c:593:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1InitPIN': ../../common/pkcs11wrapper.c:631:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SetPIN': ../../common/pkcs11wrapper.c:673:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1OpenSession': ../../common/pkcs11wrapper.c:740:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return 0L ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1CloseSession': ../../common/pkcs11wrapper.c:788:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1CloseAllSessions': ../../common/pkcs11wrapper.c:837:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetSessionInfo': ../../common/pkcs11wrapper.c:883:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetOperationState': ../../common/pkcs11wrapper.c:921:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:927:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SetOperationState': ../../common/pkcs11wrapper.c:973:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Login': ../../common/pkcs11wrapper.c:1013:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Logout': ../../common/pkcs11wrapper.c:1045:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1CreateObject': ../../common/pkcs11wrapper.c:1084:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1CopyObject': ../../common/pkcs11wrapper.c:1143:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DestroyObject': ../../common/pkcs11wrapper.c:1194:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetObjectSize': ../../common/pkcs11wrapper.c:1230:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return 0L ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetAttributeValue': ../../common/pkcs11wrapper.c:1290:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:1319:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:1339:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:1413:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:1425:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SetAttributeValue': ../../common/pkcs11wrapper.c:1486:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1FindObjectsInit': ../../common/pkcs11wrapper.c:1538:33: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1FindObjects': ../../common/pkcs11wrapper.c:1592:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) { ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1FindObjectsFinal': ../../common/pkcs11wrapper.c:1629:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1EncryptInit': ../../common/pkcs11wrapper.c:1665:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Encrypt': ../../common/pkcs11wrapper.c:1709:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:1717:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1EncryptUpdate': ../../common/pkcs11wrapper.c:1764:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:1770:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1EncryptFinal': ../../common/pkcs11wrapper.c:1812:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:1818:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DecryptInit': ../../common/pkcs11wrapper.c:1861:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Decrypt': ../../common/pkcs11wrapper.c:1905:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:1913:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DecryptUpdate': ../../common/pkcs11wrapper.c:1959:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:1965:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DecryptFinal': ../../common/pkcs11wrapper.c:2007:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:2013:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DigestInit': ../../common/pkcs11wrapper.c:2054:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Digest': ../../common/pkcs11wrapper.c:2098:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:2106:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DigestUpdate': ../../common/pkcs11wrapper.c:2150:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DigestKey': ../../common/pkcs11wrapper.c:2185:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DigestFinal': ../../common/pkcs11wrapper.c:2220:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:2226:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SignInit': ../../common/pkcs11wrapper.c:2268:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Sign': ../../common/pkcs11wrapper.c:2341:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SignUpdate': ../../common/pkcs11wrapper.c:2383:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SignFinal': ../../common/pkcs11wrapper.c:2421:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:2428:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SignRecoverInit': ../../common/pkcs11wrapper.c:2470:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SignRecover': ../../common/pkcs11wrapper.c:2515:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:2522:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1VerifyInit': ../../common/pkcs11wrapper.c:2566:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Verify': ../../common/pkcs11wrapper.c:2611:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1VerifyUpdate': ../../common/pkcs11wrapper.c:2649:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1VerifyFinal': ../../common/pkcs11wrapper.c:2687:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1VerifyRecoverInit': ../../common/pkcs11wrapper.c:2725:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1VerifyRecover': ../../common/pkcs11wrapper.c:2770:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:2777:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DigestEncryptUpdate': ../../common/pkcs11wrapper.c:2822:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:2828:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DecryptDigestUpdate': ../../common/pkcs11wrapper.c:2873:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:2879:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SignEncryptUpdate': ../../common/pkcs11wrapper.c:2924:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:2930:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DecryptVerifyUpdate': ../../common/pkcs11wrapper.c:2975:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:2981:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GenerateKey': ../../common/pkcs11wrapper.c:3031:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GenerateKeyPair': ../../common/pkcs11wrapper.c:3128:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1WrapKey': ../../common/pkcs11wrapper.c:3210:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL_PTR; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:3222:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1UnwrapKey': ../../common/pkcs11wrapper.c:3285:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DeriveKey': ../../common/pkcs11wrapper.c:3361:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) { ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SeedRandom': ../../common/pkcs11wrapper.c:3427:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GenerateRandom': ../../common/pkcs11wrapper.c:3468:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetFunctionStatus': ../../common/pkcs11wrapper.c:3502:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1CancelFunction': ../../common/pkcs11wrapper.c:3533:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1WaitForSlotEvent': ../../common/pkcs11wrapper.c:3567:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return 0L; } ^~~~~~~~~~~~ In file included from ../../common/pkcs11wrapper.c:55: ../../common/pkcs11wrapper.h:209:67: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ~~~~~~^~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c: In function 'jAttributeToCKAttribute': ../../common/pkcs11wrapper.c:5527:55: warning: passing argument 3 of 'jAttributeArrayToCKAttributeArray' from incompatible pointer type [-Wincompatible-pointer-types] if (jAttributeArrayToCKAttributeArray(env, jPValue, &(ckAttribute.pValue), &(ckAttribute.ulValueLen))) { ^~~~~~~~~~~~~~~~~~~~~ ../../common/pkcs11wrapper.c:4531:91: note: expected 'CK_ATTRIBUTE **' {aka 'struct CK_ATTRIBUTE **'} but argument is of type 'void **' int jAttributeArrayToCKAttributeArray(JNIEnv *env, jobjectArray jArray, CK_ATTRIBUTE_PTR *ckpArray, CK_ULONG_PTR ckpLength) ~~~~~~~~~~~~~~~~~~^~~~~~~~ gmake[1]: Leaving directory '/construction/security/iaikpkcs11wrapper/src/native/unix/linux-x86_64' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/openjdk8/bin/java - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for iaikPkcs11Wrapper-1.2.18 ===> Generating temporary packing list >> Installing JNI library in /usr/local/lib... [ DONE ] >> Installing JAR file as /usr/local/share/java/classes/iaikPkcs11Wrapper.jar... [ DONE ] >> Installing documentation in /usr/local/share/doc/iaikPkcs11Wrapper... [ DONE ] >> Installing examples in /usr/local/share/examples/iaikPkcs11Wrapper... [ DONE ] ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for iaikPkcs11Wrapper-1.2.18 file sizes/checksums [481]: ..... done packing files [481]: ..... done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 15 FEB 2020 at 17:15:16 UTC Duration: 00:00:48