Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dogtag-pki.spec'], chrootPath='/var/lib/mock/f29-build-29156-15697/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/dogtag-pki-10.6.6-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dogtag-pki.spec'], chrootPath='/var/lib/mock/f29-build-29156-15697/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4vbHUS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pki-10.6.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/pki-10.6.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pki-10.6.6 + /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.6 base' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.goLNoU + umask 022 + cd /builddir/build/BUILD + cd pki-10.6.6 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -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.6-1.fc29 -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 -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 8.2.1 -- The CXX compiler identification is GNU 8.2.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.5.3") -- Checking for module 'nspr' -- Found nspr, version 4.19.0 -- Found NSPR: /usr/lib64/libplds4.so;/usr/lib64/libplc4.so;/usr/lib64/libnspr4.so -- Checking for module 'nss' -- Found nss, version 3.38.0 -- 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_144") -- Found JNI: /usr/lib/jvm/jre-1.8.0-openjdk/lib/riscv64/libjawt.so -- Found Ldap: /usr/lib64/libldap.so;/usr/lib64/liblber.so -- Checking for module 'apr-1' -- Found apr-1, version 1.6.3 -- 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") -- Building pki.server for 3.7 -- 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/libexec/python3-sphinx/sphinx-build -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/pki-10.6.6/build + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.F2J3UW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64 + cd pki-10.6.6 + cd build + /usr/bin/make VERBOSE= CMAKE_NO_VERBOSE=1 DESTDIR=/builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64 '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.6/base/symkey/src/com/netscape/symkey/SessionKey.cpp: In function 'PRStatus JSS_PK11_getSymKeyPtr(JNIEnv*, jobject, PK11SymKey**)': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/symkey/src/com/netscape/symkey/SessionKey.cpp:349:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: SYM_KEY_PROXY_SIG, (void**)ptr); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/symkey/src/com/netscape/symkey/SessionKey.cpp:349:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] [ 10%] Building CXX object base/symkey/src/com/netscape/symkey/CMakeFiles/symkey_library.dir/SymKey.cpp.o [ 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: ./com/netscape/cmsutil/crypto/CryptoUtil.java:2020: warning: [deprecation] getUniqueID() in PrivateKey has been deprecated BUILDSTDERR: if (compare(keys[i].getUniqueID(), id)) { BUILDSTDERR: ^ BUILDSTDERR: 2 warnings [ 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/crypto/CryptoUtil.java:2020: warning: [deprecation] getUniqueID() in PrivateKey has been deprecated BUILDSTDERR: if (compare(keys[i].getUniqueID(), id)) { 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: 4 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.6/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 v1.7.6 making output directory... loading pickled environment... not yet created 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 } 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 v1.7.6 making output directory... loading pickled environment... not yet created 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.6/base/native-tools/src/p7tool/secpwd.c:44: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.h:207:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: extern void SECU_PrintAsHex(FILE *out, SECItem *i, const const char *m, int level); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secpwd.c: In function 'SEC_GetPassword': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secpwd.c:69:21: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: #define QUIET_FGETS fgets BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secpwd.c:117:2: note: in expansion of macro 'QUIET_FGETS' BUILDSTDERR: 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.6/base/native-tools/src/p7tool/secutil.c:61: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.h:207:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: extern void SECU_PrintAsHex(FILE *out, SECItem *i, const const char *m, int level); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_PrintErrMsg': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: vfprintf(out, msg, args); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_PrintError': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: vfprintf(stderr, msg, args); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_PrintSystemError': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: vfprintf(stderr, msg, args); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_GetPasswordString': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:173:30: warning: unused parameter 'arg' [-Wunused-parameter] BUILDSTDERR: SECU_GetPasswordString(void *arg, char *prompt) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_FilePasswd': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:223:31: warning: unused parameter 'slot' [-Wunused-parameter] BUILDSTDERR: SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) BUILDSTDERR: ~~~~~~~~~~~~~~^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_ChangePW': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:378:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] BUILDSTDERR: SECStatus rv; BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_GetClientAuthData': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:507:47: warning: unused parameter 'fd' [-Wunused-parameter] BUILDSTDERR: SECU_GetClientAuthData(void *arg, PRFileDesc *fd, BUILDSTDERR: ~~~~~~~~~~~~^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:508:35: warning: unused parameter 'caNames' [-Wunused-parameter] BUILDSTDERR: struct CERTDistNamesStr *caNames, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:1517:56: warning: unused parameter 'arena' [-Wunused-parameter] BUILDSTDERR: secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintX509KeyUsage': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:1692:57: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintAuthKeyIDExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:1806:63: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintCRLDistPtsExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:1874:64: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintNameConstraintsExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:1933:75: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, const char *msg, int level) BUILDSTDERR: ~~~~~~~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintAuthorityInfoAcess': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:1959:63: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'printflags': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if (flags & CERTDB_VALID_PEER) BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_PrintCertAttribute': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:2265:69: warning: unused parameter 'm' [-Wunused-parameter] BUILDSTDERR: SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, const char *m, int level) BUILDSTDERR: ~~~~~~~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'printFlags': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if ( flags & CERTDB_VALID_PEER ) { BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_ParseCommandLine': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:3029:52: warning: unused parameter 'progName' [-Wunused-parameter] BUILDSTDERR: SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_printCertProblems': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:3291:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: flags = (unsigned int)node->arg; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:3307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: flags = (unsigned int)node->arg; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_StoreCRL': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_FindCrlIssuer': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:3605:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] BUILDSTDERR: CERTAuthKeyID* authorityKeyID, PRTime validTime) BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c: In function 'SECU_printCertProblems': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:3292:3: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: switch (flags) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:3306:6: note: here BUILDSTDERR: case SEC_ERROR_INADEQUATE_CERT_TYPE: BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:3308:3: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: switch (flags) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.c:3332:6: note: here BUILDSTDERR: 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.6/base/native-tools/src/p7tool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.h:207:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: extern void SECU_PrintAsHex(FILE *out, SECItem *i, const const char *m, int level); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/pppolicy.c:184:43: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: const char *msg, int level) BUILDSTDERR: ~~~~~~~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/pppolicy.c: In function 'secu_PrintPolicyInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/pppolicy.c:239:73: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: secu_PrintPolicyInfo(FILE *out, CERTPolicyInfo *policyInfo, const char *msg, int level) BUILDSTDERR: ~~~~~~~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/pppolicy.c: In function 'secu_PrintPolicyQualifier': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/pppolicy.c:227:11: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: if (SECSuccess == rv) BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/pppolicy.c:230:4: note: here BUILDSTDERR: 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.6/base/native-tools/src/p7tool/p7tool.c:68: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/secutil.h:207:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: extern void SECU_PrintAsHex(FILE *out, SECItem *i, const const char *m, int level); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c: In function 'decryption_allowed': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c:128:36: warning: unused parameter 'algid' [-Wunused-parameter] BUILDSTDERR: decryption_allowed(SECAlgorithmID *algid, PK11SymKey *key) BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c:128:55: warning: unused parameter 'key' [-Wunused-parameter] BUILDSTDERR: decryption_allowed(SECAlgorithmID *algid, PK11SymKey *key) BUILDSTDERR: ~~~~~~~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c:134:1: warning: no previous prototype for 'DecodeAndPrintFile' [-Wmissing-prototypes] BUILDSTDERR: DecodeAndPrintFile(FILE *out, PRFileDesc *in, char *progName, int ascii, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c: In function 'DecodeAndPrintFile': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c:234:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: SECItem **items = NULL; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c:251:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: int i= 0; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c:255:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: prefix = "chaincert"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c:259:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: FILE *outFile; BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c:261:17: warning: variable 'nb' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int nb = 0; BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c: In function 'main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/p7tool/p7tool.c:341:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 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.6/base/native-tools/src/revoker/revoker.c:125:8: warning: no previous prototype for 'ownPasswd' [-Wmissing-prototypes] BUILDSTDERR: char * ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: In function 'ownPasswd': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:125:33: warning: unused parameter 'slot' [-Wunused-parameter] BUILDSTDERR: char * ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) BUILDSTDERR: ~~~~~~~~~~~~~~^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: In function 'myBadCertHandler': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:199:25: warning: unused parameter 'arg' [-Wunused-parameter] BUILDSTDERR: myBadCertHandler( void *arg, PRFileDesc *fd) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:199:42: warning: unused parameter 'fd' [-Wunused-parameter] BUILDSTDERR: myBadCertHandler( void *arg, PRFileDesc *fd) BUILDSTDERR: ~~~~~~~~~~~~^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:209:1: warning: no previous prototype for 'my_GetClientAuthData' [-Wmissing-prototypes] BUILDSTDERR: my_GetClientAuthData(void * arg, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: In function 'my_GetClientAuthData': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:227:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: FPRINTF(stderr," mygetclientauthdata - cert = %x\n",(unsigned int)cert); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:230:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: FPRINTF(stderr," mygetclientauthdata - privkey = %x\n",(unsigned int)privkey); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:277:1: warning: no previous prototype for 'printSecurityInfo' [-Wmissing-prototypes] BUILDSTDERR: printSecurityInfo(PRFileDesc *fd) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:321:1: warning: no previous prototype for 'do_writes' [-Wmissing-prototypes] BUILDSTDERR: do_writes( BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: In function 'do_writes': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("PR_Write bigBuf"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:160:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:357:1: warning: no previous prototype for 'do_io' [-Wmissing-prototypes] BUILDSTDERR: do_io( PRFileDesc *ssl_sock, int connection) BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: In function 'do_io': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("returning from after calling do_writes"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:160:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("PR_Read"); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:160:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("not enough bytes read in first read"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:160:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:425:1: warning: no previous prototype for 'do_connect' [-Wmissing-prototypes] BUILDSTDERR: do_connect( BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: In function 'do_connect': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errExit("PR_OpenTCPSocket on tcp socket"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:168:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errExit(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("PR_Connect"); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:160:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("SSL_ResetHandshake"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:160:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:433:25: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: SECStatus result; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:496:1: warning: no previous prototype for 'getIPAddress' [-Wmissing-prototypes] BUILDSTDERR: getIPAddress(const char * hostName) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: In function 'getIPAddress': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errExit("PR_GetHostByName"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:168:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errExit(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:518:1: warning: no previous prototype for 'client_main' [-Wmissing-prototypes] BUILDSTDERR: client_main( BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: In function 'client_main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:544:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: PRAddrInfo *ai; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errExit("PR_OpenTCPSocket on tcp socket"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:168:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errExit(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errExit("SSL_ImportFD"); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:168:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errExit(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errExit("SSL_OptionSet SSL_SECURITY"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:168:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errExit(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:520:25: warning: unused parameter 'connections' [-Wunused-parameter] BUILDSTDERR: int connections, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:521:25: warning: unused parameter 'privKey' [-Wunused-parameter] BUILDSTDERR: SECKEYPrivateKey ** privKey, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:522:25: warning: unused parameter 'cert' [-Wunused-parameter] BUILDSTDERR: CERTCertificate ** cert, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:615:1: warning: no previous prototype for 'createRequest' [-Wmissing-prototypes] BUILDSTDERR: createRequest(char * serials, char *reason, char *invalidity, int take_off_hold) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: In function 'createRequest': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:667:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: old = ""; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:677:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: iDate = ""; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c: In function 'main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:716:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: char * dir = "."; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:828:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: revocation_reason = "0"; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/revoker/revoker.c:311:19: warning: 'outHeader' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char outHeader[] = { 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.6/base/native-tools/src/setpin/b64.c: In function 'ldif_base64_encode_internal': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/b64.c:38:21: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, pad, len; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/b64.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/b64.c:98:1: warning: no previous prototype for 'ldif_base64_encode' [-Wmissing-prototypes] BUILDSTDERR: 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.6/base/native-tools/src/setpin/options.c: In function 'OPT_parseOptFile': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/options.c:77:13: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: return ("Bad syntax for 'optfile'\n"); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/options.c:81:13: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: return ("Options file could not be opened for reading\n"); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/options.c: In function 'OPT_parseArgument': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/options.c:97:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: char *INV_ARG = "invalid argument: %s"; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/options.c:106:22: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: new_opt = (OPTION*)malloc(sizeof(OPTION)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/options.c:106:22: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/options.c:106:22: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/options.c:27:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/options.c:106:22: BUILDSTDERR: new_opt = (OPTION*)malloc(sizeof(OPTION)); BUILDSTDERR: ^~~~~~ [ 56%] Building C object base/native-tools/src/setpin/CMakeFiles/setpin.dir/setpin.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:139:8: warning: no previous prototype for 'trim_strdup' [-Wmissing-prototypes] BUILDSTDERR: char * trim_strdup(char *s) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:148:6: warning: no previous prototype for 'readInputFile' [-Wmissing-prototypes] BUILDSTDERR: void readInputFile() { BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: In function 'readInputFile': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:162:19: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitError("Couldn't create dn->pin hashtable"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: In function 'main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:306:23: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitError("Couldn't open output file"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:321:23: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitError("Couldn't open input file"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:360:6: warning: no previous prototype for 'do_setup' [-Wmissing-prototypes] BUILDSTDERR: void do_setup() { BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: In function 'do_setup': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:385:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: x.mod_type = "attributetypes"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:395:31: warning: passing argument 1 of 'exitLDAPError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitLDAPError("couldn't modify schema when creating pin attribute"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:123:26: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitLDAPError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:409:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: x.mod_type = "objectclasses"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:420:31: warning: passing argument 1 of 'exitLDAPError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitLDAPError("couldn't modify schema when creating objectclass"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:123:26: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitLDAPError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:430:23: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitError("missing pinmanagerpwd argument"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:433:23: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitError("missing basedn argument"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:440:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: a1_values[0] = "pinmanager"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:443:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: a1.mod_type = "sn"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:446:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: a2_values[0] = "pinmanager"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:449:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: a2.mod_type = "cn"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:455:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: a3.mod_type = "userPassword"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:458:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: a4_values[0] = "person"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:461:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: a4.mod_type = "objectclass"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:476:31: warning: passing argument 1 of 'exitLDAPError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitLDAPError("couldn't create new user"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:123:26: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitLDAPError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:508:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: x.mod_type = "aci"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:519:31: warning: passing argument 1 of 'exitLDAPError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitLDAPError("couldn't modify aci on basedn"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:123:26: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitLDAPError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: In function 'sha256_pw_enc': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:546:38: warning: pointer targets in passing argument 3 of 'PK11_HashBuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: PK11_HashBuf(SEC_OID_SHA256,hash,pwd,strlen(pwd)); BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:68:18: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: extern SECStatus PK11_HashBuf(SECOidTag hashAlg, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:559:5: warning: no previous prototype for 'isstring' [-Wmissing-prototypes] BUILDSTDERR: int isstring(char *s) { BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:571:6: warning: no previous prototype for 'doLDAPBind' [-Wmissing-prototypes] BUILDSTDERR: void doLDAPBind() { BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: In function 'doLDAPBind': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:604:19: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitError("could not connect to directory server"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:611:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: struct berval credential; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:647:6: warning: no previous prototype for 'doLDAPUnbind' [-Wmissing-prototypes] BUILDSTDERR: void doLDAPUnbind(){ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: In function 'processSearchResults': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:734:29: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: bin = ""; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:810:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: objectclass.mod_type = "objectclass"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:819:35: warning: passing argument 1 of 'exitLDAPError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitLDAPError("couldn't modify attribute"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:123:26: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitLDAPError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:832:23: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitError("Couldn't generate password."); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:846:31: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitError("specified salt attribute not found for this user"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:858:27: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitError("Couldn't allocate 'hashbuf_source'."); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:952:31: warning: passing argument 1 of 'exitLDAPError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitLDAPError("couldn't modify attribute"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:123:26: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitLDAPError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:961:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: fprintf(stderr,"o_write = %0x\n",(unsigned int)o_write); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:665:9: warning: variable 'change' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int change=0; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1000:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: static char *UCalpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1003:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: static char *LCalpha = "abcdefghijklmnopqrstuvwxyz"; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1004:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: static char *numbers = "0123456789"; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1005:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: static char *punc = "!#$%&*+,-./:;<=>?@[]^{|}"; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1010:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: static char *RNG_ALPHA = "RNG-alpha"; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1011:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: static char *RNG_PRINTABLEASCII = "RNG-printableascii"; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1012:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: static char *RNG_ALPHANUM = "RNG-alphanum"; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1017:6: warning: no previous prototype for 'buildCharpool' [-Wmissing-prototypes] BUILDSTDERR: void buildCharpool() { BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: In function 'buildCharpool': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1028:23: warning: passing argument 1 of 'exitError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: exitError("Illegal value for case="); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:112:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: void exitError(char *errstring) { BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1058:6: warning: no previous prototype for 'initrandom' [-Wmissing-prototypes] BUILDSTDERR: void initrandom() { BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1079:16: warning: no previous prototype for 'getRandomShort' [-Wmissing-prototypes] BUILDSTDERR: unsigned short getRandomShort() { BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1121:16: warning: no previous prototype for 'getRandomInRange' [-Wmissing-prototypes] BUILDSTDERR: unsigned short getRandomInRange(unsigned short max) { BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1140:8: warning: no previous prototype for 'newPassword' [-Wmissing-prototypes] BUILDSTDERR: char * newPassword() { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1173:6: warning: no previous prototype for 'testpingen' [-Wmissing-prototypes] BUILDSTDERR: void testpingen() { BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c: In function 'testpingen': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:1182:31: warning: passing argument 2 of 'equals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: if (! equals(o_testpingen,"")) { BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin.c:67:34: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 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.6/base/native-tools/src/setpin/setpin_options.c:37:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "host", "LDAP host [required]", BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:37:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "host", "LDAP host [required]", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:38:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "port", "LDAP port (default 389)", BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:38:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "port", "LDAP port (default 389)", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:39:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "binddn", "DN to bind to directory as [required]", BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:39:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "binddn", "DN to bind to directory as [required]", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:40:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "bindpw", "Password associated with above DN ", BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:40:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "bindpw", "Password associated with above DN ", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:41:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "filter", "Ldap search filter e.g. filter=(uid=*) [required]", BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:41:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "filter", "Ldap search filter e.g. filter=(uid=*) [required]", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:46:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "basedn", "Base DN used for LDAP search", BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:46:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "basedn", "Base DN used for LDAP search", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:47:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "length", "Length of generated pins (default 6)", BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:47:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "length", "Length of generated pins (default 6)", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:48:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "minlength","Minimum length of generated pins (not to be used with 'length')", BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:48:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "minlength","Minimum length of generated pins (not to be used with 'length')", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:49:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "maxlength","Maximum length of generated pins (not to be used with 'length')", BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:49:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "maxlength","Maximum length of generated pins (not to be used with 'length')", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:50:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "gen", "Permitted chars for pin. Type 'setpin gen' for more info", BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:50:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "gen", "Permitted chars for pin. Type 'setpin gen' for more info", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:51:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "case", "Restrict case of pins 'case=upperonly'", BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:51:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "case", "Restrict case of pins 'case=upperonly'", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:52:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "objectclass", "Objectclass of LDAP entry to operate on (default pinPerson)", BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:52:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "objectclass", "Objectclass of LDAP entry to operate on (default pinPerson)", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:53:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "attribute","Which LDAP attribute to write to (default pin)", BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:53:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "attribute","Which LDAP attribute to write to (default pin)", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:54:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "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.6/base/native-tools/src/setpin/setpin_options.c:54:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "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.6/base/native-tools/src/setpin/setpin_options.c:55:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "saltattribute", "Which attribute to use for salt (default: dn)", BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:55:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "saltattribute", "Which attribute to use for salt (default: dn)", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:56:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "input", "File to use for restricting DN's, or providing your own pins", BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:56:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "input", "File to use for restricting DN's, or providing your own pins", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:57:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "output", "Redirect stdout to a file", BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:57:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "output", "Redirect stdout to a file", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:58:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "write", "Turn on writing to directory (otherwise, pins will not get written)", BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:58:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "write", "Turn on writing to directory (otherwise, pins will not get written)", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:59:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "clobber", "Overwrite old pins in the directory", BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:59:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "clobber", "Overwrite old pins in the directory", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:60:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "testpingen", "Test pin generation mode. testpingen=count", BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:60:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "testpingen", "Test pin generation mode. testpingen=count", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:61:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "debug", "Turn on debugging, or use debug=attrs for even more", BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:61:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "debug", "Turn on debugging, or use debug=attrs for even more", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:62:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "optfile", "Read in options (one per line) from specified file", BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:62:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "optfile", "Read in options (one per line) from specified file", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:63:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "setup", "Switch to setup mode", BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:63:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "setup", "Switch to setup mode", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:64:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "pinmanager","Pin Manager user to create in setup mode", BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:64:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "pinmanager","Pin Manager user to create in setup mode", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:65:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "pinmanagerpwd","password of pin manager user in setup mode", BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:65:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "pinmanagerpwd","password of pin manager user in setup mode", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:66:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "schemachange","make schema changes in setup mode", BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:66:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "schemachange","make schema changes in setup mode", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:82:6: warning: no previous prototype for 'setDefaultOptions' [-Wmissing-prototypes] BUILDSTDERR: void setDefaultOptions() { BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c: In function 'setDefaultOptions': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:83:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: o_certdb= "."; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:96:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: o_gen= "RNG-alphanum"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:98:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: o_attribute="pin"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:99:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: o_hash= "sha256"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:100:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: o_objectclass="pinPerson"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:102:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: o_retry= "5"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:114:6: warning: no previous prototype for 'getOptions' [-Wmissing-prototypes] BUILDSTDERR: void getOptions() { BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c: In function 'getOptions': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("certdb", &o_certdb); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("nickname", &o_nickname); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("binddn", &o_binddn); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("bindpw", &o_bindpw); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("filter", &o_filter); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: i = OPT_getValue("ssl", &o_ssl); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:128:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: if (i) o_ssl = "yes"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("basedn", &o_basedn); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("input", &o_input); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("host", &o_host); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("port", &o_port); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("length", &o_length); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("minlength",&o_minlength); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("maxlength",&o_maxlength); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("gen", &o_gen); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("case", &o_case); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("attribute",&o_attribute); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("hash", &o_hash); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("objectclass",&o_objectclass); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("output", &o_output); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("retry", &o_retry); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: i = OPT_getValue("debug", &o_debug); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:159:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: o_debug = "yes"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: i = OPT_getValue("write", &o_write); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:163:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: if (i) o_write = "yes"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: i = OPT_getValue("clobber", &o_clobber); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:165:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: if (i) o_clobber = "yes"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("saltattribute", &o_saltattribute); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: i = OPT_getValue("testpingen", &o_testpingen); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:170:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: o_testpingen = "25"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("setup", &o_setup); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("pinmanager", &o_pinmanager); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("pinmanagerpwd", &o_pinmanagerpwd); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: OPT_getValue("schemachange", &o_schemachange); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:29:31: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern int OPT_getValue(char *option, char **output); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:5: warning: no previous prototype for 'equals' [-Wmissing-prototypes] BUILDSTDERR: int equals(char *s, char *t) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:185:6: warning: no previous prototype for 'validateOptions' [-Wmissing-prototypes] BUILDSTDERR: void validateOptions() { BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c: In function 'validateOptions': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if (o_nickname && equals(o_ssl,"no")) { BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int equals(char *s, char *t) { BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: ( equals(o_gen,"RNG-printableascii") || BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int equals(char *s, char *t) { BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: equals(o_gen,"RNG-alpha") || BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int equals(char *s, char *t) { BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: equals(o_gen,"RNG-alphanum") || BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int equals(char *s, char *t) { BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: equals(o_gen,"FIPS181-printable")) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int equals(char *s, char *t) { BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if (!o_host || equals(o_host,"")) { BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int equals(char *s, char *t) { BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if (!o_binddn || equals(o_binddn,"")) { BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int equals(char *s, char *t) { BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if (!o_bindpw || equals(o_bindpw,"")) { BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int equals(char *s, char *t) { BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if (!o_filter || equals(o_filter,"")) { BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int equals(char *s, char *t) { BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: (equals(o_hash,"sha256") || BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int equals(char *s, char *t) { BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: equals(o_hash,"none")) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int equals(char *s, char *t) { BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if (equals(o_hash,"none")) o_hash = NULL; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/setpin/setpin_options.c:181:27: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: 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.6/base/native-tools/src/sslget/sslget.c: In function 'ownPasswd': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:128:26: warning: unused parameter 'slot' [-Wunused-parameter] BUILDSTDERR: ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) BUILDSTDERR: ~~~~~~~~~~~~~~^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c: In function 'myBadCertHandler': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:193:25: warning: unused parameter 'arg' [-Wunused-parameter] BUILDSTDERR: myBadCertHandler( void *arg, PRFileDesc *fd) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:193:42: warning: unused parameter 'fd' [-Wunused-parameter] BUILDSTDERR: myBadCertHandler( void *arg, PRFileDesc *fd) BUILDSTDERR: ~~~~~~~~~~~~^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:203:1: warning: no previous prototype for 'my_GetClientAuthData' [-Wmissing-prototypes] BUILDSTDERR: my_GetClientAuthData(void * arg, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c: In function 'my_GetClientAuthData': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:221:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: FPRINTF(stderr," mygetclientauthdata - cert = %x\n",(unsigned int)cert); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:224:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: FPRINTF(stderr," mygetclientauthdata - privkey = %x\n",(unsigned int)privkey); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:271:1: warning: no previous prototype for 'printSecurityInfo' [-Wmissing-prototypes] BUILDSTDERR: printSecurityInfo(PRFileDesc *fd) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c: In function 'do_writes': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("PR_Write bigBuf"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c: In function 'do_io': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("returning from after calling do_writes"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("PR_Read"); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("PR_Read"); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("not enough bytes read in first read"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:454:14: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: char *status_string = PL_strndup(buf+9, 3); BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c: In function 'do_connect': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errExit("PR_OpenTCPSocket on tcp socket"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:162:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errExit(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("PR_Connect"); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errWarn("SSL_ResetHandshake"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:154:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errWarn(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:488:25: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: SECStatus result; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c: In function 'getIPAddress': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errExit("PR_GetHostByName"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:162:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errExit(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c: In function 'client_main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errExit("SSL_VersionRangeGetSupported() failed"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:162:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errExit(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:676:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BUILDSTDERR: PRAddrInfo *ai; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errExit("PR_OpenTCPSocket on tcp socket"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:162:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errExit(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errExit("SSL_ImportFD"); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:162:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errExit(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: errExit("SSL_OptionSet SSL_SECURITY"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:162:16: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: errExit(char * funcString) BUILDSTDERR: ~~~~~~~^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:575:25: warning: unused parameter 'connections' [-Wunused-parameter] BUILDSTDERR: int connections, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:576:25: warning: unused parameter 'privKey' [-Wunused-parameter] BUILDSTDERR: SECKEYPrivateKey ** privKey, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:577:25: warning: unused parameter 'cert' [-Wunused-parameter] BUILDSTDERR: CERTCertificate ** cert, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c: In function 'main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:796:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: char * dir = "."; BUILDSTDERR: ^~~ BUILDSTDERR: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/sslget/sslget.c:551:1: warning: 'getIPAddress' defined but not used [-Wunused-function] BUILDSTDERR: 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 [ 69%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/file.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/file.c: In function 'TKS_ReadInputFileIntoSECItem': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/file.c:26:40: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] BUILDSTDERR: char *wrappedKeyName, BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/file.c: In function 'TKS_WriteSECItemIntoOutputFile': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/file.c:318:42: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] BUILDSTDERR: char *wrappedKeyName, BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~ [ 70%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/find.c.o [ 72%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/help.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/help.c: In function 'TKS_PrintHelp': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/help.c:86:22: warning: unused parameter 'progName' [-Wunused-parameter] BUILDSTDERR: TKS_PrintHelp( char *progName ) BUILDSTDERR: ~~~~~~^~~~~~~~ [ 74%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/key.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c: In function 'InputHexSessionKey': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:234:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for( i = count; i < hexSessionKeyShare->len; i += 4 ) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c: In function 'TKS_GenerateSessionKeyShare': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: for( i = count; i < hexSessionKeyShare.len; i += 4 ) { BUILDSTDERR: ^ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:20: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define SESSION_KEY "session" BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:928:53: note: in expansion of macro 'SESSION_KEY' BUILDSTDERR: SESSION_KEY, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:475:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *keyType, BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:20: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c: In function 'TKS_InputSessionKeyShare': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define SESSION_KEY "session" BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:1037:53: note: in expansion of macro 'SESSION_KEY' BUILDSTDERR: SESSION_KEY, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:475:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *keyType, BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c: In function 'TKS_ImportSymmetricKey': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:1080:44: warning: declaration of 'pwdata' shadows a global declaration [-Wshadow] BUILDSTDERR: secuPWData *pwdata, PRBool isPerm ) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:22:15: note: shadowed declaration is here BUILDSTDERR: secuPWData pwdata = { PW_NONE, BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:1082:17: warning: unused variable 'origin' [-Wunused-variable] BUILDSTDERR: PK11Origin origin = PK11_OriginGenerated; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:1077:44: warning: unused parameter 'mechanism' [-Wunused-parameter] BUILDSTDERR: CK_MECHANISM_TYPE mechanism, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:1078:44: warning: unused parameter 'operation' [-Wunused-parameter] BUILDSTDERR: CK_ATTRIBUTE_TYPE operation, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:1080:44: warning: unused parameter 'pwdata' [-Wunused-parameter] BUILDSTDERR: secuPWData *pwdata, PRBool isPerm ) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:20: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c: In function 'TKS_StoreSymmetricKeyAndNameIt': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define TRANSPORT_KEY "transport" BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:1350:61: note: in expansion of macro 'TRANSPORT_KEY' BUILDSTDERR: TRANSPORT_KEY, BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/key.c:475:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *keyType, BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~ [ 76%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/list.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/list.c: In function 'TKS_ListKeys': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/list.c:132:19: warning: unused parameter 'index' [-Wunused-parameter] BUILDSTDERR: int index, BUILDSTDERR: ~~~~^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/list.c:133:22: warning: unused parameter 'dopriv' [-Wunused-parameter] BUILDSTDERR: PRBool dopriv, BUILDSTDERR: ~~~~~~~^~~~~~ [ 78%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/modules.c.o [ 80%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/pppolicy.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: 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/keyt.h:8, BUILDSTDERR: from /usr/include/nss3/cert.h:21, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:53: BUILDSTDERR: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here BUILDSTDERR: const void *sub; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: 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/keyt.h:8, BUILDSTDERR: from /usr/include/nss3/cert.h:21, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:53: BUILDSTDERR: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here BUILDSTDERR: const void *sub; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: 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/keyt.h:8, BUILDSTDERR: from /usr/include/nss3/cert.h:21, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:53: BUILDSTDERR: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here BUILDSTDERR: const void *sub; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: 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/keyt.h:8, BUILDSTDERR: from /usr/include/nss3/cert.h:21, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:53: BUILDSTDERR: /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here BUILDSTDERR: unsigned int size; BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Display Text", level+1); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.h:283:60: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern void SECU_PrintString(FILE *out, SECItem *si, char *m, int level); BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:181:37: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintPolicyQualifier': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Policy Qualifier Name", level); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.h:200:68: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern SECOidTag SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level); BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, qualifierValue, "Policy Qualifier Data", level); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.h:284:56: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern void SECU_PrintAny(FILE *out, SECItem *i, char *m, int level); BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintPolicyInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintObjectID(out, &policyInfo->policyID , "Policy Name", level); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.h:200:68: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern SECOidTag SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level); BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintPolicyQualifier(out,*policyQualifiers,"",level+1); BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:210:12: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *msg,int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:236:65: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,char *msg,int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c: In function 'SECU_PrintPolicy': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, value, "Invalid Policy Data", level); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.h:284:56: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern void SECU_PrintAny(FILE *out, SECItem *i, char *m, int level); BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintPolicyInfo(out,*policyInfos,"",level); BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:236:65: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,char *msg,int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c: In function 'SECU_PrintPrivKeyUsagePeriodExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintGeneralizedTime(out, &prd->notBefore, "Not Before", level); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.h:224:68: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern void SECU_PrintGeneralizedTime(FILE *out, SECItem *t, char *m, BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintGeneralizedTime(out, &prd->notAfter, "Not After ", level); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:58: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.h:224:68: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern void SECU_PrintGeneralizedTime(FILE *out, SECItem *t, char *m, BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintPolicyQualifier': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:224:11: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: if (SECSuccess == rv) BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/pppolicy.c:227:4: note: here BUILDSTDERR: case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: BUILDSTDERR: ^~~~ [ 81%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/random.c.o [ 83%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/retrieve.c.o [ 85%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/secerror.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secerror.c:74:1: warning: no previous prototype for 'SECU_Strerror' [-Wmissing-prototypes] BUILDSTDERR: SECU_Strerror(PRErrorCode errNum) { BUILDSTDERR: ^~~~~~~~~~~~~ [ 87%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/secpwd.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secpwd.c: In function 'SEC_GetPassword': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secpwd.c:69:21: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: #define QUIET_FGETS fgets BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secpwd.c:117:2: note: in expansion of macro 'QUIET_FGETS' BUILDSTDERR: QUIET_FGETS ( phrase, sizeof(phrase), input); BUILDSTDERR: ^~~~~~~~~~~ [ 89%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/secutil.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:99:1: warning: no previous prototype for 'SECU_GetString' [-Wmissing-prototypes] BUILDSTDERR: SECU_GetString(int16 error_number) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:1: warning: no previous prototype for 'SECU_PrintErrMsg' [-Wmissing-prototypes] BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintErrMsg': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: vfprintf(out, msg, args); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintError': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: vfprintf(stderr, msg, args); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSystemError': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: vfprintf(stderr, msg, args); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_GetPasswordString': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:172:30: warning: unused parameter 'arg' [-Wunused-parameter] BUILDSTDERR: SECU_GetPasswordString(void *arg, char *prompt) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_FilePasswd': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:222:31: warning: unused parameter 'slot' [-Wunused-parameter] BUILDSTDERR: SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) BUILDSTDERR: ~~~~~~~~~~~~~~^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_GetModulePassword': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:263:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: secuPWData pwxtrn = { PW_EXTERNAL, "external" }; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:308:1: warning: no previous prototype for 'secu_InitSlotPassword' [-Wmissing-prototypes] BUILDSTDERR: secu_InitSlotPassword(PK11SlotInfo *slot, PRBool retry, void *arg) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_InitSlotPassword': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: p0 = SEC_GetPassword(input, output, "Enter new password: ", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:60: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.h:123:14: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: p1 = SEC_GetPassword(input, output, "Re-enter password: ", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:60: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.h:123:14: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ChangePW': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:376:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] BUILDSTDERR: SECStatus rv; BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ConfigDirectory': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:485:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: if (!home) home = ""; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_GetClientAuthData': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:505:47: warning: unused parameter 'fd' [-Wunused-parameter] BUILDSTDERR: SECU_GetClientAuthData(void *arg, PRFileDesc *fd, BUILDSTDERR: ~~~~~~~~~~~~^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:506:35: warning: unused parameter 'caNames' [-Wunused-parameter] BUILDSTDERR: struct CERTDistNamesStr *caNames, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:546:1: warning: no previous prototype for 'secu_StdinToItem' [-Wmissing-prototypes] BUILDSTDERR: secu_StdinToItem(SECItem *dst) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ReadDERFromFile': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:671:2: warning: missing initializer for field 'len' of 'SECItem' {aka 'struct SECItemStr'} [-Wmissing-field-initializers] BUILDSTDERR: 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.6/base/native-tools/src/tkstool/secutil.c:59: BUILDSTDERR: /usr/include/nss3/seccomon.h:53:18: note: 'len' declared here BUILDSTDERR: unsigned int len; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:877:1: warning: no previous prototype for 'SECU_StripTagAndLength' [-Wmissing-prototypes] BUILDSTDERR: SECU_StripTagAndLength(SECItem *i) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1077:1: warning: no previous prototype for 'SECU_PrintSet' [-Wmissing-prototypes] BUILDSTDERR: SECU_PrintSet(FILE *out, SECItem *t, char *m, int level) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1209:1: warning: no previous prototype for 'SECU_PrintEncodedBoolean' [-Wmissing-prototypes] BUILDSTDERR: SECU_PrintEncodedBoolean(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1218:1: warning: no previous prototype for 'SECU_PrintEncodedInteger' [-Wmissing-prototypes] BUILDSTDERR: SECU_PrintEncodedInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1227:1: warning: no previous prototype for 'SECU_PrintEncodedObjectID' [-Wmissing-prototypes] BUILDSTDERR: SECU_PrintEncodedObjectID(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintValidity': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintTimeChoice(out, &v->notBefore, "Not Before", level+1); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1057:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintTimeChoice(out, &v->notAfter, "Not After ", level+1); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1057:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAttribute': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintObjectID(out, &(attr->type), "Type", level+1); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1388:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintRSAPublicKey': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &pk->u.rsa.modulus, "Modulus", level+1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &pk->u.rsa.publicExponent, "Exponent", level+1); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintDSAPublicKey': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &pk->u.dsa.params.prime, "Prime", level+1); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &pk->u.dsa.params.subPrime, "Subprime", level+1); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &pk->u.dsa.params.base, "Base", level+1); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &pk->u.dsa.publicValue, "PublicValue", level+1); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAlgorithmID(out, &i->algorithm, "Public Key Algorithm", level+1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintRSAPublicKey(out, pk, "RSA Public Key", level +1); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1472:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintRSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintDSAPublicKey(out, pk, "DSA Public Key", level +1); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1485:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintDSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing public key"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing public key"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, &i->subjectPublicKey, "Raw", level); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1515:56: warning: unused parameter 'arena' [-Wunused-parameter] BUILDSTDERR: secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintX509InvalidDate': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: (invalidTime, "%a %b %d %H:%M:%S %Y"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.h:54, BUILDSTDERR: from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:60: BUILDSTDERR: /usr/include/nss3/secder.h:155:14: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern char *CERT_GenTime2FormattedAscii(PRTime genTime, char *format); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintNSCertType': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, value, "Data", level); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintX509KeyUsage': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, value, "Data", level); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1690:57: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintGeneralName': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny( out, &gname->name.OthName.name, "Other Name", level); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintObjectID(out, &gname->name.OthName.oid, "OID", level+1); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1388:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintName(out, &gname->name.directoryName, "Directory Name", level); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:60: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.h:293:61: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern void SECU_PrintName(FILE *out, CERTName *name, char *msg, int level); BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintRawString( out, &gname->name.other, "RFC822 Name", level); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:924:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintRawString( out, &gname->name.other, "DNS name", level); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:924:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintRawString( out, &gname->name.other, "URI", level); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:924:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintIPAddress(out, &gname->name.other, "IP Address", level); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1725:54: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintIPAddress(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintObjectID( out, &gname->name.other, "Registered ID", level); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1388:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny( out, &gname->name.other, "X400 Address", level); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny( out, &gname->name.other, "EDI Party", level); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAuthKeyIDExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, value, "Data", level); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintGeneralName(out, kid->authCertIssuer, "Issuer", level); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1760:64: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Serial Number", level); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1804:63: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAltNameExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, value, "Data", level); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintCRLDistPtsExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, &pPoint->derDistPoint, "Point", level); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintDecodedBitString(out, &pPoint->reasons, "Reasons", BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1190:57: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintGeneralName(out, pPoint->crlIssuer, "Issuer", level); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1760:64: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, value, "Data", level); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1872:64: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintNameConstraintSubtree': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &value->min, "Minimum", level+1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &value->max, "Maximum", level+1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintNameConstraintsExtension': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, value, "Raw", level); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Permitted", level); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1915:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Excluded", level); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1915:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1931:69: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAuthorityInfoAcess': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintError("Error", "Allocating new ArenaPool"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, value, "Raw", level); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintObjectID(out, &info->method, "Method", level); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1388:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintGeneralName(out, info->location, "Location", level); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1760:64: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, &info->derLocation, "Location", level); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1957:63: warning: unused parameter 'msg' [-Wunused-parameter] BUILDSTDERR: secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintExtensions': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintObjectID(out, tmpitem, "Name", level); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1388:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintX509InvalidDate(out, tmpitem, "Date", level ); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1562:60: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintX509InvalidDate(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintPolicy(out, tmpitem, "Data", level ); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:60: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.h:286:63: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: extern void SECU_PrintPolicy(FILE *out, SECItem *value, char *msg, int level); BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintString(out,tmpitem, "URL", level); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:956:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintString(FILE *out, SECItem *si, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintString(out,tmpitem, "Comment", level); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:956:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintString(FILE *out, SECItem *si, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintString(out,tmpitem, "ServerName", level); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:956:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintString(FILE *out, SECItem *si, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintNSCertType(out,tmpitem,"Data",level); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1641:55: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintNSCertType(FILE *out, SECItem *value, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintBasicConstraints(out,tmpitem,"Data",level); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1606:61: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintBasicConstraints(FILE *out, SECItem *value, char *msg, int level) { BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, tmpitem, "Data", level); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintName': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2130:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: str = "!Invalid AVA!"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'printflags': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if (flags & CERTDB_VALID_PEER) BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertNickname': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2194:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: name = "(NULL)"; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2213:1: warning: no previous prototype for 'SECU_DecodeAndPrintExtensions' [-Wmissing-prototypes] BUILDSTDERR: SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2234:1: warning: no previous prototype for 'SECU_PrintSetOfExtensions' [-Wmissing-prototypes] BUILDSTDERR: SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSetOfExtensions': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: rv |= SECU_DecodeAndPrintExtensions(out, any[0], "", level); BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2213:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2249:1: warning: no previous prototype for 'SECU_PrintSetOfAny' [-Wmissing-prototypes] BUILDSTDERR: SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSetOfAny': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, any[0], "", level); BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2263:1: warning: no previous prototype for 'SECU_PrintCertAttribute' [-Wmissing-prototypes] BUILDSTDERR: SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertAttribute': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: tag = SECU_PrintObjectID(out, &attr->attrType, "Attribute Type", level); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1388:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: rv = SECU_PrintSetOfExtensions(out, attr->attrValue, "Extensions", level); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2234:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: rv = SECU_PrintSetOfAny(out, attr->attrValue, "Attribute Values", level); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2249:52: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2263:63: warning: unused parameter 'm' [-Wunused-parameter] BUILDSTDERR: SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2277:1: warning: no previous prototype for 'SECU_PrintCertAttributes' [-Wmissing-prototypes] BUILDSTDERR: SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertificateRequest': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &cr->version, "Version", level+1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintName(out, &cr->subject, "Subject", level+1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2122:49: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Subject Public Key Info", level+1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1516:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: CERTSubjectPublicKeyInfo *i, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintCertAttributes(out, cr->attributes, "Attributes", level+1); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2277:66: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertificate': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAny(out, der, "Raw", level); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1360:44: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &c->serialNumber, "Serial Number", level+1); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAlgorithmID(out, &c->signature, "Signature Algorithm", level+1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintName(out, &c->issuer, "Issuer", level+1); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2122:49: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintValidity(out, &c->validity, "Validity", level+1); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1378:54: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintValidity(FILE *out, CERTValidity *v, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintName(out, &c->subject, "Subject", level+1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2122:49: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Subject Public Key Info", level+1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1516:46: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: CERTSubjectPublicKeyInfo *i, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintDecodedBitString(out, &c->issuerID, "Issuer Unique ID", level+1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1190:57: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintDecodedBitString(out, &c->subjectID, "Subject Unique ID", level+1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1190:57: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintExtensions(out, c->extensions, "Signed Extensions", level+1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1992:14: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7EncContent': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Content Encryption Algorithm", level+1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintRecipientInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &(info->version), "Version", level + 1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintName(out, &(info->issuerAndSN->issuer), "Issuer", BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2122:49: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Serial Number", level + 1); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Key Encryption Algorithm", level + 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintSignerInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &(info->version), "Version", level + 1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintName(out, &(info->issuerAndSN->issuer), "Issuer", BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2122:49: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Serial Number", level + 1); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAlgorithmID(out, &(info->digestAlg), "Digest Algorithm", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Digest Encryption Algorithm", level + 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCRLInfo': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAlgorithmID(out, &(crl->signatureAlg), "Signature Algorithm", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintName(out, &(crl->name), "Issuer", level + 1); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2122:49: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintTimeChoice(out, &(crl->lastUpdate), "This Update", level + 1); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1057:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintTimeChoice(out, &(crl->nextUpdate), "Next Update", level + 1); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1057:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &(entry->serialNumber), "Serial Number", BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Revocation Date", level + 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1057:51: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Entry Extensions", level + 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1992:14: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintExtensions(out, crl->extensions, "CRL Extensions", level + 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1992:14: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *msg, int level) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7Signed': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &(src->version), "Version", level + 1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Content Information", level + 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2464:60: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintPKCS7ContentInfo(FILE *, SEC_PKCS7ContentInfo *, char *, int); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Signature Algorithm", level+3); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2569:50: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7Enveloped': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &(src->version), "Version", level + 1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Encrypted Content Information", level + 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2472:12: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7SignedAndEnveloped': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &(src->version), "Version", level + 1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Encrypted Content Information", level + 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2472:12: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Signature Algorithm", level+3); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2569:50: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7Encrypted': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &(src->version), "Version", level + 1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: "Encrypted Content Information", level + 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2472:12: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7Digested': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintInteger(out, &(src->version), "Version", level + 1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:899:48: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintAlgorithmID(out, &src->digestAlg, "Digest Algorithm", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: secu_PrintPKCS7ContentInfo(out, &src->contentInfo, "Content Information", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2464:60: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: secu_PrintPKCS7ContentInfo(FILE *, SEC_PKCS7ContentInfo *, char *, int); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: At top level: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2952:1: warning: no previous prototype for 'printFlags' [-Wmissing-prototypes] BUILDSTDERR: printFlags(FILE *out, unsigned int flags, int level) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'printFlags': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if ( flags & CERTDB_VALID_PEER ) { BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSignedData': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: rv = (*inner)(out, &sd->data, "Data", level+1); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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.6/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: SECU_PrintAlgorithmID(out, &sd->signatureAlgorithm, "Signature Algorithm", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:1418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintFingerprints(out, der, "Fingerprint", level+1); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:2418:59: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintFingerprints(FILE *out, SECItem *derCert, char *m, int level) BUILDSTDERR: ~~~~~~^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ParseCommandLine': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3030:52: warning: unused parameter 'progName' [-Wunused-parameter] BUILDSTDERR: SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintPRandOSError': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if (errLen > 0 && errLen < sizeof buffer) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: SECU_PrintError(progName, "function failed"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: SECU_PrintError(char *progName, char *msg, ...) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if (errLen > 0 && errLen < sizeof buffer) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_printCertProblems': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3299:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: flags = (unsigned int)node->arg; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3302:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: errstr = "Cert cannot sign."; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3305:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: errstr = "Cert cannot encrypt."; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3308:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: errstr = "Cert cannot sign other certs."; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3311:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: errstr = "[unknown usage]."; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3315:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: flags = (unsigned int)node->arg; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3319:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: errstr = "Cert cannot be used for SSL."; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3322:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: errstr = "Cert cannot be used as an SSL CA."; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3325:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: errstr = "Cert cannot be used for SMIME."; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3328:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: errstr = "Cert cannot be used as an SMIME CA."; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3331:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: errstr = "Cert cannot be used for object signing."; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3334:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: errstr = "Cert cannot be used as an object signing CA."; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3337:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: errstr = "[unknown usage]."; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_StoreCRL': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_FindCrlIssuer': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3613:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] BUILDSTDERR: CERTAuthKeyID* authorityKeyID, PRTime validTime) BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c: In function 'SECU_printCertProblems': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3300:3: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: switch (flags) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3314:6: note: here BUILDSTDERR: case SEC_ERROR_INADEQUATE_CERT_TYPE: BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3316:3: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: switch (flags) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/secutil.c:3340:6: note: here BUILDSTDERR: case SEC_ERROR_UNKNOWN_ISSUER: BUILDSTDERR: ^~~~ [ 90%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/tkstool.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c: In function 'main': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:155:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: char *DBPrefix = ""; BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:161:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: char *slotname = "internal"; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if( errLen > 0 && errLen < sizeof buffer ) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if( errLen > 0 && errLen < sizeof buffer ) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if( errLen > 0 && errLen < sizeof buffer ) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: if( errLen > 0 && errLen < sizeof buffer ) { BUILDSTDERR: ^ BUILDSTDERR: In file included from /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:20: BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define FIRST_SESSION_KEY_SHARE "first" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:1052:42: note: in expansion of macro 'FIRST_SESSION_KEY_SHARE' BUILDSTDERR: FIRST_SESSION_KEY_SHARE, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:213:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: TKS_GenerateSessionKeyShare( char *sessionKeyShareName, BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define FIRST_SESSION_KEY_SHARE "first" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:1070:46: note: in expansion of macro 'FIRST_SESSION_KEY_SHARE' BUILDSTDERR: FIRST_SESSION_KEY_SHARE, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:217:36: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: TKS_InputSessionKeyShare( char *sessionKeyShareName, BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define SECOND_SESSION_KEY_SHARE "second" BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:1131:43: note: in expansion of macro 'SECOND_SESSION_KEY_SHARE' BUILDSTDERR: SECOND_SESSION_KEY_SHARE, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:213:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: TKS_GenerateSessionKeyShare( char *sessionKeyShareName, BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define SECOND_SESSION_KEY_SHARE "second" BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:1149:47: note: in expansion of macro 'SECOND_SESSION_KEY_SHARE' BUILDSTDERR: SECOND_SESSION_KEY_SHARE, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:217:36: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: TKS_InputSessionKeyShare( char *sessionKeyShareName, BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define THIRD_SESSION_KEY_SHARE "third" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:1277:42: note: in expansion of macro 'THIRD_SESSION_KEY_SHARE' BUILDSTDERR: THIRD_SESSION_KEY_SHARE, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:213:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: TKS_GenerateSessionKeyShare( char *sessionKeyShareName, BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define THIRD_SESSION_KEY_SHARE "third" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:1295:46: note: in expansion of macro 'THIRD_SESSION_KEY_SHARE' BUILDSTDERR: THIRD_SESSION_KEY_SHARE, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:217:36: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: TKS_InputSessionKeyShare( char *sessionKeyShareName, BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define FIRST_SYMMETRIC_KEY "first" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:1422:53: note: in expansion of macro 'FIRST_SYMMETRIC_KEY' BUILDSTDERR: firstSymmetricKey = TKS_ImportSymmetricKey( FIRST_SYMMETRIC_KEY, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:221:1: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: TKS_ImportSymmetricKey( char *symmetricKeyName, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define SECOND_SYMMETRIC_KEY "second" BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:1457:54: note: in expansion of macro 'SECOND_SYMMETRIC_KEY' BUILDSTDERR: secondSymmetricKey = TKS_DeriveSymmetricKey( SECOND_SYMMETRIC_KEY, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:229:1: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: TKS_DeriveSymmetricKey( char *symmetricKeyName, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define THIRD_SYMMETRIC_KEY "third" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:1494:53: note: in expansion of macro 'THIRD_SYMMETRIC_KEY' BUILDSTDERR: thirdSymmetricKey = TKS_DeriveSymmetricKey( THIRD_SYMMETRIC_KEY, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:229:1: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: TKS_DeriveSymmetricKey( char *symmetricKeyName, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define TRANSPORT_KEY "transport" BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:1521:62: note: in expansion of macro 'TRANSPORT_KEY' BUILDSTDERR: rvSymmetricKeyname = TKS_StoreSymmetricKeyAndNameIt( TRANSPORT_KEY, BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:238:52: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: TKS_StoreSymmetricKeyAndNameIt( char *symmetricKeyName, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define RESIDENT_KEY "resident" BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:1599:57: note: in expansion of macro 'RESIDENT_KEY' BUILDSTDERR: RESIDENT_KEY, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:208:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *keyType, BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define RESIDENT_KEY "resident" BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:1770:57: note: in expansion of macro 'RESIDENT_KEY' BUILDSTDERR: RESIDENT_KEY, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:208:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *keyType, BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define UNWRAPPED_KEY "unwrapped" BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:2161:43: note: in expansion of macro 'UNWRAPPED_KEY' BUILDSTDERR: UNWRAPPED_KEY, BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:208:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *keyType, BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/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: #define WRAPPED_KEY "wrapped" BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.c:2407:57: note: in expansion of macro 'WRAPPED_KEY' BUILDSTDERR: WRAPPED_KEY, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/tkstool.h:208:39: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char *keyType, BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~ [ 92%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/util.c.o BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/util.c:348:1: warning: no previous prototype for 'TKS_ClearScreen' [-Wmissing-prototypes] BUILDSTDERR: TKS_ClearScreen() BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/util.c:359:1: warning: no previous prototype for 'TKS_WaitForUser' [-Wmissing-prototypes] BUILDSTDERR: TKS_WaitForUser() BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/util.c:377:1: warning: no previous prototype for 'TKS_TypeProceedToContinue' [-Wmissing-prototypes] BUILDSTDERR: TKS_TypeProceedToContinue() BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/util.c: In function 'TKS_TypeProceedToContinue': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/util.c:387:20: warning: variable 'orig_lflag' set but not used [-Wunused-but-set-variable] BUILDSTDERR: tcflag_t orig_lflag; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/util.c:386:20: warning: variable 'orig_cc_time' set but not used [-Wunused-but-set-variable] BUILDSTDERR: cc_t orig_cc_time; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/util.c:385:20: warning: variable 'orig_cc_min' set but not used [-Wunused-but-set-variable] BUILDSTDERR: cc_t orig_cc_min; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/util.c:383:20: warning: variable 'rv' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int rv = 0; BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/util.c: In function 'TKS_ClearScreen': BUILDSTDERR: /builddir/build/BUILD/pki-10.6.6/base/native-tools/src/tkstool/util.c:351:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system( "tput clear" ); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ [ 94%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/version.c.o [ 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:850: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: DefaultHttpClient client = new DefaultHttpClient(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/CRMFPopClient.java:850: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated BUILDSTDERR: DefaultHttpClient client = new DefaultHttpClient(); BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/KRATool.java:1414: warning: [deprecation] getUniqueID() in PrivateKey has been deprecated BUILDSTDERR: if (arraysEqual(pk[i].getUniqueID(), BUILDSTDERR: ^ BUILDSTDERR: com/netscape/cmstools/KRATool.java:1416: warning: [deprecation] getUniqueID() in TokenCertificate has been deprecated BUILDSTDERR: mUnwrapCert).getUniqueID())) { 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: 24 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.6-1.fc29.riscv64/usr/share/doc/pki + cat + rm -f /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/share/pki/lib/scannotation.jar + ln -sf /usr/share/java/jboss-logging/jboss-logging.jar /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/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.6-1.fc29.riscv64/usr/share/pki/lib/jboss-annotations-api_1.2_spec.jar + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 10.6.6-1.fc29 --unique-debug-suffix -10.6.6-1.fc29.riscv64 --unique-debug-src-base dogtag-pki-10.6.6-1.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pki-10.6.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/bin/setpin explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/bin/p7tool explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/bin/tkstool explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/bin/revoker extracting debug info from /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/bin/p7tool extracting debug info from /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/bin/tkstool extracting debug info from /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/bin/revoker extracting debug info from /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/bin/setpin explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/lib64/symkey/libsymkey.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/bin/sslget extracting debug info from /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/bin/sslget extracting debug info from /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/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 BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/etc/ld.so.conf: No such file or directory + /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 1 Bytecompiling .py files below /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/lib/python3.7 using /usr/bin/python3.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: /usr/share/lmod/lmod/init/bash: line 15: __lmod_vx: unbound variable mangling shebang in /usr/bin/KRATool 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/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/CMCSharedToken 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/GenSubjectAltNameExt 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/AtoB 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/ExtJoiner 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/AuditVerify 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/CMCRequest 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/CRMFPopClient 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/pki 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/PKCS10Client from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/GenIssuerAltNameExt from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/pki-upgrade from /bin/sh to #!/usr/bin/sh Processing files: dogtag-pki-10.6.6-1.fc29.riscv64 Provides: dogtag-pki = 10.6.6-1.fc29 dogtag-pki(riscv-64) = 10.6.6-1.fc29 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.6-1.fc29.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QRAEln + umask 022 + cd /builddir/build/BUILD + cd pki-10.6.6 + DOCDIR=/builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/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.6-1.fc29.riscv64/usr/share/doc/dogtag-pki-server-theme + cp -pr themes/dogtag/common-ui/LICENSE /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/share/doc/dogtag-pki-server-theme + exit 0 Provides: dogtag-pki-server-theme = 10.6.6-1.fc29 pki-server-theme = 10.6.6-1.fc29 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.6-1.fc29.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UA3Glg + umask 022 + cd /builddir/build/BUILD + cd pki-10.6.6 + DOCDIR=/builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/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.6-1.fc29.riscv64/usr/share/doc/dogtag-pki-console-theme + cp -pr themes/dogtag/console-ui/LICENSE /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64/usr/share/doc/dogtag-pki-console-theme + exit 0 Provides: dogtag-pki-console-theme = 10.6.6-1.fc29 pki-console-theme = 10.6.6-1.fc29 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.6-1.fc29.riscv64 Provides: dogtag-pki-debugsource = 10.6.6-1.fc29 dogtag-pki-debugsource(riscv-64) = 10.6.6-1.fc29 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.6-1.fc29.riscv64 Provides: dogtag-pki-debuginfo = 10.6.6-1.fc29 dogtag-pki-debuginfo(riscv-64) = 10.6.6-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dogtag-pki-debugsource(riscv-64) = 10.6.6-1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64 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/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.6-1.fc29.riscv64.debug BUILDSTDERR: /usr/lib/debug/usr/bin/revoker-10.6.6-1.fc29.riscv64.debug BUILDSTDERR: /usr/lib/debug/usr/bin/setpin-10.6.6-1.fc29.riscv64.debug BUILDSTDERR: /usr/lib/debug/usr/bin/sslget-10.6.6-1.fc29.riscv64.debug BUILDSTDERR: /usr/lib/debug/usr/bin/tkstool-10.6.6-1.fc29.riscv64.debug BUILDSTDERR: /usr/lib/debug/usr/lib64/symkey/libsymkey.so-10.6.6-1.fc29.riscv64.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__/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/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/ajax-loader.gif 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/comment-bright.png BUILDSTDERR: /usr/share/doc/pki-base/html/_static/comment-close.png BUILDSTDERR: /usr/share/doc/pki-base/html/_static/comment.png 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/down-pressed.png BUILDSTDERR: /usr/share/doc/pki-base/html/_static/down.png 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/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/_static/up-pressed.png BUILDSTDERR: /usr/share/doc/pki-base/html/_static/up.png BUILDSTDERR: /usr/share/doc/pki-base/html/_static/websupport.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/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-core-asl.jar BUILDSTDERR: /usr/share/pki/lib/jackson-jaxrs.jar BUILDSTDERR: /usr/share/pki/lib/jackson-mapper-asl.jar BUILDSTDERR: /usr/share/pki/lib/jackson-mrbean.jar BUILDSTDERR: /usr/share/pki/lib/jackson-smile.jar BUILDSTDERR: /usr/share/pki/lib/jackson-xc.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-jackson-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.6-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dogtag-pki-server-theme-10.6.6-1.fc29.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-console-theme-10.6.6-1.fc29.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-debugsource-10.6.6-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dogtag-pki-debuginfo-10.6.6-1.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.E7pPvk + umask 022 + cd /builddir/build/BUILD + cd pki-10.6.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dogtag-pki-10.6.6-1.fc29.riscv64 + exit 0 Child return code was: 0