Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pki.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1669026347.677288/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3902xieq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3902xieq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1b97413bdac34e9c8690f8df91d7443c', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1669026347.677288/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3902xieq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1520294400 Wrote: /builddir/build/SRPMS/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pki.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1669026347.677288/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3902xieq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3902xieq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3938d83295684449abd0469ac785162a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1669026347.677288/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3902xieq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1520294400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gwHRs9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pki-11.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pki-11.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pki-11.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.G2tRam + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pki-11.2.1 + app_server=tomcat-9.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -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_DO_STRIP:BOOL=OFF -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 '-DPRODUCT_NAME=Dogtag PKI' -DVERSION=11.2.1-1.20221121102510UTC.80e42f96.fc38 -DVAR_INSTALL_DIR:PATH=/var -DP11_KIT_TRUST=/etc/alternatives/libnssckbi.so.x86_64 -DJAVA_HOME=/usr/lib/jvm/jre-17-openjdk -DJAVA_LIB_INSTALL_DIR=/usr/lib/java -DSYSTEMD_LIB_INSTALL_DIR=/usr/lib/systemd/system -DAPP_SERVER=tomcat-9.0 -DNSS_DEFAULT_DB_TYPE=sql -DPYTHON_EXECUTABLE=/usr/bin/python3 -DWITH_SERVER:BOOL=ON -DWITH_CA:BOOL=ON -DWITH_KRA:BOOL=ON -DWITH_OCSP:BOOL=ON -DWITH_TKS:BOOL=ON -DWITH_TPS:BOOL=ON -DWITH_ACME:BOOL=ON -DWITH_JAVADOC:BOOL=ON -DWITH_CONSOLE:BOOL=OFF -DWITH_TESTS:BOOL=ON -DWITH_META:BOOL=ON -DTHEME=dogtag -DRUN_TESTS:BOOL=ON -B redhat-linux-build Not searching for unused variables given on the command line. -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- 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.8.0") -- Checking for module 'nspr' -- Found nspr, version 4.35.0 -- Found NSPR: /usr/lib64/libplds4.so;/usr/lib64/libplc4.so;/usr/lib64/libnspr4.so -- Checking for module 'nss' -- Found nss, version 3.85.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-17-openjdk/bin/java (found version "17.0.6") -- Found JNI: /usr/lib/jvm/jre-17-openjdk/include found components: AWT JVM -- Found Ldap: /usr/lib64/libldap.so;/usr/lib64/liblber.so -- Checking for module 'apr-1' -- Found apr-1, version 1.7.0 -- Found APR: /usr/lib64/libapr-1.so -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Using new 'sql' format for NSS_DEFAULT_DB_TYPE -- Found PythonInterp: /usr/bin/python3 (found version "3.11") -- Building pki.server for 3.11 -- PYTHON3_SITE_PACKAGES /usr/lib/python3.11/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 -- Found Sphinx: /usr/bin/sphinx-build -- Java_VERSION_STRING = '17.0.6-ea' -- Javac_VERSION_OUTPUT = 'javac 17.0.6-ea' -- Javadoc_VERSION_MAJOR = '17' -- Javadoc_VERSION_MINOR = '0' -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build + cd redhat-linux-build + /usr/bin/make VERBOSE= CMAKE_NO_VERBOSE=1 DESTDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 'INSTALL=install -p' --no-print-directory all src/main/java/com/netscape/cmsutil/crypto/CryptoUtil.java:2184: warning: [removal] PBE_SHA1_DES3_CBC in PBEAlgorithm has been deprecated and marked for removal PBEAlgorithm pbeAlg = PBEAlgorithm.PBE_SHA1_DES3_CBC; ^ src/main/java/com/netscape/cmsutil/crypto/CryptoUtil.java:2921: warning: [removal] RSASignatureWithSHA1Digest in SignatureAlgorithm has been deprecated and marked for removal else if (algname.equals(SignatureAlgorithm.RSASignatureWithSHA1Digest.toString())) ^ src/main/java/com/netscape/cmsutil/crypto/CryptoUtil.java:2923: warning: [removal] DSASignatureWithSHA1Digest in SignatureAlgorithm has been deprecated and marked for removal else if (algname.equals(SignatureAlgorithm.DSASignatureWithSHA1Digest.toString())) ^ src/main/java/com/netscape/cmsutil/crypto/CryptoUtil.java:2931: warning: [removal] ECSignatureWithSHA1Digest in SignatureAlgorithm has been deprecated and marked for removal else if (algname.equals(SignatureAlgorithm.ECSignatureWithSHA1Digest.toString())) ^ src/main/java/com/netscape/cmsutil/scep/CRSPKIMessage.java:216: warning: [removal] RSASignatureWithSHA1Digest in SignatureAlgorithm has been deprecated and marked for removal signatureAlgorithm = SignatureAlgorithm.RSASignatureWithSHA1Digest; ^ 5 warnings [ 0%] Built target pki-cmsutil-classes [ 1%] Packaging resources for pki-cmsutil-jar [ 1%] Built target pki-cmsutil-jar [ 2%] Compiling Java sources for pki-util-test-classes [ 2%] Built target pki-util-test-classes [ 3%] Running JUnit test-pki-util TestRunner: Test PASSED [ 3%] Built target test-pki-util [ 3%] Compiling Java sources for pki-certsrv-classes src/main/java/com/netscape/certsrv/client/PKIConnection.java:82: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated DefaultHttpClient httpClient = new DefaultHttpClient(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:82: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated DefaultHttpClient httpClient = new DefaultHttpClient(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:99: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated Scheme scheme = new Scheme("https", 443, new JSSProtocolSocketFactory()); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:99: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated Scheme scheme = new Scheme("https", 443, new JSSProtocolSocketFactory()); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:107: warning: [deprecation] AuthPolicy in org.apache.http.client.params has been deprecated authPref.add(AuthPolicy.BASIC); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:108: warning: [deprecation] AuthPNames in org.apache.http.auth.params has been deprecated httpClient.getParams().setParameter(AuthPNames.PROXY_AUTH_PREF, authPref); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:149: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated HttpParams params = request.getParams(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:149: warning: [deprecation] getParams() in HttpMessage has been deprecated HttpParams params = request.getParams(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:150: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated if (params instanceof ClientParamsStack) { ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:151: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated ClientParamsStack paramsStack = (ClientParamsStack)request.getParams(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:151: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated ClientParamsStack paramsStack = (ClientParamsStack)request.getParams(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:151: warning: [deprecation] getParams() in HttpMessage has been deprecated ClientParamsStack paramsStack = (ClientParamsStack)request.getParams(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:154: warning: [deprecation] HttpClientParams in org.apache.http.client.params has been deprecated HttpClientParams.setRedirecting(params, true); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:197: warning: [deprecation] RequestWrapper in org.apache.http.impl.client has been deprecated RequestWrapper wrapper; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:199: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated wrapper = new EntityEnclosingRequestWrapper((HttpEntityEnclosingRequest)request); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:201: warning: [deprecation] RequestWrapper in org.apache.http.impl.client has been deprecated wrapper = new RequestWrapper(request); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:233: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated if (request instanceof EntityEnclosingRequestWrapper) { ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:234: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated EntityEnclosingRequestWrapper wrapper = (EntityEnclosingRequestWrapper) request; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:234: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated EntityEnclosingRequestWrapper wrapper = (EntityEnclosingRequestWrapper) request; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:279: warning: [deprecation] SchemeLayeredSocketFactory in org.apache.http.conn.scheme has been deprecated private class JSSProtocolSocketFactory implements SchemeLayeredSocketFactory { ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:282: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated public Socket createSocket(HttpParams params) throws IOException { ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:290: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated HttpParams params) ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:382: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated public Socket createLayeredSocket(Socket socket, String target, int port, HttpParams params) ^ src/main/java/com/netscape/certsrv/client/SubsystemClient.java:166: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject parser = new XMLObject(bais); ^ src/main/java/com/netscape/certsrv/client/SubsystemClient.java:166: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject parser = new XMLObject(bais); ^ src/main/java/com/netscape/certsrv/client/SubsystemClient.java:244: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject parser = new XMLObject(bis); ^ src/main/java/com/netscape/certsrv/client/SubsystemClient.java:244: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject parser = new XMLObject(bis); ^ src/main/java/com/netscape/certsrv/ca/CACertClient.java:247: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject parser = new XMLObject(bis); ^ src/main/java/com/netscape/certsrv/ca/CACertClient.java:247: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject parser = new XMLObject(bis); ^ src/main/java/com/netscape/certsrv/cert/CertData.java:490: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated Principal issuerDN = cert.getIssuerDN(); ^ src/main/java/com/netscape/certsrv/cert/CertData.java:493: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated Principal subjectDN = cert.getSubjectDN(); ^ src/main/java/com/netscape/certsrv/client/PKIRESTProvider.java:80: warning: [deprecation] finalize() in Object has been deprecated public void finalize() { ^ src/main/java/org/dogtagpki/common/ConfigClient.java:89: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject parser = new XMLObject(bis); ^ src/main/java/org/dogtagpki/common/ConfigClient.java:89: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject parser = new XMLObject(bis); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 34 warnings [ 3%] Built target pki-certsrv-classes [ 4%] Packaging resources for pki-certsrv-jar [ 4%] Built target pki-certsrv-jar [ 5%] Compiling Java sources for pki-certsrv-test-classes [ 5%] Built target pki-certsrv-test-classes [ 6%] Running JUnit test-pki-certsrv TestRunner: Test PASSED [ 6%] Built target test-pki-certsrv [ 6%] Built target pki-lib [ 6%] Built target pki-man [ 6%] Compiling Java sources for pki-examples-classes [ 6%] Built target pki-examples-classes [ 6%] Building Python Client Library HTML documentation Running Sphinx v5.3.0 making output directory... done building [mo]: all of 0 po files building [html]: all source files updating environment: [new config] 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 done 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 done 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 ../../../redhat-linux-build/base/common/python/html. [ 6%] Built target dogtag_python_client_docs [ 7%] Building Python Client Library manual pages Running Sphinx v5.3.0 making output directory... done building [mo]: all of 0 po files building [man]: all source files updating environment: [new config] 2 added, 0 changed, 0 removed reading sources... [ 50%] index reading sources... [100%] pki looking for now-outdated files... none found pickling environment... done checking consistency... done writing... pki-python-client.1 { pki } done build succeeded. The manual pages are in ../../../redhat-linux-build/base/common/python/man. [ 7%] Built target dogtag_python_client_man_docs [ 7%] Building C object base/tools/src/main/native/p7tool/CMakeFiles/p7tool.dir/secerror.c.o [ 8%] Building C object base/tools/src/main/native/p7tool/CMakeFiles/p7tool.dir/secpwd.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secpwd.c: In function 'SEC_GetPassword': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secpwd.c:69:21: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | #define QUIET_FGETS fgets | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secpwd.c:117:9: note: in expansion of macro 'QUIET_FGETS' 117 | QUIET_FGETS ( phrase, sizeof(phrase), input); | ^~~~~~~~~~~ [ 9%] Building C object base/tools/src/main/native/p7tool/CMakeFiles/p7tool.dir/secutil.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_PrintErrMsg': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:119:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 119 | vfprintf(out, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_PrintError': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:138:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 138 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_PrintSystemError': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:154:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 154 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_GetPasswordString': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:173:30: warning: unused parameter 'arg' [-Wunused-parameter] 173 | SECU_GetPasswordString(void *arg, char *prompt) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_FilePasswd': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:223:31: warning: unused parameter 'slot' [-Wunused-parameter] 223 | SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_ChangePW': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:378:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 378 | SECStatus rv; | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_GetClientAuthData': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:507:47: warning: unused parameter 'fd' [-Wunused-parameter] 507 | SECU_GetClientAuthData(void *arg, PRFileDesc *fd, | ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:508:49: warning: unused parameter 'caNames' [-Wunused-parameter] 508 | struct CERTDistNamesStr *caNames, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:1517:56: warning: unused parameter 'arena' [-Wunused-parameter] 1517 | secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'secu_PrintX509KeyUsage': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:1692:57: warning: unused parameter 'msg' [-Wunused-parameter] 1692 | secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'secu_PrintAuthKeyIDExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:1806:63: warning: unused parameter 'msg' [-Wunused-parameter] 1806 | secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'secu_PrintCRLDistPtsExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:1874:64: warning: unused parameter 'msg' [-Wunused-parameter] 1874 | secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'secu_PrintNameConstraintsExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:1933:75: warning: unused parameter 'msg' [-Wunused-parameter] 1933 | secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, const char *msg, int level) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'secu_PrintAuthorityInfoAcess': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:1959:63: warning: unused parameter 'msg' [-Wunused-parameter] 1959 | secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'printflags': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:2153:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] 2153 | if (flags & CERTDB_VALID_PEER) | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_PrintCertAttribute': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:2265:69: warning: unused parameter 'm' [-Wunused-parameter] 2265 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, const char *m, int level) | ~~~~~~~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'printFlags': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:2953:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] 2953 | if ( flags & CERTDB_VALID_PEER ) { | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_ParseCommandLine': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:3029:52: warning: unused parameter 'progName' [-Wunused-parameter] 3029 | SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:3291:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3291 | flags = (unsigned int)node->arg; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:3307:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3307 | flags = (unsigned int)node->arg; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_StoreCRL': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:3391:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] 3391 | if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_FindCrlIssuer': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:3605:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] 3605 | CERTAuthKeyID* authorityKeyID, PRTime validTime) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:3292:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 3292 | switch (flags) { | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:3306:13: note: here 3306 | case SEC_ERROR_INADEQUATE_CERT_TYPE: | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:3308:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 3308 | switch (flags) { | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/secutil.c:3332:13: note: here 3332 | case SEC_ERROR_UNKNOWN_ISSUER: | ^~~~ [ 9%] Building C object base/tools/src/main/native/p7tool/CMakeFiles/p7tool.dir/pppolicy.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/pppolicy.c:184:43: warning: unused parameter 'msg' [-Wunused-parameter] 184 | const char *msg, int level) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/pppolicy.c: In function 'secu_PrintPolicyInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/pppolicy.c:239:73: warning: unused parameter 'msg' [-Wunused-parameter] 239 | secu_PrintPolicyInfo(FILE *out, CERTPolicyInfo *policyInfo, const char *msg, int level) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/pppolicy.c:227:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 227 | if (SECSuccess == rv) | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/pppolicy.c:230:4: note: here 230 | case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: | ^~~~ [ 10%] Building C object base/tools/src/main/native/p7tool/CMakeFiles/p7tool.dir/p7tool.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c: In function 'decryption_allowed': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c:128:36: warning: unused parameter 'algid' [-Wunused-parameter] 128 | decryption_allowed(SECAlgorithmID *algid, PK11SymKey *key) | ~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c:128:55: warning: unused parameter 'key' [-Wunused-parameter] 128 | decryption_allowed(SECAlgorithmID *algid, PK11SymKey *key) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c:134:1: warning: no previous prototype for 'DecodeAndPrintFile' [-Wmissing-prototypes] 134 | DecodeAndPrintFile(FILE *out, PRFileDesc *in, char *progName, int ascii, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c: In function 'DecodeAndPrintFile': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c:234:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 234 | SECItem **items = NULL; | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c:251:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 251 | int i= 0; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c:255:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 255 | prefix = "chaincert"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c:259:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 259 | FILE *outFile; | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c:261:17: warning: variable 'nb' set but not used [-Wunused-but-set-variable] 261 | int nb = 0; | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c: In function 'main': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p7tool/p7tool.c:341:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 341 | prefix = optstate->value; | ^ [ 11%] Linking C executable p7tool [ 11%] Built target p7tool [ 11%] Building C object base/tools/src/main/native/revoker/CMakeFiles/revoker.dir/revoker.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:125:8: warning: no previous prototype for 'ownPasswd' [-Wmissing-prototypes] 125 | char * ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: In function 'ownPasswd': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:125:33: warning: unused parameter 'slot' [-Wunused-parameter] 125 | char * ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: In function 'myBadCertHandler': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:199:25: warning: unused parameter 'arg' [-Wunused-parameter] 199 | myBadCertHandler( void *arg, PRFileDesc *fd) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:199:42: warning: unused parameter 'fd' [-Wunused-parameter] 199 | myBadCertHandler( void *arg, PRFileDesc *fd) | ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:209:1: warning: no previous prototype for 'my_GetClientAuthData' [-Wmissing-prototypes] 209 | my_GetClientAuthData(void * arg, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: In function 'my_GetClientAuthData': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:227:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 227 | FPRINTF(stderr," mygetclientauthdata - cert = %x\n",(unsigned int)cert); | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:230:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 230 | FPRINTF(stderr," mygetclientauthdata - privkey = %x\n",(unsigned int)privkey); | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:277:1: warning: no previous prototype for 'printSecurityInfo' [-Wmissing-prototypes] 277 | printSecurityInfo(PRFileDesc *fd) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:321:1: warning: no previous prototype for 'do_writes' [-Wmissing-prototypes] 321 | do_writes( | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:357:1: warning: no previous prototype for 'do_io' [-Wmissing-prototypes] 357 | do_io( PRFileDesc *ssl_sock, int connection) | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:425:1: warning: no previous prototype for 'do_connect' [-Wmissing-prototypes] 425 | do_connect( | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: In function 'do_connect': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:433:25: warning: variable 'result' set but not used [-Wunused-but-set-variable] 433 | SECStatus result; | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:496:1: warning: no previous prototype for 'getIPAddress' [-Wmissing-prototypes] 496 | getIPAddress(const char * hostName) | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:518:1: warning: no previous prototype for 'client_main' [-Wmissing-prototypes] 518 | client_main( | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: In function 'client_main': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:544:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 544 | PRAddrInfo *ai; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:520:25: warning: unused parameter 'connections' [-Wunused-parameter] 520 | int connections, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:521:25: warning: unused parameter 'privKey' [-Wunused-parameter] 521 | SECKEYPrivateKey ** privKey, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:522:25: warning: unused parameter 'cert' [-Wunused-parameter] 522 | CERTCertificate ** cert, | ~~~~~~~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:626:1: warning: no previous prototype for 'createRequest' [-Wmissing-prototypes] 626 | createRequest(char * serials, char *reason, char *invalidity, int take_off_hold) | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: In function 'createRequest': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:678:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 678 | old = ""; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:688:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 688 | iDate = ""; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: In function 'main': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:727:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 727 | char * dir = "."; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:839:35: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 839 | revocation_reason = "0"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:311:19: warning: 'outHeader' defined but not used [-Wunused-const-variable=] 311 | static const char outHeader[] = { | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: In function 'main': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:894:9: warning: 'fp' may be used uninitialized [-Wmaybe-uninitialized] 894 | fclose(fp); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:745:15: note: 'fp' was declared here 745 | FILE *fp; | ^~ [ 12%] Building C object base/tools/src/main/native/revoker/CMakeFiles/revoker.dir/getopt.c.o [ 13%] Linking C executable revoker /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c: In function 'main': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:894:9: warning: 'fp' may be used uninitialized [-Wmaybe-uninitialized] 894 | fclose(fp); | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/revoker/revoker.c:745:15: note: 'fp' was declared here 745 | FILE *fp; | ^ [ 13%] Built target revoker [ 13%] Building C object base/tools/src/main/native/setpin/CMakeFiles/setpin.dir/b64.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/b64.c: In function 'ldif_base64_encode_internal': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/b64.c:38:21: warning: variable 'len' set but not used [-Wunused-but-set-variable] 38 | int i, pad, len; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/b64.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/b64.c:98:1: warning: no previous prototype for 'ldif_base64_encode' [-Wmissing-prototypes] 98 | ldif_base64_encode( unsigned char *src, char *dst, int srclen, int lenused ) | ^~~~~~~~~~~~~~~~~~ [ 14%] Building C object base/tools/src/main/native/setpin/CMakeFiles/setpin.dir/options.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/options.c: In function 'OPT_parseArgument': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/options.c:104:13: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | return OPT_parseOptFile(&arg[8],validlist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 15%] Building C object base/tools/src/main/native/setpin/CMakeFiles/setpin.dir/setpin.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:138:8: warning: no previous prototype for 'trim_strdup' [-Wmissing-prototypes] 138 | char * trim_strdup(char *s) | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:147:6: warning: no previous prototype for 'readInputFile' [-Wmissing-prototypes] 147 | void readInputFile() { | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:359:6: warning: no previous prototype for 'do_setup' [-Wmissing-prototypes] 359 | void do_setup() { | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c: In function 'do_setup': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:384:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 384 | x.mod_type = "attributetypes"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:408:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 408 | x.mod_type = "objectclasses"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:439:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 439 | a1_values[0] = "pinmanager"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:442:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 442 | a1.mod_type = "sn"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:445:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 445 | a2_values[0] = "pinmanager"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:448:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 448 | a2.mod_type = "cn"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:454:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 454 | a3.mod_type = "userPassword"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:457:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 457 | a4_values[0] = "person"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:460:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 460 | a4.mod_type = "objectclass"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:507:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 507 | x.mod_type = "aci"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c: In function 'sha256_pw_enc': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:545:38: warning: pointer targets in passing argument 3 of 'PK11_HashBuf' differ in signedness [-Wpointer-sign] 545 | PK11_HashBuf(SEC_OID_SHA256,hash,pwd,strlen(pwd)); | ^~~ | | | char * /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:70:52: note: expected 'const unsigned char *' but argument is of type 'char *' 70 | const unsigned char *in, | ~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:558:5: warning: no previous prototype for 'isstring' [-Wmissing-prototypes] 558 | int isstring(char *s) { | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:570:6: warning: no previous prototype for 'doLDAPBind' [-Wmissing-prototypes] 570 | void doLDAPBind() { | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c: In function 'doLDAPBind': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:610:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 610 | struct berval credential; | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:646:6: warning: no previous prototype for 'doLDAPUnbind' [-Wmissing-prototypes] 646 | void doLDAPUnbind(){ | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c: In function 'processSearchResults': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:733:29: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 733 | bin = ""; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:809:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 809 | objectclass.mod_type = "objectclass"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:960:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 960 | fprintf(stderr,"o_write = %0x\n",(unsigned int)o_write); | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:664:9: warning: variable 'change' set but not used [-Wunused-but-set-variable] 664 | int change=0; | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:1016:6: warning: no previous prototype for 'buildCharpool' [-Wmissing-prototypes] 1016 | void buildCharpool() { | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:1057:6: warning: no previous prototype for 'initrandom' [-Wmissing-prototypes] 1057 | void initrandom() { | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:1078:16: warning: no previous prototype for 'getRandomShort' [-Wmissing-prototypes] 1078 | unsigned short getRandomShort() { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:1120:16: warning: no previous prototype for 'getRandomInRange' [-Wmissing-prototypes] 1120 | unsigned short getRandomInRange(unsigned short max) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:1139:8: warning: no previous prototype for 'newPassword' [-Wmissing-prototypes] 1139 | char * newPassword() { | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:1172:6: warning: no previous prototype for 'testpingen' [-Wmissing-prototypes] 1172 | void testpingen() { | ^~~~~~~~~~ In file included from /usr/include/string.h:535, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:45: In function 'strcpy', inlined from 'main' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin.c:248:9: /usr/include/bits/string_fortified.h:79:10: warning: '__strcpy_chk' source argument is the same as destination [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 15%] Building C object base/tools/src/main/native/setpin/CMakeFiles/setpin.dir/setpin_options.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:82:6: warning: no previous prototype for 'setDefaultOptions' [-Wmissing-prototypes] 82 | void setDefaultOptions() { | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c: In function 'setDefaultOptions': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:83:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | o_certdb= "."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:96:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | o_gen= "RNG-alphanum"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:98:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | o_attribute="pin"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:99:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | o_hash= "sha256"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:100:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | o_objectclass="pinPerson"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:102:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | o_retry= "5"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:114:6: warning: no previous prototype for 'getOptions' [-Wmissing-prototypes] 114 | void getOptions() { | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c: In function 'getOptions': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:128:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | if (i) o_ssl = "yes"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:159:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | o_debug = "yes"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:163:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 163 | if (i) o_write = "yes"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:165:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | if (i) o_clobber = "yes"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:170:30: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | o_testpingen = "25"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:181:5: warning: no previous prototype for 'equals' [-Wmissing-prototypes] 181 | int equals(const char *s, const char *t) { | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/setpin/setpin_options.c:185:6: warning: no previous prototype for 'validateOptions' [-Wmissing-prototypes] 185 | void validateOptions() { | ^~~~~~~~~~~~~~~ [ 16%] Linking C executable setpin [ 16%] Built target setpin [ 17%] Building C object base/tools/src/main/native/sslget/CMakeFiles/sslget.dir/sslget.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c: In function 'ownPasswd': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:126:26: warning: unused parameter 'slot' [-Wunused-parameter] 126 | ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c: In function 'myBadCertHandler': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:190:25: warning: unused parameter 'arg' [-Wunused-parameter] 190 | myBadCertHandler( void *arg, PRFileDesc *fd) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:190:42: warning: unused parameter 'fd' [-Wunused-parameter] 190 | myBadCertHandler( void *arg, PRFileDesc *fd) | ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:200:1: warning: no previous prototype for 'my_GetClientAuthData' [-Wmissing-prototypes] 200 | my_GetClientAuthData(void * arg, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c: In function 'my_GetClientAuthData': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:218:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 218 | FPRINTF(stderr," mygetclientauthdata - cert = %x\n",(unsigned int)cert); | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:221:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | FPRINTF(stderr," mygetclientauthdata - privkey = %x\n",(unsigned int)privkey); | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:268:1: warning: no previous prototype for 'printSecurityInfo' [-Wmissing-prototypes] 268 | printSecurityInfo(PRFileDesc *fd) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c: In function 'do_io': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:451:14: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 451 | char *status_string = PL_strndup(buf+9, 3); | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c: In function 'do_connect': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:485:25: warning: variable 'result' set but not used [-Wunused-but-set-variable] 485 | SECStatus result; | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c: In function 'client_main': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:673:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 673 | PRAddrInfo *ai; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:572:25: warning: unused parameter 'connections' [-Wunused-parameter] 572 | int connections, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:573:25: warning: unused parameter 'privKey' [-Wunused-parameter] 573 | SECKEYPrivateKey ** privKey, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:574:25: warning: unused parameter 'cert' [-Wunused-parameter] 574 | CERTCertificate ** cert, | ~~~~~~~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c: In function 'main': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:797:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 797 | char * dir = "."; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/sslget/sslget.c:548:1: warning: 'getIPAddress' defined but not used [-Wunused-function] 548 | getIPAddress(const char * hostName) | ^~~~~~~~~~~~ [ 17%] Building C object base/tools/src/main/native/sslget/CMakeFiles/sslget.dir/getopt.c.o [ 18%] Linking C executable sslget [ 18%] Built target sslget [ 19%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/delete.c.o [ 20%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/file.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/file.c: In function 'TKS_ReadInputFileIntoSECItem': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/file.c:26:40: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] 26 | char *wrappedKeyName, | ~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/file.c: In function 'TKS_WriteSECItemIntoOutputFile': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/file.c:318:42: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] 318 | char *wrappedKeyName, | ~~~~~~~~~^~~~~~~~~~~~~~ [ 20%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/find.c.o [ 21%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/help.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/help.c: In function 'TKS_PrintHelp': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/help.c:86:22: warning: unused parameter 'progName' [-Wunused-parameter] 86 | TKS_PrintHelp( char *progName ) | ~~~~~~^~~~~~~~ [ 22%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/key.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c: In function 'InputHexSessionKey': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c:229:19: warning: comparison of integer expressions of different signedness: 'int' and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] 229 | for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c:234:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 234 | for( i = count; i < hexSessionKeyShare->len; i += 4 ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c: In function 'TKS_GenerateSessionKeyShare': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c:904:23: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] 904 | for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c:909:27: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'unsigned int' [-Wsign-compare] 909 | for( i = count; i < hexSessionKeyShare.len; i += 4 ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c: In function 'TKS_ImportSymmetricKey': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c:1080:44: warning: declaration of 'pwdata' shadows a global declaration [-Wshadow] 1080 | secuPWData *pwdata, PRBool isPerm ) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c:22:15: note: shadowed declaration is here 22 | secuPWData pwdata = { PW_NONE, | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c:1082:17: warning: unused variable 'origin' [-Wunused-variable] 1082 | PK11Origin origin = PK11_OriginGenerated; | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c:1077:44: warning: unused parameter 'mechanism' [-Wunused-parameter] 1077 | CK_MECHANISM_TYPE mechanism, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c:1078:44: warning: unused parameter 'operation' [-Wunused-parameter] 1078 | CK_ATTRIBUTE_TYPE operation, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/key.c:1080:44: warning: unused parameter 'pwdata' [-Wunused-parameter] 1080 | secuPWData *pwdata, PRBool isPerm ) | ~~~~~~~~~~~~~~~~~~~^~~~~~ [ 22%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/list.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/list.c: In function 'TKS_ListKeys': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/list.c:132:19: warning: unused parameter 'index' [-Wunused-parameter] 132 | int index, | ~~~~^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/list.c:133:22: warning: unused parameter 'dopriv' [-Wunused-parameter] 133 | PRBool dopriv, | ~~~~~~~^~~~~~ [ 23%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/modules.c.o [ 24%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/pppolicy.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/pppolicy.c:76:11: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 76 | offsetof(CERTPolicyQualifier, qualifierID) }, | ^~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/pppolicy.c:78:11: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 78 | offsetof(CERTPolicyQualifier, qualifierValue) }, | ^~~~~~~~ /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/pppolicy.c:86:11: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 86 | offsetof(CERTPolicyInfo, policyID) }, | ^~~~~~~~ /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/pppolicy.c:89:11: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 89 | secu_PolicyQualifierTemplate }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here 55 | unsigned int size; | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/pppolicy.c:181:43: warning: unused parameter 'msg' [-Wunused-parameter] 181 | const char *msg, int level) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/pppolicy.c: In function 'secu_PrintPolicyInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/pppolicy.c:236:71: warning: unused parameter 'msg' [-Wunused-parameter] 236 | secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,const char *msg,int level) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/pppolicy.c:224:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 224 | if (SECSuccess == rv) | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/pppolicy.c:227:4: note: here 227 | case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: | ^~~~ [ 24%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/random.c.o [ 25%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/retrieve.c.o [ 26%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/secerror.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secerror.c:74:1: warning: no previous prototype for 'SECU_Strerror' [-Wmissing-prototypes] 74 | SECU_Strerror(PRErrorCode errNum) { | ^~~~~~~~~~~~~ [ 26%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/secpwd.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secpwd.c: In function 'SEC_GetPassword': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secpwd.c:69:21: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | #define QUIET_FGETS fgets | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secpwd.c:117:9: note: in expansion of macro 'QUIET_FGETS' 117 | QUIET_FGETS ( phrase, sizeof(phrase), input); | ^~~~~~~~~~~ [ 27%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/secutil.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:99:1: warning: no previous prototype for 'SECU_GetString' [-Wmissing-prototypes] 99 | SECU_GetString(int16 error_number) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:108:1: warning: no previous prototype for 'SECU_PrintErrMsg' [-Wmissing-prototypes] 108 | SECU_PrintErrMsg(FILE *out, int level, const char *progName, const char *msg, ...) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintErrMsg': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:118:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 118 | vfprintf(out, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintError': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:137:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 137 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintSystemError': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:153:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 153 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_GetPasswordString': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:172:30: warning: unused parameter 'arg' [-Wunused-parameter] 172 | SECU_GetPasswordString(void *arg, char *prompt) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_FilePasswd': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:222:31: warning: unused parameter 'slot' [-Wunused-parameter] 222 | SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_GetModulePassword': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:263:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | secuPWData pwxtrn = { PW_EXTERNAL, "external" }; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:308:1: warning: no previous prototype for 'secu_InitSlotPassword' [-Wmissing-prototypes] 308 | secu_InitSlotPassword(PK11SlotInfo *slot, PRBool retry, void *arg) | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_ChangePW': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:376:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 376 | SECStatus rv; | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_ConfigDirectory': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:485:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 485 | if (!home) home = ""; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_GetClientAuthData': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:505:47: warning: unused parameter 'fd' [-Wunused-parameter] 505 | SECU_GetClientAuthData(void *arg, PRFileDesc *fd, | ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:506:49: warning: unused parameter 'caNames' [-Wunused-parameter] 506 | struct CERTDistNamesStr *caNames, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:546:1: warning: no previous prototype for 'secu_StdinToItem' [-Wmissing-prototypes] 546 | secu_StdinToItem(SECItem *dst) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_ReadDERFromFile': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:671:9: warning: missing initializer for field 'len' of 'SECItem' {aka 'struct SECItemStr'} [-Wmissing-field-initializers] 671 | SECItem filedata = {siBuffer,0}; | ^~~~~~~ In file included from /usr/include/nss3/blapit.h:11, from /usr/include/nss3/cryptohi.h:11, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:59: /usr/include/nss3/seccomon.h:53:18: note: 'len' declared here 53 | unsigned int len; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:877:1: warning: no previous prototype for 'SECU_StripTagAndLength' [-Wmissing-prototypes] 877 | SECU_StripTagAndLength(SECItem *i) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:1077:1: warning: no previous prototype for 'SECU_PrintSet' [-Wmissing-prototypes] 1077 | SECU_PrintSet(FILE *out, SECItem *t, const char *m, int level) | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:1209:1: warning: no previous prototype for 'SECU_PrintEncodedBoolean' [-Wmissing-prototypes] 1209 | SECU_PrintEncodedBoolean(FILE *out, SECItem *i, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:1218:1: warning: no previous prototype for 'SECU_PrintEncodedInteger' [-Wmissing-prototypes] 1218 | SECU_PrintEncodedInteger(FILE *out, SECItem *i, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:1227:1: warning: no previous prototype for 'SECU_PrintEncodedObjectID' [-Wmissing-prototypes] 1227 | SECU_PrintEncodedObjectID(FILE *out, SECItem *i, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:1515:56: warning: unused parameter 'arena' [-Wunused-parameter] 1515 | secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'secu_PrintX509KeyUsage': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:1690:57: warning: unused parameter 'msg' [-Wunused-parameter] 1690 | secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'secu_PrintAuthKeyIDExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:1804:63: warning: unused parameter 'msg' [-Wunused-parameter] 1804 | secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'secu_PrintCRLDistPtsExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:1872:64: warning: unused parameter 'msg' [-Wunused-parameter] 1872 | secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'secu_PrintNameConstraintsExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:1931:69: warning: unused parameter 'msg' [-Wunused-parameter] 1931 | secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'secu_PrintAuthorityInfoAcess': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:1957:63: warning: unused parameter 'msg' [-Wunused-parameter] 1957 | secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintName': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:2130:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2130 | str = "!Invalid AVA!"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'printflags': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:2151:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] 2151 | if (flags & CERTDB_VALID_PEER) | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintCertNickname': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:2194:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2194 | name = "(NULL)"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:2213:1: warning: no previous prototype for 'SECU_DecodeAndPrintExtensions' [-Wmissing-prototypes] 2213 | SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:2234:1: warning: no previous prototype for 'SECU_PrintSetOfExtensions' [-Wmissing-prototypes] 2234 | SECU_PrintSetOfExtensions(FILE *out, SECItem **any, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:2249:1: warning: no previous prototype for 'SECU_PrintSetOfAny' [-Wmissing-prototypes] 2249 | SECU_PrintSetOfAny(FILE *out, SECItem **any, const char *m, int level) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:2263:1: warning: no previous prototype for 'SECU_PrintCertAttribute' [-Wmissing-prototypes] 2263 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintCertAttribute': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:2263:69: warning: unused parameter 'm' [-Wunused-parameter] 2263 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, const char *m, int level) | ~~~~~~~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:2277:1: warning: no previous prototype for 'SECU_PrintCertAttributes' [-Wmissing-prototypes] 2277 | SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:2952:1: warning: no previous prototype for 'printFlags' [-Wmissing-prototypes] 2952 | printFlags(FILE *out, unsigned int flags, int level) | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'printFlags': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:2954:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] 2954 | if ( flags & CERTDB_VALID_PEER ) { | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_ParseCommandLine': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3030:52: warning: unused parameter 'progName' [-Wunused-parameter] 3030 | SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintPRandOSError': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3235:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 3235 | if (errLen > 0 && errLen < sizeof buffer) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3239:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 3239 | if (errLen > 0 && errLen < sizeof buffer) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3299:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3299 | flags = (unsigned int)node->arg; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3302:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3302 | errstr = "Cert cannot sign."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3305:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3305 | errstr = "Cert cannot encrypt."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3308:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3308 | errstr = "Cert cannot sign other certs."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3311:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3311 | errstr = "[unknown usage]."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3315:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3315 | flags = (unsigned int)node->arg; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3319:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3319 | errstr = "Cert cannot be used for SSL."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3322:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3322 | errstr = "Cert cannot be used as an SSL CA."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3325:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3325 | errstr = "Cert cannot be used for SMIME."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3328:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3328 | errstr = "Cert cannot be used as an SMIME CA."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3331:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3331 | errstr = "Cert cannot be used for object signing."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3334:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3334 | errstr = "Cert cannot be used as an object signing CA."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3337:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3337 | errstr = "[unknown usage]."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_StoreCRL': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3399:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] 3399 | if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_FindCrlIssuer': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3613:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] 3613 | CERTAuthKeyID* authorityKeyID, PRTime validTime) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3300:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 3300 | switch (flags) { | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3314:13: note: here 3314 | case SEC_ERROR_INADEQUATE_CERT_TYPE: | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3316:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 3316 | switch (flags) { | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/secutil.c:3340:13: note: here 3340 | case SEC_ERROR_UNKNOWN_ISSUER: | ^~~~ [ 28%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/tkstool.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/tkstool.c: In function 'main': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/tkstool.c:155:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 155 | char *DBPrefix = ""; | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/tkstool.c:161:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | char *slotname = "internal"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/tkstool.c:878:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 878 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/tkstool.c:888:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 888 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/tkstool.c:919:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 919 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/tkstool.c:931:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 931 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ [ 28%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/util.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/util.c:348:1: warning: no previous prototype for 'TKS_ClearScreen' [-Wmissing-prototypes] 348 | TKS_ClearScreen() | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/util.c:359:1: warning: no previous prototype for 'TKS_WaitForUser' [-Wmissing-prototypes] 359 | TKS_WaitForUser() | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/util.c:377:1: warning: no previous prototype for 'TKS_TypeProceedToContinue' [-Wmissing-prototypes] 377 | TKS_TypeProceedToContinue() | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/util.c: In function 'TKS_TypeProceedToContinue': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/util.c:387:20: warning: variable 'orig_lflag' set but not used [-Wunused-but-set-variable] 387 | tcflag_t orig_lflag; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/util.c:386:20: warning: variable 'orig_cc_time' set but not used [-Wunused-but-set-variable] 386 | cc_t orig_cc_time; | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/util.c:385:20: warning: variable 'orig_cc_min' set but not used [-Wunused-but-set-variable] 385 | cc_t orig_cc_min; | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/util.c:383:20: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 383 | int rv = 0; | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/util.c: In function 'TKS_ClearScreen': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tkstool/util.c:351:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 351 | system( "tput clear" ); | ^~~~~~~~~~~~~~~~~~~~~~ [ 29%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/version.c.o [ 30%] Linking C executable tkstool [ 30%] Built target tkstool [ 31%] Compiling Java sources for pki-tools-classes src/main/java/com/netscape/cmstools/CMCEnroll.java:231: warning: [removal] RSASignatureWithSHA1Digest in SignatureAlgorithm has been deprecated and marked for removal SignatureAlgorithm signAlg = SignatureAlgorithm.RSASignatureWithSHA1Digest; ^ src/main/java/com/netscape/cmstools/CMCEnroll.java:236: warning: [removal] DSASignatureWithSHA1Digest in SignatureAlgorithm has been deprecated and marked for removal signAlg = SignatureAlgorithm.DSASignatureWithSHA1Digest; ^ src/main/java/com/netscape/cmstools/CMCEnroll.java:242: warning: [removal] SHA1 in DigestAlgorithm has been deprecated and marked for removal digestAlg = DigestAlgorithm.SHA1; ^ src/main/java/com/netscape/cmstools/CMCRequest.java:1079: warning: [removal] importHmacSha1Key(byte[]) in CryptoUtil has been deprecated and marked for removal Key secKey = CryptoUtil.importHmacSha1Key(key); ^ src/main/java/com/netscape/cmstools/CMCRequest.java:1135: warning: [removal] importHmacSha1Key(byte[]) in CryptoUtil has been deprecated and marked for removal Key secKey = CryptoUtil.importHmacSha1Key(key); ^ src/main/java/com/netscape/cmstools/CMCRequest.java:1559: warning: [removal] importHmacSha1Key(byte[]) in CryptoUtil has been deprecated and marked for removal Key secKey = CryptoUtil.importHmacSha1Key(key); ^ src/main/java/com/netscape/cmstools/CMCRequest.java:1901: warning: [removal] importHmacSha1Key(byte[]) in CryptoUtil has been deprecated and marked for removal Key secKey = CryptoUtil.importHmacSha1Key(challenge); ^ src/main/java/com/netscape/cmstools/CRMFPopClient.java:795: warning: [removal] importHmacSha1Key(byte[]) in CryptoUtil has been deprecated and marked for removal Key secKey = CryptoUtil.importHmacSha1Key(key1); ^ src/main/java/com/netscape/cmstools/pkcs12/PKCS12CertCLI.java:39: warning: [deprecation] PKCS12CertAddCLI in com.netscape.cmstools.pkcs12 has been deprecated addModule(new PKCS12CertAddCLI(this)); ^ src/main/java/com/netscape/cmstools/pkcs7/PKCS7CertCLI.java:43: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated System.out.println(" Subject DN: " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cmstools/pkcs7/PKCS7CertCLI.java:44: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated System.out.println(" Issuer DN: " + cert.getIssuerDN()); ^ src/main/java/com/netscape/cmstools/pkcs7/PKCS7CertExportCLI.java:130: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.info("Exporting certificate #" + i + ": " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cmstools/pkcs7/PKCS7CertExportCLI.java:140: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated System.out.println(output + ": " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cmstools/pkcs7/PKCS7CertImportCLI.java:84: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.info(" - " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cmstools/pkcs7/PKCS7CertImportCLI.java:101: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.info(" - " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cmstools/pkcs7/PKCS7CertImportCLI.java:109: warning: [deprecation] getSubjectDN() in X509CertImpl has been deprecated logger.info(" - " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cmstools/pkcs7/PKCS7CertImportCLI.java:122: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.info("- " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cmstools/pkcs7/PKCS7ExportCLI.java:82: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.info("- " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cmstools/pkcs7/PKCS7ImportCLI.java:99: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.info("- " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cmstools/system/SecurityDomainJoinCLI.java:137: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject obj = new XMLObject(bis); ^ src/main/java/com/netscape/cmstools/system/SecurityDomainJoinCLI.java:137: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject obj = new XMLObject(bis); ^ 21 warnings [ 31%] Built target pki-tools-classes [ 32%] Packaging resources for pki-tools-jar [ 32%] Built target pki-tools-jar [ 32%] Built target pki-DRMTool-cfg-link [ 32%] Built target pki-tools-man [ 32%] Built target pki-DRMTool-man-link [ 32%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/delete.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/delete.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ [ 33%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/file.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/file.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/file.c: In function 'TKS_ReadInputFileIntoSECItem': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/file.c:26:40: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] 26 | char *wrappedKeyName, | ~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/file.c: In function 'TKS_WriteSECItemIntoOutputFile': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/file.c:318:42: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] 318 | char *wrappedKeyName, | ~~~~~~~~~^~~~~~~~~~~~~~ [ 34%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/find.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/find.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ [ 34%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/help.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/help.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/help.c: In function 'TKS_PrintHelp': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/help.c:86:22: warning: unused parameter 'progName' [-Wunused-parameter] 86 | TKS_PrintHelp( char *progName ) | ~~~~~~^~~~~~~~ [ 35%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/key.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c: In function 'InputHexSessionKey': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:224:19: warning: comparison of integer expressions of different signedness: 'int' and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] 224 | for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:229:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 229 | for( i = count; i < hexSessionKeyShare->len; i += 4 ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c: In function 'TKS_GenerateSessionKeyShare': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:974:23: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] 974 | for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:979:27: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'unsigned int' [-Wsign-compare] 979 | for( i = count; i < hexSessionKeyShare.len; i += 4 ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:137:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | #define SESSION_KEY "session" | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:998:53: note: in expansion of macro 'SESSION_KEY' 998 | SESSION_KEY, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:487:42: note: expected 'char *' but argument is of type 'const char *' 487 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c: In function 'TKS_InputSessionKeyShare': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:137:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | #define SESSION_KEY "session" | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:1109:53: note: in expansion of macro 'SESSION_KEY' 1109 | SESSION_KEY, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:487:42: note: expected 'char *' but argument is of type 'const char *' 487 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c: In function 'TKS_StoreSymmetricKeyAndNameIt': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:139:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | #define TRANSPORT_KEY "transport" | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:1376:61: note: in expansion of macro 'TRANSPORT_KEY' 1376 | TRANSPORT_KEY, | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:487:42: note: expected 'char *' but argument is of type 'const char *' 487 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c: In function 'TKS_DetectKeyAlgorithm': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:1482:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1482 | CK_MECHANISM_TYPE mechanism = PK11_GetMechanism(key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c: In function 'TKS_GenerateSessionKeyShare': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:1031:7: warning: 'hexSessionKeyShare.data' may be used uninitialized [-Wmaybe-uninitialized] 1031 | if( hexSessionKeyShare.data != NULL ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:896:18: note: 'hexSessionKeyShare.data' was declared here 896 | SECItem hexSessionKeyShare; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:1032:9: warning: 'hexSessionKeyShare.len' may be used uninitialized [-Wmaybe-uninitialized] 1032 | PORT_ZFree( ( unsigned char * ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1033 | hexSessionKeyShare.data, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1034 | hexSessionKeyShare.len ); | ~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:896:18: note: 'hexSessionKeyShare.len' was declared here 896 | SECItem hexSessionKeyShare; | ^~~~~~~~~~~~~~~~~~ [ 36%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/list.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/list.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/list.c: In function 'TKS_ListKeys': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/list.c:153:19: warning: unused parameter 'index' [-Wunused-parameter] 153 | int index, | ~~~~^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/list.c:154:22: warning: unused parameter 'dopriv' [-Wunused-parameter] 154 | PRBool dopriv, | ~~~~~~~^~~~~~ [ 36%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/modules.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/modules.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ [ 37%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/pistool.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c: In function 'main': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:161:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | char *DBPrefix = ""; | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:167:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 167 | char *slotname = "internal"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:996:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 996 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1006:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 1006 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1037:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 1037 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1049:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 1049 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:91:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define FIRST_SESSION_KEY_SHARE "first" | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1187:42: note: in expansion of macro 'FIRST_SESSION_KEY_SHARE' 1187 | FIRST_SESSION_KEY_SHARE, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:236:46: note: expected 'char *' but argument is of type 'const char *' 236 | TKS_GenerateSessionKeyShare( char *sessionKeyShareName, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:91:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define FIRST_SESSION_KEY_SHARE "first" | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1206:46: note: in expansion of macro 'FIRST_SESSION_KEY_SHARE' 1206 | FIRST_SESSION_KEY_SHARE, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:241:42: note: expected 'char *' but argument is of type 'const char *' 241 | TKS_InputSessionKeyShare( char *sessionKeyShareName, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:93:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define SECOND_SESSION_KEY_SHARE "second" | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1271:43: note: in expansion of macro 'SECOND_SESSION_KEY_SHARE' 1271 | SECOND_SESSION_KEY_SHARE, | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:236:46: note: expected 'char *' but argument is of type 'const char *' 236 | TKS_GenerateSessionKeyShare( char *sessionKeyShareName, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:93:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define SECOND_SESSION_KEY_SHARE "second" | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1290:47: note: in expansion of macro 'SECOND_SESSION_KEY_SHARE' 1290 | SECOND_SESSION_KEY_SHARE, | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:241:42: note: expected 'char *' but argument is of type 'const char *' 241 | TKS_InputSessionKeyShare( char *sessionKeyShareName, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:95:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define THIRD_SESSION_KEY_SHARE "third" | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1422:42: note: in expansion of macro 'THIRD_SESSION_KEY_SHARE' 1422 | THIRD_SESSION_KEY_SHARE, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:236:46: note: expected 'char *' but argument is of type 'const char *' 236 | TKS_GenerateSessionKeyShare( char *sessionKeyShareName, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:95:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define THIRD_SESSION_KEY_SHARE "third" | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1441:46: note: in expansion of macro 'THIRD_SESSION_KEY_SHARE' 1441 | THIRD_SESSION_KEY_SHARE, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:241:42: note: expected 'char *' but argument is of type 'const char *' 241 | TKS_InputSessionKeyShare( char *sessionKeyShareName, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:132:48: warning: passing argument 1 of 'TKS_ImportSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define FIRST_SYMMETRIC_KEY "first" | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1569:21: note: in expansion of macro 'FIRST_SYMMETRIC_KEY' 1569 | FIRST_SYMMETRIC_KEY, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:246:44: note: expected 'char *' but argument is of type 'const char *' 246 | TKS_ImportSymmetricKey( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:132:48: warning: passing argument 1 of 'TKS_ImportSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define FIRST_SYMMETRIC_KEY "first" | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1588:57: note: in expansion of macro 'FIRST_SYMMETRIC_KEY' 1588 | firstSymmetricKey = TKS_ImportSymmetricKey( FIRST_SYMMETRIC_KEY, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:246:44: note: expected 'char *' but argument is of type 'const char *' 246 | TKS_ImportSymmetricKey( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:133:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | #define SECOND_SYMMETRIC_KEY "second" | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1624:21: note: in expansion of macro 'SECOND_SYMMETRIC_KEY' 1624 | SECOND_SYMMETRIC_KEY, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:254:44: note: expected 'char *' but argument is of type 'const char *' 254 | TKS_DeriveSymmetricKey( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:133:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | #define SECOND_SYMMETRIC_KEY "second" | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1646:58: note: in expansion of macro 'SECOND_SYMMETRIC_KEY' 1646 | secondSymmetricKey = TKS_DeriveSymmetricKey( SECOND_SYMMETRIC_KEY, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:254:44: note: expected 'char *' but argument is of type 'const char *' 254 | TKS_DeriveSymmetricKey( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:134:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | #define THIRD_SYMMETRIC_KEY "third" | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1684:21: note: in expansion of macro 'THIRD_SYMMETRIC_KEY' 1684 | THIRD_SYMMETRIC_KEY, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:254:44: note: expected 'char *' but argument is of type 'const char *' 254 | TKS_DeriveSymmetricKey( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:134:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | #define THIRD_SYMMETRIC_KEY "third" | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1706:57: note: in expansion of macro 'THIRD_SYMMETRIC_KEY' 1706 | thirdSymmetricKey = TKS_DeriveSymmetricKey( THIRD_SYMMETRIC_KEY, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:254:44: note: expected 'char *' but argument is of type 'const char *' 254 | TKS_DeriveSymmetricKey( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:139:48: warning: passing argument 1 of 'TKS_StoreSymmetricKeyAndNameIt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | #define TRANSPORT_KEY "transport" | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1739:62: note: in expansion of macro 'TRANSPORT_KEY' 1739 | rvSymmetricKeyname = TKS_StoreSymmetricKeyAndNameIt( TRANSPORT_KEY, | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:263:52: note: expected 'char *' but argument is of type 'const char *' 263 | TKS_StoreSymmetricKeyAndNameIt( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1816:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1816 | KeyAlgorithm detectedAlg = TKS_DetectKeyAlgorithm(symmetricKey); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1827:9: warning: enumeration value 'KEY_ALG_UNKNOWN' not handled in switch [-Wswitch] 1827 | switch(detectedAlg) | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:136:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | #define RESIDENT_KEY "resident" | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:1840:57: note: in expansion of macro 'RESIDENT_KEY' 1840 | RESIDENT_KEY, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:230:42: note: expected 'char *' but argument is of type 'const char *' 230 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:136:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | #define RESIDENT_KEY "resident" | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2043:57: note: in expansion of macro 'RESIDENT_KEY' 2043 | RESIDENT_KEY, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:230:42: note: expected 'char *' but argument is of type 'const char *' 230 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2178:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2178 | KeyAlgorithm detectedAlg = TKS_DetectKeyAlgorithm(symmetricKey); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2189:9: warning: enumeration value 'KEY_ALG_UNKNOWN' not handled in switch [-Wswitch] 2189 | switch(detectedAlg) | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2378:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2378 | KeyAlgorithm detectedAlg = TKS_DetectKeyAlgorithm(transportKey); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2389:9: warning: enumeration value 'KEY_ALG_UNKNOWN' not handled in switch [-Wswitch] 2389 | switch(detectedAlg) | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:140:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | #define UNWRAPPED_KEY "unwrapped" | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2498:43: note: in expansion of macro 'UNWRAPPED_KEY' 2498 | UNWRAPPED_KEY, | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:230:42: note: expected 'char *' but argument is of type 'const char *' 230 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2564:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2564 | SECItem seciCKAExtractable; | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2698:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2698 | KeyAlgorithm detectedAlg = TKS_DetectKeyAlgorithm(transportKey); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2707:29: warning: comparison of integer expressions of different signedness: 'KeyAlgorithm' and 'int' [-Wsign-compare] 2707 | else if(detectedAlg != keyAlg) | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2712:49: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2712 | case KEY_ALG_AES: detectedAlgString = ALG_AES; break; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2713:49: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2713 | case KEY_ALG_DES: detectedAlgString = ALG_DES; break; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2710:13: warning: enumeration value 'KEY_ALG_UNKNOWN' not handled in switch [-Wswitch] 2710 | switch(detectedAlg) | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:141:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 141 | #define WRAPPED_KEY "wrapped" | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2863:57: note: in expansion of macro 'WRAPPED_KEY' 2863 | WRAPPED_KEY, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:230:42: note: expected 'char *' but argument is of type 'const char *' 230 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2962:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2962 | SECItem seciCKAExtractable; | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:160:36: warning: variable 'DBDir' set but not used [-Wunused-but-set-variable] 160 | char *DBDir = NULL; | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2716:13: warning: 'detectedAlgString' may be used uninitialized [-Wmaybe-uninitialized] 2716 | PR_fprintf(PR_STDERR, | ^~~~~~~~~~~~~~~~~~~~~ 2717 | "The transport key type (%s) does not match the -a algorithm" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2718 | " parameter. Exiting.\n\n", detectedAlgString); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2709:19: note: 'detectedAlgString' was declared here 2709 | char *detectedAlgString; | ^~~~~~~~~~~~~~~~~ [ 38%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/pppolicy.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:58: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:76:11: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 76 | offsetof(CERTPolicyQualifier, qualifierID) }, | ^~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:78:11: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 78 | offsetof(CERTPolicyQualifier, qualifierValue) }, | ^~~~~~~~ /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:86:11: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 86 | offsetof(CERTPolicyInfo, policyID) }, | ^~~~~~~~ /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:89:11: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 89 | secu_PolicyQualifierTemplate }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here 55 | unsigned int size; | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:200:30: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | "Display Text", level+1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:283:60: note: expected 'char *' but argument is of type 'const char *' 283 | extern void SECU_PrintString(FILE *out, SECItem *si, char *m, int level); | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:181:37: warning: unused parameter 'msg' [-Wunused-parameter] 181 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:216:41: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 216 | "Policy Qualifier Name", level); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:200:68: note: expected 'char *' but argument is of type 'const char *' 200 | extern SECOidTag SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level); | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:229:44: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 229 | SECU_PrintAny(out, qualifierValue, "Policy Qualifier Data", level); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:284:56: note: expected 'char *' but argument is of type 'const char *' 284 | extern void SECU_PrintAny(FILE *out, SECItem *i, char *m, int level); | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c: In function 'secu_PrintPolicyInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:241:52: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 241 | SECU_PrintObjectID(out, &policyInfo->policyID , "Policy Name", level); | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:200:68: note: expected 'char *' but argument is of type 'const char *' 200 | extern SECOidTag SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level); | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:244:57: warning: passing argument 3 of 'secu_PrintPolicyQualifier' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 244 | secu_PrintPolicyQualifier(out,*policyQualifiers,"",level+1); | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:210:33: note: expected 'char *' but argument is of type 'const char *' 210 | char *msg,int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:236:65: warning: unused parameter 'msg' [-Wunused-parameter] 236 | secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,char *msg,int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c: In function 'SECU_PrintPolicy': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:263:35: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | SECU_PrintAny(out, value, "Invalid Policy Data", level); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:284:56: note: expected 'char *' but argument is of type 'const char *' 284 | extern void SECU_PrintAny(FILE *out, SECItem *i, char *m, int level); | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:269:47: warning: passing argument 3 of 'secu_PrintPolicyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 269 | secu_PrintPolicyInfo(out,*policyInfos,"",level); | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:236:65: note: expected 'char *' but argument is of type 'const char *' 236 | secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,char *msg,int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c: In function 'SECU_PrintPrivKeyUsagePeriodExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:292:57: warning: passing argument 3 of 'SECU_PrintGeneralizedTime' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 292 | SECU_PrintGeneralizedTime(out, &prd->notBefore, "Not Before", level); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:224:68: note: expected 'char *' but argument is of type 'const char *' 224 | extern void SECU_PrintGeneralizedTime(FILE *out, SECItem *t, char *m, | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:295:57: warning: passing argument 3 of 'SECU_PrintGeneralizedTime' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 295 | SECU_PrintGeneralizedTime(out, &prd->notAfter, "Not After ", level); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:224:68: note: expected 'char *' but argument is of type 'const char *' 224 | extern void SECU_PrintGeneralizedTime(FILE *out, SECItem *t, char *m, | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:224:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 224 | if (SECSuccess == rv) | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pppolicy.c:227:4: note: here 227 | case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: | ^~~~ [ 38%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/random.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/random.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ [ 39%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/retrieve.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/retrieve.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ [ 40%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/secerror.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secerror.c:74:1: warning: no previous prototype for 'SECU_Strerror' [-Wmissing-prototypes] 74 | SECU_Strerror(PRErrorCode errNum) { | ^~~~~~~~~~~~~ [ 40%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/secpwd.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secpwd.c:44: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secpwd.c: In function 'SEC_GetPassword': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secpwd.c:69:21: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | #define QUIET_FGETS fgets | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secpwd.c:117:9: note: in expansion of macro 'QUIET_FGETS' 117 | QUIET_FGETS ( phrase, sizeof(phrase), input); | ^~~~~~~~~~~ [ 41%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/secutil.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:60: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:99:1: warning: no previous prototype for 'SECU_GetString' [-Wmissing-prototypes] 99 | SECU_GetString(int16 error_number) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:1: warning: no previous prototype for 'SECU_PrintErrMsg' [-Wmissing-prototypes] 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintErrMsg': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:118:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 118 | vfprintf(out, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintError': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:137:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 137 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintSystemError': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:153:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 153 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_GetPasswordString': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:172:30: warning: unused parameter 'arg' [-Wunused-parameter] 172 | SECU_GetPasswordString(void *arg, char *prompt) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_FilePasswd': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:221:31: warning: unused parameter 'slot' [-Wunused-parameter] 221 | SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_GetModulePassword': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:262:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 262 | secuPWData pwxtrn = { PW_EXTERNAL, "external" }; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:307:1: warning: no previous prototype for 'secu_InitSlotPassword' [-Wmissing-prototypes] 307 | secu_InitSlotPassword(PK11SlotInfo *slot, PRBool retry, void *arg) | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_InitSlotPassword': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:349:45: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 349 | p0 = SEC_GetPassword(input, output, "Enter new password: ", | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:123:57: note: expected 'char *' but argument is of type 'const char *' 123 | extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:354:45: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 354 | p1 = SEC_GetPassword(input, output, "Re-enter password: ", | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:123:57: note: expected 'char *' but argument is of type 'const char *' 123 | extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_ChangePW': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:374:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 374 | SECStatus rv; | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_ConfigDirectory': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:483:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 483 | if (!home) home = ""; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_GetClientAuthData': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:503:47: warning: unused parameter 'fd' [-Wunused-parameter] 503 | SECU_GetClientAuthData(void *arg, PRFileDesc *fd, | ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:504:49: warning: unused parameter 'caNames' [-Wunused-parameter] 504 | struct CERTDistNamesStr *caNames, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:544:1: warning: no previous prototype for 'secu_StdinToItem' [-Wmissing-prototypes] 544 | secu_StdinToItem(SECItem *dst) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:875:1: warning: no previous prototype for 'SECU_StripTagAndLength' [-Wmissing-prototypes] 875 | SECU_StripTagAndLength(SECItem *i) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1075:1: warning: no previous prototype for 'SECU_PrintSet' [-Wmissing-prototypes] 1075 | SECU_PrintSet(FILE *out, SECItem *t, char *m, int level) | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1207:1: warning: no previous prototype for 'SECU_PrintEncodedBoolean' [-Wmissing-prototypes] 1207 | SECU_PrintEncodedBoolean(FILE *out, SECItem *i, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1216:1: warning: no previous prototype for 'SECU_PrintEncodedInteger' [-Wmissing-prototypes] 1216 | SECU_PrintEncodedInteger(FILE *out, SECItem *i, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1225:1: warning: no previous prototype for 'SECU_PrintEncodedObjectID' [-Wmissing-prototypes] 1225 | SECU_PrintEncodedObjectID(FILE *out, SECItem *i, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintValidity': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1379:46: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1379 | SECU_PrintTimeChoice(out, &v->notBefore, "Not Before", level+1); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' 1055 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1380:46: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1380 | SECU_PrintTimeChoice(out, &v->notAfter, "Not After ", level+1); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' 1055 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintAttribute': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1445:44: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1445 | SECU_PrintObjectID(out, &(attr->type), "Type", level+1); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' 1386 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintRSAPublicKey': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1474:48: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1474 | SECU_PrintInteger(out, &pk->u.rsa.modulus, "Modulus", level+1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1475:55: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1475 | SECU_PrintInteger(out, &pk->u.rsa.publicExponent, "Exponent", level+1); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintDSAPublicKey': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1486:53: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1486 | SECU_PrintInteger(out, &pk->u.dsa.params.prime, "Prime", level+1); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1487:56: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1487 | SECU_PrintInteger(out, &pk->u.dsa.params.subPrime, "Subprime", level+1); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1488:52: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1488 | SECU_PrintInteger(out, &pk->u.dsa.params.base, "Base", level+1); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1489:52: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1489 | SECU_PrintInteger(out, &pk->u.dsa.publicValue, "PublicValue", level+1); | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1519:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1519 | SECU_PrintAlgorithmID(out, &i->algorithm, "Public Key Algorithm", level+1); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1525:45: warning: passing argument 3 of 'secu_PrintRSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1525 | secu_PrintRSAPublicKey(out, pk, "RSA Public Key", level +1); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1470:62: note: expected 'char *' but argument is of type 'const char *' 1470 | secu_PrintRSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1529:45: warning: passing argument 3 of 'secu_PrintDSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1529 | secu_PrintDSAPublicKey(out, pk, "DSA Public Key", level +1); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1483:62: note: expected 'char *' but argument is of type 'const char *' 1483 | secu_PrintDSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1551:38: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1551 | SECU_PrintErrMsg(out, level, "Error", "Parsing public key"); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1551:47: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1551 | SECU_PrintErrMsg(out, level, "Error", "Parsing public key"); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1554:54: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1554 | SECU_PrintAny(out, &i->subjectPublicKey, "Raw", level); | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1513:56: warning: unused parameter 'arena' [-Wunused-parameter] 1513 | secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintX509InvalidDate': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1575:43: warning: passing argument 2 of 'CERT_GenTime2FormattedAscii' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1575 | (invalidTime, "%a %b %d %H:%M:%S %Y"); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:54: /usr/include/nss3/secder.h:158:64: note: expected 'char *' but argument is of type 'const char *' 158 | extern char *CERT_GenTime2FormattedAscii(PRTime genTime, char *format); | ~~~~~~^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintNSCertType': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1649:35: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1649 | SECU_PrintAny(out, value, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintX509KeyUsage': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1698:35: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1698 | SECU_PrintAny(out, value, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1688:57: warning: unused parameter 'msg' [-Wunused-parameter] 1688 | secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintGeneralName': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1766:60: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1766 | SECU_PrintAny( out, &gname->name.OthName.name, "Other Name", level); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1767:60: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1767 | SECU_PrintObjectID(out, &gname->name.OthName.oid, "OID", level+1); | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' 1386 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1770:57: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1770 | SECU_PrintName(out, &gname->name.directoryName, "Directory Name", level); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:293:61: note: expected 'char *' but argument is of type 'const char *' 293 | extern void SECU_PrintName(FILE *out, CERTName *name, char *msg, int level); | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1773:57: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1773 | secu_PrintRawString( out, &gname->name.other, "RFC822 Name", level); | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:922:51: note: expected 'char *' but argument is of type 'const char *' 922 | secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1776:57: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1776 | secu_PrintRawString( out, &gname->name.other, "DNS name", level); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:922:51: note: expected 'char *' but argument is of type 'const char *' 922 | secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1779:57: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1779 | secu_PrintRawString( out, &gname->name.other, "URI", level); | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:922:51: note: expected 'char *' but argument is of type 'const char *' 922 | secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1782:54: warning: passing argument 3 of 'secu_PrintIPAddress' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1782 | secu_PrintIPAddress(out, &gname->name.other, "IP Address", level); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1723:54: note: expected 'char *' but argument is of type 'const char *' 1723 | secu_PrintIPAddress(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1785:54: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1785 | SECU_PrintObjectID( out, &gname->name.other, "Registered ID", level); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' 1386 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1788:54: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1788 | SECU_PrintAny( out, &gname->name.other, "X400 Address", level); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1791:54: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1791 | SECU_PrintAny( out, &gname->name.other, "EDI Party", level); | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintAuthKeyIDExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1808:25: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1808 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1808:34: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1808 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1813:38: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1813 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1813:47: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1813 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1814:35: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1814 | SECU_PrintAny(out, value, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1832:61: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1832 | secu_PrintGeneralName(out, kid->authCertIssuer, "Issuer", level); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1758:64: note: expected 'char *' but argument is of type 'const char *' 1758 | secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1835:29: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1835 | "Serial Number", level); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1802:63: warning: unused parameter 'msg' [-Wunused-parameter] 1802 | secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintAltNameExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1849:25: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1849 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1849:34: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1849 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1858:38: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1858 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1858:47: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1858 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1859:35: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1859 | SECU_PrintAny(out, value, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintCRLDistPtsExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1876:25: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1876 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1876:34: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1876 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1893:59: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1893 | SECU_PrintAny(out, &pPoint->derDistPoint, "Point", level); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1896:67: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1896 | secu_PrintDecodedBitString(out, &pPoint->reasons, "Reasons", | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1188:57: note: expected 'char *' but argument is of type 'const char *' 1188 | secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1900:63: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1900 | secu_PrintGeneralName(out, pPoint->crlIssuer, "Issuer", level); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1758:64: note: expected 'char *' but argument is of type 'const char *' 1758 | secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1904:38: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1904 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1904:47: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1904 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1905:35: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1905 | SECU_PrintAny(out, value, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1870:64: warning: unused parameter 'msg' [-Wunused-parameter] 1870 | secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintNameConstraintSubtree': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1921:49: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1921 | SECU_PrintInteger(out, &value->min, "Minimum", level+1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1923:49: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1923 | SECU_PrintInteger(out, &value->max, "Maximum", level+1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintNameConstraintsExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1935:25: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1935 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1935:34: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1935 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1940:38: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1940 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1940:47: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1940 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1941:35: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1941 | SECU_PrintAny(out, value, "Raw", level); | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1945:45: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1945 | "Permitted", level); | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1913:39: note: expected 'char *' but argument is of type 'const char *' 1913 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1948:45: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1948 | "Excluded", level); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1913:39: note: expected 'char *' but argument is of type 'const char *' 1913 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1929:69: warning: unused parameter 'msg' [-Wunused-parameter] 1929 | secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintAuthorityInfoAcess': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1961:25: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1961 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1961:34: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1961 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1966:38: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1966 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1966:47: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1966 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1967:35: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1967 | SECU_PrintAny(out, value, "Raw", level); | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1972:56: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1972 | SECU_PrintObjectID(out, &info->method, "Method", level); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' 1386 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1978:60: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1978 | secu_PrintGeneralName(out, info->location, "Location", level); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1758:64: note: expected 'char *' but argument is of type 'const char *' 1758 | secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1980:56: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1980 | SECU_PrintAny(out, &info->derLocation, "Location", level); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1955:63: warning: unused parameter 'msg' [-Wunused-parameter] 1955 | secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintExtensions': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2003:46: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2003 | SECU_PrintObjectID(out, tmpitem, "Name", level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' 1386 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2016:60: warning: passing argument 3 of 'secu_PrintX509InvalidDate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2016 | secu_PrintX509InvalidDate(out, tmpitem, "Date", level ); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1560:60: note: expected 'char *' but argument is of type 'const char *' 1560 | secu_PrintX509InvalidDate(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2019:51: warning: passing argument 3 of 'SECU_PrintPolicy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2019 | SECU_PrintPolicy(out, tmpitem, "Data", level ); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:286:63: note: expected 'char *' but argument is of type 'const char *' 286 | extern void SECU_PrintPolicy(FILE *out, SECItem *value, char *msg, int level); | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2031:51: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2031 | SECU_PrintString(out,tmpitem, "URL", level); | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:954:48: note: expected 'char *' but argument is of type 'const char *' 954 | SECU_PrintString(FILE *out, SECItem *si, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2034:51: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2034 | SECU_PrintString(out,tmpitem, "Comment", level); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:954:48: note: expected 'char *' but argument is of type 'const char *' 954 | SECU_PrintString(FILE *out, SECItem *si, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2037:51: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2037 | SECU_PrintString(out,tmpitem, "ServerName", level); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:954:48: note: expected 'char *' but argument is of type 'const char *' 954 | SECU_PrintString(FILE *out, SECItem *si, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2040:54: warning: passing argument 3 of 'secu_PrintNSCertType' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2040 | secu_PrintNSCertType(out,tmpitem,"Data",level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1639:55: note: expected 'char *' but argument is of type 'const char *' 1639 | secu_PrintNSCertType(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2043:60: warning: passing argument 3 of 'secu_PrintBasicConstraints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2043 | secu_PrintBasicConstraints(out,tmpitem,"Data",level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1604:61: note: expected 'char *' but argument is of type 'const char *' 1604 | secu_PrintBasicConstraints(FILE *out, SECItem *value, char *msg, int level) { | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2108:49: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2108 | SECU_PrintAny(out, tmpitem, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintName': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2128:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2128 | str = "!Invalid AVA!"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'printflags': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2149:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] 2149 | if (flags & CERTDB_VALID_PEER) | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintCertNickname': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2192:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2192 | name = "(NULL)"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2211:1: warning: no previous prototype for 'SECU_DecodeAndPrintExtensions' [-Wmissing-prototypes] 2211 | SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2232:1: warning: no previous prototype for 'SECU_PrintSetOfExtensions' [-Wmissing-prototypes] 2232 | SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintSetOfExtensions': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2239:58: warning: passing argument 3 of 'SECU_DecodeAndPrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2239 | rv |= SECU_DecodeAndPrintExtensions(out, any[0], "", level); | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2211:62: note: expected 'char *' but argument is of type 'const char *' 2211 | SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2247:1: warning: no previous prototype for 'SECU_PrintSetOfAny' [-Wmissing-prototypes] 2247 | SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintSetOfAny': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2254:36: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2254 | SECU_PrintAny(out, any[0], "", level); | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2261:1: warning: no previous prototype for 'SECU_PrintCertAttribute' [-Wmissing-prototypes] 2261 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintCertAttribute': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2265:52: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2265 | tag = SECU_PrintObjectID(out, &attr->attrType, "Attribute Type", level); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' 1386 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2267:62: warning: passing argument 3 of 'SECU_PrintSetOfExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2267 | rv = SECU_PrintSetOfExtensions(out, attr->attrValue, "Extensions", level); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2232:59: note: expected 'char *' but argument is of type 'const char *' 2232 | SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2269:55: warning: passing argument 3 of 'SECU_PrintSetOfAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2269 | rv = SECU_PrintSetOfAny(out, attr->attrValue, "Attribute Values", level); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2247:52: note: expected 'char *' but argument is of type 'const char *' 2247 | SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2261:63: warning: unused parameter 'm' [-Wunused-parameter] 2261 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2275:1: warning: no previous prototype for 'SECU_PrintCertAttributes' [-Wmissing-prototypes] 2275 | SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintCertificateRequest': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2307:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2307 | SECU_PrintInteger(out, &cr->version, "Version", level+1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2308:39: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2308 | SECU_PrintName(out, &cr->subject, "Subject", level+1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' 2120 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2310:31: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2310 | "Subject Public Key Info", level+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1514:60: note: expected 'char *' but argument is of type 'const char *' 1514 | CERTSubjectPublicKeyInfo *i, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2312:55: warning: passing argument 3 of 'SECU_PrintCertAttributes' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2312 | SECU_PrintCertAttributes(out, cr->attributes, "Attributes", level+1); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2275:66: note: expected 'char *' but argument is of type 'const char *' 2275 | SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintCertificate': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2339:38: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2339 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2339:47: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2339 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2340:33: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2340 | SECU_PrintAny(out, der, "Raw", level); | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2348:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2348 | SECU_PrintInteger(out, &c->serialNumber, "Serial Number", level+1); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2349:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2349 | SECU_PrintAlgorithmID(out, &c->signature, "Signature Algorithm", level+1); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2350:37: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2350 | SECU_PrintName(out, &c->issuer, "Issuer", level+1); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' 2120 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2351:43: warning: passing argument 3 of 'secu_PrintValidity' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2351 | secu_PrintValidity(out, &c->validity, "Validity", level+1); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1376:54: note: expected 'char *' but argument is of type 'const char *' 1376 | secu_PrintValidity(FILE *out, CERTValidity *v, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2352:38: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2352 | SECU_PrintName(out, &c->subject, "Subject", level+1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' 2120 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2354:31: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2354 | "Subject Public Key Info", level+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1514:60: note: expected 'char *' but argument is of type 'const char *' 1514 | CERTSubjectPublicKeyInfo *i, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2356:55: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2356 | secu_PrintDecodedBitString(out, &c->issuerID, "Issuer Unique ID", level+1); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1188:57: note: expected 'char *' but argument is of type 'const char *' 1188 | secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2358:56: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2358 | secu_PrintDecodedBitString(out, &c->subjectID, "Subject Unique ID", level+1); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1188:57: note: expected 'char *' but argument is of type 'const char *' 1188 | secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2359:46: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2359 | SECU_PrintExtensions(out, c->extensions, "Signed Extensions", level+1); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1990:28: note: expected 'char *' but argument is of type 'const char *' 1990 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintPKCS7EncContent': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2482:27: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2482 | "Content Encryption Algorithm", level+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintRecipientInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2496:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2496 | SECU_PrintInteger(out, &(info->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2498:55: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2498 | SECU_PrintName(out, &(info->issuerAndSN->issuer), "Issuer", | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' 2120 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2501:23: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2501 | "Serial Number", level + 1); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2505:25: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2505 | "Key Encryption Algorithm", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintSignerInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2521:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2521 | SECU_PrintInteger(out, &(info->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2523:55: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2523 | SECU_PrintName(out, &(info->issuerAndSN->issuer), "Issuer", | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' 2120 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2526:23: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2526 | "Serial Number", level + 1); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2528:52: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2528 | SECU_PrintAlgorithmID(out, &(info->digestAlg), "Digest Algorithm", | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2543:25: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2543 | "Digest Encryption Algorithm", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintCRLInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2574:54: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2574 | SECU_PrintAlgorithmID(out, &(crl->signatureAlg), "Signature Algorithm", | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2576:39: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2576 | SECU_PrintName(out, &(crl->name), "Issuer", level + 1); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' 2120 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2577:51: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2577 | SECU_PrintTimeChoice(out, &(crl->lastUpdate), "This Update", level + 1); | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' 1055 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2579:55: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2579 | SECU_PrintTimeChoice(out, &(crl->nextUpdate), "Next Update", level + 1); | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' 1055 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2586:60: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2586 | SECU_PrintInteger(out, &(entry->serialNumber), "Serial Number", | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2589:34: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2589 | "Revocation Date", level + 2); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' 1055 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2591:34: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2591 | "Entry Extensions", level + 2); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1990:28: note: expected 'char *' but argument is of type 'const char *' 1990 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2594:48: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2594 | SECU_PrintExtensions(out, crl->extensions, "CRL Extensions", level + 1); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1990:28: note: expected 'char *' but argument is of type 'const char *' 1990 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintPKCS7Signed': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2613:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2613 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2627:37: warning: passing argument 3 of 'secu_PrintPKCS7ContentInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2627 | "Content Information", level + 1); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2462:60: note: expected 'char *' but argument is of type 'const char *' 2462 | secu_PrintPKCS7ContentInfo(FILE *, SEC_PKCS7ContentInfo *, char *, int); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2653:35: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2653 | "Signature Algorithm", level+3); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2657:48: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2657 | SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2563:50: note: expected 'char *' but argument is of type 'const char *' 2563 | SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintPKCS7Enveloped': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2689:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2689 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2703:31: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2703 | "Encrypted Content Information", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2470:33: note: expected 'char *' but argument is of type 'const char *' 2470 | char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintPKCS7SignedAndEnveloped': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2724:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2724 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2748:31: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2748 | "Encrypted Content Information", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2470:33: note: expected 'char *' but argument is of type 'const char *' 2470 | char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2772:35: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2772 | "Signature Algorithm", level+3); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2776:48: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2776 | SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2563:50: note: expected 'char *' but argument is of type 'const char *' 2563 | SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintPKCS7Encrypted': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2829:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2829 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2832:31: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2832 | "Encrypted Content Information", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2470:33: note: expected 'char *' but argument is of type 'const char *' 2470 | char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintPKCS7Digested': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2844:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2844 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2846:49: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2846 | SECU_PrintAlgorithmID(out, &src->digestAlg, "Digest Algorithm", | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2848:56: warning: passing argument 3 of 'secu_PrintPKCS7ContentInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2848 | secu_PrintPKCS7ContentInfo(out, &src->contentInfo, "Content Information", | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2462:60: note: expected 'char *' but argument is of type 'const char *' 2462 | secu_PrintPKCS7ContentInfo(FILE *, SEC_PKCS7ContentInfo *, char *, int); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2946:1: warning: no previous prototype for 'printFlags' [-Wmissing-prototypes] 2946 | printFlags(FILE *out, unsigned int flags, int level) | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'printFlags': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2948:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] 2948 | if ( flags & CERTDB_VALID_PEER ) { | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintSignedData': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3010:35: warning: passing argument 3 of 'inner' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3010 | rv = (*inner)(out, &sd->data, "Data", level+1); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3010:35: note: expected 'char *' but argument is of type 'const char *' /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3012:57: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3012 | SECU_PrintAlgorithmID(out, &sd->signatureAlgorithm, "Signature Algorithm", | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3016:38: warning: passing argument 3 of 'SECU_PrintFingerprints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3016 | SECU_PrintFingerprints(out, der, "Fingerprint", level+1); | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:2416:59: note: expected 'char *' but argument is of type 'const char *' 2416 | SECU_PrintFingerprints(FILE *out, SECItem *derCert, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_ParseCommandLine': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3024:52: warning: unused parameter 'progName' [-Wunused-parameter] 3024 | SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintPRandOSError': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3224:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 3224 | if (errLen > 0 && errLen < sizeof buffer) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3227:31: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3227 | SECU_PrintError(progName, "function failed"); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3228:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 3228 | if (errLen > 0 && errLen < sizeof buffer) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3288:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3288 | flags = (unsigned int)node->arg; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3291:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3291 | errstr = "Cert cannot sign."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3294:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3294 | errstr = "Cert cannot encrypt."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3297:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3297 | errstr = "Cert cannot sign other certs."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3300:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3300 | errstr = "[unknown usage]."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3304:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3304 | flags = (unsigned int)node->arg; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3308:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3308 | errstr = "Cert cannot be used for SSL."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3311:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3311 | errstr = "Cert cannot be used as an SSL CA."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3314:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3314 | errstr = "Cert cannot be used for SMIME."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3317:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3317 | errstr = "Cert cannot be used as an SMIME CA."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3320:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3320 | errstr = "Cert cannot be used for object signing."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3323:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3323 | errstr = "Cert cannot be used as an object signing CA."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3326:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3326 | errstr = "[unknown usage]."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_StoreCRL': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3388:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] 3388 | if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_DerSignDataCRL': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3544:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 3544 | PORT_Memset(sd, 0, sizeof(sd)); | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_FindCrlIssuer': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3604:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] 3604 | CERTAuthKeyID* authorityKeyID, PRTime validTime) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3289:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 3289 | switch (flags) { | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3303:13: note: here 3303 | case SEC_ERROR_INADEQUATE_CERT_TYPE: | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3305:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 3305 | switch (flags) { | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/secutil.c:3329:13: note: here 3329 | case SEC_ERROR_UNKNOWN_ISSUER: | ^~~~ [ 42%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/util.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/util.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/util.c:348:1: warning: no previous prototype for 'TKS_ClearScreen' [-Wmissing-prototypes] 348 | TKS_ClearScreen() | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/util.c:359:1: warning: no previous prototype for 'TKS_WaitForUser' [-Wmissing-prototypes] 359 | TKS_WaitForUser() | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/util.c:377:1: warning: no previous prototype for 'TKS_TypeProceedToContinue' [-Wmissing-prototypes] 377 | TKS_TypeProceedToContinue() | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/util.c: In function 'TKS_TypeProceedToContinue': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/util.c:387:20: warning: variable 'orig_lflag' set but not used [-Wunused-but-set-variable] 387 | tcflag_t orig_lflag; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/util.c:386:20: warning: variable 'orig_cc_time' set but not used [-Wunused-but-set-variable] 386 | cc_t orig_cc_time; | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/util.c:385:20: warning: variable 'orig_cc_min' set but not used [-Wunused-but-set-variable] 385 | cc_t orig_cc_min; | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/util.c:383:20: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 383 | int rv = 0; | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/util.c: In function 'TKS_ClearScreen': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/util.c:351:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 351 | system( "tput clear" ); | ^~~~~~~~~~~~~~~~~~~~~~ [ 42%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/version.c.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/version.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ [ 43%] Linking C executable pistool /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c: In function 'TKS_GenerateSessionKeyShare': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:1031:7: warning: 'hexSessionKeyShare.data' may be used uninitialized [-Wmaybe-uninitialized] 1031 | if( hexSessionKeyShare.data != NULL ) { | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:896:18: note: 'hexSessionKeyShare.data' was declared here 896 | SECItem hexSessionKeyShare; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:1032:9: warning: 'hexSessionKeyShare.len' may be used uninitialized [-Wmaybe-uninitialized] 1032 | PORT_ZFree( ( unsigned char * ) | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/key.c:896:18: note: 'hexSessionKeyShare.len' was declared here 896 | SECItem hexSessionKeyShare; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c: In function 'main': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2716:13: warning: 'detectedAlgString' may be used uninitialized [-Wmaybe-uninitialized] 2716 | PR_fprintf(PR_STDERR, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/pistool/src/pistool.c:2709:19: note: 'detectedAlgString' was declared here 2709 | char *detectedAlgString; | ^ [ 43%] Built target pistool [ 44%] Building C object base/tools/src/main/native/p12tool/CMakeFiles/p12tool.dir/basicutil.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c:35:1: warning: no previous prototype for 'SECU_EnableWrap' [-Wmissing-prototypes] 35 | SECU_EnableWrap(PRBool enable) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c:41:1: warning: no previous prototype for 'SECU_GetWrapEnabled' [-Wmissing-prototypes] 41 | SECU_GetWrapEnabled(void) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c: In function 'SECU_PrintErrMsg': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c:58:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 58 | vfprintf(out, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c: In function 'SECU_PrintError': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c:78:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 78 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c: In function 'SECU_PrintSystemError': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c:99:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 99 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c:105:1: warning: no previous prototype for 'secu_StdinToItem' [-Wmissing-prototypes] 105 | secu_StdinToItem(SECItem *dst) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c: In function 'SECU_ParseCommandLine': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c:486:52: warning: unused parameter 'progName' [-Wunused-parameter] 486 | SECU_ParseCommandLine(int argc, char **argv, char *progName, | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.c:648:1: warning: no previous prototype for 'SECU_StringToSignatureAlgTag' [-Wmissing-prototypes] 648 | SECU_StringToSignatureAlgTag(const char *alg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 44%] Building C object base/tools/src/main/native/p12tool/CMakeFiles/p12tool.dir/pppolicy.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:35:7: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 35 | offsetof(CERTPolicyQualifier, qualifierID) }, | ^~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:12: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:37:7: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 37 | offsetof(CERTPolicyQualifier, qualifierValue) }, | ^~~~~~~~ /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:45:7: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 45 | offsetof(CERTPolicyInfo, policyID) }, | ^~~~~~~~ /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:48:7: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 48 | secu_PolicyQualifierTemplate }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here 55 | unsigned int size; | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:139:37: warning: unused parameter 'msg' [-Wunused-parameter] 139 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c: In function 'secu_PrintPolicyInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:202:59: warning: passing argument 3 of 'secu_PrintPolicyQualifier' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 202 | secu_PrintPolicyQualifier(out, *policyQualifiers, "", level + 1); | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:168:33: note: expected 'char *' but argument is of type 'const char *' 168 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:194:67: warning: unused parameter 'msg' [-Wunused-parameter] 194 | secu_PrintPolicyInfo(FILE *out, CERTPolicyInfo *policyInfo, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c: In function 'SECU_PrintPolicy': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:227:49: warning: passing argument 3 of 'secu_PrintPolicyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 227 | secu_PrintPolicyInfo(out, *policyInfos, "", level); | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:194:67: note: expected 'char *' but argument is of type 'const char *' 194 | secu_PrintPolicyInfo(FILE *out, CERTPolicyInfo *policyInfo, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:182:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 182 | if (SECSuccess == rv) | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/pppolicy.c:185:13: note: here 185 | case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: | ^~~~ [ 45%] Building C object base/tools/src/main/native/p12tool/CMakeFiles/p12tool.dir/secutil.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_GetPasswordString': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:86:30: warning: unused parameter 'arg' [-Wunused-parameter] 86 | SECU_GetPasswordString(void *arg, char *prompt) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_GetModulePassword': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:222:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 222 | secuPWData pwxtrn = { PW_EXTERNAL, "external" }; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:246:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 246 | char *pw = SECU_GetPasswordString(NULL, prompt); | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:260:1: warning: no previous prototype for 'secu_InitSlotPassword' [-Wmissing-prototypes] 260 | secu_InitSlotPassword(PK11SlotInfo *slot, PRBool retry, void *arg) | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_InitSlotPassword': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:319:45: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 319 | p0 = SEC_GetPassword(input, output, "Enter new password: ", | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:19: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.h:92:57: note: expected 'char *' but argument is of type 'const char *' 92 | extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:324:45: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 324 | p1 = SEC_GetPassword(input, output, "Re-enter password: ", | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.h:92:57: note: expected 'char *' but argument is of type 'const char *' 92 | extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_ConfigDirectory': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:475:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 475 | home = ""; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_ReadDERFromFile': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:514:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 514 | char *asc = (char *)filedata.data; | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:522:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 522 | char *body; | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:571:1: warning: no previous prototype for 'SECU_StripTagAndLength' [-Wmissing-prototypes] 571 | SECU_StripTagAndLength(SECItem *i) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:614:1: warning: no previous prototype for 'SECU_ExtractBERAndStep' [-Wmissing-prototypes] 614 | SECU_ExtractBERAndStep(SECItem *in, SECItem *out) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:968:1: warning: no previous prototype for 'SECU_PrintEncodedBoolean' [-Wmissing-prototypes] 968 | SECU_PrintEncodedBoolean(FILE *out, const SECItem *i, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:977:1: warning: no previous prototype for 'SECU_PrintEncodedInteger' [-Wmissing-prototypes] 977 | SECU_PrintEncodedInteger(FILE *out, const SECItem *i, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:986:1: warning: no previous prototype for 'SECU_PrintEncodedObjectID' [-Wmissing-prototypes] 986 | SECU_PrintEncodedObjectID(FILE *out, const SECItem *i, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1191:5: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 1191 | { SEC_ASN1_OCTET_STRING, offsetof(secuPBEParams, salt) }, | ^ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cryptohi.h:17, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:18: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1192:5: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 1192 | { SEC_ASN1_INTEGER, offsetof(secuPBEParams, iterationCount) }, | ^ /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1193:5: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 1193 | { SEC_ASN1_INTEGER, offsetof(secuPBEParams, keyLength) }, | ^ /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1195:7: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 1195 | SEC_ASN1_SUB(SECOID_AlgorithmIDTemplate) }, | ^~~~~~~~~~~~ /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here 55 | unsigned int size; | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1202:5: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 1202 | { SEC_ASN1_OCTET_STRING, offsetof(secuPBEParams, salt) }, | ^ /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1203:5: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 1203 | { SEC_ASN1_INTEGER, offsetof(secuPBEParams, iterationCount) }, | ^ /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1211:7: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 1211 | SEC_ASN1_SUB(SECOID_AlgorithmIDTemplate) }, | ^~~~~~~~~~~~ /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here 55 | unsigned int size; | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1213:7: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 1213 | SEC_ASN1_SUB(SECOID_AlgorithmIDTemplate) }, | ^~~~~~~~~~~~ /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here 55 | unsigned int size; | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1218:1: warning: no previous prototype for 'secu_PrintRSAPSSParams' [-Wmissing-prototypes] 1218 | secu_PrintRSAPSSParams(FILE *out, SECItem *value, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1282:1: warning: no previous prototype for 'secu_PrintKDF2Params' [-Wmissing-prototypes] 1282 | secu_PrintKDF2Params(FILE *out, SECItem *value, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintKDF2Params': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1306:51: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1306 | SECU_PrintAlgorithmID(out, ¶m.kdfAlg, "KDF algorithm", level + 1); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.h:177:71: note: expected 'char *' but argument is of type 'const char *' 177 | extern void SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1312:1: warning: no previous prototype for 'secu_PrintPKCS5V2Params' [-Wmissing-prototypes] 1312 | secu_PrintPKCS5V2Params(FILE *out, SECItem *value, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS5V2Params': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1332:51: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1332 | SECU_PrintAlgorithmID(out, ¶m.kdfAlg, "KDF", level + 1); | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.h:177:71: note: expected 'char *' but argument is of type 'const char *' 177 | extern void SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1333:54: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1333 | SECU_PrintAlgorithmID(out, ¶m.cipherAlg, "Cipher", level + 1); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.h:177:71: note: expected 'char *' but argument is of type 'const char *' 177 | extern void SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1339:1: warning: no previous prototype for 'secu_PrintPBEParams' [-Wmissing-prototypes] 1339 | secu_PrintPBEParams(FILE *out, SECItem *value, char *m, int level) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintAlgorithmID': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1377:59: warning: passing argument 3 of 'secu_PrintKDF2Params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1377 | secu_PrintKDF2Params(out, &a->parameters, "Parameters", level + 1); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1282:55: note: expected 'char *' but argument is of type 'const char *' 1282 | secu_PrintKDF2Params(FILE *out, SECItem *value, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1380:62: warning: passing argument 3 of 'secu_PrintPKCS5V2Params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1380 | secu_PrintPKCS5V2Params(out, &a->parameters, "Encryption", level + 1); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1312:58: note: expected 'char *' but argument is of type 'const char *' 1312 | secu_PrintPKCS5V2Params(FILE *out, SECItem *value, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1383:62: warning: passing argument 3 of 'secu_PrintPKCS5V2Params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1383 | secu_PrintPKCS5V2Params(out, &a->parameters, "MAC", level + 1); | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1312:58: note: expected 'char *' but argument is of type 'const char *' 1312 | secu_PrintPKCS5V2Params(FILE *out, SECItem *value, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1386:58: warning: passing argument 3 of 'secu_PrintPBEParams' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1386 | secu_PrintPBEParams(out, &a->parameters, "Parameters", level + 1); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1339:54: note: expected 'char *' but argument is of type 'const char *' 1339 | secu_PrintPBEParams(FILE *out, SECItem *value, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1397:53: warning: passing argument 3 of 'secu_PrintRSAPSSParams' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1397 | secu_PrintRSAPSSParams(out, &a->parameters, "Parameters", level + 1); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1218:57: note: expected 'char *' but argument is of type 'const char *' 1218 | secu_PrintRSAPSSParams(FILE *out, SECItem *value, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1497:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1497 | SECU_PrintAlgorithmID(out, &i->algorithm, "Public Key Algorithm", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1503:49: warning: passing argument 3 of 'SECU_PrintRSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1503 | SECU_PrintRSAPublicKey(out, pk, "RSA Public Key", level + 1); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1465:62: note: expected 'char *' but argument is of type 'const char *' 1465 | SECU_PrintRSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1507:49: warning: passing argument 3 of 'SECU_PrintDSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1507 | SECU_PrintDSAPublicKey(out, pk, "DSA Public Key", level + 1); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1479:62: note: expected 'char *' but argument is of type 'const char *' 1479 | SECU_PrintDSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1511:48: warning: passing argument 3 of 'secu_PrintECPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1511 | secu_PrintECPublicKey(out, pk, "EC Public Key", level + 1); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1445:61: note: expected 'char *' but argument is of type 'const char *' 1445 | secu_PrintECPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1490:56: warning: unused parameter 'arena' [-Wunused-parameter] 1490 | secu_PrintSubjectPublicKeyInfo(FILE *out, PLArenaPool *arena, | ~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintDumpDerIssuerAndSerial': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1548:65: warning: unused parameter 'm' [-Wunused-parameter] 1548 | SECU_PrintDumpDerIssuerAndSerial(FILE *out, SECItem *der, char *m, | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1549:38: warning: unused parameter 'level' [-Wunused-parameter] 1549 | int level) | ~~~~^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintX509InvalidDate': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1635:70: warning: passing argument 2 of 'CERT_GenTime2FormattedAscii' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1635 | formattedTime = CERT_GenTime2FormattedAscii(invalidTime, "%a %b %d %H:%M:%S %Y"); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.h:15: /usr/include/nss3/secder.h:158:64: note: expected 'char *' but argument is of type 'const char *' 158 | extern char *CERT_GenTime2FormattedAscii(PRTime genTime, char *format); | ~~~~~~^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintX509KeyUsage': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1748:57: warning: unused parameter 'msg' [-Wunused-parameter] 1748 | secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintGeneralName': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1842:58: warning: passing argument 3 of 'secu_PrintIPAddress' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1842 | secu_PrintIPAddress(out, &gname->name.other, "IP Address", level); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1783:54: note: expected 'char *' but argument is of type 'const char *' 1783 | secu_PrintIPAddress(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintAuthKeyIDExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1894:61: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1894 | secu_PrintGeneralName(out, kid->authCertIssuer, "Issuer", level); | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1817:64: note: expected 'char *' but argument is of type 'const char *' 1817 | secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1872:63: warning: unused parameter 'msg' [-Wunused-parameter] 1872 | secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintCRLDistPtsExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1963:63: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1963 | secu_PrintGeneralName(out, pPoint->crlIssuer, "CRL issuer", | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1817:64: note: expected 'char *' but argument is of type 'const char *' 1817 | secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1931:64: warning: unused parameter 'msg' [-Wunused-parameter] 1931 | secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintNameConstraintsExtension': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2009:45: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2009 | "Permitted", level); | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1976:39: note: expected 'char *' but argument is of type 'const char *' 1976 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2012:45: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2012 | "Excluded", level); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1976:39: note: expected 'char *' but argument is of type 'const char *' 1976 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1993:69: warning: unused parameter 'msg' [-Wunused-parameter] 1993 | secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintAuthorityInfoAcess': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2041:60: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2041 | secu_PrintGeneralName(out, info->location, "Location", level); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1817:64: note: expected 'char *' but argument is of type 'const char *' 1817 | secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2018:63: warning: unused parameter 'msg' [-Wunused-parameter] 2018 | secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintExtensions': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2079:61: warning: passing argument 3 of 'secu_PrintX509InvalidDate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2079 | secu_PrintX509InvalidDate(out, tmpitem, "Date", level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1621:60: note: expected 'char *' but argument is of type 'const char *' 1621 | secu_PrintX509InvalidDate(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2082:52: warning: passing argument 3 of 'SECU_PrintPolicy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2082 | SECU_PrintPolicy(out, tmpitem, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.h:282:63: note: expected 'char *' but argument is of type 'const char *' 282 | extern void SECU_PrintPolicy(FILE *out, SECItem *value, char *msg, int level); | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2103:56: warning: passing argument 3 of 'secu_PrintNSCertType' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2103 | secu_PrintNSCertType(out, tmpitem, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1700:55: note: expected 'char *' but argument is of type 'const char *' 1700 | secu_PrintNSCertType(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2106:62: warning: passing argument 3 of 'secu_PrintBasicConstraints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2106 | secu_PrintBasicConstraints(out, tmpitem, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1664:61: note: expected 'char *' but argument is of type 'const char *' 1664 | secu_PrintBasicConstraints(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintNameQuotesOptional': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2209:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2209 | str = "(empty)"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2214:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2214 | str = "!Invalid AVA!"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintCertNickname': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2285:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2285 | name = "(NULL)"; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2303:1: warning: no previous prototype for 'SECU_DecodeAndPrintExtensions' [-Wmissing-prototypes] 2303 | SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2324:1: warning: no previous prototype for 'SECU_PrintSetOfExtensions' [-Wmissing-prototypes] 2324 | SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintSetOfExtensions': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2332:58: warning: passing argument 3 of 'SECU_DecodeAndPrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2332 | rv |= SECU_DecodeAndPrintExtensions(out, any[0], "", level); | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2303:62: note: expected 'char *' but argument is of type 'const char *' 2303 | SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2340:1: warning: no previous prototype for 'SECU_PrintSetOfAny' [-Wmissing-prototypes] 2340 | SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2355:1: warning: no previous prototype for 'SECU_PrintCertAttribute' [-Wmissing-prototypes] 2355 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintCertAttribute': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2361:62: warning: passing argument 3 of 'SECU_PrintSetOfExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2361 | rv = SECU_PrintSetOfExtensions(out, attr->attrValue, "Extensions", level); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2324:59: note: expected 'char *' but argument is of type 'const char *' 2324 | SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2363:55: warning: passing argument 3 of 'SECU_PrintSetOfAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2363 | rv = SECU_PrintSetOfAny(out, attr->attrValue, "Attribute Values", level); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2340:52: note: expected 'char *' but argument is of type 'const char *' 2340 | SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2355:63: warning: unused parameter 'm' [-Wunused-parameter] 2355 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2369:1: warning: no previous prototype for 'SECU_PrintCertAttributes' [-Wmissing-prototypes] 2369 | SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintCertificateRequest': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2408:36: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2408 | "Subject Public Key Info", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1491:67: note: expected 'char *' but argument is of type 'const char *' 1491 | CERTSubjectPublicKeyInfo *i, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2410:55: warning: passing argument 3 of 'SECU_PrintCertAttributes' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2410 | SECU_PrintCertAttributes(out, cr->attributes, "Attributes", level + 1); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2369:66: note: expected 'char *' but argument is of type 'const char *' 2369 | SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintCertificate': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2449:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2449 | SECU_PrintAlgorithmID(out, &c->signature, "Signature Algorithm", level + 1); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2453:43: warning: passing argument 3 of 'secu_PrintValidity' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2453 | secu_PrintValidity(out, &c->validity, "Validity", level + 1); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1140:54: note: expected 'char *' but argument is of type 'const char *' 1140 | secu_PrintValidity(FILE *out, CERTValidity *v, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2458:36: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2458 | "Subject Public Key Info", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1491:67: note: expected 'char *' but argument is of type 'const char *' 1491 | CERTSubjectPublicKeyInfo *i, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2463:46: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2463 | SECU_PrintExtensions(out, c->extensions, "Signed Extensions", level + 1); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2052:28: note: expected 'char *' but argument is of type 'const char *' 2052 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintCertificateBasicInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2496:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2496 | SECU_PrintAlgorithmID(out, &c->signature, "Signature Algorithm", level + 1); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2500:43: warning: passing argument 3 of 'secu_PrintValidity' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2500 | secu_PrintValidity(out, &c->validity, "Validity", level + 1); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1140:54: note: expected 'char *' but argument is of type 'const char *' 1140 | secu_PrintValidity(FILE *out, CERTValidity *v, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2529:40: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2529 | "Subject Public Key Info", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1491:67: note: expected 'char *' but argument is of type 'const char *' 1491 | CERTSubjectPublicKeyInfo *i, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintPrivateKey': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2555:48: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2555 | SECU_PrintAlgorithmID(out, &key.algorithm, "Encryption Algorithm", | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS7EncContent': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2655:27: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2655 | "Content Encryption Algorithm", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2643:42: warning: unused parameter 'state' [-Wunused-parameter] 2643 | secuPKCS7State state, const char *m, int level) | ~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintRecipientInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2680:27: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2680 | "Key Encryption Algorithm", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintSignerInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2705:52: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2705 | SECU_PrintAlgorithmID(out, &(info->digestAlg), "Digest Algorithm", | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2720:27: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2720 | "Digest Encryption Algorithm", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintCRLInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2752:54: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2752 | SECU_PrintAlgorithmID(out, &(crl->signatureAlg), "Signature Algorithm", | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2770:34: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2770 | "Entry Extensions", level + 2); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2052:28: note: expected 'char *' but argument is of type 'const char *' 2052 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2773:48: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2773 | SECU_PrintExtensions(out, crl->extensions, "CRL Extensions", level + 1); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2052:28: note: expected 'char *' but argument is of type 'const char *' 2052 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS7Signed': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2836:35: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2836 | "Signature Algorithm", level + 3); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2840:48: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2840 | SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2740:50: note: expected 'char *' but argument is of type 'const char *' 2740 | SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS7SignedAndEnveloped': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2963:35: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2963 | "Signature Algorithm", level + 3); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2967:48: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2967 | SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2740:50: note: expected 'char *' but argument is of type 'const char *' 2740 | SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS7Digested': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3038:49: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3038 | SECU_PrintAlgorithmID(out, &src->digestAlg, "Digest Algorithm", | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS12Bag': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3158:39: warning: passing argument 3 of 'SECU_PrintPrivateKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3158 | "Encrypted Private Key", level); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2537:53: note: expected 'char *' but argument is of type 'const char *' 2537 | SECU_PrintPrivateKey(FILE *out, SECItem *der, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3404:1: warning: no previous prototype for 'printFlags' [-Wmissing-prototypes] 3404 | printFlags(FILE *out, unsigned int flags, int level) | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintSignedDataSigOpt': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3519:35: warning: passing argument 3 of 'inner' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3519 | rv = (*inner)(out, &sd->data, "Data", level + 1); | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3519:35: note: expected 'char *' but argument is of type 'const char *' /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3522:61: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3522 | SECU_PrintAlgorithmID(out, &sd->signatureAlgorithm, "Signature Algorithm", | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3527:38: warning: passing argument 3 of 'SECU_PrintFingerprints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3527 | SECU_PrintFingerprints(out, der, "Fingerprint", level + 1); | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:2564:59: note: expected 'char *' but argument is of type 'const char *' 2564 | SECU_PrintFingerprints(FILE *out, SECItem *derCert, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SEC_PrintCertificateAndTrust': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3601:30: warning: passing argument 3 of 'SECU_PrintTrustFlags' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3601 | "Certificate Trust Flags", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3445:61: note: expected 'char *' but argument is of type 'const char *' 3445 | SECU_PrintTrustFlags(FILE *out, CERTCertTrust *trust, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3604:30: warning: passing argument 3 of 'SECU_PrintTrustFlags' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3604 | "Certificate Trust Flags", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3445:61: note: expected 'char *' but argument is of type 'const char *' 3445 | SECU_PrintTrustFlags(FILE *out, CERTCertTrust *trust, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_displayVerifyLog': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3709:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3709 | errstr = "Cert cannot sign."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3712:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3712 | errstr = "Cert cannot encrypt."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3715:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3715 | errstr = "Cert cannot sign other certs."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3718:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3718 | errstr = "[unknown usage]."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3727:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3727 | errstr = "Cert cannot be used for SSL."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3730:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3730 | errstr = "Cert cannot be used as an SSL CA."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3733:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3733 | errstr = "Cert cannot be used for SMIME."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3736:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3736 | errstr = "Cert cannot be used as an SMIME CA."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3739:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3739 | errstr = "Cert cannot be used for object signing."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3742:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3742 | errstr = "Cert cannot be used as an object signing CA."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3745:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3745 | errstr = "[unknown usage]."; | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_StoreCRL': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3789:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] 3789 | if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_FindCrlIssuer': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:3967:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] 3967 | CERTAuthKeyID *authorityKeyID, PRTime validTime) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'countItems': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4221:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4221 | char *p = strtok(str, ","); | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4278:1: warning: no previous prototype for 'schemeNameToScheme' [-Wmissing-prototypes] 4278 | schemeNameToScheme(const char *name) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'parseSigSchemeList': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4330:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4330 | char *str = PORT_Strdup(arg); | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4334:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4334 | char *p = strtok(str, ","); | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'parseExporter': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4370:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4370 | char *labelEnd = strchr(str, ':'); | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4376:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4376 | char *outputEnd = strchr(labelEnd, ':'); | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4405:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4405 | char *label = PORT_Strdup(str); | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'parseExporters': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4439:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4439 | char *str = PORT_Strdup(arg); | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4443:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4443 | char *p = strtok(str, ","); | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'exportKeyingMaterial': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4493:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4493 | SECItem temp = { siBuffer, out, exporter->outputLength }; | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'readPSK': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4527:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4527 | char *pskBytes = strtok(str, ":"); | ^~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4540:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4540 | SECItem labelItem = { siBuffer, NULL, 0 }; | ^~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS12DigestInfo': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4607:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4607 | mAlgID ? mAlgID : DIGEST_ALGID_STRING, level); | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' 1368 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS12MacData': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4657:62: warning: passing argument 3 of 'secu_PrintPKCS12DigestInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4657 | if (SECSuccess != secu_PrintPKCS12DigestInfo(out, &hash, "Mac", level)) { | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4573:63: note: expected 'char *' but argument is of type 'const char *' 4573 | secu_PrintPKCS12DigestInfo(FILE *out, const SECItem *t, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintPKCS12': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4728:47: warning: passing argument 3 of 'secu_PrintPKCS12MacData' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4728 | "Mac Data", level)) { | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.c:4635:60: note: expected 'char *' but argument is of type 'const char *' 4635 | secu_PrintPKCS12MacData(FILE *out, const SECItem *t, char *m, int level) | ~~~~~~^ [ 46%] Building C object base/tools/src/main/native/p12tool/CMakeFiles/p12tool.dir/secpwd.c.o [ 46%] Building C object base/tools/src/main/native/p12tool/CMakeFiles/p12tool.dir/moreoids.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/moreoids.c:52:1: warning: no previous prototype for 'SECU_cert_fetchOID' [-Wmissing-prototypes] 52 | SECU_cert_fetchOID(SECOidTag *data, const SECOidData *src) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/moreoids.c:61:11: warning: no previous prototype for 'SECU_GetNewTagFromOffset' [-Wmissing-prototypes] 61 | SECOidTag SECU_GetNewTagFromOffset(unsigned int offset) { | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/moreoids.c:69:1: warning: no previous prototype for 'SECU_RegisterDynamicOids' [-Wmissing-prototypes] 69 | SECU_RegisterDynamicOids(void) | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 47%] Building C object base/tools/src/main/native/p12tool/CMakeFiles/p12tool.dir/p12tool.c.o /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:137:1: warning: no previous prototype for 'P12U_NicknameCollisionCallback' [-Wmissing-prototypes] 137 | P12U_NicknameCollisionCallback(SECItem *old_nick, PRBool *cancel, void *wincx) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:260:1: warning: no previous prototype for 'P12U_UnicodeConversion' [-Wmissing-prototypes] 260 | P12U_UnicodeConversion(PLArenaPool *arena, SECItem *dest, SECItem *src, | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:289:1: warning: no previous prototype for 'P12U_GetP12FilePassword' [-Wmissing-prototypes] 289 | P12U_GetP12FilePassword(PRBool confirmPw, secuPWData *p12FilePw) | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c: In function 'P12U_GetP12FilePassword': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:299:41: warning: passing argument 2 of 'SECU_GetPasswordString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 299 | "Enter password for PKCS12 file: "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.h:97:47: note: expected 'char *' but argument is of type 'const char *' 97 | char *SECU_GetPasswordString(void *arg, char *prompt); | ~~~~~~^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:302:47: warning: passing argument 2 of 'SECU_GetPasswordString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 302 | p1 = SECU_GetPasswordString(NULL, "Re-enter password: "); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.h:97:47: note: expected 'char *' but argument is of type 'const char *' 97 | char *SECU_GetPasswordString(void *arg, char *prompt); | ~~~~~~^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:332:1: warning: no previous prototype for 'P12U_InitSlot' [-Wmissing-prototypes] 332 | P12U_InitSlot(PK11SlotInfo *slot, secuPWData *slotPw) | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:365:1: warning: no previous prototype for 'p12U_ReadPKCS12File' [-Wmissing-prototypes] 365 | p12U_ReadPKCS12File(SECItem *uniPwp, char *in_file, PK11SlotInfo *slot, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:504:1: warning: no previous prototype for 'P12U_ImportPKCS12Object' [-Wmissing-prototypes] 504 | P12U_ImportPKCS12Object(char *in_file, PK11SlotInfo *slot, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:640:1: warning: no previous prototype for 'P12U_ExportPKCS12Object' [-Wmissing-prototypes] 640 | P12U_ExportPKCS12Object(char *nn, char *outfile, PK11SlotInfo *inSlot, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:780:1: warning: no previous prototype for 'P12U_ListPKCS12File' [-Wmissing-prototypes] 780 | P12U_ListPKCS12File(char *in_file, PK11SlotInfo *slot, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c: In function 'P12U_ListPKCS12File': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:833:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 833 | "Encryption algorithm", 1); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.h:177:71: note: expected 'char *' but argument is of type 'const char *' 177 | extern void SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:848:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 848 | "Encryption algorithm", 1); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.h:177:71: note: expected 'char *' but argument is of type 'const char *' 177 | extern void SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, | ~~~~~~^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c: At top level: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:874:1: warning: no previous prototype for 'PKCS12U_FindTagFromString' [-Wmissing-prototypes] 874 | PKCS12U_FindTagFromString(char *cipherString) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:899:1: warning: no previous prototype for 'PKCS12U_MapCipherFromString' [-Wmissing-prototypes] 899 | PKCS12U_MapCipherFromString(char *cipherString, int keyLen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:935:1: warning: no previous prototype for 'PKCS12U_MapHashFromString' [-Wmissing-prototypes] 935 | PKCS12U_MapHashFromString(char *hashString) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1015:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1015 | { /* opt_CertDir */ 'd', PR_TRUE, 0, PR_FALSE }, | ^ In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/secutil.h:18: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1016:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1016 | { /* opt_TokenName */ 'h', PR_TRUE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1017:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1017 | { /* opt_Import */ 'i', PR_TRUE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1018:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1018 | { /* opt_SlotPWFile */ 'k', PR_TRUE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1019:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1019 | { /* opt_SlotPW */ 'K', PR_TRUE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1020:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1020 | { /* opt_List */ 'l', PR_TRUE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1021:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1021 | { /* opt_Nickname */ 'n', PR_TRUE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1022:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1022 | { /* opt_Export */ 'o', PR_TRUE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1023:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1023 | { /* opt_Raw */ 'r', PR_FALSE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1024:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1024 | { /* opt_P12FilePWFile */ 'w', PR_TRUE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1025:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1025 | { /* opt_P12FilePW */ 'W', PR_TRUE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1026:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1026 | { /* opt_DBPrefix */ 'P', PR_TRUE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1027:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1027 | { /* opt_Debug */ 'v', PR_FALSE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1028:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1028 | { /* opt_Cipher */ 'c', PR_TRUE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1029:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' [-Wmissing-field-initializers] 1029 | { /* opt_CertCipher */ 'C', PR_TRUE, 0, PR_FALSE }, | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here 102 | char *longform; | ^~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1030:64: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1030 | { /* opt_KeyLength */ 'm', PR_TRUE, 0, PR_FALSE, "key_len" }, | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1031:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1031 | { /* opt_CertKeyLength */ 0, PR_TRUE, 0, PR_FALSE, "cert_key_len" }, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c: In function 'main': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/p12tool/p12tool.c:1044:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1044 | char *dbprefix = ""; | ^~ [ 48%] Linking C executable p12tool [ 48%] Built target p12tool [ 48%] Built target tpsclient-man [ 48%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/main/Buffer.cpp.o [ 49%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/main/NameValueSet.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/main/NameValueSet.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/main/NameValueSet.cpp:28: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/main/NameValueSet.cpp:23: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 50%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/main/Util.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/main/Util.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/main/Util.cpp:25: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/main/Util.cpp:22: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/main/Util.cpp: In static member function 'static PK11SymKey* Util::DiversifyKey(PK11SymKey*, Buffer&, PK11SlotInfo*)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/main/Util.cpp:528:14: warning: variable 'status' set but not used [-Wunused-but-set-variable] 528 | PRStatus status = PR_FAILURE ; | ^~~~~~ [ 50%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/main/RA_Msg.cpp.o [ 51%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/main/Memory.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/main/MemoryMgr.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/main/Memory.cpp:32: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/main/Memory.cpp:24: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 52%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/main/AuthParams.cpp.o [ 52%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/APDU.cpp.o [ 53%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Unblock_Pin_APDU.cpp.o [ 54%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Create_Object_APDU.cpp.o [ 54%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Set_Pin_APDU.cpp.o [ 55%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Set_IssuerInfo_APDU.cpp.o [ 56%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Get_IssuerInfo_APDU.cpp.o [ 56%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Create_Pin_APDU.cpp.o [ 57%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/List_Pins_APDU.cpp.o [ 58%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Initialize_Update_APDU.cpp.o [ 58%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Get_Version_APDU.cpp.o [ 59%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Get_Status_APDU.cpp.o [ 60%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Get_Data_APDU.cpp.o [ 60%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/External_Authenticate_APDU.cpp.o [ 61%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Generate_Key_APDU.cpp.o [ 62%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Generate_Key_ECC_APDU.cpp.o [ 62%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Read_Buffer_APDU.cpp.o [ 63%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Read_Object_APDU.cpp.o [ 64%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Write_Object_APDU.cpp.o [ 64%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Put_Key_APDU.cpp.o [ 65%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Select_APDU.cpp.o [ 66%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Delete_File_APDU.cpp.o [ 66%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Install_Applet_APDU.cpp.o [ 67%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Format_Muscle_Applet_APDU.cpp.o [ 68%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Load_File_APDU.cpp.o [ 68%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Install_Load_APDU.cpp.o [ 69%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Lifecycle_APDU.cpp.o [ 70%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/List_Objects_APDU.cpp.o [ 70%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Import_Key_APDU.cpp.o [ 71%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Import_Key_Enc_APDU.cpp.o [ 72%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/APDU_Response.cpp.o [ 72%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/apdu/Get_Lifecycle_APDU.cpp.o [ 73%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_Begin_Op_Msg.cpp.o [ 74%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_End_Op_Msg.cpp.o [ 74%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_Login_Request_Msg.cpp.o [ 75%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_Login_Response_Msg.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/msg/RA_Login_Response_Msg.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_Login_Response_Msg.cpp:22: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_Login_Response_Msg.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 76%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_SecureId_Request_Msg.cpp.o [ 76%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_SecureId_Response_Msg.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/msg/RA_SecureId_Response_Msg.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_SecureId_Response_Msg.cpp:22: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_SecureId_Response_Msg.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 77%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_ASQ_Request_Msg.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/main/Base.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_ASQ_Request_Msg.cpp:22: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_ASQ_Request_Msg.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 78%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_ASQ_Response_Msg.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/msg/RA_ASQ_Response_Msg.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_ASQ_Response_Msg.cpp:22: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_ASQ_Response_Msg.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 78%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_New_Pin_Request_Msg.cpp.o [ 79%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_New_Pin_Response_Msg.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/msg/RA_New_Pin_Response_Msg.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_New_Pin_Response_Msg.cpp:22: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_New_Pin_Response_Msg.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 80%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_Token_PDU_Request_Msg.cpp.o [ 80%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_Token_PDU_Response_Msg.cpp.o [ 81%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_Status_Update_Request_Msg.cpp.o [ 82%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_Status_Update_Response_Msg.cpp.o [ 82%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_Extended_Login_Request_Msg.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/main/Base.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_Extended_Login_Request_Msg.cpp:23: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_Extended_Login_Request_Msg.cpp:22: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 83%] Building CXX object base/tools/src/main/native/tpsclient/src/CMakeFiles/tps_library.dir/msg/RA_Extended_Login_Response_Msg.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/msg/RA_Extended_Login_Response_Msg.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_Extended_Login_Response_Msg.cpp:22: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/msg/RA_Extended_Login_Response_Msg.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 84%] Linking CXX shared library libtps.so [ 84%] Built target tps_library [ 84%] Building CXX object base/tools/src/main/native/tpsclient/tools/raclient/CMakeFiles/tpsclient.dir/RA_Client.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/main/NameValueSet.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:33: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prinrval.h:21, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:24: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp: In member function 'RA_Client::OpTokenStatus(NameValueSet*)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:27: warning: '%02x' directive writing 2 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~ In function 'GetBuffer(Buffer&, char*, int)', inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:266:13: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:24: note: directive argument in the range [0, 255] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~~~~~ In file included from /usr/include/stdio.h:906, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:21: In function 'sprintf', inlined from 'GetBuffer(Buffer&, char*, int)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:15, inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:266:13: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 3 and 2050 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:34: warning: '__sprintf_chk' argument 5 overlaps destination object 'output' [-Wrestrict] /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp: In member function 'RA_Client::OpTokenStatus(NameValueSet*)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:262:8: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 262 | char output[2048]; | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:27: warning: '%02x' directive writing 2 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~ In function 'GetBuffer(Buffer&, char*, int)', inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:271:13: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:24: note: directive argument in the range [0, 255] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~~~~~ In function 'sprintf', inlined from 'GetBuffer(Buffer&, char*, int)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:15, inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:271:13: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 3 and 2050 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:34: warning: '__sprintf_chk' argument 5 overlaps destination object 'output' [-Wrestrict] /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp: In member function 'RA_Client::OpTokenStatus(NameValueSet*)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:262:8: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 262 | char output[2048]; | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:27: warning: '%02x' directive writing 2 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~ In function 'GetBuffer(Buffer&, char*, int)', inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:273:13: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:24: note: directive argument in the range [0, 255] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~~~~~ In function 'sprintf', inlined from 'GetBuffer(Buffer&, char*, int)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:15, inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:273:13: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 3 and 2050 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:34: warning: '__sprintf_chk' argument 5 overlaps destination object 'output' [-Wrestrict] /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp: In member function 'RA_Client::OpTokenStatus(NameValueSet*)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:262:8: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 262 | char output[2048]; | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:27: warning: '%02x' directive writing 2 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~ In function 'GetBuffer(Buffer&, char*, int)', inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:275:13: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:24: note: directive argument in the range [0, 255] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~~~~~ In function 'sprintf', inlined from 'GetBuffer(Buffer&, char*, int)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:15, inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:275:13: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 3 and 2050 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:34: warning: '__sprintf_chk' argument 5 overlaps destination object 'output' [-Wrestrict] /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp: In member function 'RA_Client::OpTokenStatus(NameValueSet*)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:262:8: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 262 | char output[2048]; | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:27: warning: '%02x' directive writing 2 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~ In function 'GetBuffer(Buffer&, char*, int)', inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:278:13: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:24: note: directive argument in the range [0, 255] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~~~~~ In function 'sprintf', inlined from 'GetBuffer(Buffer&, char*, int)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:15, inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:278:13: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 3 and 2050 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:34: warning: '__sprintf_chk' argument 5 overlaps destination object 'output' [-Wrestrict] /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp: In member function 'RA_Client::OpTokenStatus(NameValueSet*)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:262:8: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 262 | char output[2048]; | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:27: warning: '%02x' directive writing 2 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~ In function 'GetBuffer(Buffer&, char*, int)', inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:281:13: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:24: note: directive argument in the range [0, 255] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~~~~~ In function 'sprintf', inlined from 'GetBuffer(Buffer&, char*, int)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:15, inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:281:13: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 3 and 2050 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:34: warning: '__sprintf_chk' argument 5 overlaps destination object 'output' [-Wrestrict] /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp: In member function 'RA_Client::OpTokenStatus(NameValueSet*)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:262:8: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 262 | char output[2048]; | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:27: warning: '%02x' directive writing 2 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~ In function 'GetBuffer(Buffer&, char*, int)', inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:283:13: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:24: note: directive argument in the range [0, 255] 206 | sprintf (output, "%s%02x", output, ((BYTE *) buf)[i]); | ^~~~~~~~ In function 'sprintf', inlined from 'GetBuffer(Buffer&, char*, int)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:206:15, inlined from 'RA_Client::OpTokenStatus(NameValueSet*)' at /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:283:13: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 3 and 2050 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:34: warning: '__sprintf_chk' argument 5 overlaps destination object 'output' [-Wrestrict] /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp: In member function 'RA_Client::OpTokenStatus(NameValueSet*)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Client.cpp:262:8: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 262 | char output[2048]; | ^~~~~~ [ 85%] Building CXX object base/tools/src/main/native/tpsclient/tools/raclient/CMakeFiles/tpsclient.dir/RA_Conn.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/main/NameValueSet.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Conn.cpp:26: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prnetdb.h:9, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Conn.cpp:22: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Conn.cpp: In function 'int ReadResponseHeader(PRFileDesc*)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Conn.cpp:445:11: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 445 | PRInt32 rc; | ^~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Conn.cpp: At global scope: /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Conn.cpp:213:1: warning: 'PRUint32 GetIPAddress(const char*)' defined but not used [-Wunused-function] 213 | GetIPAddress (const char *hostName) | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Conn.cpp:156:1: warning: 'void printBuf(Buffer*)' defined but not used [-Wunused-function] 156 | printBuf (Buffer * buf) | ^~~~~~~~ [ 86%] Building CXX object base/tools/src/main/native/tpsclient/tools/raclient/CMakeFiles/tpsclient.dir/RA_Token.cpp.o In file included from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/src/include/main/Util.h:36, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:23: /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nss3/seccomon.h:17, from /usr/include/nss3/blapit.h:11, from /usr/include/nss3/cryptohi.h:11, from /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:59:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | { "sect163k1", SEC_OID_SECG_EC_SECT163K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:60:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | { "nistk163", SEC_OID_SECG_EC_SECT163K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:61:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | { "sect163r1", SEC_OID_SECG_EC_SECT163R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:62:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | { "sect163r2", SEC_OID_SECG_EC_SECT163R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:63:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | { "nistb163", SEC_OID_SECG_EC_SECT163R2}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:64:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | { "sect193r1", SEC_OID_SECG_EC_SECT193R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:65:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | { "sect193r2", SEC_OID_SECG_EC_SECT193R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:66:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | { "sect233k1", SEC_OID_SECG_EC_SECT233K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:67:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | { "nistk233", SEC_OID_SECG_EC_SECT233K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:68:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | { "sect233r1", SEC_OID_SECG_EC_SECT233R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:69:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | { "nistb233", SEC_OID_SECG_EC_SECT233R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:70:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | { "sect239k1", SEC_OID_SECG_EC_SECT239K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:71:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | { "sect283k1", SEC_OID_SECG_EC_SECT283K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:72:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | { "nistk283", SEC_OID_SECG_EC_SECT283K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:73:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | { "sect283r1", SEC_OID_SECG_EC_SECT283R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:74:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | { "nistb283", SEC_OID_SECG_EC_SECT283R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:75:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | { "sect409k1", SEC_OID_SECG_EC_SECT409K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:76:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | { "nistk409", SEC_OID_SECG_EC_SECT409K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:77:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | { "sect409r1", SEC_OID_SECG_EC_SECT409R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:78:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | { "nistb409", SEC_OID_SECG_EC_SECT409R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:79:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | { "sect571k1", SEC_OID_SECG_EC_SECT571K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:80:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | { "nistk571", SEC_OID_SECG_EC_SECT571K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:81:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | { "sect571r1", SEC_OID_SECG_EC_SECT571R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:82:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | { "nistb571", SEC_OID_SECG_EC_SECT571R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:83:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | { "secp160k1", SEC_OID_SECG_EC_SECP160K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:84:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | { "secp160r1", SEC_OID_SECG_EC_SECP160R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:85:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | { "secp160r2", SEC_OID_SECG_EC_SECP160R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:86:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | { "secp192k1", SEC_OID_SECG_EC_SECP192K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:87:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | { "secp192r1", SEC_OID_SECG_EC_SECP192R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:88:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | { "nistp192", SEC_OID_SECG_EC_SECP192R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:89:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | { "secp224k1", SEC_OID_SECG_EC_SECP224K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:90:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | { "secp224r1", SEC_OID_SECG_EC_SECP224R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:91:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | { "nistp224", SEC_OID_SECG_EC_SECP224R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:92:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | { "secp256k1", SEC_OID_SECG_EC_SECP256K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:93:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 93 | { "secp256r1", SEC_OID_SECG_EC_SECP256R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:94:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | { "nistp256", SEC_OID_SECG_EC_SECP256R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:95:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | { "secp384r1", SEC_OID_SECG_EC_SECP384R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:96:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | { "nistp384", SEC_OID_SECG_EC_SECP384R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:97:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | { "secp521r1", SEC_OID_SECG_EC_SECP521R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:98:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | { "nistp521", SEC_OID_SECG_EC_SECP521R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:100:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | { "prime192v1", SEC_OID_ANSIX962_EC_PRIME192V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:101:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | { "prime192v2", SEC_OID_ANSIX962_EC_PRIME192V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:102:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | { "prime192v3", SEC_OID_ANSIX962_EC_PRIME192V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:103:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 103 | { "prime239v1", SEC_OID_ANSIX962_EC_PRIME239V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:104:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 104 | { "prime239v2", SEC_OID_ANSIX962_EC_PRIME239V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:105:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | { "prime239v3", SEC_OID_ANSIX962_EC_PRIME239V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:107:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | { "c2pnb163v1", SEC_OID_ANSIX962_EC_C2PNB163V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:108:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 108 | { "c2pnb163v2", SEC_OID_ANSIX962_EC_C2PNB163V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:109:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 109 | { "c2pnb163v3", SEC_OID_ANSIX962_EC_C2PNB163V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:110:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 110 | { "c2pnb176v1", SEC_OID_ANSIX962_EC_C2PNB176V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:111:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | { "c2tnb191v1", SEC_OID_ANSIX962_EC_C2TNB191V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:112:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 112 | { "c2tnb191v2", SEC_OID_ANSIX962_EC_C2TNB191V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:113:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | { "c2tnb191v3", SEC_OID_ANSIX962_EC_C2TNB191V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:114:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 114 | { "c2onb191v4", SEC_OID_ANSIX962_EC_C2ONB191V4 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:115:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 115 | { "c2onb191v5", SEC_OID_ANSIX962_EC_C2ONB191V5 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:116:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 116 | { "c2pnb208w1", SEC_OID_ANSIX962_EC_C2PNB208W1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:117:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | { "c2tnb239v1", SEC_OID_ANSIX962_EC_C2TNB239V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:118:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | { "c2tnb239v2", SEC_OID_ANSIX962_EC_C2TNB239V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:119:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | { "c2tnb239v3", SEC_OID_ANSIX962_EC_C2TNB239V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:120:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | { "c2onb239v4", SEC_OID_ANSIX962_EC_C2ONB239V4 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:121:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | { "c2onb239v5", SEC_OID_ANSIX962_EC_C2ONB239V5 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:122:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | { "c2pnb272w1", SEC_OID_ANSIX962_EC_C2PNB272W1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:123:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | { "c2pnb304w1", SEC_OID_ANSIX962_EC_C2PNB304W1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:124:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 124 | { "c2tnb359v1", SEC_OID_ANSIX962_EC_C2TNB359V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:125:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | { "c2pnb368w1", SEC_OID_ANSIX962_EC_C2PNB368W1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:126:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 126 | { "c2tnb431r1", SEC_OID_ANSIX962_EC_C2TNB431R1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:128:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | { "secp112r1", SEC_OID_SECG_EC_SECP112R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:129:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | { "secp112r2", SEC_OID_SECG_EC_SECP112R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:130:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 130 | { "secp128r1", SEC_OID_SECG_EC_SECP128R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:131:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | { "secp128r2", SEC_OID_SECG_EC_SECP128R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:133:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 133 | { "sect113r1", SEC_OID_SECG_EC_SECT113R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:134:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | { "sect113r2", SEC_OID_SECG_EC_SECT113R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:135:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | { "sect131r1", SEC_OID_SECG_EC_SECT131R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:136:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | { "sect131r2", SEC_OID_SECG_EC_SECT131R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp: In member function 'void RA_Token::SetMSN(Buffer&)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:348:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 348 | m_msn = *(ToBuffer ("FFFFFFFF")); | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp: In member function 'PK11SymKey* RA_Token::CreateSessionKey(keyType, Buffer&, Buffer&)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:761:8: warning: variable 'input' set but not used [-Wunused-but-set-variable] 761 | char input[16]; | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp: In member function 'APDU_Response* RA_Token::ProcessGenerateKey(Generate_Key_APDU*, NameValueSet*, NameValueSet*)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:1076:13: warning: variable 'algtag' set but not used [-Wunused-but-set-variable] 1076 | SECOidTag algtag; | ^~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp: In member function 'APDU_Response* RA_Token::ProcessGenerateKeyECC(Generate_Key_ECC_APDU*, NameValueSet*, NameValueSet*)': /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:1380:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1380 | keycurve = "nistp256"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:1382:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1382 | keycurve = "nistp384"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:1384:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1384 | keycurve = "nistp521"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:1387:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1387 | keycurve = "nistp256"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:1418:17: warning: unused variable 'n' [-Wunused-variable] 1418 | int n = ReadLine(fd_slotname, slotname, 500, &removed_return); | ^ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:1521:28: warning: unused variable 'pkeyb' [-Wunused-variable] 1521 | unsigned char *pkeyb = (unsigned char *) (BYTE *) data_blob; | ^~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:1522:17: warning: unused variable 'pkeyb_len' [-Wunused-variable] 1522 | int pkeyb_len = data_blob.size (); | ^~~~~~~~~ /builddir/build/BUILD/pki-11.2.1/base/tools/src/main/native/tpsclient/tools/raclient/RA_Token.cpp:1397:19: warning: unused variable 'attrFlags' [-Wunused-variable] 1397 | PK11AttrFlags attrFlags = 0; | ^~~~~~~~~ [ 87%] Linking CXX executable tpsclient [ 87%] Built target tpsclient [ 87%] Built target pki-DRMTool-link [ 88%] Compiling Java sources for pki-tomcat-classes ../tomcat/src/main/java/org/dogtagpki/tomcat/PKITrustManager.java:34: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.debug("PKITrustManager: - " + cert.getSubjectDN()); ^ ../tomcat/src/main/java/org/dogtagpki/tomcat/PKITrustManager.java:62: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.debug("PKITrustManager: checkCert(" + cert.getSubjectDN() + "):"); ^ ../tomcat/src/main/java/org/dogtagpki/tomcat/PKITrustManager.java:71: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.debug("PKITrustManager: SKI of " + caCert.getSubjectDN() + ": " + Arrays.toString(ski)); ^ ../tomcat/src/main/java/org/dogtagpki/tomcat/PKITrustManager.java:83: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated throw new CertificateException("Unable to validate signature: " + cert.getSubjectDN()); ^ ../tomcat/src/main/java/org/dogtagpki/tomcat/PKITrustManager.java:86: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.debug("PKITrustManager: cert signed by " + issuer.getSubjectDN()); ^ src/main/java/com/netscape/cms/tomcat/ProxyRealm.java:194: warning: [deprecation] getRoles(Principal) in Realm has been deprecated public String[] getRoles(Principal principal) { ^ src/main/java/com/netscape/cms/tomcat/ProxyRealm.java:102: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.info("- " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cms/tomcat/ProxyRealm.java:196: warning: [deprecation] getRoles(Principal) in Realm has been deprecated return realm.getRoles(principal); ^ 8 warnings [ 88%] Built target pki-tomcat-classes [ 88%] Packaging resources for pki-tomcat-jar [ 88%] Built target pki-tomcat-jar [ 89%] Compiling Java sources for pki-server-classes src/main/java/com/netscape/cmscore/ldapconn/LdapBoundConnFactory.java:564: warning: [deprecation] finalize() in Object has been deprecated protected void finalize() ^ src/main/java/com/netscape/certsrv/security/SigningUnit.java:139: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.info("SigningUnit: - " + certs[i].getSubjectDN()); ^ src/main/java/com/netscape/certsrv/security/SigningUnit.java:218: warning: [removal] DSA_SIGNING_ALGORITHMS in AlgorithmId has been deprecated and marked for removal return AlgorithmId.DSA_SIGNING_ALGORITHMS; ^ src/main/java/com/netscape/cms/authentication/CMCAuth.java:906: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated (X500Name) clientCert.getSubjectDN(); ^ src/main/java/com/netscape/cms/authentication/CMCAuth.java:909: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated (X500Name) x509Certs[0].getSubjectDN(); ^ src/main/java/com/netscape/cms/authentication/CMCAuth.java:931: warning: [deprecation] fromRaw(Type,byte[]) in PK11PubKey has been deprecated pubK = PK11PubKey.fromRaw(keyType, ((X509Key) signKey).getKey()); ^ src/main/java/com/netscape/cms/authentication/CMCAuth.java:974: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated org.mozilla.jss.netscape.security.x509.X500Name tempPrincipal = (X500Name) x509Certs[0].getSubjectDN(); ^ src/main/java/com/netscape/cms/authentication/SSLclientCertAuthentication.java:227: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated Principal p_dn = clientCert.getSubjectDN(); ^ src/main/java/com/netscape/cms/authentication/TokenAuthentication.java:167: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject parser = new XMLObject(new ByteArrayInputStream(c.getBytes())); ^ src/main/java/com/netscape/cms/authentication/TokenAuthentication.java:167: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject parser = new XMLObject(new ByteArrayInputStream(c.getBytes())); ^ src/main/java/com/netscape/cms/authentication/TokenAuthentication.java:179: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject parser = null; ^ src/main/java/com/netscape/cms/authentication/TokenAuthentication.java:182: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal parser = new XMLObject(bis); ^ src/main/java/com/netscape/cmscore/usrgrp/UGSubsystem.java:765: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated cert.getSubjectDN(), ^ src/main/java/com/netscape/cmscore/usrgrp/UGSubsystem.java:923: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated certDNAttrS.addValue(certs[i].getSubjectDN().toString()); ^ src/main/java/com/netscape/cmscore/usrgrp/UGSubsystem.java:958: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated certs[0].getSubjectDN(), ^ src/main/java/com/netscape/cmscore/usrgrp/UGSubsystem.java:1841: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated ";" + cert.getIssuerDN() + ";" + cert.getSubjectDN(); ^ src/main/java/com/netscape/cmscore/usrgrp/UGSubsystem.java:1841: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated ";" + cert.getIssuerDN() + ";" + cert.getSubjectDN(); ^ src/main/java/com/netscape/cmscore/usrgrp/UGSubsystem.java:1851: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated ";" + cert.getIssuerDN() + ";" + cert.getSubjectDN(); ^ src/main/java/com/netscape/cmscore/usrgrp/UGSubsystem.java:1851: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated ";" + cert.getIssuerDN() + ";" + cert.getSubjectDN(); ^ src/main/java/com/netscape/cms/profile/common/EnrollProfile.java:1403: warning: [removal] importHmacSha1Key(byte[]) in CryptoUtil has been deprecated and marked for removal Key secKey = CryptoUtil.importHmacSha1Key(challenge_b); ^ src/main/java/com/netscape/cms/profile/common/EnrollProfile.java:1769: warning: [removal] importHmacSha1Key(byte[]) in CryptoUtil has been deprecated and marked for removal Key secKey = CryptoUtil.importHmacSha1Key(key); ^ src/main/java/com/netscape/cms/publish/mappers/LdapCaSimpleMap.java:298: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated subjectDN = (X500Name) cert.getSubjectDN(); ^ src/main/java/com/netscape/cms/publish/mappers/LdapCertCompsMap.java:139: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated X500Name subjectDN = (X500Name) cert.getSubjectDN(); ^ src/main/java/com/netscape/cms/publish/mappers/LdapCertExactMap.java:126: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated subjectDN = (X500Name) cert.getSubjectDN(); ^ src/main/java/com/netscape/cms/publish/mappers/LdapCertSubjMap.java:195: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated subjectDN = (X500Name) cert.getSubjectDN(); ^ src/main/java/com/netscape/cms/publish/mappers/LdapCertSubjMap.java:273: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated subjectDN = (X500Name) cert.getSubjectDN(); ^ src/main/java/com/netscape/cms/publish/mappers/LdapEnhancedMap.java:211: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated subjectDN = (X500Name) cert.getSubjectDN(); ^ src/main/java/com/netscape/cms/publish/mappers/LdapSimpleMap.java:253: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated subjectDN = (X500Name) cert.getSubjectDN(); ^ src/main/java/com/netscape/cms/publish/publishers/LdapCertSubjPublisher.java:170: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String subjName = ((X500Name) cert.getSubjectDN()).toLdapDNString(); ^ src/main/java/com/netscape/cms/publish/publishers/LdapCertSubjPublisher.java:248: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String subjName = ((X500Name) cert.getSubjectDN()).toLdapDNString(); ^ src/main/java/com/netscape/cms/publish/publishers/LdapCertSubjPublisher.java:277: warning: [deprecation] getSubjectDN() in X509CertImpl has been deprecated ((X500Name) certval.getSubjectDN()).toLdapDNString(); ^ src/main/java/com/netscape/cms/publish/publishers/LdapUserCertPublisher.java:220: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated cert.getSubjectDN() ^ src/main/java/com/netscape/cms/realm/PKIRealm.java:111: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.info("PKIRealm: - " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cms/realm/PKIRealm.java:175: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String certUID = clientCert.getSubjectDN().getName(); ^ src/main/java/com/netscape/cms/servlet/admin/AdminServlet.java:310: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String certUID = cert.getSubjectDN().getName(); ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:169: warning: [deprecation] SSL3_RSA_WITH_RC4_128_MD5 in SSLCipher has been deprecated SSLCipher.SSL3_RSA_WITH_RC4_128_MD5, ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:171: warning: [deprecation] SSL3_RSA_WITH_DES_CBC_SHA in SSLCipher has been deprecated SSLCipher.SSL3_RSA_WITH_DES_CBC_SHA, ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:172: warning: [deprecation] SSL3_RSA_WITH_3DES_EDE_CBC_SHA in SSLCipher has been deprecated SSLCipher.SSL3_RSA_WITH_3DES_EDE_CBC_SHA, ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:173: warning: [deprecation] SSL3_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA in SSLCipher has been deprecated SSLCipher.SSL3_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA, ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:174: warning: [deprecation] SSL3_FORTEZZA_DMS_WITH_RC4_128_SHA in SSLCipher has been deprecated SSLCipher.SSL3_FORTEZZA_DMS_WITH_RC4_128_SHA, ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:197: warning: [deprecation] SSL3_RSA_WITH_NULL_MD5 in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_RSA_WITH_NULL_MD5)); ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:201: warning: [deprecation] SSL3_RSA_WITH_RC4_128_MD5 in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_RSA_WITH_RC4_128_MD5)); ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:205: warning: [deprecation] SSL3_RSA_WITH_DES_CBC_SHA in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_RSA_WITH_DES_CBC_SHA)); ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:207: warning: [deprecation] SSL3_RSA_WITH_3DES_EDE_CBC_SHA in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_RSA_WITH_3DES_EDE_CBC_SHA)); ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:209: warning: [deprecation] SSL3_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA)); ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:211: warning: [deprecation] SSL3_FORTEZZA_DMS_WITH_RC4_128_SHA in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_FORTEZZA_DMS_WITH_RC4_128_SHA)); ^ src/main/java/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java:543: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated ";" + cert.getIssuerDN() + ";" + cert.getSubjectDN(); ^ src/main/java/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java:543: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated ";" + cert.getIssuerDN() + ";" + cert.getSubjectDN(); ^ src/main/java/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java:1023: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated if (p7certs[0].getSubjectDN().toString().equals( ^ src/main/java/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java:1024: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated p7certs[0].getIssuerDN().toString()) && ^ src/main/java/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java:1028: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated } else if (p7certs[0].getIssuerDN().toString().equals(p7certs[1].getSubjectDN().toString())) { ^ src/main/java/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java:1028: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated } else if (p7certs[0].getIssuerDN().toString().equals(p7certs[1].getSubjectDN().toString())) { ^ src/main/java/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java:1031: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated } else if (p7certs[1].getIssuerDN().toString().equals(p7certs[0].getSubjectDN().toString())) { ^ src/main/java/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java:1031: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated } else if (p7certs[1].getIssuerDN().toString().equals(p7certs[0].getSubjectDN().toString())) { ^ src/main/java/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java:1067: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String.valueOf(p7certs[j].getSubjectDN()))); ^ src/main/java/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java:1087: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String.valueOf(p7certs[j].getSubjectDN()))); ^ src/main/java/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java:1141: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String.valueOf(certs[0].getSubjectDN())), e); ^ src/main/java/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java:1153: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String.valueOf(certs[0].getSubjectDN())), e); ^ src/main/java/com/netscape/cms/servlet/base/CMSServlet.java:567: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal protected void outputArgBlockAsXML(XMLObject xmlObj, Node parent, ^ src/main/java/com/netscape/cms/servlet/base/CMSServlet.java:583: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlObj = null; ^ src/main/java/com/netscape/cms/servlet/base/CMSServlet.java:585: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal xmlObj = new XMLObject(); ^ src/main/java/com/netscape/cms/servlet/base/CMSServlet.java:754: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated StringEscapeUtils.escapeHtml4(ex.toString()) + ^ src/main/java/com/netscape/cms/servlet/base/CMSServlet.java:1430: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated if (caCert.getSubjectDN().equals(caCert.getIssuerDN())) { ^ src/main/java/com/netscape/cms/servlet/base/CMSServlet.java:1430: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated if (caCert.getSubjectDN().equals(caCert.getIssuerDN())) { ^ src/main/java/com/netscape/cms/servlet/base/CMSServlet.java:1664: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String certUID = clientCert.getSubjectDN().getName(); ^ src/main/java/com/netscape/cms/servlet/base/CMSServlet.java:2070: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlObj = null; ^ src/main/java/com/netscape/cms/servlet/base/CMSServlet.java:2072: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal xmlObj = new XMLObject(); ^ src/main/java/com/netscape/cms/servlet/common/CMSTemplate.java:365: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated return StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(v)); ^ src/main/java/com/netscape/cms/servlet/common/CMSTemplate.java:365: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated return StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(v)); ^ src/main/java/com/netscape/cms/servlet/cert/DisableEnrollResult.java:105: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String dn = sslClientCert.getSubjectDN().toString(); ^ src/main/java/com/netscape/cms/servlet/cert/EnableEnrollResult.java:111: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String dn = sslClientCert.getSubjectDN().toString(); ^ src/main/java/com/netscape/cms/servlet/connector/CloneServlet.java:195: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated CCA_Id = peerCert.getSubjectDN().toString(); ^ src/main/java/com/netscape/cms/servlet/connector/CloneServlet.java:206: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.info("CloneServlet: Clone Certificate Authority authenticated: " + peerCert.getSubjectDN()); ^ src/main/java/com/netscape/cms/servlet/connector/CloneServlet.java:292: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.error(CMS.getLogMessage("CMSGW_REMOTE_AUTHORITY_AUTH_FAILURE", peerCert.getSubjectDN().toString()), e); ^ src/main/java/com/netscape/cms/servlet/connector/CloneServlet.java:295: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.error(CMS.getLogMessage("CMSGW_REMOTE_AUTHORITY_AUTH_FAILURE", peerCert.getSubjectDN().toString()), e); ^ src/main/java/com/netscape/cms/servlet/connector/CloneServlet.java:298: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.error(CMS.getLogMessage("CMSGW_REMOTE_AUTHORITY_AUTH_FAILURE", peerCert.getSubjectDN().toString()), e); ^ src/main/java/com/netscape/cms/servlet/connector/ConnectorServlet.java:239: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated RA_Id = peerCert.getSubjectDN().toString(); ^ src/main/java/com/netscape/cms/servlet/connector/ConnectorServlet.java:252: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.info("ConnectorServlet: Subject DN: " + peerCert.getSubjectDN()); ^ src/main/java/com/netscape/cms/servlet/csadmin/GetConfigEntries.java:85: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlObj = null; ^ src/main/java/com/netscape/cms/servlet/csadmin/GetConfigEntries.java:87: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal xmlObj = new XMLObject(); ^ src/main/java/com/netscape/cms/servlet/csadmin/GetCookie.java:122: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated "Unable to parse URL: " + StringEscapeUtils.escapeHtml4(url)); ^ src/main/java/com/netscape/cms/servlet/csadmin/GetCookie.java:145: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated header.addStringValue("url", StringEscapeUtils.escapeHtml4(url_e)); ^ src/main/java/com/netscape/cms/servlet/csadmin/GetCookie.java:208: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated header.addStringValue("url", StringEscapeUtils.escapeHtml4(url)); ^ src/main/java/com/netscape/cms/servlet/csadmin/GetDomainXML.java:79: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject response = new XMLObject(); ^ src/main/java/com/netscape/cms/servlet/csadmin/GetDomainXML.java:79: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject response = new XMLObject(); ^ src/main/java/com/netscape/cms/servlet/csadmin/GetDomainXML.java:84: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlObj = processor.getDomainXML(); ^ src/main/java/com/netscape/cms/servlet/csadmin/SecurityDomainProcessor.java:276: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal public XMLObject getDomainXML() throws EBaseException, ParserConfigurationException { ^ src/main/java/com/netscape/cms/servlet/csadmin/SecurityDomainProcessor.java:280: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal public static XMLObject convertDomainInfoToXMLObject(DomainInfo domain) throws ParserConfigurationException { ^ src/main/java/com/netscape/cms/servlet/csadmin/SecurityDomainProcessor.java:282: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlObject = new XMLObject(); ^ src/main/java/com/netscape/cms/servlet/csadmin/SecurityDomainProcessor.java:282: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlObject = new XMLObject(); ^ src/main/java/com/netscape/cms/servlet/csadmin/SecurityDomainProcessor.java:337: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal public static DomainInfo convertXMLObjectToDomainInfo(XMLObject xmlObject) { ^ src/main/java/com/netscape/cms/servlet/csadmin/SecurityDomainProcessor.java:751: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlObject = convertDomainInfoToXMLObject(before); ^ src/main/java/com/netscape/cms/servlet/csadmin/TokenAuthenticate.java:116: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlObj = null; ^ src/main/java/com/netscape/cms/servlet/csadmin/TokenAuthenticate.java:118: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal xmlObj = new XMLObject(); ^ src/main/java/com/netscape/cms/servlet/csadmin/UpdateDomainXML.java:193: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlObj = new XMLObject(); ^ src/main/java/com/netscape/cms/servlet/csadmin/UpdateDomainXML.java:193: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlObj = new XMLObject(); ^ src/main/java/com/netscape/cmscore/authentication/CertUserDBAuthentication.java:197: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated .toString(16), x509Certs[0].getSubjectDN().toString(), e.toString())); ^ src/main/java/com/netscape/cmscore/ldapconn/LdapAnonConnFactory.java:435: warning: [deprecation] finalize() in Object has been deprecated protected void finalize() ^ src/main/java/com/netscape/cmscore/notification/ReqCertEmailResolver.java:88: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated (X500Name) cert.getSubjectDN(); ^ src/main/java/com/netscape/cmscore/security/KeyCertUtil.java:289: warning: [removal] DSASignatureWithSHA1Digest in SignatureAlgorithm has been deprecated and marked for removal sAlg = SignatureAlgorithm.DSASignatureWithSHA1Digest; ^ Note: Some input files additionally use or override a deprecated API. Note: Some input files additionally use or override a deprecated API that is marked for removal. Note: src/main/java/com/netscape/cms/servlet/base/PKIService.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 warnings [ 89%] Built target pki-server-classes [ 89%] Packaging resources for pki-cms-jar [ 89%] Built target pki-cms-jar [ 90%] Packaging resources for pki-cmsbundle-jar [ 90%] Built target pki-cmsbundle-jar [ 91%] Compiling Java sources for pki-server-test-classes [ 91%] Built target pki-server-test-classes [ 91%] Running JUnit test-pki-server TestRunner: Test PASSED [ 91%] Built target test-pki-server [ 91%] Built target pki-server-lib [ 91%] Built target pki-server-common-lib [ 91%] Built target pki-server-webapp-lib [ 91%] Built target pki-server-man [ 92%] Building Python sources for pki-healthcheck running build running build_py creating build creating build/lib creating build/lib/pki creating build/lib/pki/server creating build/lib/pki/server/healthcheck creating build/lib/pki/server/healthcheck/core copying pki/server/healthcheck/core/main.py -> build/lib/pki/server/healthcheck/core copying pki/server/healthcheck/core/__init__.py -> build/lib/pki/server/healthcheck/core creating build/lib/pki/server/healthcheck/meta copying pki/server/healthcheck/meta/csconfig.py -> build/lib/pki/server/healthcheck/meta copying pki/server/healthcheck/meta/connectivity.py -> build/lib/pki/server/healthcheck/meta copying pki/server/healthcheck/meta/__init__.py -> build/lib/pki/server/healthcheck/meta copying pki/server/healthcheck/meta/plugin.py -> build/lib/pki/server/healthcheck/meta creating build/lib/pki/server/healthcheck/certs copying pki/server/healthcheck/certs/trustflags.py -> build/lib/pki/server/healthcheck/certs copying pki/server/healthcheck/certs/__init__.py -> build/lib/pki/server/healthcheck/certs copying pki/server/healthcheck/certs/plugin.py -> build/lib/pki/server/healthcheck/certs copying pki/server/healthcheck/certs/expiration.py -> build/lib/pki/server/healthcheck/certs creating build/lib/pki/server/healthcheck/clones copying pki/server/healthcheck/clones/connectivity_and_data.py -> build/lib/pki/server/healthcheck/clones copying pki/server/healthcheck/clones/__init__.py -> build/lib/pki/server/healthcheck/clones copying pki/server/healthcheck/clones/plugin.py -> build/lib/pki/server/healthcheck/clones running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py running install_lib creating /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr creating /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib creating /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11 creating /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages creating /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki creating /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server creating /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck creating /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/clones copying build/lib/pki/server/healthcheck/clones/plugin.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/clones copying build/lib/pki/server/healthcheck/clones/__init__.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/clones copying build/lib/pki/server/healthcheck/clones/connectivity_and_data.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/clones creating /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/certs copying build/lib/pki/server/healthcheck/certs/expiration.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/certs copying build/lib/pki/server/healthcheck/certs/plugin.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/certs copying build/lib/pki/server/healthcheck/certs/__init__.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/certs copying build/lib/pki/server/healthcheck/certs/trustflags.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/certs creating /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/meta copying build/lib/pki/server/healthcheck/meta/plugin.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/meta copying build/lib/pki/server/healthcheck/meta/__init__.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/meta copying build/lib/pki/server/healthcheck/meta/connectivity.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/meta copying build/lib/pki/server/healthcheck/meta/csconfig.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/meta creating /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/core copying build/lib/pki/server/healthcheck/core/__init__.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/core copying build/lib/pki/server/healthcheck/core/main.py -> /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/core byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/clones/plugin.py to plugin.cpython-311.pyc byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/clones/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/clones/connectivity_and_data.py to connectivity_and_data.cpython-311.pyc byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/certs/expiration.py to expiration.cpython-311.pyc byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/certs/plugin.py to plugin.cpython-311.pyc byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/certs/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/certs/trustflags.py to trustflags.cpython-311.pyc byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/meta/plugin.py to plugin.cpython-311.pyc byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/meta/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/meta/connectivity.py to connectivity.cpython-311.pyc byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/meta/csconfig.py to csconfig.cpython-311.pyc byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/core/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pki/server/healthcheck/core/main.py to main.cpython-311.pyc running install_egg_info running egg_info creating pkihealthcheck.egg-info writing pkihealthcheck.egg-info/PKG-INFO writing dependency_links to pkihealthcheck.egg-info/dependency_links.txt writing entry points to pkihealthcheck.egg-info/entry_points.txt writing top-level names to pkihealthcheck.egg-info/top_level.txt writing manifest file 'pkihealthcheck.egg-info/SOURCES.txt' reading manifest file 'pkihealthcheck.egg-info/SOURCES.txt' writing manifest file 'pkihealthcheck.egg-info/SOURCES.txt' Copying pkihealthcheck.egg-info to /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/lib/python3.11/site-packages/pkihealthcheck-0.1-py3.11.egg-info running install_scripts Installing pki-healthcheck script to /builddir/build/BUILD/pki-11.2.1/redhat-linux-build/base/server/healthcheck/install/usr/bin [ 92%] Built target pki-healthcheck [ 93%] Compiling Java sources for pki-ca-classes src/main/java/com/netscape/ca/CASigningUnit.java:58: warning: [deprecation] PROP_CA_CERT_NICKNAME in SigningUnit has been deprecated mConfig.putString(PROP_CA_CERT_NICKNAME, nickname); ^ src/main/java/com/netscape/ca/CASigningUnit.java:76: warning: [deprecation] PROP_CA_CERT_NICKNAME in SigningUnit has been deprecated mNickname = mConfig.getString(PROP_CA_CERT_NICKNAME); ^ src/main/java/com/netscape/cms/authentication/CMCUserSignedAuth.java:631: warning: [deprecation] fromRaw(Type,byte[]) in PK11PubKey has been deprecated selfsign_pubK = PK11PubKey.fromRaw(keyType, pubKey.getKey()); ^ src/main/java/com/netscape/cms/authentication/CMCUserSignedAuth.java:722: warning: [deprecation] fromRaw(Type,byte[]) in PK11PubKey has been deprecated selfsign_pubK = PK11PubKey.fromRaw(keyType, publicKeyData); ^ src/main/java/com/netscape/cms/authentication/CMCUserSignedAuth.java:1080: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated (X500Name) clientCert.getSubjectDN(); ^ src/main/java/com/netscape/cms/authentication/CMCUserSignedAuth.java:1083: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated (X500Name) x509Certs[0].getSubjectDN(); ^ src/main/java/com/netscape/cms/authentication/CMCUserSignedAuth.java:1111: warning: [deprecation] fromRaw(Type,byte[]) in PK11PubKey has been deprecated pubK = PK11PubKey.fromRaw(keyType, ((X509Key) signKey).getKey()); ^ src/main/java/com/netscape/cms/authentication/CMCUserSignedAuth.java:1167: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated org.mozilla.jss.netscape.security.x509.X500Name tempPrincipal = (X500Name) x509Certs[0].getSubjectDN(); ^ src/main/java/com/netscape/cms/authentication/CMCUserSignedAuth.java:1228: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated (X500Name) cert.getSubjectDN(); ^ src/main/java/com/netscape/cms/jobs/PublishCertsJob.java:184: warning: [deprecation] findCertRecs(String) in CertificateRepository has been deprecated unpublishedCerts = mRepository.findCertRecs(filter); ^ src/main/java/com/netscape/cms/jobs/RenewalNotificationJob.java:418: warning: [deprecation] findCertRecs(String) in CertificateRepository has been deprecated Enumeration en = mCertDB.findCertRecs(filter); ^ src/main/java/com/netscape/cms/jobs/UnpublishExpiredJob.java:187: warning: [deprecation] findCertRecs(String) in CertificateRepository has been deprecated expired = mRepository.findCertRecs(filter); ^ src/main/java/com/netscape/cms/listeners/CertificateRevokedListener.java:313: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated cert.getIssuerDN().toString()); ^ src/main/java/com/netscape/cms/listeners/CertificateRevokedListener.java:315: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated cert.getSubjectDN().toString()); ^ src/main/java/com/netscape/cms/servlet/processors/CAProcessor.java:627: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String certUID = clientCert.getSubjectDN().getName(); ^ src/main/java/com/netscape/cms/servlet/cert/EnrollServlet.java:864: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated certBasedOldSubjectDN = sslClientCert.getSubjectDN().toString(); ^ src/main/java/com/netscape/cms/servlet/cert/EnrollServlet.java:1126: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated sslClientCert.getIssuerDN().toString()); ^ src/main/java/com/netscape/cms/servlet/cert/EnrollServlet.java:1128: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated sslClientCert.getIssuerDN().toString()); ^ src/main/java/com/netscape/cms/servlet/cert/EnrollServlet.java:1138: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated sslClientCert.getIssuerDN().toString()); ^ src/main/java/com/netscape/cms/servlet/cert/EnrollServlet.java:1140: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated sslClientCert.getIssuerDN().toString()); ^ src/main/java/com/netscape/cms/servlet/cert/EnrollServlet.java:1215: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated sslClientCert.getIssuerDN().toString()); ^ src/main/java/com/netscape/cms/servlet/cert/EnrollServlet.java:1402: warning: [deprecation] getSubjectDN() in X509CertImpl has been deprecated issuedCerts[0].getSubjectDN(), ^ src/main/java/com/netscape/cms/servlet/cert/GetCAChain.java:297: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated certChain.getFirstCertificate().getSubjectDN().toString(); ^ src/main/java/com/netscape/cms/servlet/cert/GetCAChain.java:325: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated String subjectdn = certs[i].getSubjectDN().toString(); ^ src/main/java/com/netscape/cms/servlet/cert/HashEnrollServlet.java:372: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated certBasedOldSubjectDN = sslClientCert.getSubjectDN().toString(); ^ src/main/java/com/netscape/cms/servlet/cert/HashEnrollServlet.java:556: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated sslClientCert.getIssuerDN().toString()); ^ src/main/java/com/netscape/cms/servlet/cert/HashEnrollServlet.java:557: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated logger.debug("HashEnrollServlet: sslClientCert issuerDN = " + sslClientCert.getIssuerDN()); ^ src/main/java/com/netscape/cms/servlet/cert/HashEnrollServlet.java:575: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated sslClientCert.getIssuerDN().toString()); ^ src/main/java/com/netscape/cms/servlet/cert/HashEnrollServlet.java:736: warning: [deprecation] getSubjectDN() in X509CertImpl has been deprecated issuedCerts[0].getSubjectDN(), ^ src/main/java/com/netscape/cms/servlet/cert/Monitor.java:290: warning: [deprecation] findCertRecs(String) in CertificateRepository has been deprecated Enumeration e = mCertDB.findCertRecs(filter); ^ src/main/java/com/netscape/cms/servlet/cert/RenewalProcessor.java:403: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.debug("RenewalProcessor: cert " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cms/servlet/cert/RevocationProcessor.java:198: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated clientCert.getSubjectDN().getName() + "' to user: " + e.getMessage(), e); ^ src/main/java/com/netscape/cms/servlet/cert/RevocationProcessor.java:427: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated return caCert.getSubjectDN().equals(caCert.getIssuerDN()); ^ src/main/java/com/netscape/cms/servlet/cert/RevocationProcessor.java:427: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated return caCert.getSubjectDN().equals(caCert.getIssuerDN()); ^ src/main/java/com/netscape/cms/servlet/cert/RevocationServlet.java:270: warning: [deprecation] getSubjectDN() in X509CertImpl has been deprecated certsToRevoke[i].getSubjectDN().toString()); ^ src/main/java/com/netscape/cms/servlet/csadmin/GetCertChain.java:93: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.debug("GetCertChain: - " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cms/servlet/profile/ProfileSubmitServlet.java:392: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlObj = null; ^ src/main/java/com/netscape/cms/servlet/profile/ProfileSubmitServlet.java:393: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal xmlObj = new XMLObject(); ^ src/main/java/com/netscape/cms/servlet/request/CheckRequest.java:504: warning: [removal] RSASignatureWithSHA1Digest in SignatureAlgorithm has been deprecated and marked for removal signAlg = SignatureAlgorithm.RSASignatureWithSHA1Digest; ^ src/main/java/com/netscape/cms/servlet/request/CheckRequest.java:506: warning: [removal] DSASignatureWithSHA1Digest in SignatureAlgorithm has been deprecated and marked for removal signAlg = SignatureAlgorithm.DSASignatureWithSHA1Digest; ^ src/main/java/com/netscape/cms/servlet/request/CheckRequest.java:512: warning: [removal] SHA1 in DigestAlgorithm has been deprecated and marked for removal digestAlg = DigestAlgorithm.SHA1; ^ src/main/java/com/netscape/cmscore/cert/CrossCertPairSubsystem.java:302: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated if (cert1.getIssuerDN().equals(cert2.getSubjectDN()) ^ src/main/java/com/netscape/cmscore/cert/CrossCertPairSubsystem.java:302: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated if (cert1.getIssuerDN().equals(cert2.getSubjectDN()) ^ src/main/java/com/netscape/cmscore/cert/CrossCertPairSubsystem.java:303: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated && cert2.getIssuerDN().equals(cert1.getSubjectDN())) ^ src/main/java/com/netscape/cmscore/cert/CrossCertPairSubsystem.java:303: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated && cert2.getIssuerDN().equals(cert1.getSubjectDN())) ^ src/main/java/com/netscape/cmscore/ldap/LdapPublishModule.java:362: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated dirdn = cert.getSubjectDN().toString(); ^ src/main/java/com/netscape/cmscore/ldap/LdapPublishModule.java:363: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.debug("no mapper found. Using subject name exactly: " + cert.getSubjectDN()); ^ src/main/java/com/netscape/cmscore/ldap/LdapPublishModule.java:370: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated cert.getSubjectDN().toString())); ^ src/main/java/com/netscape/cmscore/ldap/LdapPublishModule.java:372: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated cert.getSubjectDN().toString())); ^ src/main/java/com/netscape/cmscore/ldap/LdapPublishModule.java:394: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated dirdn = cert.getSubjectDN().toString(); ^ src/main/java/com/netscape/cmscore/ldap/LdapPublishModule.java:401: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated cert.getSubjectDN().toString())); ^ src/main/java/com/netscape/cmscore/ldap/LdapPublishModule.java:403: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated cert.getSubjectDN().toString())); ^ src/main/java/com/netscape/cmscore/notification/ReqCertSANameEmailResolver.java:113: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated (X500Name) cert.getSubjectDN(); ^ src/main/java/org/dogtagpki/server/ca/cli/CACertFindCLI.java:119: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated System.out.println(" Subject DN: " + cert.getSubjectDN()); ^ src/main/java/org/dogtagpki/server/ca/cli/CACertFindCLI.java:120: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated System.out.println(" Issuer DN: " + cert.getIssuerDN()); ^ src/main/java/org/dogtagpki/server/ca/rest/CertService.java:226: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated clientSubjectDN = clientCert.getSubjectDN().toString(); ^ src/main/java/org/dogtagpki/server/ca/rest/CertService.java:228: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated X500Name x500issuerDN = (X500Name) clientCert.getIssuerDN(); ^ src/main/java/org/dogtagpki/server/ca/rest/CertService.java:595: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated info.setIssuerDN(cert.getIssuerDN().toString()); ^ src/main/java/org/dogtagpki/server/ca/rest/CertService.java:596: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated info.setSubjectDN(cert.getSubjectDN().toString()); ^ Note: src/main/java/org/dogtagpki/server/ca/CAEngine.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 59 warnings [ 93%] Built target pki-ca-classes [ 94%] Packaging resources for pki-ca-jar [ 94%] Built target pki-ca-jar [ 94%] Built target pki-ca-links [ 94%] Compiling Java sources for pki-kra-classes src/main/java/com/netscape/kra/KeyRecoveryAuthority.java:452: warning: [deprecation] finalize() in Object has been deprecated protected void finalize() { ^ src/main/java/com/netscape/kra/StorageKeyUnit.java:459: warning: [removal] PBE_SHA1_DES3_CBC in PBEAlgorithm has been deprecated and marked for removal PBEAlgorithm.PBE_SHA1_DES3_CBC); ^ src/main/java/com/netscape/kra/StorageKeyUnit.java:703: warning: [deprecation] IShare in com.netscape.certsrv.kra has been deprecated IShare s = null; ^ src/main/java/com/netscape/kra/StorageKeyUnit.java:707: warning: [deprecation] IShare in com.netscape.certsrv.kra has been deprecated s = (IShare) Class.forName(className).getDeclaredConstructor().newInstance(); ^ src/main/java/com/netscape/kra/StorageKeyUnit.java:1058: warning: [deprecation] IJoinShares in com.netscape.certsrv.kra has been deprecated IJoinShares j = null; ^ src/main/java/com/netscape/kra/StorageKeyUnit.java:1062: warning: [deprecation] IJoinShares in com.netscape.certsrv.kra has been deprecated j = (IJoinShares) Class.forName(className).getDeclaredConstructor().newInstance(); ^ src/main/java/com/netscape/kra/RecoveryService.java:595: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated nickname = x509cert.getSubjectDN().toString(); ^ src/main/java/com/netscape/kra/RecoveryService.java:622: warning: [removal] PBE_SHA1_DES3_CBC in PBEAlgorithm has been deprecated and marked for removal PBEAlgorithm.PBE_SHA1_DES3_CBC, ^ src/main/java/com/netscape/kra/RecoveryService.java:633: warning: [deprecation] fromString(String) in EncryptionAlgorithm has been deprecated EncryptionAlgorithm encAlg = EncryptionAlgorithm.fromString(nonLegacyAlg); ^ src/main/java/com/netscape/kra/RecoveryService.java:666: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated x509cert.getSubjectDN().toString(), ^ src/main/java/com/netscape/kra/RecoveryService.java:799: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated nickname = x509cert.getSubjectDN().toString(); ^ src/main/java/com/netscape/kra/RecoveryService.java:827: warning: [removal] PBE_SHA1_DES3_CBC in PBEAlgorithm has been deprecated and marked for removal PBEAlgorithm.PBE_SHA1_DES3_CBC, ^ src/main/java/com/netscape/kra/RecoveryService.java:847: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated x509cert.getSubjectDN().toString(), ^ src/main/java/com/netscape/kra/SecurityDataProcessor.java:842: warning: [deprecation] getParameterClass() in Algorithm has been deprecated if (encAlg.getParameterClass().equals(IVParameterSpec.class)) { ^ src/main/java/com/netscape/kra/SecurityDataProcessor.java:844: warning: [deprecation] getParameterClass() in Algorithm has been deprecated } else if (encAlg.getParameterClass().equals( ^ src/main/java/com/netscape/kra/SecurityDataProcessor.java:880: warning: [removal] PBE_SHA1_DES3_CBC in PBEAlgorithm has been deprecated and marked for removal PBEAlgorithm keyGenAlg = PBEAlgorithm.PBE_SHA1_DES3_CBC; ^ 16 warnings [ 94%] Built target pki-kra-classes [ 95%] Packaging resources for pki-kra-jar [ 95%] Built target pki-kra-jar [ 95%] Built target pki-kra-links [ 96%] Compiling Java sources for pki-ocsp-classes src/main/java/com/netscape/cms/ocsp/DefStore.java:799: warning: [deprecation] getIssuerDN() in X509CRL has been deprecated crl.getIssuerDN().getName()); ^ src/main/java/com/netscape/cms/ocsp/DefStore.java:801: warning: [deprecation] getIssuerDN() in X509CRL has been deprecated crl.getIssuerDN().getName(), mods); ^ src/main/java/com/netscape/cms/ocsp/DefStore.java:803: warning: [deprecation] getIssuerDN() in X509CRL has been deprecated crl.getIssuerDN().getName()); ^ src/main/java/com/netscape/cms/servlet/ocsp/AddCAServlet.java:206: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated auditCASubjectDN = leafCert.getSubjectDN().getName(); ^ src/main/java/com/netscape/cms/servlet/ocsp/AddCAServlet.java:213: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated if (certs[0].getSubjectDN().getName().equals(certs[0].getIssuerDN().getName())) { ^ src/main/java/com/netscape/cms/servlet/ocsp/AddCAServlet.java:213: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated if (certs[0].getSubjectDN().getName().equals(certs[0].getIssuerDN().getName())) { ^ src/main/java/com/netscape/cms/servlet/ocsp/AddCAServlet.java:218: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated auditCASubjectDN = leafCert.getSubjectDN().getName(); ^ src/main/java/com/netscape/cms/servlet/ocsp/AddCAServlet.java:235: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated leafCert.getSubjectDN().getName(), ^ src/main/java/com/netscape/cms/servlet/ocsp/AddCAServlet.java:249: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated defStore.addCRLIssuingPoint(leafCert.getSubjectDN().getName(), rec); ^ src/main/java/com/netscape/cms/servlet/ocsp/AddCAServlet.java:250: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated logger.info("Added CA certificate " + leafCert.getSubjectDN().getName()); ^ src/main/java/com/netscape/cms/servlet/ocsp/CheckCertServlet.java:166: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated cert.getIssuerDN().getName()); ^ src/main/java/com/netscape/cms/servlet/ocsp/CheckCertServlet.java:168: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated header.addStringValue(ATTR_ISSUERDN, cert.getIssuerDN().getName()); ^ src/main/java/com/netscape/cms/servlet/ocsp/CheckCertServlet.java:169: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated header.addStringValue(ATTR_SUBJECTDN, cert.getSubjectDN().getName()); ^ src/main/java/com/netscape/cms/servlet/ocsp/CheckCertServlet.java:190: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated logger.info("Checked Certificate Status " + cert.getIssuerDN().getName() + " " + cert.getSerialNumber().toString()); ^ src/main/java/org/dogtagpki/server/ocsp/cli/OCSPCRLIssuingPointAddCLI.java:111: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated if (cert.getSubjectDN().getName().equals(cert.getIssuerDN().getName())) { ^ src/main/java/org/dogtagpki/server/ocsp/cli/OCSPCRLIssuingPointAddCLI.java:111: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated if (cert.getSubjectDN().getName().equals(cert.getIssuerDN().getName())) { ^ src/main/java/org/dogtagpki/server/ocsp/cli/OCSPCRLIssuingPointAddCLI.java:140: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated cert.getSubjectDN().getName(), ^ src/main/java/org/dogtagpki/server/ocsp/cli/OCSPCRLIssuingPointAddCLI.java:145: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated store.addCRLIssuingPoint(cert.getSubjectDN().getName(), record); ^ 18 warnings [ 96%] Built target pki-ocsp-classes [ 96%] Packaging resources for pki-ocsp-jar [ 96%] Built target pki-ocsp-jar [ 96%] Built target pki-ocsp-links [ 96%] Compiling Java sources for pki-tks-classes [ 96%] Built target pki-tks-classes [ 97%] Packaging resources for pki-tks-jar [ 97%] Built target pki-tks-jar [ 97%] Built target pki-tks-links [ 97%] Compiling Java sources for pki-tps-classes src/main/java/org/dogtagpki/server/tps/cms/RemoteRequestHandler.java:75: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal protected XMLObject getXMLparser(String text) { ^ src/main/java/org/dogtagpki/server/tps/cms/RemoteRequestHandler.java:85: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal return new XMLObject(bis); ^ src/main/java/org/dogtagpki/server/tps/cms/CARemoteRequestHandler.java:220: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlResponse = ^ src/main/java/org/dogtagpki/server/tps/cms/CARemoteRequestHandler.java:336: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlResponse = ^ src/main/java/org/dogtagpki/server/tps/cms/CARemoteRequestHandler.java:445: warning: [removal] XMLObject in com.netscape.cmsutil.xml has been deprecated and marked for removal XMLObject xmlResponse = ^ 5 warnings [ 97%] Built target pki-tps-classes [ 98%] Packaging resources for pki-tps-jar [ 98%] Built target pki-tps-jar [ 98%] Built target pki-tps-links [ 98%] Built target pki-tps-man [ 99%] Compiling Java sources for pki-acme-classes src/main/java/org/dogtagpki/acme/realm/LDAPRealm.java:266: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated + cert.getIssuerDN() + ";" ^ src/main/java/org/dogtagpki/acme/realm/LDAPRealm.java:267: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated + cert.getSubjectDN(); ^ src/main/java/org/dogtagpki/acme/realm/PostgreSQLRealm.java:228: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated + cert.getIssuerDN() + ";" ^ src/main/java/org/dogtagpki/acme/realm/PostgreSQLRealm.java:229: warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated + cert.getSubjectDN(); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 warnings [ 99%] Built target pki-acme-classes [ 99%] Packaging resources for pki-acme-jar [ 99%] Built target pki-acme-jar [ 99%] Built target pki-acme-links [100%] Generating Javadoc for pki-javadoc [100%] Built target pki-javadoc [100%] Built target pki-server-theme-links + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Sk3MxF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pki-11.2.1 + cd redhat-linux-build + /usr/bin/make VERBOSE= CMAKE_NO_VERBOSE=1 DESTDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 'INSTALL=install -p' --no-print-directory install Install the project... -- Install configuration: "" -- Set runtime path of "/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/lib64/tps/libtps.so" to "/usr/lib64/tps" -- Set runtime path of "/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/bin/tpsclient" to "/usr/lib64/tps" + ctest --output-on-failure Test project /builddir/build/BUILD/pki-11.2.1/redhat-linux-build No tests were found!!! + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 11.2.1-1.20221121102510UTC.80e42f96.fc38 --unique-debug-suffix -11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 --unique-debug-src-base pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pki-11.2.1 extracting debug info from /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/bin/p12tool extracting debug info from /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/bin/p7tool extracting debug info from /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/bin/pistool extracting debug info from /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/bin/revoker extracting debug info from /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/bin/setpin extracting debug info from /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/bin/sslget extracting debug info from /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/bin/tkstool extracting debug info from /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/bin/tpsclient extracting debug info from /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/lib64/tps/libtps.so original debug info size: 3180kB, size after compression: 2512kB /usr/bin/sepdebugcrcfix: Updated 9 CRC32s, 0 CRC32s did match. 3262 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/base/tools/src/main/native/p12tool/secutil.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/base/tools/src/main/native/p12tool/p12tool.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/base/tools/src/main/native/p12tool/p12tool.c is executable but has no shebang, removing executable bit mangling shebang in /usr/sbin/pkispawn from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/pkidestroy from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/pki-server-upgrade from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/pki-server from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/pki-upgrade from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/pki-server-nuxwdog from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/bin/pkidaemon from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/PrettyPrintCrl from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/PrettyPrintCert from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/TokenInfo from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/PKCS12Export from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/PKCS10Client from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/OCSPClient from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/KRATool from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/HttpClient from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/GenSubjectAltNameExt from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/GenIssuerAltNameExt from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/GenExtKeyUsage from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/ExtJoiner from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/CRMFPopClient from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/CMCSharedToken from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/CMCRevoke from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/CMCResponse from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/CMCRequest from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/CMCEnroll from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/BtoA from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/AuditVerify from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/AtoB from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/pki from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/PKICertImport from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/pki/acme/bin/pki-acme-run from /bin/sh -e to #!/usr/bin/sh -e mangling shebang in /usr/share/pki/tps/bin/pki-tps-enroll from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/pki/tps/bin/pki-tps-format from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/pki/server/bin/pki-server-run from /bin/sh -e to #!/usr/bin/sh -e mangling shebang in /usr/share/pki/scripts/operations from /bin/bash -X to #!/usr/bin/bash -X mangling shebang in /usr/share/pki/tests/kra/bin/test-cert-key-archival.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/ca/bin/ca-agent-create.sh from /bin/bash -ex to #!/usr/bin/bash -ex mangling shebang in /usr/share/pki/tests/ca/bin/test-ca-signing-csr-ext.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/ca/bin/test-ca-signing-cert.sh from /bin/bash -ex to #!/usr/bin/bash -ex mangling shebang in /usr/share/pki/tests/ca/bin/test-ca-certs.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/ca/bin/test-ca-auditor-logs.sh from /bin/bash -ex to #!/usr/bin/bash -ex mangling shebang in /usr/share/pki/tests/ca/bin/test-subsystem-cert.sh from /bin/bash -ex to #!/usr/bin/bash -ex mangling shebang in /usr/share/pki/tests/ca/bin/test-subca-signing-csr-ext.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/ca/bin/test-ca-auditor-cert.sh from /bin/bash -ex to #!/usr/bin/bash -ex mangling shebang in /usr/share/pki/tests/ca/bin/ca-agent-cert-unrevoke.sh from /bin/bash -ex to #!/usr/bin/bash -ex mangling shebang in /usr/share/pki/tests/ca/bin/ca-agent-cert-create.sh from /bin/bash -ex to #!/usr/bin/bash -ex mangling shebang in /usr/share/pki/tests/ca/bin/test-ca-auditor-create.sh from /bin/bash -ex to #!/usr/bin/bash -ex mangling shebang in /usr/share/pki/tests/ca/bin/ca-agent-cert-revoke.sh from /bin/bash -ex to #!/usr/bin/bash -ex mangling shebang in /usr/share/pki/tests/ca/bin/test-ca-signing-cert-ext.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/ca/bin/test-subca-signing-cert-ext.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/bin/ds-artifacts-save.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/pki/tests/bin/ds-container-stop.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/bin/ds-container-create.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/bin/pki-artifacts-save.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/pki/tests/bin/test-sslserver-cert-ext.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/bin/runner-init.sh from /bin/bash -ex to #!/usr/bin/bash -ex mangling shebang in /usr/share/pki/tests/bin/ipa-artifacts-save.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/pki/tests/bin/pki-start-wait.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/pki/tests/bin/init-workflow.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/bin/pki-lint from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/bin/ds-container-certs-import.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/bin/ds-create.sh from /bin/bash -ex to #!/usr/bin/bash -ex mangling shebang in /usr/share/pki/tests/bin/test-sslserver-csr-ext.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/bin/ds-remove.sh from /bin/bash -ex to #!/usr/bin/bash -ex mangling shebang in /usr/share/pki/tests/bin/ds-container-remove.sh from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/share/pki/tests/bin/ds-container-start.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/pki/tests/bin/ipa-test.sh from /bin/bash -eEx to #!/usr/bin/bash -eEx mangling shebang in /usr/share/pki/tests/util/bin/test_PKICertImport.bash from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: dogtag-pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 Provides: dogtag-pki = 11.2.1-1.20221121102510UTC.80e42f96.fc38 dogtag-pki(x86-64) = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: dogtag-pki-pki-symkey < 11.2.1 idm-console-framework < 2.0 pki-console < 11.2.1 pki-console-theme < 11.2.1 pki-symkey < 11.2.1 Processing files: dogtag-pki-base-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1k07oL + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-base + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-base + cp -pr base/common/LICENSE /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-base + cp -pr base/common/LICENSE.LESSER /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-base + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(dogtag-pki-base) = 11.2.1-1.20221121102510UTC.80e42f96.fc38 dogtag-pki-base = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-base = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh python3-pki = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(postun): /bin/sh Requires: /usr/bin/sh Conflicts: dogtag-pki-theme < 11.2.1 pki-javadoc < 11.2.1 pki-server-theme < 11.2.1 Obsoletes: pki-base < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: python3-dogtag-pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9hEOhr + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/python3-dogtag-pki + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/python3-dogtag-pki + cp -pr base/common/LICENSE /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/python3-dogtag-pki + cp -pr base/common/LICENSE.LESSER /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/python3-dogtag-pki + RPM_EC=0 ++ jobs -p + exit 0 Provides: pki-base-python3 = 11.2.1-1.20221121102510UTC.80e42f96.fc38 python-dogtag-pki = 11.2.1-1.20221121102510UTC.80e42f96.fc38 python-pki = 11.2.1-1.20221121102510UTC.80e42f96.fc38 python3-dogtag-pki = 11.2.1-1.20221121102510UTC.80e42f96.fc38 python3-pki = 11.2.1-1.20221121102510UTC.80e42f96.fc38 python3.11-dogtag-pki = 11.2.1-1.20221121102510UTC.80e42f96.fc38 python3.11-pki = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 Obsoletes: pki-base-python3 < 11.2.1-1.20221121102510UTC.80e42f96.fc38 python-pki < 11.2.1-1.20221121102510UTC.80e42f96.fc38 python3-pki < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: dogtag-pki-java-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NRdAYv + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-java + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-java + cp -pr base/common/LICENSE /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-java + cp -pr base/common/LICENSE.LESSER /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-java + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/share/pki/lib/commons-cli.jar -> /usr/share/java/commons-cli.jar warning: absolute symlink: /usr/share/pki/lib/commons-codec.jar -> /usr/share/java/commons-codec.jar warning: absolute symlink: /usr/share/pki/lib/commons-io.jar -> /usr/share/java/commons-io.jar warning: absolute symlink: /usr/share/pki/lib/commons-lang3.jar -> /usr/share/java/commons-lang3.jar warning: absolute symlink: /usr/share/pki/lib/commons-logging.jar -> /usr/share/java/commons-logging.jar warning: absolute symlink: /usr/share/pki/lib/commons-net.jar -> /usr/share/java/commons-net.jar warning: absolute symlink: /usr/share/pki/lib/httpclient.jar -> /usr/share/java/httpcomponents/httpclient.jar warning: absolute symlink: /usr/share/pki/lib/httpcore.jar -> /usr/share/java/httpcomponents/httpcore.jar warning: absolute symlink: /usr/share/pki/lib/jackson-annotations.jar -> /usr/share/java/jackson-annotations.jar warning: absolute symlink: /usr/share/pki/lib/jackson-core.jar -> /usr/share/java/jackson-core.jar warning: absolute symlink: /usr/share/pki/lib/jackson-databind.jar -> /usr/share/java/jackson-databind.jar warning: absolute symlink: /usr/share/pki/lib/jackson-jaxrs-base.jar -> /usr/share/java/jackson-jaxrs-providers/jackson-jaxrs-base.jar warning: absolute symlink: /usr/share/pki/lib/jackson-jaxrs-json-provider.jar -> /usr/share/java/jackson-jaxrs-providers/jackson-jaxrs-json-provider.jar warning: absolute symlink: /usr/share/pki/lib/jackson-module-jaxb-annotations.jar -> /usr/share/java/jackson-modules/jackson-module-jaxb-annotations.jar warning: absolute symlink: /usr/share/pki/lib/javax.activation.jar -> /usr/share/java/jakarta-activation/jakarta.activation.jar warning: absolute symlink: /usr/share/pki/lib/javax.annotations-api.jar -> /usr/share/java/jakarta-annotations/jakarta.annotation-api.jar warning: absolute symlink: /usr/share/pki/lib/jaxb-api.jar -> /usr/share/java/jaxb-api.jar warning: absolute symlink: /usr/share/pki/lib/jaxrs-api.jar -> /usr/share/java/jboss-jaxrs-2.0-api.jar warning: absolute symlink: /usr/share/pki/lib/jboss-logging.jar -> /usr/share/java/jboss-logging/jboss-logging.jar warning: absolute symlink: /usr/share/pki/lib/jss.jar -> /usr/lib/java/jss.jar warning: absolute symlink: /usr/share/pki/lib/ldapjdk.jar -> /usr/share/java/ldapjdk.jar warning: absolute symlink: /usr/share/pki/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar warning: absolute symlink: /usr/share/pki/lib/pki-cmsutil.jar -> /usr/share/java/pki/pki-cmsutil.jar warning: absolute symlink: /usr/share/pki/lib/pki-tools.jar -> /usr/share/java/pki/pki-tools.jar warning: absolute symlink: /usr/share/pki/lib/resteasy-client.jar -> /usr/share/java/resteasy/resteasy-client.jar warning: absolute symlink: /usr/share/pki/lib/resteasy-jackson2-provider.jar -> /usr/share/java/resteasy/resteasy-jackson2-provider.jar warning: absolute symlink: /usr/share/pki/lib/resteasy-jaxrs.jar -> /usr/share/java/resteasy/resteasy-jaxrs.jar warning: absolute symlink: /usr/share/pki/lib/servlet.jar -> /usr/share/java/servlet.jar warning: absolute symlink: /usr/share/pki/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar warning: absolute symlink: /usr/share/pki/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar Provides: dogtag-pki-base-java = 11.2.1-1.20221121102510UTC.80e42f96.fc38 dogtag-pki-java = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-base-java = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: dogtag-pki-base-java < 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-base-java < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: dogtag-pki-tools-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tvrhn2 + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + DOCDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/doc/dogtag-pki-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/doc/dogtag-pki-tools + cp -pr base/tools/doc/README /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/doc/dogtag-pki-tools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Z3Mot6 + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-tools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-tools + cp -pr base/tools/LICENSE /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-tools + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/bin/DRMTool -> /usr/bin/KRATool warning: absolute symlink: /usr/share/man/man1/DRMTool.1.gz -> /usr/share/man/man1/KRATool.1.gz warning: absolute symlink: /usr/share/pki/lib/p11-kit-trust.so -> /etc/alternatives/libnssckbi.so.x86_64 warning: absolute symlink: /usr/share/pki/tools/DRMTool.cfg -> /usr/share/pki/tools/KRATool.cfg Provides: dogtag-pki-tools = 11.2.1-1.20221121102510UTC.80e42f96.fc38 dogtag-pki-tools(x86-64) = 11.2.1-1.20221121102510UTC.80e42f96.fc38 libtps.so()(64bit) pki-tools = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) liblber.so.2()(64bit) liblber.so.2(OPENLDAP_2.200)(64bit) libldap.so.2()(64bit) libldap.so.2(OPENLDAP_2.200)(64bit) libnspr4.so()(64bit) libnss3.so()(64bit) libnss3.so(NSS_3.10)(64bit) libnss3.so(NSS_3.10.2)(64bit) libnss3.so(NSS_3.12)(64bit) libnss3.so(NSS_3.13)(64bit) libnss3.so(NSS_3.2)(64bit) libnss3.so(NSS_3.21)(64bit) libnss3.so(NSS_3.3)(64bit) libnss3.so(NSS_3.30)(64bit) libnss3.so(NSS_3.33)(64bit) libnss3.so(NSS_3.4)(64bit) libnss3.so(NSS_3.5)(64bit) libnss3.so(NSS_3.6)(64bit) libnss3.so(NSS_3.7)(64bit) libnss3.so(NSS_3.8)(64bit) libnss3.so(NSS_3.9)(64bit) libnss3.so(NSS_3.9.2)(64bit) libnssutil3.so()(64bit) libnssutil3.so(NSSUTIL_3.15)(64bit) libplc4.so()(64bit) libplds4.so()(64bit) libsmime3.so()(64bit) libsmime3.so(NSS_3.10)(64bit) libsmime3.so(NSS_3.2)(64bit) libsmime3.so(NSS_3.4)(64bit) libssl3.so()(64bit) libssl3.so(NSS_3.12.6)(64bit) libssl3.so(NSS_3.14)(64bit) libssl3.so(NSS_3.2)(64bit) libssl3.so(NSS_3.4)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libtps.so()(64bit) rtld(GNU_HASH) Obsoletes: pki-tools < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: dogtag-pki-server-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TQtynQ + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + DOCDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/doc/dogtag-pki-server + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/doc/dogtag-pki-server + cp -pr base/server/README /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/doc/dogtag-pki-server + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9dmPEF + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-server + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-server + cp -pr base/common/THIRD_PARTY_LICENSES /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-server + cp -pr base/server/LICENSE /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-server + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/share/pki/server/common/lib/commons-codec.jar -> /usr/share/java/commons-codec.jar warning: absolute symlink: /usr/share/pki/server/common/lib/commons-io.jar -> /usr/share/java/commons-io.jar warning: absolute symlink: /usr/share/pki/server/common/lib/commons-lang3.jar -> /usr/share/java/commons-lang3.jar warning: absolute symlink: /usr/share/pki/server/common/lib/commons-logging.jar -> /usr/share/java/commons-logging.jar warning: absolute symlink: /usr/share/pki/server/common/lib/commons-net.jar -> /usr/share/java/commons-net.jar warning: absolute symlink: /usr/share/pki/server/common/lib/httpclient.jar -> /usr/share/java/httpcomponents/httpclient.jar warning: absolute symlink: /usr/share/pki/server/common/lib/httpcore.jar -> /usr/share/java/httpcomponents/httpcore.jar warning: absolute symlink: /usr/share/pki/server/common/lib/jackson-annotations.jar -> /usr/share/java/jackson-annotations.jar warning: absolute symlink: /usr/share/pki/server/common/lib/jackson-core.jar -> /usr/share/java/jackson-core.jar warning: absolute symlink: /usr/share/pki/server/common/lib/jackson-databind.jar -> /usr/share/java/jackson-databind.jar warning: absolute symlink: /usr/share/pki/server/common/lib/jackson-jaxrs-base.jar -> /usr/share/java/jackson-jaxrs-providers/jackson-jaxrs-base.jar warning: absolute symlink: /usr/share/pki/server/common/lib/jackson-jaxrs-json-provider.jar -> /usr/share/java/jackson-jaxrs-providers/jackson-jaxrs-json-provider.jar warning: absolute symlink: /usr/share/pki/server/common/lib/jackson-module-jaxb-annotations.jar -> /usr/share/java/jackson-modules/jackson-module-jaxb-annotations.jar warning: absolute symlink: /usr/share/pki/server/common/lib/javax.activation.jar -> /usr/share/java/jakarta-activation/jakarta.activation.jar warning: absolute symlink: /usr/share/pki/server/common/lib/javax.annotations-api.jar -> /usr/share/java/jakarta-annotations/jakarta.annotation-api.jar warning: absolute symlink: /usr/share/pki/server/common/lib/jaxb-api.jar -> /usr/share/java/jaxb-api.jar warning: absolute symlink: /usr/share/pki/server/common/lib/jaxrs-api.jar -> /usr/share/java/jboss-jaxrs-2.0-api.jar warning: absolute symlink: /usr/share/pki/server/common/lib/jboss-logging.jar -> /usr/share/java/jboss-logging/jboss-logging.jar warning: absolute symlink: /usr/share/pki/server/common/lib/jss-symkey.jar -> /usr/lib/java/jss-symkey.jar warning: absolute symlink: /usr/share/pki/server/common/lib/jss.jar -> /usr/lib/java/jss.jar warning: absolute symlink: /usr/share/pki/server/common/lib/ldapjdk.jar -> /usr/share/java/ldapjdk.jar warning: absolute symlink: /usr/share/pki/server/common/lib/pki-cmsutil.jar -> /usr/share/java/pki/pki-cmsutil.jar warning: absolute symlink: /usr/share/pki/server/common/lib/pki-tomcat.jar -> /usr/share/java/pki/pki-tomcat.jar warning: absolute symlink: /usr/share/pki/server/common/lib/resteasy-client.jar -> /usr/share/java/resteasy/resteasy-client.jar warning: absolute symlink: /usr/share/pki/server/common/lib/resteasy-jackson2-provider.jar -> /usr/share/java/resteasy/resteasy-jackson2-provider.jar warning: absolute symlink: /usr/share/pki/server/common/lib/resteasy-jaxrs.jar -> /usr/share/java/resteasy/resteasy-jaxrs.jar warning: absolute symlink: /usr/share/pki/server/common/lib/tomcatjss.jar -> /usr/share/java/tomcatjss.jar warning: absolute symlink: /usr/share/pki/server/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar warning: absolute symlink: /usr/share/pki/server/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar warning: absolute symlink: /usr/share/pki/server/webapps/pki/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar warning: absolute symlink: /usr/share/pki/server/webapps/pki/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar warning: absolute symlink: /usr/share/pki/server/webapps/pki/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar warning: absolute symlink: /usr/share/pki/server/webapps/pki/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar warning: absolute symlink: /usr/share/pki/server/webapps/pki/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar warning: absolute symlink: /usr/share/pki/server/webapps/pki/ca -> /usr/share/pki/common-ui/ca warning: absolute symlink: /usr/share/pki/server/webapps/pki/css -> /usr/share/pki/common-ui/css warning: absolute symlink: /usr/share/pki/server/webapps/pki/esc -> /usr/share/pki/common-ui/esc warning: absolute symlink: /usr/share/pki/server/webapps/pki/fonts -> /usr/share/pki/common-ui/fonts warning: absolute symlink: /usr/share/pki/server/webapps/pki/images -> /usr/share/pki/common-ui/images warning: absolute symlink: /usr/share/pki/server/webapps/pki/kra -> /usr/share/pki/common-ui/kra warning: absolute symlink: /usr/share/pki/server/webapps/pki/ocsp -> /usr/share/pki/common-ui/ocsp warning: absolute symlink: /usr/share/pki/server/webapps/pki/pki.properties -> /usr/share/pki/common-ui/pki.properties warning: absolute symlink: /usr/share/pki/server/webapps/pki/tks -> /usr/share/pki/common-ui/tks Provides: bundled(js-backbone) = 1.4.0 bundled(js-bootstrap) = 3.4.1 bundled(js-jquery) = 3.5.1 bundled(js-jquery-i18n-properties) = 1.2.7 bundled(js-patternfly) = 3.59.2 bundled(js-underscore) = 1.9.2 config(dogtag-pki-server) = 11.2.1-1.20221121102510UTC.80e42f96.fc38 dogtag-pki-server = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-server = 11.2.1-1.20221121102510UTC.80e42f96.fc38 python3.11dist(pkihealthcheck) = 0.1 python3dist(pkihealthcheck) = 0.1 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd-units Requires(postun): systemd-units Requires: /usr/bin/bash /usr/bin/python3 /usr/bin/sh python(abi) = 3.11 Conflicts: freeipa-server < 4.7.1 Obsoletes: pki-server < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: dogtag-pki-acme-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch warning: absolute symlink: /usr/share/pki/acme/webapps/acme/WEB-INF/lib/pki-acme.jar -> /usr/share/java/pki/pki-acme.jar warning: absolute symlink: /usr/share/pki/acme/webapps/acme/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar warning: absolute symlink: /usr/share/pki/acme/webapps/acme/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar warning: absolute symlink: /usr/share/pki/acme/webapps/acme/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar warning: absolute symlink: /usr/share/pki/acme/webapps/acme/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar warning: absolute symlink: /usr/share/pki/acme/webapps/acme/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar Provides: dogtag-pki-acme = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-acme = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh Obsoletes: pki-acme < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: dogtag-pki-ca-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TWeTo4 + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-ca + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-ca + cp -pr base/ca/LICENSE /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-ca + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/share/pki/ca/webapps/ca/WEB-INF/lib/pki-ca.jar -> /usr/share/java/pki/pki-ca.jar warning: absolute symlink: /usr/share/pki/ca/webapps/ca/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar warning: absolute symlink: /usr/share/pki/ca/webapps/ca/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar warning: absolute symlink: /usr/share/pki/ca/webapps/ca/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar warning: absolute symlink: /usr/share/pki/ca/webapps/ca/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar warning: absolute symlink: /usr/share/pki/ca/webapps/ca/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar warning: absolute symlink: /usr/share/pki/ca/webapps/ca/admin/console -> /usr/share/pki/server/webapps/pki/admin/console Provides: dogtag-pki-ca = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-ca = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): systemd-units Requires(postun): systemd-units Obsoletes: pki-ca < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: dogtag-pki-kra-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.apb7vQ + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-kra + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-kra + cp -pr base/kra/LICENSE /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-kra + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/share/pki/kra/webapps/kra/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar warning: absolute symlink: /usr/share/pki/kra/webapps/kra/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar warning: absolute symlink: /usr/share/pki/kra/webapps/kra/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar warning: absolute symlink: /usr/share/pki/kra/webapps/kra/WEB-INF/lib/pki-kra.jar -> /usr/share/java/pki/pki-kra.jar warning: absolute symlink: /usr/share/pki/kra/webapps/kra/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar warning: absolute symlink: /usr/share/pki/kra/webapps/kra/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar warning: absolute symlink: /usr/share/pki/kra/webapps/kra/admin/console -> /usr/share/pki/server/webapps/pki/admin/console Provides: dogtag-pki-kra = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-kra = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): systemd-units Requires(postun): systemd-units Obsoletes: pki-kra < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: dogtag-pki-ocsp-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.iC3W0F + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-ocsp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-ocsp + cp -pr base/ocsp/LICENSE /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-ocsp + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar warning: absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar warning: absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar warning: absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/WEB-INF/lib/pki-ocsp.jar -> /usr/share/java/pki/pki-ocsp.jar warning: absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar warning: absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar warning: absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/admin/console -> /usr/share/pki/server/webapps/pki/admin/console Provides: dogtag-pki-ocsp = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-ocsp = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): systemd-units Requires(postun): systemd-units Obsoletes: pki-ocsp < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: dogtag-pki-tks-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.46AIlK + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-tks + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-tks + cp -pr base/tks/LICENSE /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-tks + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/share/pki/tks/webapps/tks/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar warning: absolute symlink: /usr/share/pki/tks/webapps/tks/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar warning: absolute symlink: /usr/share/pki/tks/webapps/tks/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar warning: absolute symlink: /usr/share/pki/tks/webapps/tks/WEB-INF/lib/pki-tks.jar -> /usr/share/java/pki/pki-tks.jar warning: absolute symlink: /usr/share/pki/tks/webapps/tks/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar warning: absolute symlink: /usr/share/pki/tks/webapps/tks/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar warning: absolute symlink: /usr/share/pki/tks/webapps/tks/admin/console -> /usr/share/pki/server/webapps/pki/admin/console Provides: dogtag-pki-tks = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-tks = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): systemd-units Requires(postun): systemd-units Obsoletes: pki-tks < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: dogtag-pki-tps-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KG6BzU + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-tps + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-tps + cp -pr base/tps/LICENSE /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-tps + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/share/pki/tps/webapps/tps/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar warning: absolute symlink: /usr/share/pki/tps/webapps/tps/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar warning: absolute symlink: /usr/share/pki/tps/webapps/tps/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar warning: absolute symlink: /usr/share/pki/tps/webapps/tps/WEB-INF/lib/pki-tps.jar -> /usr/share/java/pki/pki-tps.jar warning: absolute symlink: /usr/share/pki/tps/webapps/tps/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar warning: absolute symlink: /usr/share/pki/tps/webapps/tps/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar Provides: dogtag-pki-tps = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-tps = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): systemd-units Requires(postun): systemd-units Requires: /usr/bin/bash Obsoletes: pki-tps < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: dogtag-pki-javadoc-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch Provides: dogtag-pki-javadoc = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-javadoc = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: dogtag-pki-theme < 11.2.1 pki-base < 11.2.1 pki-server-theme < 11.2.1 Obsoletes: pki-javadoc < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: dogtag-pki-theme-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LapsDZ + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-theme + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-theme + cp -pr themes/dogtag/common-ui/LICENSE /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64/usr/share/licenses/dogtag-pki-theme + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/share/pki/server/webapps/pki/ca -> /usr/share/pki/common-ui/ca warning: absolute symlink: /usr/share/pki/server/webapps/pki/css -> /usr/share/pki/common-ui/css warning: absolute symlink: /usr/share/pki/server/webapps/pki/esc -> /usr/share/pki/common-ui/esc warning: absolute symlink: /usr/share/pki/server/webapps/pki/fonts -> /usr/share/pki/common-ui/fonts warning: absolute symlink: /usr/share/pki/server/webapps/pki/images -> /usr/share/pki/common-ui/images warning: absolute symlink: /usr/share/pki/server/webapps/pki/kra -> /usr/share/pki/common-ui/kra warning: absolute symlink: /usr/share/pki/server/webapps/pki/ocsp -> /usr/share/pki/common-ui/ocsp warning: absolute symlink: /usr/share/pki/server/webapps/pki/pki.properties -> /usr/share/pki/common-ui/pki.properties warning: absolute symlink: /usr/share/pki/server/webapps/pki/tks -> /usr/share/pki/common-ui/tks Provides: dogtag-pki-server-theme = 11.2.1-1.20221121102510UTC.80e42f96.fc38 dogtag-pki-theme = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-server-theme = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: pki-base < 11.2.1 pki-javadoc < 11.2.1 Obsoletes: dogtag-pki-server-theme < 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-server-theme < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: dogtag-pki-tests-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch Provides: dogtag-pki-tests = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-tests = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash Obsoletes: pki-tests < 11.2.1-1.20221121102510UTC.80e42f96.fc38 Processing files: pki-debugsource-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 Provides: pki-debugsource = 11.2.1-1.20221121102510UTC.80e42f96.fc38 pki-debugsource(x86-64) = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dogtag-pki-tools-debuginfo-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 Provides: debuginfo(build-id) = 252d6240c1a614ad11ad3315d8abd096105706cf debuginfo(build-id) = 2b1a754dc033d3833f327893efade200282f226f debuginfo(build-id) = 646459eb591c07626a8189f2f8c9322119883ddc debuginfo(build-id) = 960ad9699ea17e0a54e564110d9c9b1d5bfc8b8f debuginfo(build-id) = 9bcdf7adce49dfbffb70cdf1b5aaeaba8c877c95 debuginfo(build-id) = a72d96de8797b4e012fa08baafd658c1568b167b debuginfo(build-id) = dce4c735438065f547cfac6f47daad4e1129bdf3 debuginfo(build-id) = e0da2017a01b84e74df266164320f7e8b6078f30 debuginfo(build-id) = edf1c170be94464ba614083a8f0ee837add2efe1 dogtag-pki-tools-debuginfo = 11.2.1-1.20221121102510UTC.80e42f96.fc38 dogtag-pki-tools-debuginfo(x86-64) = 11.2.1-1.20221121102510UTC.80e42f96.fc38 libtps.so-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pki-debugsource(x86-64) = 11.2.1-1.20221121102510UTC.80e42f96.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 Wrote: /builddir/build/RPMS/dogtag-pki-server-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-theme-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-ca-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-acme-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-tools-debuginfo-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/dogtag-pki-base-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-tools-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/pki-debugsource-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/dogtag-pki-tps-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Wrote: /builddir/build/RPMS/python3-dogtag-pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-java-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-kra-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-ocsp-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-tks-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-tests-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Wrote: /builddir/build/RPMS/dogtag-pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/dogtag-pki-javadoc-11.2.1-1.20221121102510UTC.80e42f96.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bPOwAh + umask 022 + cd /builddir/build/BUILD + cd pki-11.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pki-11.2.1-1.20221121102510UTC.80e42f96.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.2eDHgl + umask 022 + cd /builddir/build/BUILD + rm -rf pki-11.2.1 pki-11.2.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: absolute symlink: /usr/share/pki/lib/commons-cli.jar -> /usr/share/java/commons-cli.jar absolute symlink: /usr/share/pki/lib/commons-codec.jar -> /usr/share/java/commons-codec.jar absolute symlink: /usr/share/pki/lib/commons-io.jar -> /usr/share/java/commons-io.jar absolute symlink: /usr/share/pki/lib/commons-lang3.jar -> /usr/share/java/commons-lang3.jar absolute symlink: /usr/share/pki/lib/commons-logging.jar -> /usr/share/java/commons-logging.jar absolute symlink: /usr/share/pki/lib/commons-net.jar -> /usr/share/java/commons-net.jar absolute symlink: /usr/share/pki/lib/httpclient.jar -> /usr/share/java/httpcomponents/httpclient.jar absolute symlink: /usr/share/pki/lib/httpcore.jar -> /usr/share/java/httpcomponents/httpcore.jar absolute symlink: /usr/share/pki/lib/jackson-annotations.jar -> /usr/share/java/jackson-annotations.jar absolute symlink: /usr/share/pki/lib/jackson-core.jar -> /usr/share/java/jackson-core.jar absolute symlink: /usr/share/pki/lib/jackson-databind.jar -> /usr/share/java/jackson-databind.jar absolute symlink: /usr/share/pki/lib/jackson-jaxrs-base.jar -> /usr/share/java/jackson-jaxrs-providers/jackson-jaxrs-base.jar absolute symlink: /usr/share/pki/lib/jackson-jaxrs-json-provider.jar -> /usr/share/java/jackson-jaxrs-providers/jackson-jaxrs-json-provider.jar absolute symlink: /usr/share/pki/lib/jackson-module-jaxb-annotations.jar -> /usr/share/java/jackson-modules/jackson-module-jaxb-annotations.jar absolute symlink: /usr/share/pki/lib/javax.activation.jar -> /usr/share/java/jakarta-activation/jakarta.activation.jar absolute symlink: /usr/share/pki/lib/javax.annotations-api.jar -> /usr/share/java/jakarta-annotations/jakarta.annotation-api.jar absolute symlink: /usr/share/pki/lib/jaxb-api.jar -> /usr/share/java/jaxb-api.jar absolute symlink: /usr/share/pki/lib/jaxrs-api.jar -> /usr/share/java/jboss-jaxrs-2.0-api.jar absolute symlink: /usr/share/pki/lib/jboss-logging.jar -> /usr/share/java/jboss-logging/jboss-logging.jar absolute symlink: /usr/share/pki/lib/jss.jar -> /usr/lib/java/jss.jar absolute symlink: /usr/share/pki/lib/ldapjdk.jar -> /usr/share/java/ldapjdk.jar absolute symlink: /usr/share/pki/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar absolute symlink: /usr/share/pki/lib/pki-cmsutil.jar -> /usr/share/java/pki/pki-cmsutil.jar absolute symlink: /usr/share/pki/lib/pki-tools.jar -> /usr/share/java/pki/pki-tools.jar absolute symlink: /usr/share/pki/lib/resteasy-client.jar -> /usr/share/java/resteasy/resteasy-client.jar absolute symlink: /usr/share/pki/lib/resteasy-jackson2-provider.jar -> /usr/share/java/resteasy/resteasy-jackson2-provider.jar absolute symlink: /usr/share/pki/lib/resteasy-jaxrs.jar -> /usr/share/java/resteasy/resteasy-jaxrs.jar absolute symlink: /usr/share/pki/lib/servlet.jar -> /usr/share/java/servlet.jar absolute symlink: /usr/share/pki/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar absolute symlink: /usr/share/pki/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar absolute symlink: /usr/bin/DRMTool -> /usr/bin/KRATool absolute symlink: /usr/share/man/man1/DRMTool.1.gz -> /usr/share/man/man1/KRATool.1.gz absolute symlink: /usr/share/pki/lib/p11-kit-trust.so -> /etc/alternatives/libnssckbi.so.x86_64 absolute symlink: /usr/share/pki/tools/DRMTool.cfg -> /usr/share/pki/tools/KRATool.cfg absolute symlink: /usr/share/pki/server/common/lib/commons-codec.jar -> /usr/share/java/commons-codec.jar absolute symlink: /usr/share/pki/server/common/lib/commons-io.jar -> /usr/share/java/commons-io.jar absolute symlink: /usr/share/pki/server/common/lib/commons-lang3.jar -> /usr/share/java/commons-lang3.jar absolute symlink: /usr/share/pki/server/common/lib/commons-logging.jar -> /usr/share/java/commons-logging.jar absolute symlink: /usr/share/pki/server/common/lib/commons-net.jar -> /usr/share/java/commons-net.jar absolute symlink: /usr/share/pki/server/common/lib/httpclient.jar -> /usr/share/java/httpcomponents/httpclient.jar absolute symlink: /usr/share/pki/server/common/lib/httpcore.jar -> /usr/share/java/httpcomponents/httpcore.jar absolute symlink: /usr/share/pki/server/common/lib/jackson-annotations.jar -> /usr/share/java/jackson-annotations.jar absolute symlink: /usr/share/pki/server/common/lib/jackson-core.jar -> /usr/share/java/jackson-core.jar absolute symlink: /usr/share/pki/server/common/lib/jackson-databind.jar -> /usr/share/java/jackson-databind.jar absolute symlink: /usr/share/pki/server/common/lib/jackson-jaxrs-base.jar -> /usr/share/java/jackson-jaxrs-providers/jackson-jaxrs-base.jar absolute symlink: /usr/share/pki/server/common/lib/jackson-jaxrs-json-provider.jar -> /usr/share/java/jackson-jaxrs-providers/jackson-jaxrs-json-provider.jar absolute symlink: /usr/share/pki/server/common/lib/jackson-module-jaxb-annotations.jar -> /usr/share/java/jackson-modules/jackson-module-jaxb-annotations.jar absolute symlink: /usr/share/pki/server/common/lib/javax.activation.jar -> /usr/share/java/jakarta-activation/jakarta.activation.jar absolute symlink: /usr/share/pki/server/common/lib/javax.annotations-api.jar -> /usr/share/java/jakarta-annotations/jakarta.annotation-api.jar absolute symlink: /usr/share/pki/server/common/lib/jaxb-api.jar -> /usr/share/java/jaxb-api.jar absolute symlink: /usr/share/pki/server/common/lib/jaxrs-api.jar -> /usr/share/java/jboss-jaxrs-2.0-api.jar absolute symlink: /usr/share/pki/server/common/lib/jboss-logging.jar -> /usr/share/java/jboss-logging/jboss-logging.jar absolute symlink: /usr/share/pki/server/common/lib/jss-symkey.jar -> /usr/lib/java/jss-symkey.jar absolute symlink: /usr/share/pki/server/common/lib/jss.jar -> /usr/lib/java/jss.jar absolute symlink: /usr/share/pki/server/common/lib/ldapjdk.jar -> /usr/share/java/ldapjdk.jar absolute symlink: /usr/share/pki/server/common/lib/pki-cmsutil.jar -> /usr/share/java/pki/pki-cmsutil.jar absolute symlink: /usr/share/pki/server/common/lib/pki-tomcat.jar -> /usr/share/java/pki/pki-tomcat.jar absolute symlink: /usr/share/pki/server/common/lib/resteasy-client.jar -> /usr/share/java/resteasy/resteasy-client.jar absolute symlink: /usr/share/pki/server/common/lib/resteasy-jackson2-provider.jar -> /usr/share/java/resteasy/resteasy-jackson2-provider.jar absolute symlink: /usr/share/pki/server/common/lib/resteasy-jaxrs.jar -> /usr/share/java/resteasy/resteasy-jaxrs.jar absolute symlink: /usr/share/pki/server/common/lib/tomcatjss.jar -> /usr/share/java/tomcatjss.jar absolute symlink: /usr/share/pki/server/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar absolute symlink: /usr/share/pki/server/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar absolute symlink: /usr/share/pki/server/webapps/pki/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar absolute symlink: /usr/share/pki/server/webapps/pki/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar absolute symlink: /usr/share/pki/server/webapps/pki/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar absolute symlink: /usr/share/pki/server/webapps/pki/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar absolute symlink: /usr/share/pki/server/webapps/pki/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar absolute symlink: /usr/share/pki/server/webapps/pki/ca -> /usr/share/pki/common-ui/ca absolute symlink: /usr/share/pki/server/webapps/pki/css -> /usr/share/pki/common-ui/css absolute symlink: /usr/share/pki/server/webapps/pki/esc -> /usr/share/pki/common-ui/esc absolute symlink: /usr/share/pki/server/webapps/pki/fonts -> /usr/share/pki/common-ui/fonts absolute symlink: /usr/share/pki/server/webapps/pki/images -> /usr/share/pki/common-ui/images absolute symlink: /usr/share/pki/server/webapps/pki/kra -> /usr/share/pki/common-ui/kra absolute symlink: /usr/share/pki/server/webapps/pki/ocsp -> /usr/share/pki/common-ui/ocsp absolute symlink: /usr/share/pki/server/webapps/pki/pki.properties -> /usr/share/pki/common-ui/pki.properties absolute symlink: /usr/share/pki/server/webapps/pki/tks -> /usr/share/pki/common-ui/tks absolute symlink: /usr/share/pki/acme/webapps/acme/WEB-INF/lib/pki-acme.jar -> /usr/share/java/pki/pki-acme.jar absolute symlink: /usr/share/pki/acme/webapps/acme/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar absolute symlink: /usr/share/pki/acme/webapps/acme/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar absolute symlink: /usr/share/pki/acme/webapps/acme/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar absolute symlink: /usr/share/pki/acme/webapps/acme/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar absolute symlink: /usr/share/pki/acme/webapps/acme/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar absolute symlink: /usr/share/pki/ca/webapps/ca/WEB-INF/lib/pki-ca.jar -> /usr/share/java/pki/pki-ca.jar absolute symlink: /usr/share/pki/ca/webapps/ca/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar absolute symlink: /usr/share/pki/ca/webapps/ca/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar absolute symlink: /usr/share/pki/ca/webapps/ca/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar absolute symlink: /usr/share/pki/ca/webapps/ca/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar absolute symlink: /usr/share/pki/ca/webapps/ca/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar absolute symlink: /usr/share/pki/ca/webapps/ca/admin/console -> /usr/share/pki/server/webapps/pki/admin/console absolute symlink: /usr/share/pki/kra/webapps/kra/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar absolute symlink: /usr/share/pki/kra/webapps/kra/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar absolute symlink: /usr/share/pki/kra/webapps/kra/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar absolute symlink: /usr/share/pki/kra/webapps/kra/WEB-INF/lib/pki-kra.jar -> /usr/share/java/pki/pki-kra.jar absolute symlink: /usr/share/pki/kra/webapps/kra/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar absolute symlink: /usr/share/pki/kra/webapps/kra/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar absolute symlink: /usr/share/pki/kra/webapps/kra/admin/console -> /usr/share/pki/server/webapps/pki/admin/console absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/WEB-INF/lib/pki-ocsp.jar -> /usr/share/java/pki/pki-ocsp.jar absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar absolute symlink: /usr/share/pki/ocsp/webapps/ocsp/admin/console -> /usr/share/pki/server/webapps/pki/admin/console absolute symlink: /usr/share/pki/tks/webapps/tks/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar absolute symlink: /usr/share/pki/tks/webapps/tks/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar absolute symlink: /usr/share/pki/tks/webapps/tks/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar absolute symlink: /usr/share/pki/tks/webapps/tks/WEB-INF/lib/pki-tks.jar -> /usr/share/java/pki/pki-tks.jar absolute symlink: /usr/share/pki/tks/webapps/tks/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar absolute symlink: /usr/share/pki/tks/webapps/tks/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar absolute symlink: /usr/share/pki/tks/webapps/tks/admin/console -> /usr/share/pki/server/webapps/pki/admin/console absolute symlink: /usr/share/pki/tps/webapps/tps/WEB-INF/lib/pki-certsrv.jar -> /usr/share/java/pki/pki-certsrv.jar absolute symlink: /usr/share/pki/tps/webapps/tps/WEB-INF/lib/pki-cms.jar -> /usr/share/java/pki/pki-cms.jar absolute symlink: /usr/share/pki/tps/webapps/tps/WEB-INF/lib/pki-cmsbundle.jar -> /usr/share/java/pki/pki-cmsbundle.jar absolute symlink: /usr/share/pki/tps/webapps/tps/WEB-INF/lib/pki-tps.jar -> /usr/share/java/pki/pki-tps.jar absolute symlink: /usr/share/pki/tps/webapps/tps/WEB-INF/lib/slf4j-api.jar -> /usr/share/java/slf4j/slf4j-api.jar absolute symlink: /usr/share/pki/tps/webapps/tps/WEB-INF/lib/slf4j-jdk14.jar -> /usr/share/java/slf4j/slf4j-jdk14.jar absolute symlink: /usr/share/pki/server/webapps/pki/ca -> /usr/share/pki/common-ui/ca absolute symlink: /usr/share/pki/server/webapps/pki/css -> /usr/share/pki/common-ui/css absolute symlink: /usr/share/pki/server/webapps/pki/esc -> /usr/share/pki/common-ui/esc absolute symlink: /usr/share/pki/server/webapps/pki/fonts -> /usr/share/pki/common-ui/fonts absolute symlink: /usr/share/pki/server/webapps/pki/images -> /usr/share/pki/common-ui/images absolute symlink: /usr/share/pki/server/webapps/pki/kra -> /usr/share/pki/common-ui/kra absolute symlink: /usr/share/pki/server/webapps/pki/ocsp -> /usr/share/pki/common-ui/ocsp absolute symlink: /usr/share/pki/server/webapps/pki/pki.properties -> /usr/share/pki/common-ui/pki.properties absolute symlink: /usr/share/pki/server/webapps/pki/tks -> /usr/share/pki/common-ui/tks Child return code was: 0