Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dogtag-pki.spec'], chrootPath='/var/lib/mock/870770-fedora-rawhide-x86_64-1553027059.594272/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a98305cd77044f61914c19487181592a', '-D', '/var/lib/mock/870770-fedora-rawhide-x86_64-1553027059.594272/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dogtag-pki.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dogtag-pki-10.6.10-1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dogtag-pki.spec'], chrootPath='/var/lib/mock/870770-fedora-rawhide-x86_64-1553027059.594272/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bfeb5227b7d540bf94e7f70edc7052a1', '-D', '/var/lib/mock/870770-fedora-rawhide-x86_64-1553027059.594272/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dogtag-pki.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gM8i6B + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pki-10.6.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/pki-10.6.10.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pki-10.6.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'dogtag-pki-10.6.10 base' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KP5zNF + umask 022 + cd /builddir/build/BUILD + cd pki-10.6.10 BUILDSTDERR: ++ /usr/sbin/tomcat version BUILDSTDERR: ++ sed -n 's/Server number: *\([0-9]\+\.[0-9]\+\).*/\1/p' + tomcat_version=9.0 + '[' 9.0 == 9.0 ']' + app_server=tomcat-8.5 + /usr/bin/mkdir -p build + cd build + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON --no-warn-unused-cli -DVERSION=10.6.10-1.fc31 -DVAR_INSTALL_DIR:PATH=/var -DJAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk -DJAVA_LIB_INSTALL_DIR=/usr/lib/java -DSYSTEMD_LIB_INSTALL_DIR=/usr/lib/systemd/system -DAPP_SERVER=tomcat-8.5 -DJAXRS_API_JAR=/usr/share/java/jboss-jaxrs-2.0-api.jar -DRESTEASY_LIB=/usr/share/java/resteasy -DNSS_DEFAULT_DB_TYPE=sql -DBUILD_PKI_CORE:BOOL=ON -DWITH_PYTHON2:BOOL=OFF -DWITH_PYTHON3:BOOL=ON -DWITH_PYTHON3_DEFAULT:BOOL=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DWITH_TEST:BOOL=ON -DWITH_SERVER:BOOL=OFF -DWITH_JAVADOC:BOOL=OFF -DBUILD_PKI_CONSOLE:BOOL=OFF -DTHEME=dogtag .. Not searching for unused variables given on the command line. -- The C compiler identification is GNU 9.0.1 -- The CXX compiler identification is GNU 9.0.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test WITH_FPIC -- Performing Test WITH_FPIC - Success -- Performing Test WITH_STACK_PROTECTOR -- Performing Test WITH_STACK_PROTECTOR - Success -- Performing Test WITH_FORTIFY_SOURCE -- Performing Test WITH_FORTIFY_SOURCE - Success -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.0") -- Checking for module 'nspr' -- Found nspr, version 4.20.0 -- Found NSPR: /usr/lib64/libplds4.so;/usr/lib64/libplc4.so;/usr/lib64/libnspr4.so -- Checking for module 'nss' -- Found nss, version 3.42.1 -- Found NSS: /usr/lib64/libssl3.so;/usr/lib64/libsmime3.so;/usr/lib64/libnss3.so;/usr/lib64/libnssutil3.so -- Found Java: /usr/lib/jvm/jre-1.8.0-openjdk/bin/java (found version "1.8.0_201") -- Found JNI: /usr/lib/jvm/jre-1.8.0-openjdk/lib/amd64/libjawt.so -- Found Ldap: /usr/lib64/libldap.so;/usr/lib64/liblber.so -- Checking for module 'apr-1' -- Found apr-1, version 1.6.5 -- Found APR: /usr/lib64/libapr-1.so -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Using new 'sql' format for NSS_DEFAULT_DB_TYPE -- Found PythonInterp: /usr/bin/python3 (found version "3.7.2") -- Building pki.server for 3.7.2 -- Skipping Python 2 pki client package -- PYTHON3_SITE_PACKAGES /usr/lib/python3.7/site-packages -- Building Python 3 pki client package -- Performing Test WITH_VISIBILITY_HIDDEN -- Performing Test WITH_VISIBILITY_HIDDEN - Success -- Looking for argp.h -- Looking for argp.h - found -- Looking for strncpy -- Looking for strncpy - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for snprintf -- Looking for snprintf - found -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Found Sphinx: /usr/bin/sphinx-build -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/pki-10.6.10/build + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qxFev0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64 + cd pki-10.6.10 + cd build + /usr/bin/make VERBOSE= CMAKE_NO_VERBOSE=1 DESTDIR=/builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64 'INSTALL=install -p' --no-print-directory all install Scanning dependencies of target pki-test-classes [ 0%] Built target pki-test-classes Scanning dependencies of target symkey-classes [ 0%] Built target symkey-classes Scanning dependencies of target symkey-jar [ 1%] Packaging resources for symkey-jar [ 1%] Built target symkey-jar [ 3%] Generating SessionKey.h Scanning dependencies of target symkey_library [ 5%] Building CXX object base/symkey/src/com/netscape/symkey/CMakeFiles/symkey_library.dir/Buffer.cpp.o [ 7%] Building CXX object base/symkey/src/com/netscape/symkey/CMakeFiles/symkey_library.dir/EncryptData.cpp.o [ 9%] Building CXX object base/symkey/src/com/netscape/symkey/CMakeFiles/symkey_library.dir/SessionKey.cpp.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/symkey/src/com/netscape/symkey/SessionKey.cpp: In function 'PRStatus JSS_PK11_getSymKeyPtr(JNIEnv*, jobject, PK11SymKey**)': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/symkey/src/com/netscape/symkey/SessionKey.cpp:71:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 71 | #define SYM_KEY_PROXY_FIELD "keyProxy" BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/symkey/src/com/netscape/symkey/SessionKey.cpp:348:56: note: in expansion of macro 'SYM_KEY_PROXY_FIELD' BUILDSTDERR: 348 | return JSS_getPtrFromProxyOwner(env, symKeyObject, SYM_KEY_PROXY_FIELD, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/symkey/src/com/netscape/symkey/SessionKey.cpp:72:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 72 | #define SYM_KEY_PROXY_SIG "Lorg/mozilla/jss/pkcs11/SymKeyProxy;" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/symkey/src/com/netscape/symkey/SessionKey.cpp:72:27: note: in definition of macro 'SYM_KEY_PROXY_SIG' BUILDSTDERR: 72 | #define SYM_KEY_PROXY_SIG "Lorg/mozilla/jss/pkcs11/SymKeyProxy;" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/nss3/secport.h:45, BUILDSTDERR: from /usr/include/nss3/seccomon.h:27, BUILDSTDERR: from /usr/include/nss3/pk11pub.h:7, BUILDSTDERR: from /usr/include/nss3/pk11func.h:12, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/symkey/src/com/netscape/symkey/SessionKey.cpp:23: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from '_jbyteArray* Java_com_netscape_symkey_SessionKey_ComputeSessionKeySCP02(JNIEnv*, jclass, jstring, jstring, jbyteArray, jbyte, jboolean, jbyteArray, jbyteArray, jbyteArray, jbyteArray, jbyteArray, jstring, jstring, jstring)' at /builddir/build/BUILD/pki-10.6.10/base/symkey/src/com/netscape/symkey/SessionKey.cpp:842:16: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 135 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from '_jbyteArray* Java_com_netscape_symkey_SessionKey_ComputeSessionKey(JNIEnv*, jclass, jstring, jstring, jbyteArray, jbyteArray, jbyteArray, jbyte, jboolean, jbyteArray, jbyteArray, jbyteArray, jstring, jstring, jstring)' at /builddir/build/BUILD/pki-10.6.10/base/symkey/src/com/netscape/symkey/SessionKey.cpp:1302:16: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 135 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from '_jbyteArray* Java_com_netscape_symkey_SessionKey_ComputeEncSessionKey(JNIEnv*, jclass, jstring, jstring, jbyteArray, jbyteArray, jbyteArray, jbyte, jboolean, jbyteArray, jbyteArray, jbyteArray, jstring, jstring)' at /builddir/build/BUILD/pki-10.6.10/base/symkey/src/com/netscape/symkey/SessionKey.cpp:1703:16: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 135 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 10%] Building CXX object base/symkey/src/com/netscape/symkey/CMakeFiles/symkey_library.dir/SymKey.cpp.o BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/symkey/src/com/netscape/symkey/SymKey.cpp:25: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'char* GetSharedSecretKeyName(char*)' at /builddir/build/BUILD/pki-10.6.10/base/symkey/src/com/netscape/symkey/SymKey.cpp:1081:19, BUILDSTDERR: inlined from 'char* GetSharedSecretKeyName(char*)' at /builddir/build/BUILD/pki-10.6.10/base/symkey/src/com/netscape/symkey/SymKey.cpp:1078:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 135 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 12%] Building CXX object base/symkey/src/com/netscape/symkey/CMakeFiles/symkey_library.dir/NistSP800_108KDF.cpp.o [ 14%] Linking CXX shared library libsymkey.so [ 14%] Built target symkey_library Scanning dependencies of target pki-nsutil-classes [ 16%] Compiling Java sources for pki-nsutil-classes BUILDSTDERR: netscape/security/x509/X509Cert.java:25: warning: [deprecation] Certificate in java.security has been deprecated BUILDSTDERR: import java.security.Certificate; BUILDSTDERR: ^ BUILDSTDERR: 1 warning [ 16%] Built target pki-nsutil-classes Scanning dependencies of target pki-nsutil-jar [ 18%] Packaging resources for pki-nsutil-jar [ 18%] Built target pki-nsutil-jar Scanning dependencies of target pki-cmsutil-classes [ 20%] Compiling Java sources for pki-cmsutil-classes BUILDSTDERR: com/netscape/cmsutil/ocsp/OCSPProcessor.java:32: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: import org.apache.http.impl.client.DefaultHttpClient; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmsutil/ocsp/OCSPProcessor.java:142: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: HttpClient httpClient = new DefaultHttpClient(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmsutil/ocsp/OCSPProcessor.java:188: warning: [deprecation] getConnectionManager() in HttpClient has been deprecated BUILDSTDERR: httpClient.getConnectionManager().shutdown(); BUILDSTDERR: ^ BUILDSTDERR: 3 warnings [ 20%] Built target pki-cmsutil-classes Scanning dependencies of target pki-cmsutil-jar [ 21%] Packaging resources for pki-cmsutil-jar [ 21%] Built target pki-cmsutil-jar Scanning dependencies of target pki-util-test-classes [ 23%] Compiling Java sources for pki-util-test-classes [ 23%] Built target pki-util-test-classes Scanning dependencies of target test-pki-util [ 25%] Running JUnit test-pki-util TestRunner: Test PASSED TestRunner: See test reports in /builddir/build/BUILD/pki-10.6.10/build/base/util/test/reports [ 25%] Built target test-pki-util Scanning dependencies of target pki-lib [ 25%] Built target pki-lib Scanning dependencies of target pki-certsrv-classes [ 27%] Compiling Java sources for pki-certsrv-classes BUILDSTDERR: com/netscape/certsrv/account/AccountResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:57: warning: [deprecation] AuthPNames in org.apache.http.auth.params has been deprecated BUILDSTDERR: import org.apache.http.auth.params.AuthPNames; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:59: warning: [deprecation] AuthPolicy in org.apache.http.client.params has been deprecated BUILDSTDERR: import org.apache.http.client.params.AuthPolicy; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:60: warning: [deprecation] HttpClientParams in org.apache.http.client.params has been deprecated BUILDSTDERR: import org.apache.http.client.params.HttpClientParams; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:61: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated BUILDSTDERR: import org.apache.http.conn.scheme.Scheme; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:62: warning: [deprecation] SchemeLayeredSocketFactory in org.apache.http.conn.scheme has been deprecated BUILDSTDERR: import org.apache.http.conn.scheme.SchemeLayeredSocketFactory; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:63: warning: [deprecation] SchemeSocketFactory in org.apache.http.conn.scheme has been deprecated BUILDSTDERR: import org.apache.http.conn.scheme.SchemeSocketFactory; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:65: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated BUILDSTDERR: import org.apache.http.impl.client.ClientParamsStack; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:66: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: import org.apache.http.impl.client.DefaultHttpClient; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:69: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated BUILDSTDERR: import org.apache.http.impl.client.EntityEnclosingRequestWrapper; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:70: warning: [deprecation] RequestWrapper in org.apache.http.impl.client has been deprecated BUILDSTDERR: import org.apache.http.impl.client.RequestWrapper; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:72: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated BUILDSTDERR: import org.apache.http.params.HttpParams; BUILDSTDERR: ^ BUILDSTDERR: org/dogtagpki/common/InfoResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/authority/AuthorityResource.java:13: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/SubsystemClient.java:25: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: import org.apache.http.impl.client.DefaultHttpClient; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertResource.java:10: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:27: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/group/GroupResource.java:29: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/key/KeyResource.java:13: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/key/KeyRequestResource.java:13: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: org/dogtagpki/common/KRAInfoResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/logging/ActivityResource.java:26: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/logging/AuditResource.java:30: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/profile/ProfileResource.java:12: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/selftests/SelfTestResource.java:27: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/system/FeatureResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/system/KRAConnectorResource.java:26: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/system/SecurityDomainResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/system/SystemCertResource.java:7: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/system/TPSConnectorResource.java:29: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/tps/authenticator/AuthenticatorResource.java:28: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/tps/cert/TPSCertResource.java:26: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/tps/config/ConfigResource.java:24: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/tps/connector/ConnectorResource.java:28: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/tps/profile/ProfileResource.java:28: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/tps/profile/ProfileMappingResource.java:28: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/tps/token/TokenResource.java:29: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/user/UserResource.java:30: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: org/dogtagpki/common/CAInfoResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: org/dogtagpki/common/LoginResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: import org.jboss.resteasy.annotations.ClientResponseType; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/account/AccountResource.java:39: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=AccountInfo.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/account/AccountResource.java:45: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=Void.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:97: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: DefaultHttpClient httpClient = new DefaultHttpClient(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:97: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: DefaultHttpClient httpClient = new DefaultHttpClient(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:113: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated BUILDSTDERR: Scheme scheme = new Scheme("https", 443, new JSSProtocolSocketFactory()); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:113: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated BUILDSTDERR: Scheme scheme = new Scheme("https", 443, new JSSProtocolSocketFactory()); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:121: warning: [deprecation] AuthPolicy in org.apache.http.client.params has been deprecated BUILDSTDERR: authPref.add(AuthPolicy.BASIC); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:122: warning: [deprecation] AuthPNames in org.apache.http.auth.params has been deprecated BUILDSTDERR: httpClient.getParams().setParameter(AuthPNames.PROXY_AUTH_PREF, authPref); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:148: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated BUILDSTDERR: HttpParams params = request.getParams(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:148: warning: [deprecation] getParams() in HttpMessage has been deprecated BUILDSTDERR: HttpParams params = request.getParams(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:149: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated BUILDSTDERR: if (params instanceof ClientParamsStack) { BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:150: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated BUILDSTDERR: ClientParamsStack paramsStack = (ClientParamsStack)request.getParams(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:150: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated BUILDSTDERR: ClientParamsStack paramsStack = (ClientParamsStack)request.getParams(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:150: warning: [deprecation] getParams() in HttpMessage has been deprecated BUILDSTDERR: ClientParamsStack paramsStack = (ClientParamsStack)request.getParams(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:153: warning: [deprecation] HttpClientParams in org.apache.http.client.params has been deprecated BUILDSTDERR: HttpClientParams.setRedirecting(params, true); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:188: warning: [deprecation] RequestWrapper in org.apache.http.impl.client has been deprecated BUILDSTDERR: RequestWrapper wrapper; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:190: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated BUILDSTDERR: wrapper = new EntityEnclosingRequestWrapper((HttpEntityEnclosingRequest)request); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:192: warning: [deprecation] RequestWrapper in org.apache.http.impl.client has been deprecated BUILDSTDERR: wrapper = new RequestWrapper(request); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:240: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated BUILDSTDERR: if (request instanceof EntityEnclosingRequestWrapper) { BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:241: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated BUILDSTDERR: EntityEnclosingRequestWrapper wrapper = (EntityEnclosingRequestWrapper) request; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:241: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated BUILDSTDERR: EntityEnclosingRequestWrapper wrapper = (EntityEnclosingRequestWrapper) request; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:298: warning: [deprecation] SchemeSocketFactory in org.apache.http.conn.scheme has been deprecated BUILDSTDERR: private class JSSProtocolSocketFactory implements SchemeSocketFactory, SchemeLayeredSocketFactory { BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:298: warning: [deprecation] SchemeLayeredSocketFactory in org.apache.http.conn.scheme has been deprecated BUILDSTDERR: private class JSSProtocolSocketFactory implements SchemeSocketFactory, SchemeLayeredSocketFactory { BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:301: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated BUILDSTDERR: public Socket createSocket(HttpParams params) throws IOException { BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:309: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated BUILDSTDERR: HttpParams params) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/PKIConnection.java:405: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated BUILDSTDERR: public Socket createLayeredSocket(Socket socket, String target, int port, HttpParams params) BUILDSTDERR: ^ BUILDSTDERR: org/dogtagpki/common/InfoResource.java:34: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=Info.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/authority/AuthorityResource.java:37: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=AuthorityData.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/authority/AuthorityResource.java:43: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=byte[].class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/authority/AuthorityResource.java:49: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=String.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/authority/AuthorityResource.java:55: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=byte[].class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/authority/AuthorityResource.java:61: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=String.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/authority/AuthorityResource.java:65: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=AuthorityData.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/authority/AuthorityResource.java:82: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=AuthorityData.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/authority/AuthorityResource.java:91: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=AuthorityData.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/authority/AuthorityResource.java:98: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=AuthorityData.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/authority/AuthorityResource.java:105: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=AuthorityData.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/authority/AuthorityResource.java:112: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=Void.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/SubsystemClient.java:67: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: DefaultHttpClient client = new DefaultHttpClient(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/client/SubsystemClient.java:67: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: DefaultHttpClient client = new DefaultHttpClient(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertResource.java:21: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=CertDataInfos.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertResource.java:31: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=CertDataInfos.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertResource.java:39: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=CertData.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertResource.java:44: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=CertData.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertResource.java:51: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=CertRequestInfo.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertResource.java:58: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=CertRequestInfo.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertResource.java:65: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=CertRequestInfo.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:39: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=CertRequestInfos.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:50: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=CertRequestInfo.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:58: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=CertRequestInfos.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:70: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=CertReviewResponse.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:77: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=ProfileDataInfos.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:84: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=CertEnrollmentRequest.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:89: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=Void.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:96: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=Void.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:103: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=Void.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:110: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=Void.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:117: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=Void.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:124: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=Void.class) BUILDSTDERR: ^ BUILDSTDERR: com/netscape/certsrv/cert/CertRequestResource.java:131: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated BUILDSTDERR: @ClientResponseType(entityType=Void.class) BUILDSTDERR: ^ BUILDSTDERR: Note: Some input files additionally use or override a deprecated API. BUILDSTDERR: 100 warnings [ 27%] Built target pki-certsrv-classes Scanning dependencies of target pki-certsrv-jar [ 29%] Packaging resources for pki-certsrv-jar [ 29%] Built target pki-certsrv-jar Scanning dependencies of target pki-examples-classes [ 30%] Compiling Java sources for pki-examples-classes [ 30%] Built target pki-examples-classes Scanning dependencies of target dogtag_python_client_man_docs [ 32%] Building Python Client Library manual pages Running Sphinx v2.0.0b1 making output directory... done building [mo]: all of 0 po files building [man]: all source files updating environment: 2 added, 0 changed, 0 removed reading sources... [ 50%] index reading sources... [100%] pki looking for now-outdated files... none found pickling environment... done checking consistency... done writing... pki-python-client.1 { pki } done build succeeded. The manual pages are in ../../../build/base/common/python/man. [ 32%] Built target dogtag_python_client_man_docs Scanning dependencies of target dogtag_python_client_docs [ 34%] Building Python Client Library HTML documentation Running Sphinx v2.0.0b1 making output directory... done building [mo]: all of 0 po files building [html]: all source files updating environment: 2 added, 0 changed, 0 removed reading sources... [ 50%] index reading sources... [100%] pki looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 50%] index writing output... [100%] pki generating indices... genindex py-modindex highlighting module code... [ 7%] pki highlighting module code... [ 15%] pki.account highlighting module code... [ 23%] pki.cert highlighting module code... [ 30%] pki.client highlighting module code... [ 38%] pki.crypto highlighting module code... [ 46%] pki.encoder highlighting module code... [ 53%] pki.key highlighting module code... [ 61%] pki.kra highlighting module code... [ 69%] pki.profile highlighting module code... [ 76%] pki.system highlighting module code... [ 84%] pki.systemcert highlighting module code... [ 92%] pki.upgrade highlighting module code... [100%] pki.util writing additional pages... search copying static files... done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded. The HTML pages are in ../../../build/base/common/python/html. [ 34%] Built target dogtag_python_client_docs Scanning dependencies of target p7tool [ 36%] Building C object base/native-tools/src/p7tool/CMakeFiles/p7tool.dir/secerror.c.o [ 38%] Building C object base/native-tools/src/p7tool/CMakeFiles/p7tool.dir/secpwd.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secpwd.c:44: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secpwd.c:44: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.h:207:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: 207 | extern void SECU_PrintAsHex(FILE *out, SECItem *i, const const char *m, int level); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secpwd.c: In function 'SEC_GetPassword': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secpwd.c:69:21: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 69 | #define QUIET_FGETS fgets BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secpwd.c:117:2: note: in expansion of macro 'QUIET_FGETS' BUILDSTDERR: 117 | QUIET_FGETS ( phrase, sizeof(phrase), input); BUILDSTDERR: | ^~~~~~~~~~~ [ 40%] Building C object base/native-tools/src/p7tool/CMakeFiles/p7tool.dir/secutil.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:61: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:61: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.h:207:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: 207 | extern void SECU_PrintAsHex(FILE *out, SECItem *i, const const char *m, int level); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_PrintErrMsg': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:119:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] BUILDSTDERR: 119 | vfprintf(out, msg, args); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_PrintError': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:138:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] BUILDSTDERR: 138 | vfprintf(stderr, msg, args); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_PrintSystemError': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:154:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] BUILDSTDERR: 154 | vfprintf(stderr, msg, args); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_GetPasswordString': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:173:30: warning: unused parameter 'arg' [-Wunused-parameter] BUILDSTDERR: 173 | SECU_GetPasswordString(void *arg, char *prompt) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_FilePasswd': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:223:31: warning: unused parameter 'slot' [-Wunused-parameter] BUILDSTDERR: 223 | SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_ChangePW': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:378:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 378 | SECStatus rv; BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_GetClientAuthData': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:507:47: warning: unused parameter 'fd' [-Wunused-parameter] BUILDSTDERR: 507 | SECU_GetClientAuthData(void *arg, PRFileDesc *fd, BUILDSTDERR: | ~~~~~~~~~~~~^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:508:35: warning: unused parameter 'caNames' [-Wunused-parameter] BUILDSTDERR: 508 | struct CERTDistNamesStr *caNames, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:1517:56: warning: unused parameter 'arena' [-Wunused-parameter] BUILDSTDERR: 1517 | secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintX509KeyUsage': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:1692:57: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 1692 | secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintAuthKeyIDExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:1806:63: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 1806 | secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintCRLDistPtsExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:1874:64: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 1874 | secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintNameConstraintsExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:1933:75: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 1933 | secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, const char *msg, int level) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintAuthorityInfoAcess': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:1959:63: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 1959 | secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'printflags': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:2153:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] BUILDSTDERR: 2153 | if (flags & CERTDB_VALID_PEER) BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_PrintCertAttribute': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:2265:69: warning: unused parameter 'm' [-Wunused-parameter] BUILDSTDERR: 2265 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, const char *m, int level) BUILDSTDERR: | ~~~~~~~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'printFlags': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:2953:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] BUILDSTDERR: 2953 | if ( flags & CERTDB_VALID_PEER ) { BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_ParseCommandLine': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:3029:52: warning: unused parameter 'progName' [-Wunused-parameter] BUILDSTDERR: 3029 | SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_printCertProblems': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:3291:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 3291 | flags = (unsigned int)node->arg; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:3307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 3307 | flags = (unsigned int)node->arg; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_StoreCRL': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:3391:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] BUILDSTDERR: 3391 | if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_FindCrlIssuer': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:3605:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] BUILDSTDERR: 3605 | CERTAuthKeyID* authorityKeyID, PRTime validTime) BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c: In function 'SECU_printCertProblems': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:3292:3: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 3292 | switch (flags) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:3306:6: note: here BUILDSTDERR: 3306 | case SEC_ERROR_INADEQUATE_CERT_TYPE: BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:3308:3: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 3308 | switch (flags) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.c:3332:6: note: here BUILDSTDERR: 3332 | case SEC_ERROR_UNKNOWN_ISSUER: BUILDSTDERR: | ^~~~ [ 41%] Building C object base/native-tools/src/p7tool/CMakeFiles/p7tool.dir/pppolicy.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/pppolicy.c:58: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.h:207:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: 207 | extern void SECU_PrintAsHex(FILE *out, SECItem *i, const const char *m, int level); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/pppolicy.c:184:43: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 184 | const char *msg, int level) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/pppolicy.c: In function 'secu_PrintPolicyInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/pppolicy.c:239:73: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 239 | secu_PrintPolicyInfo(FILE *out, CERTPolicyInfo *policyInfo, const char *msg, int level) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/pppolicy.c: In function 'secu_PrintPolicyQualifier': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/pppolicy.c:227:11: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 227 | if (SECSuccess == rv) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/pppolicy.c:230:4: note: here BUILDSTDERR: 230 | case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: BUILDSTDERR: | ^~~~ [ 43%] Building C object base/native-tools/src/p7tool/CMakeFiles/p7tool.dir/p7tool.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c:68: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c:68: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/secutil.h:207:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: 207 | extern void SECU_PrintAsHex(FILE *out, SECItem *i, const const char *m, int level); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c: In function 'decryption_allowed': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c:128:36: warning: unused parameter 'algid' [-Wunused-parameter] BUILDSTDERR: 128 | decryption_allowed(SECAlgorithmID *algid, PK11SymKey *key) BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c:128:55: warning: unused parameter 'key' [-Wunused-parameter] BUILDSTDERR: 128 | decryption_allowed(SECAlgorithmID *algid, PK11SymKey *key) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c:134:1: warning: no previous prototype for 'DecodeAndPrintFile' [-Wmissing-prototypes] BUILDSTDERR: 134 | DecodeAndPrintFile(FILE *out, PRFileDesc *in, char *progName, int ascii, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c: In function 'DecodeAndPrintFile': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c:234:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: 234 | SECItem **items = NULL; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c:251:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: 251 | int i= 0; BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c:255:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 255 | prefix = "chaincert"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c:259:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: 259 | FILE *outFile; BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c:261:17: warning: variable 'nb' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 261 | int nb = 0; BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c: In function 'main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/p7tool/p7tool.c:341:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 341 | prefix = optstate->value; BUILDSTDERR: | ^ [ 45%] Linking C executable p7tool [ 45%] Built target p7tool Scanning dependencies of target revoker [ 47%] Building C object base/native-tools/src/revoker/CMakeFiles/revoker.dir/revoker.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:125:8: warning: no previous prototype for 'ownPasswd' [-Wmissing-prototypes] BUILDSTDERR: 125 | char * ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: In function 'ownPasswd': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:125:33: warning: unused parameter 'slot' [-Wunused-parameter] BUILDSTDERR: 125 | char * ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: In function 'myBadCertHandler': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:199:25: warning: unused parameter 'arg' [-Wunused-parameter] BUILDSTDERR: 199 | myBadCertHandler( void *arg, PRFileDesc *fd) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:199:42: warning: unused parameter 'fd' [-Wunused-parameter] BUILDSTDERR: 199 | myBadCertHandler( void *arg, PRFileDesc *fd) BUILDSTDERR: | ~~~~~~~~~~~~^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:209:1: warning: no previous prototype for 'my_GetClientAuthData' [-Wmissing-prototypes] BUILDSTDERR: 209 | my_GetClientAuthData(void * arg, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: In function 'my_GetClientAuthData': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:227:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 227 | FPRINTF(stderr," mygetclientauthdata - cert = %x\n",(unsigned int)cert); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:230:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 230 | FPRINTF(stderr," mygetclientauthdata - privkey = %x\n",(unsigned int)privkey); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:277:1: warning: no previous prototype for 'printSecurityInfo' [-Wmissing-prototypes] BUILDSTDERR: 277 | printSecurityInfo(PRFileDesc *fd) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:321:1: warning: no previous prototype for 'do_writes' [-Wmissing-prototypes] BUILDSTDERR: 321 | do_writes( BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: In function 'do_writes': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:334:14: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 334 | errWarn("PR_Write bigBuf"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:160:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 160 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:357:1: warning: no previous prototype for 'do_io' [-Wmissing-prototypes] BUILDSTDERR: 357 | do_io( PRFileDesc *ssl_sock, int connection) BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: In function 'do_io': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:373:10: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 373 | errWarn("returning from after calling do_writes"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:160:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 160 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:387:14: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 387 | errWarn("PR_Read"); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:160:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 160 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:403:19: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 403 | errWarn("not enough bytes read in first read"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:160:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 160 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:425:1: warning: no previous prototype for 'do_connect' [-Wmissing-prototypes] BUILDSTDERR: 425 | do_connect( BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: In function 'do_connect': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:441:17: warning: passing argument 1 of 'errExit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 441 | errExit("PR_OpenTCPSocket on tcp socket"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:168:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 168 | errExit(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:458:17: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 458 | errWarn("PR_Connect"); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:160:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 160 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:478:17: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 478 | errWarn("SSL_ResetHandshake"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:160:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 160 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:433:25: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 433 | SECStatus result; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:496:1: warning: no previous prototype for 'getIPAddress' [-Wmissing-prototypes] BUILDSTDERR: 496 | getIPAddress(const char * hostName) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: In function 'getIPAddress': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:506:10: warning: passing argument 1 of 'errExit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 506 | errExit("PR_GetHostByName"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:168:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 168 | errExit(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:518:1: warning: no previous prototype for 'client_main' [-Wmissing-prototypes] BUILDSTDERR: 518 | client_main( BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: In function 'client_main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:544:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: 544 | PRAddrInfo *ai; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:565:17: warning: passing argument 1 of 'errExit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 565 | errExit("PR_OpenTCPSocket on tcp socket"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:168:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 168 | errExit(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:574:17: warning: passing argument 1 of 'errExit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 574 | errExit("SSL_ImportFD"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:168:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 168 | errExit(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:587:17: warning: passing argument 1 of 'errExit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 587 | errExit("SSL_OptionSet SSL_SECURITY"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:168:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 168 | errExit(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:520:25: warning: unused parameter 'connections' [-Wunused-parameter] BUILDSTDERR: 520 | int connections, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:521:25: warning: unused parameter 'privKey' [-Wunused-parameter] BUILDSTDERR: 521 | SECKEYPrivateKey ** privKey, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:522:25: warning: unused parameter 'cert' [-Wunused-parameter] BUILDSTDERR: 522 | CERTCertificate ** cert, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:615:1: warning: no previous prototype for 'createRequest' [-Wmissing-prototypes] BUILDSTDERR: 615 | createRequest(char * serials, char *reason, char *invalidity, int take_off_hold) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: In function 'createRequest': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:667:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 667 | old = ""; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:677:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 677 | iDate = ""; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: In function 'main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:716:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 716 | char * dir = "."; BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:828:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 828 | revocation_reason = "0"; BUILDSTDERR: | ^ BUILDSTDERR: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:311:19: warning: 'outHeader' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 311 | static const char outHeader[] = { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c: In function 'main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/revoker/revoker.c:883:9: warning: 'fp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 883 | fclose(fp); BUILDSTDERR: | ^~~~~~~~~~ [ 49%] Building C object base/native-tools/src/revoker/CMakeFiles/revoker.dir/getopt.c.o [ 50%] Linking C executable revoker [ 50%] Built target revoker Scanning dependencies of target setpin [ 52%] Building C object base/native-tools/src/setpin/CMakeFiles/setpin.dir/b64.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/b64.c: In function 'ldif_base64_encode_internal': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/b64.c:38:21: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 38 | int i, pad, len; BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/b64.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/b64.c:98:1: warning: no previous prototype for 'ldif_base64_encode' [-Wmissing-prototypes] BUILDSTDERR: 98 | ldif_base64_encode( unsigned char *src, char *dst, int srclen, int lenused ) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ [ 54%] Building C object base/native-tools/src/setpin/CMakeFiles/setpin.dir/options.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/options.c: In function 'OPT_parseOptFile': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/options.c:78:13: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 78 | return ("Bad syntax for 'optfile'\n"); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/options.c:82:13: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 82 | return ("Options file could not be opened for reading\n"); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/options.c: In function 'OPT_parseArgument': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/options.c:98:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 98 | char *INV_ARG = "invalid argument: %s"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ [ 56%] Building C object base/native-tools/src/setpin/CMakeFiles/setpin.dir/setpin.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:138:8: warning: no previous prototype for 'trim_strdup' [-Wmissing-prototypes] BUILDSTDERR: 138 | char * trim_strdup(char *s) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:147:6: warning: no previous prototype for 'readInputFile' [-Wmissing-prototypes] BUILDSTDERR: 147 | void readInputFile() { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: In function 'readInputFile': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:161:19: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 161 | exitError("Couldn't create dn->pin hashtable"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 112 | void exitError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: In function 'main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:305:23: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 305 | exitError("Couldn't open output file"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 112 | void exitError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:320:23: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 320 | exitError("Couldn't open input file"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 112 | void exitError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:359:6: warning: no previous prototype for 'do_setup' [-Wmissing-prototypes] BUILDSTDERR: 359 | void do_setup() { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: In function 'do_setup': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:384:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 384 | x.mod_type = "attributetypes"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:394:31: warning: passing argument 1 of 'exitLDAPError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 394 | exitLDAPError("couldn't modify schema when creating pin attribute"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:123:26: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 123 | void exitLDAPError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:408:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 408 | x.mod_type = "objectclasses"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:419:31: warning: passing argument 1 of 'exitLDAPError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 419 | exitLDAPError("couldn't modify schema when creating objectclass"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:123:26: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 123 | void exitLDAPError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:429:23: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 429 | exitError("missing pinmanagerpwd argument"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 112 | void exitError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:432:23: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 432 | exitError("missing basedn argument"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 112 | void exitError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:439:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 439 | a1_values[0] = "pinmanager"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:442:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 442 | a1.mod_type = "sn"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:445:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 445 | a2_values[0] = "pinmanager"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:448:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 448 | a2.mod_type = "cn"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:454:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 454 | a3.mod_type = "userPassword"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:457:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 457 | a4_values[0] = "person"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:460:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 460 | a4.mod_type = "objectclass"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:475:31: warning: passing argument 1 of 'exitLDAPError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 475 | exitLDAPError("couldn't create new user"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:123:26: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 123 | void exitLDAPError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:507:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 507 | x.mod_type = "aci"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:518:31: warning: passing argument 1 of 'exitLDAPError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 518 | exitLDAPError("couldn't modify aci on basedn"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:123:26: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 123 | void exitLDAPError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: In function 'sha256_pw_enc': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:545:38: warning: pointer targets in passing argument 3 of 'PK11_HashBuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 545 | PK11_HashBuf(SEC_OID_SHA256,hash,pwd,strlen(pwd)); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:70:46: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 70 | unsigned char *in, BUILDSTDERR: | ~~~~~~~~~~~~~~~^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:558:5: warning: no previous prototype for 'isstring' [-Wmissing-prototypes] BUILDSTDERR: 558 | int isstring(char *s) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:570:6: warning: no previous prototype for 'doLDAPBind' [-Wmissing-prototypes] BUILDSTDERR: 570 | void doLDAPBind() { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: In function 'doLDAPBind': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:603:19: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 603 | exitError("could not connect to directory server"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 112 | void exitError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:610:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: 610 | struct berval credential; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:646:6: warning: no previous prototype for 'doLDAPUnbind' [-Wmissing-prototypes] BUILDSTDERR: 646 | void doLDAPUnbind(){ BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: In function 'processSearchResults': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:733:29: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 733 | bin = ""; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:809:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 809 | objectclass.mod_type = "objectclass"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:818:35: warning: passing argument 1 of 'exitLDAPError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 818 | exitLDAPError("couldn't modify attribute"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:123:26: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 123 | void exitLDAPError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:831:23: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 831 | exitError("Couldn't generate password."); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 112 | void exitError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:845:31: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 845 | exitError("specified salt attribute not found for this user"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 112 | void exitError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:857:27: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 857 | exitError("Couldn't allocate 'hashbuf_source'."); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 112 | void exitError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:951:31: warning: passing argument 1 of 'exitLDAPError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 951 | exitLDAPError("couldn't modify attribute"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:123:26: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 123 | void exitLDAPError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:960:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 960 | fprintf(stderr,"o_write = %0x\n",(unsigned int)o_write); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:664:9: warning: variable 'change' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 664 | int change=0; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:999:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 999 | static char *UCalpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1002:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1002 | static char *LCalpha = "abcdefghijklmnopqrstuvwxyz"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1003:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1003 | static char *numbers = "0123456789"; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1004:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1004 | static char *punc = "!#$%&*+,-./:;<=>?@[]^{|}"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1009:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1009 | static char *RNG_ALPHA = "RNG-alpha"; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1010:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1010 | static char *RNG_PRINTABLEASCII = "RNG-printableascii"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1011:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1011 | static char *RNG_ALPHANUM = "RNG-alphanum"; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1016:6: warning: no previous prototype for 'buildCharpool' [-Wmissing-prototypes] BUILDSTDERR: 1016 | void buildCharpool() { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: In function 'buildCharpool': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1027:23: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1027 | exitError("Illegal value for case="); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 112 | void exitError(char *errstring) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1057:6: warning: no previous prototype for 'initrandom' [-Wmissing-prototypes] BUILDSTDERR: 1057 | void initrandom() { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1078:16: warning: no previous prototype for 'getRandomShort' [-Wmissing-prototypes] BUILDSTDERR: 1078 | unsigned short getRandomShort() { BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1120:16: warning: no previous prototype for 'getRandomInRange' [-Wmissing-prototypes] BUILDSTDERR: 1120 | unsigned short getRandomInRange(unsigned short max) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1139:8: warning: no previous prototype for 'newPassword' [-Wmissing-prototypes] BUILDSTDERR: 1139 | char * newPassword() { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1172:6: warning: no previous prototype for 'testpingen' [-Wmissing-prototypes] BUILDSTDERR: 1172 | void testpingen() { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c: In function 'testpingen': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:1181:31: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1181 | if (! equals(o_testpingen,"")) { BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin.c:67:34: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 67 | extern int equals(char *s, char *t); BUILDSTDERR: | ~~~~~~^ [ 58%] Building C object base/native-tools/src/setpin/CMakeFiles/setpin.dir/setpin_options.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:37:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 37 | "host", "LDAP host [required]", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:37:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 37 | "host", "LDAP host [required]", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:38:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 38 | "port", "LDAP port (default 389)", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:38:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 38 | "port", "LDAP port (default 389)", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:39:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 39 | "binddn", "DN to bind to directory as [required]", BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:39:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 39 | "binddn", "DN to bind to directory as [required]", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:40:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 40 | "bindpw", "Password associated with above DN ", BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:40:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 40 | "bindpw", "Password associated with above DN ", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:41:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 41 | "filter", "Ldap search filter e.g. filter=(uid=*) [required]", BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:41:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 41 | "filter", "Ldap search filter e.g. filter=(uid=*) [required]", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:46:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 46 | "basedn", "Base DN used for LDAP search", BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:46:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 46 | "basedn", "Base DN used for LDAP search", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:47:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 47 | "length", "Length of generated pins (default 6)", BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:47:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 47 | "length", "Length of generated pins (default 6)", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:48:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 48 | "minlength","Minimum length of generated pins (not to be used with 'length')", BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:48:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 48 | "minlength","Minimum length of generated pins (not to be used with 'length')", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:49:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 49 | "maxlength","Maximum length of generated pins (not to be used with 'length')", BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:49:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 49 | "maxlength","Maximum length of generated pins (not to be used with 'length')", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:50:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 50 | "gen", "Permitted chars for pin. Type 'setpin gen' for more info", BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:50:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 50 | "gen", "Permitted chars for pin. Type 'setpin gen' for more info", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:51:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 51 | "case", "Restrict case of pins 'case=upperonly'", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:51:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 51 | "case", "Restrict case of pins 'case=upperonly'", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:52:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 52 | "objectclass", "Objectclass of LDAP entry to operate on (default pinPerson)", BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:52:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 52 | "objectclass", "Objectclass of LDAP entry to operate on (default pinPerson)", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:53:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 53 | "attribute","Which LDAP attribute to write to (default pin)", BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:53:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 53 | "attribute","Which LDAP attribute to write to (default pin)", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:54:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 54 | "hash", "Hash algorithm used to store pin: 'none', or 'sha256' (default) warning: 'none' is in the clear", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:54:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 54 | "hash", "Hash algorithm used to store pin: 'none', or 'sha256' (default) warning: 'none' is in the clear", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:55:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 55 | "saltattribute", "Which attribute to use for salt (default: dn)", BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:55:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 55 | "saltattribute", "Which attribute to use for salt (default: dn)", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:56:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 56 | "input", "File to use for restricting DN's, or providing your own pins", BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:56:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 56 | "input", "File to use for restricting DN's, or providing your own pins", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:57:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 57 | "output", "Redirect stdout to a file", BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:57:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 57 | "output", "Redirect stdout to a file", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:58:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 58 | "write", "Turn on writing to directory (otherwise, pins will not get written)", BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:58:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 58 | "write", "Turn on writing to directory (otherwise, pins will not get written)", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:59:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 59 | "clobber", "Overwrite old pins in the directory", BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:59:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 59 | "clobber", "Overwrite old pins in the directory", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:60:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 60 | "testpingen", "Test pin generation mode. testpingen=count", BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:60:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 60 | "testpingen", "Test pin generation mode. testpingen=count", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:61:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 61 | "debug", "Turn on debugging, or use debug=attrs for even more", BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:61:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 61 | "debug", "Turn on debugging, or use debug=attrs for even more", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:62:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 62 | "optfile", "Read in options (one per line) from specified file", BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:62:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 62 | "optfile", "Read in options (one per line) from specified file", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:63:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 63 | "setup", "Switch to setup mode", BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:63:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 63 | "setup", "Switch to setup mode", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:64:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 64 | "pinmanager","Pin Manager user to create in setup mode", BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:64:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 64 | "pinmanager","Pin Manager user to create in setup mode", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:65:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 65 | "pinmanagerpwd","password of pin manager user in setup mode", BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:65:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 65 | "pinmanagerpwd","password of pin manager user in setup mode", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:66:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 66 | "schemachange","make schema changes in setup mode", BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:66:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 66 | "schemachange","make schema changes in setup mode", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:82:6: warning: no previous prototype for 'setDefaultOptions' [-Wmissing-prototypes] BUILDSTDERR: 82 | void setDefaultOptions() { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c: In function 'setDefaultOptions': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:83:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 83 | o_certdb= "."; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:96:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 96 | o_gen= "RNG-alphanum"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:98:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 98 | o_attribute="pin"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:99:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 99 | o_hash= "sha256"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:100:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 100 | o_objectclass="pinPerson"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:102:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 102 | o_retry= "5"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:114:6: warning: no previous prototype for 'getOptions' [-Wmissing-prototypes] BUILDSTDERR: 114 | void getOptions() { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c: In function 'getOptions': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:122:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 122 | OPT_getValue("certdb", &o_certdb); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:123:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 123 | OPT_getValue("nickname", &o_nickname); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:124:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 124 | OPT_getValue("binddn", &o_binddn); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:125:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 125 | OPT_getValue("bindpw", &o_bindpw); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:126:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 126 | OPT_getValue("filter", &o_filter); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:127:20: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 127 | i = OPT_getValue("ssl", &o_ssl); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:128:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 128 | if (i) o_ssl = "yes"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:129:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 129 | OPT_getValue("basedn", &o_basedn); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:130:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 130 | OPT_getValue("input", &o_input); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:131:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 131 | OPT_getValue("host", &o_host); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:132:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 132 | OPT_getValue("port", &o_port); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:133:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 133 | OPT_getValue("length", &o_length); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:135:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 135 | OPT_getValue("minlength",&o_minlength); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:137:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 137 | OPT_getValue("maxlength",&o_maxlength); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:139:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 139 | OPT_getValue("gen", &o_gen); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:140:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 140 | OPT_getValue("case", &o_case); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:141:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 141 | OPT_getValue("attribute",&o_attribute); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:142:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 142 | OPT_getValue("hash", &o_hash); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:153:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 153 | OPT_getValue("objectclass",&o_objectclass); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:154:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 154 | OPT_getValue("output", &o_output); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:155:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 155 | OPT_getValue("retry", &o_retry); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:156:20: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 156 | i = OPT_getValue("debug", &o_debug); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:159:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 159 | o_debug = "yes"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:162:20: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 162 | i = OPT_getValue("write", &o_write); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:163:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 163 | if (i) o_write = "yes"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:164:20: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 164 | i = OPT_getValue("clobber", &o_clobber); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:165:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 165 | if (i) o_clobber = "yes"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:166:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 166 | OPT_getValue("saltattribute", &o_saltattribute); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:167:20: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 167 | i = OPT_getValue("testpingen", &o_testpingen); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:170:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 170 | o_testpingen = "25"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:173:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 173 | OPT_getValue("setup", &o_setup); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:174:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 174 | OPT_getValue("pinmanager", &o_pinmanager); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:175:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 175 | OPT_getValue("pinmanagerpwd", &o_pinmanagerpwd); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:176:16: warning: passing argument 1 of 'OPT_getValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 176 | OPT_getValue("schemachange", &o_schemachange); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 29 | extern int OPT_getValue(char *option, char **output); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:5: warning: no previous prototype for 'equals' [-Wmissing-prototypes] BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:185:6: warning: no previous prototype for 'validateOptions' [-Wmissing-prototypes] BUILDSTDERR: 185 | void validateOptions() { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c: In function 'validateOptions': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:188:35: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 188 | if (o_nickname && equals(o_ssl,"no")) { BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:194:23: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 194 | ( equals(o_gen,"RNG-printableascii") || BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:195:16: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 195 | equals(o_gen,"RNG-alpha") || BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:196:16: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 196 | equals(o_gen,"RNG-alphanum") || BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:197:16: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 197 | equals(o_gen,"FIPS181-printable")) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:244:32: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 244 | if (!o_host || equals(o_host,"")) { BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:249:36: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 249 | if (!o_binddn || equals(o_binddn,"")) { BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:254:36: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 254 | if (!o_bindpw || equals(o_bindpw,"")) { BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:267:36: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 267 | if (!o_filter || equals(o_filter,"")) { BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:273:22: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 273 | (equals(o_hash,"sha256") || BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:274:22: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 274 | equals(o_hash,"none")) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:279:21: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 279 | if (equals(o_hash,"none")) o_hash = NULL; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 181 | int equals(char *s, char *t) { BUILDSTDERR: | ~~~~~~^ [ 60%] Linking C executable setpin [ 60%] Built target setpin Scanning dependencies of target sslget [ 61%] Building C object base/native-tools/src/sslget/CMakeFiles/sslget.dir/sslget.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c: In function 'ownPasswd': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:128:26: warning: unused parameter 'slot' [-Wunused-parameter] BUILDSTDERR: 128 | ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c: In function 'myBadCertHandler': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:193:25: warning: unused parameter 'arg' [-Wunused-parameter] BUILDSTDERR: 193 | myBadCertHandler( void *arg, PRFileDesc *fd) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:193:42: warning: unused parameter 'fd' [-Wunused-parameter] BUILDSTDERR: 193 | myBadCertHandler( void *arg, PRFileDesc *fd) BUILDSTDERR: | ~~~~~~~~~~~~^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:203:1: warning: no previous prototype for 'my_GetClientAuthData' [-Wmissing-prototypes] BUILDSTDERR: 203 | my_GetClientAuthData(void * arg, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c: In function 'my_GetClientAuthData': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:221:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 221 | FPRINTF(stderr," mygetclientauthdata - cert = %x\n",(unsigned int)cert); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:224:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 224 | FPRINTF(stderr," mygetclientauthdata - privkey = %x\n",(unsigned int)privkey); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:271:1: warning: no previous prototype for 'printSecurityInfo' [-Wmissing-prototypes] BUILDSTDERR: 271 | printSecurityInfo(PRFileDesc *fd) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c: In function 'do_writes': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:320:14: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 320 | errWarn("PR_Write bigBuf"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 154 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c: In function 'do_io': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:387:10: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 387 | errWarn("returning from after calling do_writes"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 154 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:401:14: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 401 | errWarn("PR_Read"); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 154 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:427:34: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 427 | errWarn("PR_Read"); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 154 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:435:34: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 435 | errWarn("not enough bytes read in first read"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 154 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:454:14: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: 454 | char *status_string = PL_strndup(buf+9, 3); BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c: In function 'do_connect': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:496:17: warning: passing argument 1 of 'errExit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 496 | errExit("PR_OpenTCPSocket on tcp socket"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:162:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 162 | errExit(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:513:17: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 513 | errWarn("PR_Connect"); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 154 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:533:17: warning: passing argument 1 of 'errWarn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 533 | errWarn("SSL_ResetHandshake"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 154 | errWarn(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:488:25: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 488 | SECStatus result; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c: In function 'getIPAddress': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:561:10: warning: passing argument 1 of 'errExit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 561 | errExit("PR_GetHostByName"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:162:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 162 | errExit(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c: In function 'client_main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:604:17: warning: passing argument 1 of 'errExit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 604 | errExit("SSL_VersionRangeGetSupported() failed"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:162:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 162 | errExit(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:676:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: 676 | PRAddrInfo *ai; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:704:25: warning: passing argument 1 of 'errExit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 704 | errExit("PR_OpenTCPSocket on tcp socket"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:162:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 162 | errExit(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:712:25: warning: passing argument 1 of 'errExit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 712 | errExit("SSL_ImportFD"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:162:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 162 | errExit(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:726:25: warning: passing argument 1 of 'errExit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 726 | errExit("SSL_OptionSet SSL_SECURITY"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:162:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 162 | errExit(char * funcString) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:575:25: warning: unused parameter 'connections' [-Wunused-parameter] BUILDSTDERR: 575 | int connections, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:576:25: warning: unused parameter 'privKey' [-Wunused-parameter] BUILDSTDERR: 576 | SECKEYPrivateKey ** privKey, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:577:25: warning: unused parameter 'cert' [-Wunused-parameter] BUILDSTDERR: 577 | CERTCertificate ** cert, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c: In function 'main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:796:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 796 | char * dir = "."; BUILDSTDERR: | ^~~ BUILDSTDERR: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/sslget/sslget.c:551:1: warning: 'getIPAddress' defined but not used [-Wunused-function] BUILDSTDERR: 551 | getIPAddress(const char * hostName) BUILDSTDERR: | ^~~~~~~~~~~~ [ 63%] Building C object base/native-tools/src/sslget/CMakeFiles/sslget.dir/getopt.c.o [ 65%] Linking C executable sslget [ 65%] Built target sslget Scanning dependencies of target tkstool [ 67%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/delete.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:58, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/delete.c:20: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ [ 69%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/file.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:58, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/file.c:20: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/file.c: In function 'TKS_ReadInputFileIntoSECItem': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/file.c:26:40: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] BUILDSTDERR: 26 | char *wrappedKeyName, BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/file.c: In function 'TKS_WriteSECItemIntoOutputFile': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/file.c:318:42: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] BUILDSTDERR: 318 | char *wrappedKeyName, BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~ [ 70%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/find.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:58, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/find.c:20: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ [ 72%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/help.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:58, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/help.c:20: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/help.c: In function 'TKS_PrintHelp': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/help.c:86:22: warning: unused parameter 'progName' [-Wunused-parameter] BUILDSTDERR: 86 | TKS_PrintHelp( char *progName ) BUILDSTDERR: | ~~~~~~^~~~~~~~ [ 74%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/key.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:58, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:20: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c: In function 'InputHexSessionKey': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:229:19: warning: comparison of integer expressions of different signedness: 'int' and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] BUILDSTDERR: 229 | for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:234:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: 234 | for( i = count; i < hexSessionKeyShare->len; i += 4 ) { BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c: In function 'TKS_GenerateSessionKeyShare': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:904:23: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] BUILDSTDERR: 904 | for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:909:27: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'unsigned int' [-Wsign-compare] BUILDSTDERR: 909 | for( i = count; i < hexSessionKeyShare.len; i += 4 ) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:20: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:114:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 114 | #define SESSION_KEY "session" BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:928:53: note: in expansion of macro 'SESSION_KEY' BUILDSTDERR: 928 | SESSION_KEY, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:475:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 475 | char *keyType, BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:20: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c: In function 'TKS_InputSessionKeyShare': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:114:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 114 | #define SESSION_KEY "session" BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:1037:53: note: in expansion of macro 'SESSION_KEY' BUILDSTDERR: 1037 | SESSION_KEY, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:475:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 475 | char *keyType, BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c: In function 'TKS_ImportSymmetricKey': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:1080:44: warning: declaration of 'pwdata' shadows a global declaration [-Wshadow] BUILDSTDERR: 1080 | secuPWData *pwdata, PRBool isPerm ) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:22:15: note: shadowed declaration is here BUILDSTDERR: 22 | secuPWData pwdata = { PW_NONE, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:1082:17: warning: unused variable 'origin' [-Wunused-variable] BUILDSTDERR: 1082 | PK11Origin origin = PK11_OriginGenerated; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:1077:44: warning: unused parameter 'mechanism' [-Wunused-parameter] BUILDSTDERR: 1077 | CK_MECHANISM_TYPE mechanism, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:1078:44: warning: unused parameter 'operation' [-Wunused-parameter] BUILDSTDERR: 1078 | CK_ATTRIBUTE_TYPE operation, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:1080:44: warning: unused parameter 'pwdata' [-Wunused-parameter] BUILDSTDERR: 1080 | secuPWData *pwdata, PRBool isPerm ) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:20: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c: In function 'TKS_StoreSymmetricKeyAndNameIt': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:116:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 116 | #define TRANSPORT_KEY "transport" BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:1350:61: note: in expansion of macro 'TRANSPORT_KEY' BUILDSTDERR: 1350 | TRANSPORT_KEY, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/key.c:475:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 475 | char *keyType, BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~ [ 76%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/list.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:58, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/list.c:20: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/list.c: In function 'TKS_ListKeys': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/list.c:132:19: warning: unused parameter 'index' [-Wunused-parameter] BUILDSTDERR: 132 | int index, BUILDSTDERR: | ~~~~^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/list.c:133:22: warning: unused parameter 'dopriv' [-Wunused-parameter] BUILDSTDERR: 133 | PRBool dopriv, BUILDSTDERR: | ~~~~~~~^~~~~~ [ 78%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/modules.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:58, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/modules.c:20: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ [ 80%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/pppolicy.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:76:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] BUILDSTDERR: 76 | offsetof(CERTPolicyQualifier, qualifierID) }, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/nss3/secoid.h:18, BUILDSTDERR: from /usr/include/nss3/secmodt.h:9, BUILDSTDERR: from /usr/include/nss3/keythi.h:10, BUILDSTDERR: from /usr/include/nss3/cert.h:21, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:53: BUILDSTDERR: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here BUILDSTDERR: 47 | const void *sub; BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:78:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] BUILDSTDERR: 78 | offsetof(CERTPolicyQualifier, qualifierValue) }, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/nss3/secoid.h:18, BUILDSTDERR: from /usr/include/nss3/secmodt.h:9, BUILDSTDERR: from /usr/include/nss3/keythi.h:10, BUILDSTDERR: from /usr/include/nss3/cert.h:21, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:53: BUILDSTDERR: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here BUILDSTDERR: 47 | const void *sub; BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:86:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] BUILDSTDERR: 86 | offsetof(CERTPolicyInfo, policyID) }, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/nss3/secoid.h:18, BUILDSTDERR: from /usr/include/nss3/secmodt.h:9, BUILDSTDERR: from /usr/include/nss3/keythi.h:10, BUILDSTDERR: from /usr/include/nss3/cert.h:21, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:53: BUILDSTDERR: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here BUILDSTDERR: 47 | const void *sub; BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:89:4: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] BUILDSTDERR: 89 | secu_PolicyQualifierTemplate }, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/nss3/secoid.h:18, BUILDSTDERR: from /usr/include/nss3/secmodt.h:9, BUILDSTDERR: from /usr/include/nss3/keythi.h:10, BUILDSTDERR: from /usr/include/nss3/cert.h:21, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:53: BUILDSTDERR: /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here BUILDSTDERR: 55 | unsigned int size; BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:200:9: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 200 | "Display Text", level+1); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:283:60: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 283 | extern void SECU_PrintString(FILE *out, SECItem *si, char *m, int level); BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:181:37: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 181 | char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintPolicyQualifier': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:216:6: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 216 | "Policy Qualifier Name", level); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:200:68: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 200 | extern SECOidTag SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level); BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:229:37: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 229 | SECU_PrintAny(out, qualifierValue, "Policy Qualifier Data", level); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:284:56: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 284 | extern void SECU_PrintAny(FILE *out, SECItem *i, char *m, int level); BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintPolicyInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:241:52: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 241 | SECU_PrintObjectID(out, &policyInfo->policyID , "Policy Name", level); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:200:68: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 200 | extern SECOidTag SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level); BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:244:50: warning: passing argument 3 of 'secu_PrintPolicyQualifier' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 244 | secu_PrintPolicyQualifier(out,*policyQualifiers,"",level+1); BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:210:12: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 210 | char *msg,int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:236:65: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 236 | secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,char *msg,int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c: In function 'SECU_PrintPolicy': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:263:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 263 | SECU_PrintAny(out, value, "Invalid Policy Data", level); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:284:56: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 284 | extern void SECU_PrintAny(FILE *out, SECItem *i, char *m, int level); BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:269:40: warning: passing argument 3 of 'secu_PrintPolicyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 269 | secu_PrintPolicyInfo(out,*policyInfos,"",level); BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:236:65: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 236 | secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,char *msg,int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c: In function 'SECU_PrintPrivKeyUsagePeriodExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:292:50: warning: passing argument 3 of 'SECU_PrintGeneralizedTime' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 292 | SECU_PrintGeneralizedTime(out, &prd->notBefore, "Not Before", level); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:224:68: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 224 | extern void SECU_PrintGeneralizedTime(FILE *out, SECItem *t, char *m, BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:295:50: warning: passing argument 3 of 'SECU_PrintGeneralizedTime' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 295 | SECU_PrintGeneralizedTime(out, &prd->notAfter, "Not After ", level); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:224:68: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 224 | extern void SECU_PrintGeneralizedTime(FILE *out, SECItem *t, char *m, BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintPolicyQualifier': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:224:11: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 224 | if (SECSuccess == rv) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/pppolicy.c:227:4: note: here BUILDSTDERR: 227 | case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: BUILDSTDERR: | ^~~~ [ 81%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/random.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:58, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/random.c:20: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ [ 83%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/retrieve.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:58, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/retrieve.c:20: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ [ 85%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/secerror.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secerror.c:74:1: warning: no previous prototype for 'SECU_Strerror' [-Wmissing-prototypes] BUILDSTDERR: 74 | SECU_Strerror(PRErrorCode errNum) { BUILDSTDERR: | ^~~~~~~~~~~~~ [ 87%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/secpwd.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secpwd.c:44: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secpwd.c: In function 'SEC_GetPassword': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secpwd.c:69:21: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 69 | #define QUIET_FGETS fgets BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secpwd.c:117:2: note: in expansion of macro 'QUIET_FGETS' BUILDSTDERR: 117 | QUIET_FGETS ( phrase, sizeof(phrase), input); BUILDSTDERR: | ^~~~~~~~~~~ [ 89%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/secutil.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:60: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:99:1: warning: no previous prototype for 'SECU_GetString' [-Wmissing-prototypes] BUILDSTDERR: 99 | SECU_GetString(int16 error_number) BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:1: warning: no previous prototype for 'SECU_PrintErrMsg' [-Wmissing-prototypes] BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintErrMsg': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:118:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] BUILDSTDERR: 118 | vfprintf(out, msg, args); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintError': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:137:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] BUILDSTDERR: 137 | vfprintf(stderr, msg, args); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSystemError': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:153:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] BUILDSTDERR: 153 | vfprintf(stderr, msg, args); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_GetPasswordString': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:172:30: warning: unused parameter 'arg' [-Wunused-parameter] BUILDSTDERR: 172 | SECU_GetPasswordString(void *arg, char *prompt) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_FilePasswd': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:222:31: warning: unused parameter 'slot' [-Wunused-parameter] BUILDSTDERR: 222 | SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_GetModulePassword': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:263:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 263 | secuPWData pwxtrn = { PW_EXTERNAL, "external" }; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:308:1: warning: no previous prototype for 'secu_InitSlotPassword' [-Wmissing-prototypes] BUILDSTDERR: 308 | secu_InitSlotPassword(PK11SlotInfo *slot, PRBool retry, void *arg) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_InitSlotPassword': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:351:38: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 351 | p0 = SEC_GetPassword(input, output, "Enter new password: ", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:60: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:123:14: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 123 | extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:356:38: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 356 | p1 = SEC_GetPassword(input, output, "Re-enter password: ", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:60: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:123:14: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 123 | extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ChangePW': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:376:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 376 | SECStatus rv; BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ConfigDirectory': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:485:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 485 | if (!home) home = ""; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_GetClientAuthData': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:505:47: warning: unused parameter 'fd' [-Wunused-parameter] BUILDSTDERR: 505 | SECU_GetClientAuthData(void *arg, PRFileDesc *fd, BUILDSTDERR: | ~~~~~~~~~~~~^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:506:35: warning: unused parameter 'caNames' [-Wunused-parameter] BUILDSTDERR: 506 | struct CERTDistNamesStr *caNames, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:546:1: warning: no previous prototype for 'secu_StdinToItem' [-Wmissing-prototypes] BUILDSTDERR: 546 | secu_StdinToItem(SECItem *dst) BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ReadDERFromFile': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:671:2: warning: missing initializer for field 'len' of 'SECItem' {aka 'struct SECItemStr'} [-Wmissing-field-initializers] BUILDSTDERR: 671 | SECItem filedata = {siBuffer,0}; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/nss3/blapit.h:11, BUILDSTDERR: from /usr/include/nss3/cryptohi.h:11, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:59: BUILDSTDERR: /usr/include/nss3/seccomon.h:53:18: note: 'len' declared here BUILDSTDERR: 53 | unsigned int len; BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:877:1: warning: no previous prototype for 'SECU_StripTagAndLength' [-Wmissing-prototypes] BUILDSTDERR: 877 | SECU_StripTagAndLength(SECItem *i) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1077:1: warning: no previous prototype for 'SECU_PrintSet' [-Wmissing-prototypes] BUILDSTDERR: 1077 | SECU_PrintSet(FILE *out, SECItem *t, char *m, int level) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1209:1: warning: no previous prototype for 'SECU_PrintEncodedBoolean' [-Wmissing-prototypes] BUILDSTDERR: 1209 | SECU_PrintEncodedBoolean(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1218:1: warning: no previous prototype for 'SECU_PrintEncodedInteger' [-Wmissing-prototypes] BUILDSTDERR: 1218 | SECU_PrintEncodedInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1227:1: warning: no previous prototype for 'SECU_PrintEncodedObjectID' [-Wmissing-prototypes] BUILDSTDERR: 1227 | SECU_PrintEncodedObjectID(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintValidity': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1381:46: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1381 | SECU_PrintTimeChoice(out, &v->notBefore, "Not Before", level+1); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1057:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1057 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1382:46: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1382 | SECU_PrintTimeChoice(out, &v->notAfter, "Not After ", level+1); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1057:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1057 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAttribute': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1447:44: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1447 | SECU_PrintObjectID(out, &(attr->type), "Type", level+1); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1388:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1388 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintRSAPublicKey': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1476:48: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1476 | SECU_PrintInteger(out, &pk->u.rsa.modulus, "Modulus", level+1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1477:55: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1477 | SECU_PrintInteger(out, &pk->u.rsa.publicExponent, "Exponent", level+1); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintDSAPublicKey': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1488:53: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1488 | SECU_PrintInteger(out, &pk->u.dsa.params.prime, "Prime", level+1); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1489:56: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1489 | SECU_PrintInteger(out, &pk->u.dsa.params.subPrime, "Subprime", level+1); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1490:52: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1490 | SECU_PrintInteger(out, &pk->u.dsa.params.base, "Base", level+1); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1491:52: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1491 | SECU_PrintInteger(out, &pk->u.dsa.publicValue, "PublicValue", level+1); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1521:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1521 | SECU_PrintAlgorithmID(out, &i->algorithm, "Public Key Algorithm", level+1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1418 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1527:38: warning: passing argument 3 of 'secu_PrintRSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1527 | secu_PrintRSAPublicKey(out, pk, "RSA Public Key", level +1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1472:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1472 | secu_PrintRSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1531:38: warning: passing argument 3 of 'secu_PrintDSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1531 | secu_PrintDSAPublicKey(out, pk, "DSA Public Key", level +1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1485:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1485 | secu_PrintDSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1553:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1553 | SECU_PrintErrMsg(out, level, "Error", "Parsing public key"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1553:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1553 | SECU_PrintErrMsg(out, level, "Error", "Parsing public key"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1556:47: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1556 | SECU_PrintAny(out, &i->subjectPublicKey, "Raw", level); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1515:56: warning: unused parameter 'arena' [-Wunused-parameter] BUILDSTDERR: 1515 | secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintX509InvalidDate': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1577:22: warning: passing argument 2 of 'CERT_GenTime2FormattedAscii' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1577 | (invalidTime, "%a %b %d %H:%M:%S %Y"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:54, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:60: BUILDSTDERR: /usr/include/nss3/secder.h:158:14: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 158 | extern char *CERT_GenTime2FormattedAscii(PRTime genTime, char *format); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintNSCertType': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1651:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1651 | SECU_PrintAny(out, value, "Data", level); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintX509KeyUsage': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1700:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1700 | SECU_PrintAny(out, value, "Data", level); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1690:57: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 1690 | secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintGeneralName': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1768:53: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1768 | SECU_PrintAny( out, &gname->name.OthName.name, "Other Name", level); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1769:53: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1769 | SECU_PrintObjectID(out, &gname->name.OthName.oid, "OID", level+1); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1388:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1388 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1772:50: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1772 | SECU_PrintName(out, &gname->name.directoryName, "Directory Name", level); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:60: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:293:61: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 293 | extern void SECU_PrintName(FILE *out, CERTName *name, char *msg, int level); BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1775:50: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1775 | secu_PrintRawString( out, &gname->name.other, "RFC822 Name", level); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:924:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 924 | secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1778:50: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1778 | secu_PrintRawString( out, &gname->name.other, "DNS name", level); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:924:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 924 | secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1781:50: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1781 | secu_PrintRawString( out, &gname->name.other, "URI", level); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:924:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 924 | secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1784:47: warning: passing argument 3 of 'secu_PrintIPAddress' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1784 | secu_PrintIPAddress(out, &gname->name.other, "IP Address", level); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1725:54: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1725 | secu_PrintIPAddress(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1787:47: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1787 | SECU_PrintObjectID( out, &gname->name.other, "Registered ID", level); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1388:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1388 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1790:47: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1790 | SECU_PrintAny( out, &gname->name.other, "X400 Address", level); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1793:47: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1793 | SECU_PrintAny( out, &gname->name.other, "EDI Party", level); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAuthKeyIDExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1810:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1810 | SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 128 | SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1810:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1810 | SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 128 | SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1815:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1815 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1815:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1815 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1816:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1816 | SECU_PrintAny(out, value, "Data", level); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1834:54: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1834 | secu_PrintGeneralName(out, kid->authCertIssuer, "Issuer", level); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1760:64: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1760 | secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1837:22: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1837 | "Serial Number", level); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1804:63: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 1804 | secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAltNameExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1851:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1851 | SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 128 | SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1851:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1851 | SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 128 | SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1860:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1860 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1860:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1860 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1861:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1861 | SECU_PrintAny(out, value, "Data", level); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintCRLDistPtsExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1878:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1878 | SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 128 | SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1878:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1878 | SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 128 | SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1895:45: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1895 | SECU_PrintAny(out, &pPoint->derDistPoint, "Point", level); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1898:53: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1898 | secu_PrintDecodedBitString(out, &pPoint->reasons, "Reasons", BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1190:57: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1190 | secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1902:49: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1902 | secu_PrintGeneralName(out, pPoint->crlIssuer, "Issuer", level); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1760:64: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1760 | secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1906:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1906 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1906:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1906 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1907:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1907 | SECU_PrintAny(out, value, "Data", level); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1872:64: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 1872 | secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintNameConstraintSubtree': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1923:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1923 | SECU_PrintInteger(out, &value->min, "Minimum", level+1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1925:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1925 | SECU_PrintInteger(out, &value->max, "Maximum", level+1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintNameConstraintsExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1937:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1937 | SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 128 | SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1937:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1937 | SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 128 | SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1942:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1942 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1942:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1942 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1943:32: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1943 | SECU_PrintAny(out, value, "Raw", level); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1947:38: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1947 | "Permitted", level); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1915:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1915 | char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1950:38: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1950 | "Excluded", level); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1915:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1915 | char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1931:69: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 1931 | secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAuthorityInfoAcess': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1963:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1963 | SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 128 | SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1963:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1963 | SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 128 | SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1968:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1968 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1968:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1968 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1969:32: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1969 | SECU_PrintAny(out, value, "Raw", level); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1974:42: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1974 | SECU_PrintObjectID(out, &info->method, "Method", level); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1388:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1388 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1980:46: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1980 | secu_PrintGeneralName(out, info->location, "Location", level); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1760:64: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1760 | secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1982:42: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1982 | SECU_PrintAny(out, &info->derLocation, "Location", level); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1957:63: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: 1957 | secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintExtensions': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2005:39: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2005 | SECU_PrintObjectID(out, tmpitem, "Name", level); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1388:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1388 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2018:46: warning: passing argument 3 of 'secu_PrintX509InvalidDate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2018 | secu_PrintX509InvalidDate(out, tmpitem, "Date", level ); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1562:60: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1562 | secu_PrintX509InvalidDate(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2021:37: warning: passing argument 3 of 'SECU_PrintPolicy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2021 | SECU_PrintPolicy(out, tmpitem, "Data", level ); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:60: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:286:63: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 286 | extern void SECU_PrintPolicy(FILE *out, SECItem *value, char *msg, int level); BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2033:37: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2033 | SECU_PrintString(out,tmpitem, "URL", level); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:956:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 956 | SECU_PrintString(FILE *out, SECItem *si, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2036:37: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2036 | SECU_PrintString(out,tmpitem, "Comment", level); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:956:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 956 | SECU_PrintString(FILE *out, SECItem *si, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2039:37: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2039 | SECU_PrintString(out,tmpitem, "ServerName", level); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:956:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 956 | SECU_PrintString(FILE *out, SECItem *si, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2042:40: warning: passing argument 3 of 'secu_PrintNSCertType' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2042 | secu_PrintNSCertType(out,tmpitem,"Data",level); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1641:55: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1641 | secu_PrintNSCertType(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2045:46: warning: passing argument 3 of 'secu_PrintBasicConstraints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2045 | secu_PrintBasicConstraints(out,tmpitem,"Data",level); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1606:61: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1606 | secu_PrintBasicConstraints(FILE *out, SECItem *value, char *msg, int level) { BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2110:35: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2110 | SECU_PrintAny(out, tmpitem, "Data", level); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintName': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2130:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2130 | str = "!Invalid AVA!"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'printflags': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2151:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] BUILDSTDERR: 2151 | if (flags & CERTDB_VALID_PEER) BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertNickname': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2194:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2194 | name = "(NULL)"; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2213:1: warning: no previous prototype for 'SECU_DecodeAndPrintExtensions' [-Wmissing-prototypes] BUILDSTDERR: 2213 | SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2234:1: warning: no previous prototype for 'SECU_PrintSetOfExtensions' [-Wmissing-prototypes] BUILDSTDERR: 2234 | SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSetOfExtensions': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2241:55: warning: passing argument 3 of 'SECU_DecodeAndPrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2241 | rv |= SECU_DecodeAndPrintExtensions(out, any[0], "", level); BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2213:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2213 | SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2249:1: warning: no previous prototype for 'SECU_PrintSetOfAny' [-Wmissing-prototypes] BUILDSTDERR: 2249 | SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSetOfAny': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2256:33: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2256 | SECU_PrintAny(out, any[0], "", level); BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2263:1: warning: no previous prototype for 'SECU_PrintCertAttribute' [-Wmissing-prototypes] BUILDSTDERR: 2263 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertAttribute': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2267:52: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2267 | tag = SECU_PrintObjectID(out, &attr->attrType, "Attribute Type", level); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1388:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1388 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2269:55: warning: passing argument 3 of 'SECU_PrintSetOfExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2269 | rv = SECU_PrintSetOfExtensions(out, attr->attrValue, "Extensions", level); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2234:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2234 | SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2271:48: warning: passing argument 3 of 'SECU_PrintSetOfAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2271 | rv = SECU_PrintSetOfAny(out, attr->attrValue, "Attribute Values", level); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2249:52: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2249 | SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2263:63: warning: unused parameter 'm' [-Wunused-parameter] BUILDSTDERR: 2263 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2277:1: warning: no previous prototype for 'SECU_PrintCertAttributes' [-Wmissing-prototypes] BUILDSTDERR: 2277 | SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertificateRequest': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2309:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2309 | SECU_PrintInteger(out, &cr->version, "Version", level+1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2310:39: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2310 | SECU_PrintName(out, &cr->subject, "Subject", level+1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2122:49: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2122 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2312:10: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2312 | "Subject Public Key Info", level+1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1516:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1516 | CERTSubjectPublicKeyInfo *i, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2314:48: warning: passing argument 3 of 'SECU_PrintCertAttributes' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2314 | SECU_PrintCertAttributes(out, cr->attributes, "Attributes", level+1); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2277:66: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2277 | SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertificate': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2341:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2341 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2341:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2341 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2342:26: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2342 | SECU_PrintAny(out, der, "Raw", level); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1360 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2350:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2350 | SECU_PrintInteger(out, &c->serialNumber, "Serial Number", level+1); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2351:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2351 | SECU_PrintAlgorithmID(out, &c->signature, "Signature Algorithm", level+1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1418 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2352:37: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2352 | SECU_PrintName(out, &c->issuer, "Issuer", level+1); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2122:49: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2122 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2353:43: warning: passing argument 3 of 'secu_PrintValidity' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2353 | secu_PrintValidity(out, &c->validity, "Validity", level+1); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1378:54: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1378 | secu_PrintValidity(FILE *out, CERTValidity *v, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2354:38: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2354 | SECU_PrintName(out, &c->subject, "Subject", level+1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2122:49: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2122 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2356:10: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2356 | "Subject Public Key Info", level+1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1516:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1516 | CERTSubjectPublicKeyInfo *i, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2358:48: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2358 | secu_PrintDecodedBitString(out, &c->issuerID, "Issuer Unique ID", level+1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1190:57: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1190 | secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2360:49: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2360 | secu_PrintDecodedBitString(out, &c->subjectID, "Subject Unique ID", level+1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1190:57: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1190 | secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2361:46: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2361 | SECU_PrintExtensions(out, c->extensions, "Signed Extensions", level+1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1992:14: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1992 | char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7EncContent': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2488:6: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2488 | "Content Encryption Algorithm", level+1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1418 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintRecipientInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2502:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2502 | SECU_PrintInteger(out, &(info->version), "Version", level + 1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2504:55: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2504 | SECU_PrintName(out, &(info->issuerAndSN->issuer), "Issuer", BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2122:49: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2122 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2507:9: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2507 | "Serial Number", level + 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2511:4: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2511 | "Key Encryption Algorithm", level + 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1418 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintSignerInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2527:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2527 | SECU_PrintInteger(out, &(info->version), "Version", level + 1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2529:55: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2529 | SECU_PrintName(out, &(info->issuerAndSN->issuer), "Issuer", BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2122:49: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2122 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2532:9: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2532 | "Serial Number", level + 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2534:52: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2534 | SECU_PrintAlgorithmID(out, &(info->digestAlg), "Digest Algorithm", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1418 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2549:4: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2549 | "Digest Encryption Algorithm", level + 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1418 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCRLInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2580:54: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2580 | SECU_PrintAlgorithmID(out, &(crl->signatureAlg), "Signature Algorithm", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1418 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2582:39: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2582 | SECU_PrintName(out, &(crl->name), "Issuer", level + 1); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2122:49: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2122 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2583:51: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2583 | SECU_PrintTimeChoice(out, &(crl->lastUpdate), "This Update", level + 1); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1057:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1057 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2585:48: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2585 | SECU_PrintTimeChoice(out, &(crl->nextUpdate), "Next Update", level + 1); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1057:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1057 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2592:53: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2592 | SECU_PrintInteger(out, &(entry->serialNumber), "Serial Number", BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2595:27: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2595 | "Revocation Date", level + 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1057:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1057 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2597:27: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2597 | "Entry Extensions", level + 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1992:14: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1992 | char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2600:48: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2600 | SECU_PrintExtensions(out, crl->extensions, "CRL Extensions", level + 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1992:14: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1992 | char *msg, int level) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7Signed': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2619:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2619 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2633:9: warning: passing argument 3 of 'secu_PrintPKCS7ContentInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2633 | "Content Information", level + 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2464:60: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2464 | secu_PrintPKCS7ContentInfo(FILE *, SEC_PKCS7ContentInfo *, char *, int); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2659:7: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2659 | "Signature Algorithm", level+3); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1418 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2663:41: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2663 | SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2569:50: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2569 | SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7Enveloped': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2695:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2695 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2709:10: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2709 | "Encrypted Content Information", level + 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2472:12: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2472 | char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7SignedAndEnveloped': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2730:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2730 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2754:10: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2754 | "Encrypted Content Information", level + 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2472:12: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2472 | char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2778:7: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2778 | "Signature Algorithm", level+3); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1418 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2782:41: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2782 | SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2569:50: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2569 | SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7Encrypted': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2835:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2835 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2838:10: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2838 | "Encrypted Content Information", level + 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2472:12: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2472 | char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7Digested': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2850:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2850 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 899 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2852:49: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2852 | SECU_PrintAlgorithmID(out, &src->digestAlg, "Digest Algorithm", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1418 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2854:56: warning: passing argument 3 of 'secu_PrintPKCS7ContentInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2854 | secu_PrintPKCS7ContentInfo(out, &src->contentInfo, "Content Information", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2464:60: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2464 | secu_PrintPKCS7ContentInfo(FILE *, SEC_PKCS7ContentInfo *, char *, int); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2952:1: warning: no previous prototype for 'printFlags' [-Wmissing-prototypes] BUILDSTDERR: 2952 | printFlags(FILE *out, unsigned int flags, int level) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'printFlags': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2954:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] BUILDSTDERR: 2954 | if ( flags & CERTDB_VALID_PEER ) { BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSignedData': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3016:35: warning: passing argument 3 of 'inner' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3016 | rv = (*inner)(out, &sd->data, "Data", level+1); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3016:35: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3018:57: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3018 | SECU_PrintAlgorithmID(out, &sd->signatureAlgorithm, "Signature Algorithm", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 1418 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3022:38: warning: passing argument 3 of 'SECU_PrintFingerprints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3022 | SECU_PrintFingerprints(out, der, "Fingerprint", level+1); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:2418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 2418 | SECU_PrintFingerprints(FILE *out, SECItem *derCert, char *m, int level) BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ParseCommandLine': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3030:52: warning: unused parameter 'progName' [-Wunused-parameter] BUILDSTDERR: 3030 | SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintPRandOSError': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3235:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 3235 | if (errLen > 0 && errLen < sizeof buffer) { BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3238:31: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3238 | SECU_PrintError(progName, "function failed"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 128 | SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3239:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 3239 | if (errLen > 0 && errLen < sizeof buffer) { BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_printCertProblems': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3299:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 3299 | flags = (unsigned int)node->arg; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3302:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3302 | errstr = "Cert cannot sign."; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3305:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3305 | errstr = "Cert cannot encrypt."; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3308:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3308 | errstr = "Cert cannot sign other certs."; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3311:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3311 | errstr = "[unknown usage]."; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3315:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 3315 | flags = (unsigned int)node->arg; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3319:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3319 | errstr = "Cert cannot be used for SSL."; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3322:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3322 | errstr = "Cert cannot be used as an SSL CA."; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3325:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3325 | errstr = "Cert cannot be used for SMIME."; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3328:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3328 | errstr = "Cert cannot be used as an SMIME CA."; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3331:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3331 | errstr = "Cert cannot be used for object signing."; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3334:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3334 | errstr = "Cert cannot be used as an object signing CA."; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3337:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 3337 | errstr = "[unknown usage]."; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_StoreCRL': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3399:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] BUILDSTDERR: 3399 | if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_FindCrlIssuer': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3613:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] BUILDSTDERR: 3613 | CERTAuthKeyID* authorityKeyID, PRTime validTime) BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c: In function 'SECU_printCertProblems': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3300:3: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 3300 | switch (flags) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3314:6: note: here BUILDSTDERR: 3314 | case SEC_ERROR_INADEQUATE_CERT_TYPE: BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3316:3: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 3316 | switch (flags) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.c:3340:6: note: here BUILDSTDERR: 3340 | case SEC_ERROR_UNKNOWN_ISSUER: BUILDSTDERR: | ^~~~ [ 90%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/tkstool.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:58, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:20: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c: In function 'main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:155:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 155 | char *DBPrefix = ""; BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:161:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 161 | char *slotname = "internal"; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:878:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 878 | if( errLen > 0 && errLen < sizeof buffer ) { BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:888:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 888 | if( errLen > 0 && errLen < sizeof buffer ) { BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:919:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 919 | if( errLen > 0 && errLen < sizeof buffer ) { BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:931:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 931 | if( errLen > 0 && errLen < sizeof buffer ) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:20: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:88:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 88 | #define FIRST_SESSION_KEY_SHARE "first" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:1052:42: note: in expansion of macro 'FIRST_SESSION_KEY_SHARE' BUILDSTDERR: 1052 | FIRST_SESSION_KEY_SHARE, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:213:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 213 | TKS_GenerateSessionKeyShare( char *sessionKeyShareName, BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:88:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 88 | #define FIRST_SESSION_KEY_SHARE "first" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:1070:46: note: in expansion of macro 'FIRST_SESSION_KEY_SHARE' BUILDSTDERR: 1070 | FIRST_SESSION_KEY_SHARE, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:217:36: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 217 | TKS_InputSessionKeyShare( char *sessionKeyShareName, BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:90:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 90 | #define SECOND_SESSION_KEY_SHARE "second" BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:1131:43: note: in expansion of macro 'SECOND_SESSION_KEY_SHARE' BUILDSTDERR: 1131 | SECOND_SESSION_KEY_SHARE, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:213:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 213 | TKS_GenerateSessionKeyShare( char *sessionKeyShareName, BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:90:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 90 | #define SECOND_SESSION_KEY_SHARE "second" BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:1149:47: note: in expansion of macro 'SECOND_SESSION_KEY_SHARE' BUILDSTDERR: 1149 | SECOND_SESSION_KEY_SHARE, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:217:36: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 217 | TKS_InputSessionKeyShare( char *sessionKeyShareName, BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:92:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 92 | #define THIRD_SESSION_KEY_SHARE "third" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:1277:42: note: in expansion of macro 'THIRD_SESSION_KEY_SHARE' BUILDSTDERR: 1277 | THIRD_SESSION_KEY_SHARE, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:213:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 213 | TKS_GenerateSessionKeyShare( char *sessionKeyShareName, BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:92:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 92 | #define THIRD_SESSION_KEY_SHARE "third" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:1295:46: note: in expansion of macro 'THIRD_SESSION_KEY_SHARE' BUILDSTDERR: 1295 | THIRD_SESSION_KEY_SHARE, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:217:36: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 217 | TKS_InputSessionKeyShare( char *sessionKeyShareName, BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:109:48: warning: passing argument 1 of 'TKS_ImportSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 109 | #define FIRST_SYMMETRIC_KEY "first" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:1422:53: note: in expansion of macro 'FIRST_SYMMETRIC_KEY' BUILDSTDERR: 1422 | firstSymmetricKey = TKS_ImportSymmetricKey( FIRST_SYMMETRIC_KEY, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:221:1: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 221 | TKS_ImportSymmetricKey( char *symmetricKeyName, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:110:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 110 | #define SECOND_SYMMETRIC_KEY "second" BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:1457:54: note: in expansion of macro 'SECOND_SYMMETRIC_KEY' BUILDSTDERR: 1457 | secondSymmetricKey = TKS_DeriveSymmetricKey( SECOND_SYMMETRIC_KEY, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:229:1: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 229 | TKS_DeriveSymmetricKey( char *symmetricKeyName, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:111:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 111 | #define THIRD_SYMMETRIC_KEY "third" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:1494:53: note: in expansion of macro 'THIRD_SYMMETRIC_KEY' BUILDSTDERR: 1494 | thirdSymmetricKey = TKS_DeriveSymmetricKey( THIRD_SYMMETRIC_KEY, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:229:1: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 229 | TKS_DeriveSymmetricKey( char *symmetricKeyName, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:116:48: warning: passing argument 1 of 'TKS_StoreSymmetricKeyAndNameIt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 116 | #define TRANSPORT_KEY "transport" BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:1521:62: note: in expansion of macro 'TRANSPORT_KEY' BUILDSTDERR: 1521 | rvSymmetricKeyname = TKS_StoreSymmetricKeyAndNameIt( TRANSPORT_KEY, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:238:52: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 238 | TKS_StoreSymmetricKeyAndNameIt( char *symmetricKeyName, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:113:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 113 | #define RESIDENT_KEY "resident" BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:1599:57: note: in expansion of macro 'RESIDENT_KEY' BUILDSTDERR: 1599 | RESIDENT_KEY, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:208:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 208 | char *keyType, BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:113:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 113 | #define RESIDENT_KEY "resident" BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:1770:57: note: in expansion of macro 'RESIDENT_KEY' BUILDSTDERR: 1770 | RESIDENT_KEY, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:208:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 208 | char *keyType, BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:117:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 117 | #define UNWRAPPED_KEY "unwrapped" BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:2161:43: note: in expansion of macro 'UNWRAPPED_KEY' BUILDSTDERR: 2161 | UNWRAPPED_KEY, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:208:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 208 | char *keyType, BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:118:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 118 | #define WRAPPED_KEY "wrapped" BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.c:2407:57: note: in expansion of macro 'WRAPPED_KEY' BUILDSTDERR: 2407 | WRAPPED_KEY, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:208:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 208 | char *keyType, BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~ [ 92%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/util.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:58, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/util.c:20: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/util.c:348:1: warning: no previous prototype for 'TKS_ClearScreen' [-Wmissing-prototypes] BUILDSTDERR: 348 | TKS_ClearScreen() BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/util.c:359:1: warning: no previous prototype for 'TKS_WaitForUser' [-Wmissing-prototypes] BUILDSTDERR: 359 | TKS_WaitForUser() BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/util.c:377:1: warning: no previous prototype for 'TKS_TypeProceedToContinue' [-Wmissing-prototypes] BUILDSTDERR: 377 | TKS_TypeProceedToContinue() BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/util.c: In function 'TKS_TypeProceedToContinue': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/util.c:387:20: warning: variable 'orig_lflag' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 387 | tcflag_t orig_lflag; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/util.c:386:20: warning: variable 'orig_cc_time' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 386 | cc_t orig_cc_time; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/util.c:385:20: warning: variable 'orig_cc_min' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 385 | cc_t orig_cc_min; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/util.c:383:20: warning: variable 'rv' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 383 | int rv = 0; BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/util.c: In function 'TKS_ClearScreen': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/util.c:351:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 351 | system( "tput clear" ); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ [ 94%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/version.c.o BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/secutil.h:51, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/tkstool.h:58, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.10/base/native-tools/src/tkstool/version.c:20: BUILDSTDERR: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. BUILDSTDERR: 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") BUILDSTDERR: | ^~~~~~~ [ 96%] Linking C executable tkstool [ 96%] Built target tkstool Scanning dependencies of target pki-DRMTool-man-link [ 96%] Built target pki-DRMTool-man-link Scanning dependencies of target pki-tools-classes [ 98%] Compiling Java sources for pki-tools-classes BUILDSTDERR: com/netscape/cmstools/CMCResponse.java:38: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated BUILDSTDERR: import org.apache.commons.cli.PosixParser; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/CMCSharedToken.java:30: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated BUILDSTDERR: import org.apache.commons.cli.PosixParser; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/CRMFPopClient.java:37: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated BUILDSTDERR: import org.apache.commons.cli.PosixParser; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/CRMFPopClient.java:41: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: import org.apache.http.impl.client.DefaultHttpClient; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/OCSPClient.java:32: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated BUILDSTDERR: import org.apache.commons.cli.PosixParser; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/cli/CLI.java:31: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated BUILDSTDERR: import org.apache.commons.cli.PosixParser; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/cli/MainCLI.java:62: warning: [deprecation] ProxyCertCLI in com.netscape.cmstools.cert has been deprecated BUILDSTDERR: import com.netscape.cmstools.cert.ProxyCertCLI; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/cli/MainCLI.java:64: warning: [deprecation] ProxyGroupCLI in com.netscape.cmstools.group has been deprecated BUILDSTDERR: import com.netscape.cmstools.group.ProxyGroupCLI; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/cli/MainCLI.java:65: warning: [deprecation] ProxyKeyCLI in com.netscape.cmstools.key has been deprecated BUILDSTDERR: import com.netscape.cmstools.key.ProxyKeyCLI; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/cli/MainCLI.java:74: warning: [deprecation] ProxyUserCLI in com.netscape.cmstools.user has been deprecated BUILDSTDERR: import com.netscape.cmstools.user.ProxyUserCLI; BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/CMCResponse.java:72: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated BUILDSTDERR: static CommandLineParser parser = new PosixParser(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/CMCSharedToken.java:170: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated BUILDSTDERR: CommandLineParser parser = new PosixParser(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/CRMFPopClient.java:286: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated BUILDSTDERR: CommandLineParser parser = new PosixParser(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/CRMFPopClient.java:856: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: DefaultHttpClient client = new DefaultHttpClient(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/CRMFPopClient.java:856: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: DefaultHttpClient client = new DefaultHttpClient(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/OCSPClient.java:138: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated BUILDSTDERR: CommandLineParser parser = new PosixParser(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/cli/CLI.java:45: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated BUILDSTDERR: public static CommandLineParser parser = new PosixParser(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/cli/MainCLI.java:112: warning: [deprecation] ProxyCertCLI in com.netscape.cmstools.cert has been deprecated BUILDSTDERR: addModule(new ProxyCertCLI(this)); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/cli/MainCLI.java:113: warning: [deprecation] ProxyGroupCLI in com.netscape.cmstools.group has been deprecated BUILDSTDERR: addModule(new ProxyGroupCLI(this)); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/cli/MainCLI.java:114: warning: [deprecation] ProxyKeyCLI in com.netscape.cmstools.key has been deprecated BUILDSTDERR: addModule(new ProxyKeyCLI(this)); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/cli/MainCLI.java:116: warning: [deprecation] ProxyUserCLI in com.netscape.cmstools.user has been deprecated BUILDSTDERR: addModule(new ProxyUserCLI(this)); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/pkcs12/PKCS12CertCLI.java:37: warning: [deprecation] PKCS12CertAddCLI in com.netscape.cmstools.pkcs12 has been deprecated BUILDSTDERR: addModule(new PKCS12CertAddCLI(this)); BUILDSTDERR: ^ BUILDSTDERR: 22 warnings [ 98%] Built target pki-tools-classes Scanning dependencies of target pki-tools-jar [100%] Packaging resources for pki-tools-jar [100%] Built target pki-tools-jar Scanning dependencies of target pki-DRMTool-cfg-link [100%] Built target pki-DRMTool-cfg-link Scanning dependencies of target pki-DRMTool-link [100%] Built target pki-DRMTool-link Scanning dependencies of target pki-server-theme-links [100%] Built target pki-server-theme-links Scanning dependencies of target pki-console-theme-jar [100%] Built target pki-console-theme-jar Install the project... -- Install configuration: "" + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/share/doc/pki + cat + rm -f /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/share/pki/lib/scannotation.jar + ln -sf /usr/share/java/jboss-logging/jboss-logging.jar /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/share/pki/lib/jboss-logging.jar + ln -sf /usr/share/java/jboss-annotations-1.2-api/jboss-annotations-api_1.2_spec.jar /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/share/pki/lib/jboss-annotations-api_1.2_spec.jar + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 10.6.10-1.fc31 --unique-debug-suffix -10.6.10-1.fc31.x86_64 --unique-debug-src-base dogtag-pki-10.6.10-1.fc31.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pki-10.6.10 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/bin/tkstool extracting debug info from /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/bin/tkstool explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/bin/sslget extracting debug info from /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/bin/sslget explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/bin/setpin extracting debug info from /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/bin/setpin explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/bin/revoker extracting debug info from /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/bin/revoker explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/bin/p7tool extracting debug info from /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/bin/p7tool explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/lib64/symkey/libsymkey.so extracting debug info from /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/lib64/symkey/libsymkey.so /usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1640 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/lib/python3.7 using /usr/bin/python3.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/pki-upgrade from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/PrettyPrintCrl from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/PrettyPrintCert from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/TokenInfo from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/PKCS12Export from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/PKCS10Client from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/OCSPClient from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/KRATool from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/HttpClient from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/GenSubjectAltNameExt from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/GenIssuerAltNameExt from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/GenExtKeyUsage from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/ExtJoiner from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/CRMFPopClient from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/CMCSharedToken from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/CMCRevoke from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/CMCResponse from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/CMCRequest from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/CMCEnroll from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/BtoA from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/AuditVerify from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/AtoB from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/pki from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/PKICertImport from /bin/bash to #!/usr/bin/bash Processing files: dogtag-pki-10.6.10-1.fc31.x86_64 Provides: dogtag-pki = 10.6.10-1.fc31 dogtag-pki(x86-64) = 10.6.10-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dogtag-pki-server-theme-10.6.10-1.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GoKttU + umask 022 + cd /builddir/build/BUILD + cd pki-10.6.10 + DOCDIR=/builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/share/doc/dogtag-pki-server-theme + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/share/doc/dogtag-pki-server-theme + cp -pr themes/dogtag/common-ui/LICENSE /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/share/doc/dogtag-pki-server-theme + exit 0 Provides: dogtag-pki-server-theme = 10.6.10-1.fc31 pki-server-theme = 10.6.10-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dogtag-pki-console-theme-10.6.10-1.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MSfgsP + umask 022 + cd /builddir/build/BUILD + cd pki-10.6.10 + DOCDIR=/builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/share/doc/dogtag-pki-console-theme + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/share/doc/dogtag-pki-console-theme + cp -pr themes/dogtag/console-ui/LICENSE /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64/usr/share/doc/dogtag-pki-console-theme + exit 0 Provides: dogtag-pki-console-theme = 10.6.10-1.fc31 pki-console-theme = 10.6.10-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dogtag-pki-debugsource-10.6.10-1.fc31.x86_64 Provides: dogtag-pki-debugsource = 10.6.10-1.fc31 dogtag-pki-debugsource(x86-64) = 10.6.10-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dogtag-pki-debuginfo-10.6.10-1.fc31.x86_64 Provides: dogtag-pki-debuginfo = 10.6.10-1.fc31 dogtag-pki-debuginfo(x86-64) = 10.6.10-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dogtag-pki-debugsource(x86-64) = 10.6.10-1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64 BUILDSTDERR: warning: Installed (but unpackaged) file(s) found: BUILDSTDERR: /etc/pki/pki.conf BUILDSTDERR: /usr/bin/AtoB BUILDSTDERR: /usr/bin/AuditVerify BUILDSTDERR: /usr/bin/BtoA BUILDSTDERR: /usr/bin/CMCEnroll BUILDSTDERR: /usr/bin/CMCRequest BUILDSTDERR: /usr/bin/CMCResponse BUILDSTDERR: /usr/bin/CMCRevoke BUILDSTDERR: /usr/bin/CMCSharedToken BUILDSTDERR: /usr/bin/CRMFPopClient BUILDSTDERR: /usr/bin/DRMTool BUILDSTDERR: /usr/bin/ExtJoiner BUILDSTDERR: /usr/bin/GenExtKeyUsage BUILDSTDERR: /usr/bin/GenIssuerAltNameExt BUILDSTDERR: /usr/bin/GenSubjectAltNameExt BUILDSTDERR: /usr/bin/HttpClient BUILDSTDERR: /usr/bin/KRATool BUILDSTDERR: /usr/bin/OCSPClient BUILDSTDERR: /usr/bin/PKCS10Client BUILDSTDERR: /usr/bin/PKCS12Export BUILDSTDERR: /usr/bin/PKICertImport BUILDSTDERR: /usr/bin/PrettyPrintCert BUILDSTDERR: /usr/bin/PrettyPrintCrl BUILDSTDERR: /usr/bin/TokenInfo BUILDSTDERR: /usr/bin/p7tool BUILDSTDERR: /usr/bin/pki BUILDSTDERR: /usr/bin/revoker BUILDSTDERR: /usr/bin/setpin BUILDSTDERR: /usr/bin/sslget BUILDSTDERR: /usr/bin/tkstool BUILDSTDERR: /usr/lib/debug/usr/bin/p7tool-10.6.10-1.fc31.x86_64.debug BUILDSTDERR: /usr/lib/debug/usr/bin/revoker-10.6.10-1.fc31.x86_64.debug BUILDSTDERR: /usr/lib/debug/usr/bin/setpin-10.6.10-1.fc31.x86_64.debug BUILDSTDERR: /usr/lib/debug/usr/bin/sslget-10.6.10-1.fc31.x86_64.debug BUILDSTDERR: /usr/lib/debug/usr/bin/tkstool-10.6.10-1.fc31.x86_64.debug BUILDSTDERR: /usr/lib/debug/usr/lib64/symkey/libsymkey.so-10.6.10-1.fc31.x86_64.debug BUILDSTDERR: /usr/lib/java/symkey.jar BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__init__.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/__init__.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/__init__.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/account.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/account.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/authority.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/authority.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/cert.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/cert.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/client.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/client.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/crypto.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/crypto.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/encoder.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/encoder.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/feature.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/feature.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/info.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/info.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/key.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/key.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/keyring.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/keyring.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/kra.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/kra.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/nssdb.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/nssdb.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/pkcs12.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/pkcs12.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/profile.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/profile.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/system.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/system.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/systemcert.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/systemcert.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/upgrade.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/upgrade.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/util.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/__pycache__/util.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/account.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/authority.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cert.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/__init__.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/__pycache__/__init__.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/__pycache__/__init__.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/__pycache__/main.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/__pycache__/main.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/__pycache__/password.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/__pycache__/password.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/__pycache__/pkcs12.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/__pycache__/pkcs12.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/__pycache__/upgrade.cpython-37.opt-1.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/__pycache__/upgrade.cpython-37.pyc BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/main.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/password.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/pkcs12.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/cli/upgrade.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/client.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/crypto.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/encoder.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/feature.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/info.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/key.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/keyring.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/kra.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/nssdb.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/pkcs12.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/profile.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/system.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/systemcert.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/upgrade.py BUILDSTDERR: /usr/lib/python3.7/site-packages/pki/util.py BUILDSTDERR: /usr/lib64/symkey/libsymkey.so BUILDSTDERR: /usr/sbin/pki-upgrade BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/index.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki/account.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki/cert.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki/client.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki/crypto.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki/encoder.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki/key.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki/kra.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki/profile.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki/system.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki/systemcert.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki/upgrade.html BUILDSTDERR: /usr/share/doc/pki-base/html/_modules/pki/util.html BUILDSTDERR: /usr/share/doc/pki-base/html/_sources/index.rst.txt BUILDSTDERR: /usr/share/doc/pki-base/html/_sources/pki.rst.txt BUILDSTDERR: /usr/share/doc/pki-base/html/_static/basic.css BUILDSTDERR: /usr/share/doc/pki-base/html/_static/classic.css BUILDSTDERR: /usr/share/doc/pki-base/html/_static/doctools.js BUILDSTDERR: /usr/share/doc/pki-base/html/_static/documentation_options.js BUILDSTDERR: /usr/share/doc/pki-base/html/_static/file.png BUILDSTDERR: /usr/share/doc/pki-base/html/_static/jquery-3.2.1.js BUILDSTDERR: /usr/share/doc/pki-base/html/_static/jquery.js BUILDSTDERR: /usr/share/doc/pki-base/html/_static/language_data.js BUILDSTDERR: /usr/share/doc/pki-base/html/_static/minus.png BUILDSTDERR: /usr/share/doc/pki-base/html/_static/plus.png BUILDSTDERR: /usr/share/doc/pki-base/html/_static/pygments.css BUILDSTDERR: /usr/share/doc/pki-base/html/_static/searchtools.js BUILDSTDERR: /usr/share/doc/pki-base/html/_static/sidebar.js BUILDSTDERR: /usr/share/doc/pki-base/html/_static/underscore-1.3.1.js BUILDSTDERR: /usr/share/doc/pki-base/html/_static/underscore.js BUILDSTDERR: /usr/share/doc/pki-base/html/genindex.html BUILDSTDERR: /usr/share/doc/pki-base/html/index.html BUILDSTDERR: /usr/share/doc/pki-base/html/objects.inv BUILDSTDERR: /usr/share/doc/pki-base/html/pki.html BUILDSTDERR: /usr/share/doc/pki-base/html/py-modindex.html BUILDSTDERR: /usr/share/doc/pki-base/html/search.html BUILDSTDERR: /usr/share/doc/pki-base/html/searchindex.js BUILDSTDERR: /usr/share/java/pki/pki-certsrv.jar BUILDSTDERR: /usr/share/java/pki/pki-cmsutil.jar BUILDSTDERR: /usr/share/java/pki/pki-nsutil.jar BUILDSTDERR: /usr/share/java/pki/pki-tools.jar BUILDSTDERR: /usr/share/man/man1/AtoB.1.gz BUILDSTDERR: /usr/share/man/man1/AuditVerify.1.gz BUILDSTDERR: /usr/share/man/man1/BtoA.1.gz BUILDSTDERR: /usr/share/man/man1/CMCEnroll.1.gz BUILDSTDERR: /usr/share/man/man1/CMCRequest.1.gz BUILDSTDERR: /usr/share/man/man1/CMCResponse.1.gz BUILDSTDERR: /usr/share/man/man1/CMCSharedToken.1.gz BUILDSTDERR: /usr/share/man/man1/DRMTool.1.gz BUILDSTDERR: /usr/share/man/man1/KRATool.1.gz BUILDSTDERR: /usr/share/man/man1/PKCS10Client.1.gz BUILDSTDERR: /usr/share/man/man1/PKICertImport.1.gz BUILDSTDERR: /usr/share/man/man1/PrettyPrintCert.1.gz BUILDSTDERR: /usr/share/man/man1/PrettyPrintCrl.1.gz BUILDSTDERR: /usr/share/man/man1/pki-audit.1.gz BUILDSTDERR: /usr/share/man/man1/pki-ca-kraconnector.1.gz BUILDSTDERR: /usr/share/man/man1/pki-ca-profile.1.gz BUILDSTDERR: /usr/share/man/man1/pki-cert.1.gz BUILDSTDERR: /usr/share/man/man1/pki-client.1.gz BUILDSTDERR: /usr/share/man/man1/pki-group-member.1.gz BUILDSTDERR: /usr/share/man/man1/pki-group.1.gz BUILDSTDERR: /usr/share/man/man1/pki-key.1.gz BUILDSTDERR: /usr/share/man/man1/pki-pkcs12-cert.1.gz BUILDSTDERR: /usr/share/man/man1/pki-pkcs12-key.1.gz BUILDSTDERR: /usr/share/man/man1/pki-pkcs12.1.gz BUILDSTDERR: /usr/share/man/man1/pki-python-client.1.gz BUILDSTDERR: /usr/share/man/man1/pki-securitydomain.1.gz BUILDSTDERR: /usr/share/man/man1/pki-tps-profile.1.gz BUILDSTDERR: /usr/share/man/man1/pki-user-cert.1.gz BUILDSTDERR: /usr/share/man/man1/pki-user-membership.1.gz BUILDSTDERR: /usr/share/man/man1/pki-user.1.gz BUILDSTDERR: /usr/share/man/man1/pki.1.gz BUILDSTDERR: /usr/share/man/man5/pki-logging.5.gz BUILDSTDERR: /usr/share/man/man8/pki-upgrade.8.gz BUILDSTDERR: /usr/share/pki/VERSION BUILDSTDERR: /usr/share/pki/etc/logging.properties BUILDSTDERR: /usr/share/pki/etc/pki.conf BUILDSTDERR: /usr/share/pki/examples/java/CACertClientExample.java BUILDSTDERR: /usr/share/pki/examples/java/CAClientExample.java BUILDSTDERR: /usr/share/pki/java-tools/DRMTool.cfg BUILDSTDERR: /usr/share/pki/java-tools/KRATool.cfg BUILDSTDERR: /usr/share/pki/key/templates/archiveKey.xml BUILDSTDERR: /usr/share/pki/key/templates/generateKey.xml BUILDSTDERR: /usr/share/pki/key/templates/retrieveKey.xml BUILDSTDERR: /usr/share/pki/lib/commons-cli.jar BUILDSTDERR: /usr/share/pki/lib/commons-codec.jar BUILDSTDERR: /usr/share/pki/lib/commons-httpclient.jar BUILDSTDERR: /usr/share/pki/lib/commons-io.jar BUILDSTDERR: /usr/share/pki/lib/commons-lang.jar BUILDSTDERR: /usr/share/pki/lib/commons-logging.jar BUILDSTDERR: /usr/share/pki/lib/httpclient.jar BUILDSTDERR: /usr/share/pki/lib/httpcore.jar BUILDSTDERR: /usr/share/pki/lib/jackson-annotations.jar BUILDSTDERR: /usr/share/pki/lib/jackson-core.jar BUILDSTDERR: /usr/share/pki/lib/jackson-databind.jar BUILDSTDERR: /usr/share/pki/lib/jackson-jaxrs-base.jar BUILDSTDERR: /usr/share/pki/lib/jackson-jaxrs-json-provider.jar BUILDSTDERR: /usr/share/pki/lib/jackson-module-jaxb-annotations.jar BUILDSTDERR: /usr/share/pki/lib/jaxb-api.jar BUILDSTDERR: /usr/share/pki/lib/jaxrs-api.jar BUILDSTDERR: /usr/share/pki/lib/jboss-annotations-api_1.2_spec.jar BUILDSTDERR: /usr/share/pki/lib/jboss-logging.jar BUILDSTDERR: /usr/share/pki/lib/jss4.jar BUILDSTDERR: /usr/share/pki/lib/ldapjdk.jar BUILDSTDERR: /usr/share/pki/lib/pki-certsrv.jar BUILDSTDERR: /usr/share/pki/lib/pki-cmsutil.jar BUILDSTDERR: /usr/share/pki/lib/pki-nsutil.jar BUILDSTDERR: /usr/share/pki/lib/pki-tools.jar BUILDSTDERR: /usr/share/pki/lib/resteasy-atom-provider.jar BUILDSTDERR: /usr/share/pki/lib/resteasy-client.jar BUILDSTDERR: /usr/share/pki/lib/resteasy-jackson2-provider.jar BUILDSTDERR: /usr/share/pki/lib/resteasy-jaxb-provider.jar BUILDSTDERR: /usr/share/pki/lib/resteasy-jaxrs.jar BUILDSTDERR: /usr/share/pki/lib/servlet.jar BUILDSTDERR: /usr/share/pki/lib/slf4j-api.jar BUILDSTDERR: /usr/share/pki/lib/slf4j-jdk14.jar BUILDSTDERR: /usr/share/pki/native-tools/setpin.conf BUILDSTDERR: /usr/share/pki/scripts/config BUILDSTDERR: /usr/share/pki/upgrade/10.0.1/01-AddJniJarDir BUILDSTDERR: /usr/share/pki/upgrade/10.0.3/01-RemoveJniJarDir Wrote: /builddir/build/RPMS/dogtag-pki-10.6.10-1.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/dogtag-pki-server-theme-10.6.10-1.fc31.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-console-theme-10.6.10-1.fc31.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-debugsource-10.6.10-1.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/dogtag-pki-debuginfo-10.6.10-1.fc31.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4B7p7L + umask 022 + cd /builddir/build/BUILD + cd pki-10.6.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dogtag-pki-10.6.10-1.fc31.x86_64 + exit 0 Child return code was: 0