[Pkg-freeipa-devel] Bug#846714: dogtag-pki: FTBFS: com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:41: error: cannot access RegistrationListener

Lucas Nussbaum lucas at debian.org
Sat Dec 3 07:19:41 UTC 2016


Source: dogtag-pki
Version: 10.3.5-6
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161202 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/build/core/base/native-tools/src/tkstool && /usr/bin/cc  -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/core/base/native-tools/src/tkstool -I/<<PKGBUILDDIR>>/base/native-tools/src/tkstool -I/<<PKGBUILDDIR>>/build/core -I/usr/include/nspr  -I/usr/include/nss -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/nss -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Werror=format-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE   -o CMakeFiles/tkstool.dir/version.c.o   -c /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/version.c
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secerror.c:74:1: warning: no previous prototype for 'SECU_Strerror' [-Wmissing-prototypes]
>  SECU_Strerror(PRErrorCode errNum) {
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secpwd.c: In function 'SEC_GetPassword':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secpwd.c:69:21: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
>  #define QUIET_FGETS fgets
>                      ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secpwd.c:117:2: note: in expansion of macro 'QUIET_FGETS'
>   QUIET_FGETS ( phrase, sizeof(phrase), input);
>   ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c: In function 'main':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:155:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      char                          *DBPrefix                    = "";
>                                                                   ^~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:161:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      char                          *slotname                    = "internal";
>                                                                   ^~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:878:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>          if( errLen > 0 && errLen < sizeof buffer ) {
>                                   ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:888:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>          if( errLen > 0 && errLen < sizeof buffer ) {
>                                   ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:919:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>              if( errLen > 0 && errLen < sizeof buffer ) {
>                                       ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:931:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>              if( errLen > 0 && errLen < sizeof buffer ) {
>                                       ^
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:20:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:88:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define FIRST_SESSION_KEY_SHARE                "first"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:1052:42: note: in expansion of macro 'FIRST_SESSION_KEY_SHARE'
>                                           FIRST_SESSION_KEY_SHARE,
>                                           ^~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:212:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_GenerateSessionKeyShare( char    *sessionKeyShareName,
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:88:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define FIRST_SESSION_KEY_SHARE                "first"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:1070:46: note: in expansion of macro 'FIRST_SESSION_KEY_SHARE'
>                                               FIRST_SESSION_KEY_SHARE,
>                                               ^~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:216:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_InputSessionKeyShare( char    *sessionKeyShareName,
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:76:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template {aka const struct sec_ASN1Template_struct}' [-Wmissing-field-initializers]
>     offsetof(CERTPolicyQualifier, qualifierID) },
>     ^~~~~~~~
> In file included from /usr/include/nss/secoid.h:18:0,
>                  from /usr/include/nss/secmodt.h:9,
>                  from /usr/include/nss/keythi.h:9,
>                  from /usr/include/nss/keyt.h:8,
>                  from /usr/include/nss/cert.h:21,
>                  from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:53:
> /usr/include/nss/secasn1t.h:47:17: note: 'sub' declared here
>      const void *sub;
>                  ^~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:78:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template {aka const struct sec_ASN1Template_struct}' [-Wmissing-field-initializers]
>     offsetof(CERTPolicyQualifier, qualifierValue) },
>     ^~~~~~~~
> In file included from /usr/include/nss/secoid.h:18:0,
>                  from /usr/include/nss/secmodt.h:9,
>                  from /usr/include/nss/keythi.h:9,
>                  from /usr/include/nss/keyt.h:8,
>                  from /usr/include/nss/cert.h:21,
>                  from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:53:
> /usr/include/nss/secasn1t.h:47:17: note: 'sub' declared here
>      const void *sub;
>                  ^~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:90:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define SECOND_SESSION_KEY_SHARE               "second"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:1131:43: note: in expansion of macro 'SECOND_SESSION_KEY_SHARE'
>                                            SECOND_SESSION_KEY_SHARE,
>                                            ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:212:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_GenerateSessionKeyShare( char    *sessionKeyShareName,
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:86:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template {aka const struct sec_ASN1Template_struct}' [-Wmissing-field-initializers]
>     offsetof(CERTPolicyInfo, policyID) },
>     ^~~~~~~~
> In file included from /usr/include/nss/secoid.h:18:0,
>                  from /usr/include/nss/secmodt.h:9,
>                  from /usr/include/nss/keythi.h:9,
>                  from /usr/include/nss/keyt.h:8,
>                  from /usr/include/nss/cert.h:21,
>                  from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:53:
> /usr/include/nss/secasn1t.h:47:17: note: 'sub' declared here
>      const void *sub;
>                  ^~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:89:4: warning: missing initializer for field 'size' of 'SEC_ASN1Template {aka const struct sec_ASN1Template_struct}' [-Wmissing-field-initializers]
>     secu_PolicyQualifierTemplate },
>     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/nss/secoid.h:18:0,
>                  from /usr/include/nss/secmodt.h:9,
>                  from /usr/include/nss/keythi.h:9,
>                  from /usr/include/nss/keyt.h:8,
>                  from /usr/include/nss/cert.h:21,
>                  from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:53:
> /usr/include/nss/secasn1t.h:55:18: note: 'size' declared here
>      unsigned int size;
>                   ^~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:90:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define SECOND_SESSION_KEY_SHARE               "second"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:1149:47: note: in expansion of macro 'SECOND_SESSION_KEY_SHARE'
>                                                SECOND_SESSION_KEY_SHARE,
>                                                ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:216:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_InputSessionKeyShare( char    *sessionKeyShareName,
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:92:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define THIRD_SESSION_KEY_SHARE                "third"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:1277:42: note: in expansion of macro 'THIRD_SESSION_KEY_SHARE'
>                                           THIRD_SESSION_KEY_SHARE,
>                                           ^~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:212:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_GenerateSessionKeyShare( char    *sessionKeyShareName,
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:92:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define THIRD_SESSION_KEY_SHARE                "third"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:1295:46: note: in expansion of macro 'THIRD_SESSION_KEY_SHARE'
>                                               THIRD_SESSION_KEY_SHARE,
>                                               ^~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:216:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_InputSessionKeyShare( char    *sessionKeyShareName,
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:200:9: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>          "Display Text", level+1);
>          ^~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:58:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.h:283:13: note: expected 'char *' but argument is of type 'const char *'
>  extern void SECU_PrintString(FILE *out, SECItem *si, char *m, int level);
>              ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:109:48: warning: passing argument 1 of 'TKS_ImportSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define FIRST_SYMMETRIC_KEY                    "first"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:1422:53: note: in expansion of macro 'FIRST_SYMMETRIC_KEY'
>          firstSymmetricKey = TKS_ImportSymmetricKey( FIRST_SYMMETRIC_KEY,
>                                                      ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:181:37: warning: unused parameter 'msg' [-Wunused-parameter]
>                                char *msg, int level)
>                                      ^~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:220:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_ImportSymmetricKey( char              *symmetricKeyName,
>  ^~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintPolicyQualifier':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:216:6: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       "Policy Qualifier Name", level);
>       ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:58:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.h:200:18: note: expected 'char *' but argument is of type 'const char *'
>  extern SECOidTag SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level);
>                   ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:110:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define SECOND_SYMMETRIC_KEY                   "second"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:1457:54: note: in expansion of macro 'SECOND_SYMMETRIC_KEY'
>          secondSymmetricKey = TKS_DeriveSymmetricKey( SECOND_SYMMETRIC_KEY,
>                                                       ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:228:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_DeriveSymmetricKey( char              *symmetricKeyName,
>  ^~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:229:37: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintAny(out, qualifierValue, "Policy Qualifier Data", level);
>                                      ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:58:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.h:284:13: note: expected 'char *' but argument is of type 'const char *'
>  extern void SECU_PrintAny(FILE *out, SECItem *i, char *m, int level);
>              ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:111:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define THIRD_SYMMETRIC_KEY                    "third"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:1494:53: note: in expansion of macro 'THIRD_SYMMETRIC_KEY'
>          thirdSymmetricKey = TKS_DeriveSymmetricKey( THIRD_SYMMETRIC_KEY,
>                                                      ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:228:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_DeriveSymmetricKey( char              *symmetricKeyName,
>  ^~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintPolicyInfo':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:241:52: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>     SECU_PrintObjectID(out, &policyInfo->policyID , "Policy Name", level);
>                                                     ^~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:58:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.h:200:18: note: expected 'char *' but argument is of type 'const char *'
>  extern SECOidTag SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level);
>                   ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:244:50: warning: passing argument 3 of 'secu_PrintPolicyQualifier' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   secu_PrintPolicyQualifier(out,*policyQualifiers,"",level+1);
>                                                   ^~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:116:48: warning: passing argument 1 of 'TKS_StoreSymmetricKeyAndNameIt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define TRANSPORT_KEY                          "transport"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:1521:62: note: in expansion of macro 'TRANSPORT_KEY'
>          rvSymmetricKeyname = TKS_StoreSymmetricKeyAndNameIt( TRANSPORT_KEY,
>                                                               ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:237:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_StoreSymmetricKeyAndNameIt( char              *symmetricKeyName,
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:209:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintPolicyQualifier(FILE *out,CERTPolicyQualifier *policyQualifier,
>  ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:236:65: warning: unused parameter 'msg' [-Wunused-parameter]
>  secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,char *msg,int level)
>                                                                  ^~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c: In function 'SECU_PrintPolicy':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:263:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintAny(out, value, "Invalid Policy Data", level);
>                             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:58:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.h:284:13: note: expected 'char *' but argument is of type 'const char *'
>  extern void SECU_PrintAny(FILE *out, SECItem *i, char *m, int level);
>              ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:113:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define RESIDENT_KEY                           "resident"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:1599:57: note: in expansion of macro 'RESIDENT_KEY'
>                                                          RESIDENT_KEY,
>                                                          ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:201:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_ComputeAndDisplayKCV( PRUint8    *newKey,
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:269:40: warning: passing argument 3 of 'secu_PrintPolicyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   secu_PrintPolicyInfo(out,*policyInfos,"",level);
>                                         ^~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:236:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,char *msg,int level)
>  ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c: In function 'SECU_PrintPrivKeyUsagePeriodExtension':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:292:50: warning: passing argument 3 of 'SECU_PrintGeneralizedTime' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintGeneralizedTime(out, &prd->notBefore, "Not Before", level);
>                                                   ^~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:58:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.h:224:13: note: expected 'char *' but argument is of type 'const char *'
>  extern void SECU_PrintGeneralizedTime(FILE *out, SECItem *t, char *m,
>              ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:295:50: warning: passing argument 3 of 'SECU_PrintGeneralizedTime' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintGeneralizedTime(out, &prd->notAfter,  "Not After ", level);
>                                                   ^~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/pppolicy.c:58:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.h:224:13: note: expected 'char *' but argument is of type 'const char *'
>  extern void SECU_PrintGeneralizedTime(FILE *out, SECItem *t, char *m,
>              ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:113:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define RESIDENT_KEY                           "resident"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:1770:57: note: in expansion of macro 'RESIDENT_KEY'
>                                                          RESIDENT_KEY,
>                                                          ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:201:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_ComputeAndDisplayKCV( PRUint8    *newKey,
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:117:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define UNWRAPPED_KEY                          "unwrapped"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:2161:43: note: in expansion of macro 'UNWRAPPED_KEY'
>                                            UNWRAPPED_KEY,
>                                            ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:201:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_ComputeAndDisplayKCV( PRUint8    *newKey,
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:118:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define WRAPPED_KEY                            "wrapped"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.c:2407:57: note: in expansion of macro 'WRAPPED_KEY'
>                                                          WRAPPED_KEY,
>                                                          ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:201:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_ComputeAndDisplayKCV( PRUint8    *newKey,
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:99:1: warning: no previous prototype for 'SECU_GetString' [-Wmissing-prototypes]
>  SECU_GetString(int16 error_number)
>  ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: warning: no previous prototype for 'SECU_PrintErrMsg' [-Wmissing-prototypes]
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintErrMsg':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:118:5: warning: function might be possible candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
>      vfprintf(out, msg, args);
>      ^~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintError':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:137:5: warning: function might be possible candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
>      vfprintf(stderr, msg, args);
>      ^~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSystemError':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:153:5: warning: function might be possible candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
>      vfprintf(stderr, msg, args);
>      ^~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/file.c: In function 'TKS_ReadInputFileIntoSECItem':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/file.c:26:40: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter]
>                                char    *wrappedKeyName,
>                                         ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_GetPasswordString':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:172:30: warning: unused parameter 'arg' [-Wunused-parameter]
>  SECU_GetPasswordString(void *arg, char *prompt)
>                               ^~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_FilePasswd':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:222:31: warning: unused parameter 'slot' [-Wunused-parameter]
>  SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg)
>                                ^~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_GetModulePassword':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:263:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      secuPWData pwxtrn = { PW_EXTERNAL, "external" };
>                                         ^~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: At top level:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:308:1: warning: no previous prototype for 'secu_InitSlotPassword' [-Wmissing-prototypes]
>  secu_InitSlotPassword(PK11SlotInfo *slot, PRBool retry, void *arg)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/file.c: In function 'TKS_WriteSECItemIntoOutputFile':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/file.c:318:42: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter]
>                                  char    *wrappedKeyName,
>                                           ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_InitSlotPassword':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:351:38: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   p0 = SEC_GetPassword(input, output, "Enter new password: ",
>                                       ^~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:60:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.h:123:14: note: expected 'char *' but argument is of type 'const char *'
>  extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg,
>               ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:356:38: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   p1 = SEC_GetPassword(input, output, "Re-enter password: ",
>                                       ^~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:60:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.h:123:14: note: expected 'char *' but argument is of type 'const char *'
>  extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg,
>               ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/list.c: In function 'TKS_ListKeys':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/list.c:132:19: warning: unused parameter 'index' [-Wunused-parameter]
>                int index,
>                    ^~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/list.c:133:22: warning: unused parameter 'dopriv' [-Wunused-parameter]
>                PRBool dopriv,
>                       ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ChangePW':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:376:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable]
>      SECStatus rv;
>                ^~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ConfigDirectory':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:485:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   if (!home) home = "";
>                   ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_GetClientAuthData':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:505:47: warning: unused parameter 'fd' [-Wunused-parameter]
>  SECU_GetClientAuthData(void *arg, PRFileDesc *fd,
>                                                ^~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:506:35: warning: unused parameter 'caNames' [-Wunused-parameter]
>           struct CERTDistNamesStr *caNames,
>                                    ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: At top level:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:546:1: warning: no previous prototype for 'secu_StdinToItem' [-Wmissing-prototypes]
>  secu_StdinToItem(SECItem *dst)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ReadDERFromFile':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:671:2: warning: missing initializer for field 'len' of 'SECItem {aka struct SECItemStr}' [-Wmissing-field-initializers]
>   SECItem filedata = {siBuffer,0};
>   ^~~~~~~
> In file included from /usr/include/nss/blapit.h:11:0,
>                  from /usr/include/nss/cryptohi.h:11,
>                  from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:59:
> /usr/include/nss/seccomon.h:54:18: note: 'len' declared here
>      unsigned int len;
>                   ^~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/util.c:348:1: warning: no previous prototype for 'TKS_ClearScreen' [-Wmissing-prototypes]
>  TKS_ClearScreen()
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/util.c:359:1: warning: no previous prototype for 'TKS_WaitForUser' [-Wmissing-prototypes]
>  TKS_WaitForUser()
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/util.c:377:1: warning: no previous prototype for 'TKS_TypeProceedToContinue' [-Wmissing-prototypes]
>  TKS_TypeProceedToContinue()
>  ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: At top level:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:877:1: warning: no previous prototype for 'SECU_StripTagAndLength' [-Wmissing-prototypes]
>  SECU_StripTagAndLength(SECItem *i)
>  ^~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/util.c: In function 'TKS_TypeProceedToContinue':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/util.c:387:20: warning: variable 'orig_lflag' set but not used [-Wunused-but-set-variable]
>      tcflag_t       orig_lflag;
>                     ^~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/util.c:386:20: warning: variable 'orig_cc_time' set but not used [-Wunused-but-set-variable]
>      cc_t           orig_cc_time;
>                     ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/util.c:385:20: warning: variable 'orig_cc_min' set but not used [-Wunused-but-set-variable]
>      cc_t           orig_cc_min;
>                     ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/util.c:383:20: warning: variable 'rv' set but not used [-Wunused-but-set-variable]
>      int            rv = 0;
>                     ^~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/help.c: In function 'TKS_PrintHelp':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/help.c:86:22: warning: unused parameter 'progName' [-Wunused-parameter]
>  TKS_PrintHelp( char *progName )
>                       ^~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1077:1: warning: no previous prototype for 'SECU_PrintSet' [-Wmissing-prototypes]
>  SECU_PrintSet(FILE *out, SECItem *t, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/util.c: In function 'TKS_ClearScreen':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/util.c:351:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
>      system( "tput clear" );
>      ^~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c: In function 'InputHexSessionKey':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:224:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>      for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) {
>                    ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:229:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>      for( i = count; i < hexSessionKeyShare->len; i += 4 ) {
>                        ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1209:1: warning: no previous prototype for 'SECU_PrintEncodedBoolean' [-Wmissing-prototypes]
>  SECU_PrintEncodedBoolean(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1218:1: warning: no previous prototype for 'SECU_PrintEncodedInteger' [-Wmissing-prototypes]
>  SECU_PrintEncodedInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1227:1: warning: no previous prototype for 'SECU_PrintEncodedObjectID' [-Wmissing-prototypes]
>  SECU_PrintEncodedObjectID(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c: In function 'TKS_GenerateSessionKeyShare':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:889:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>          for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) {
>                        ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:894:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>          for( i = count; i < hexSessionKeyShare.len; i += 4 ) {
>                            ^
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:20:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:114:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define SESSION_KEY                            "session"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:913:53: note: in expansion of macro 'SESSION_KEY'
>                                                      SESSION_KEY,
>                                                      ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintValidity':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:464:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_ComputeAndDisplayKCV( PRUint8    *newKey,
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1381:46: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintTimeChoice(out, &v->notBefore, "Not Before", level+1);
>                                               ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1057:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:20:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c: In function 'TKS_InputSessionKeyShare':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:114:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define SESSION_KEY                            "session"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:1022:53: note: in expansion of macro 'SESSION_KEY'
>                                                      SESSION_KEY,
>                                                      ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:464:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_ComputeAndDisplayKCV( PRUint8    *newKey,
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1382:46: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintTimeChoice(out, &v->notAfter,  "Not After ", level+1);
>                                               ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1057:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:20:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c: In function 'TKS_StoreSymmetricKeyAndNameIt':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/tkstool.h:116:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>  #define TRANSPORT_KEY                          "transport"
>                                                 ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:1285:61: note: in expansion of macro 'TRANSPORT_KEY'
>                                                              TRANSPORT_KEY,
>                                                              ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/key.c:464:1: note: expected 'char *' but argument is of type 'const char *'
>  TKS_ComputeAndDisplayKCV( PRUint8    *newKey,
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAttribute':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1447:44: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintObjectID(out, &(attr->type), "Type", level+1);
>                                             ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1388:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintRSAPublicKey':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1476:48: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &pk->u.rsa.modulus, "Modulus", level+1);
>                                                 ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1477:55: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &pk->u.rsa.publicExponent, "Exponent", level+1);
>                                                        ^~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintDSAPublicKey':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1488:53: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &pk->u.dsa.params.prime, "Prime", level+1);
>                                                      ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1489:56: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &pk->u.dsa.params.subPrime, "Subprime", level+1);
>                                                         ^~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1490:52: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &pk->u.dsa.params.base, "Base", level+1);
>                                                     ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1491:52: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &pk->u.dsa.publicValue, "PublicValue", level+1);
>                                                     ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1521:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintAlgorithmID(out, &i->algorithm, "Public Key Algorithm", level+1);
>                                                ^~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1418:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1527:38: warning: passing argument 3 of 'secu_PrintRSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       secu_PrintRSAPublicKey(out, pk, "RSA Public Key", level +1);
>                                       ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1472:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintRSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1531:38: warning: passing argument 3 of 'secu_PrintDSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       secu_PrintDSAPublicKey(out, pk, "DSA Public Key", level +1);
>                                       ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1485:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintDSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1553:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing public key");
>                                ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1553:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing public key");
>                                         ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1556:47: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       SECU_PrintAny(out, &i->subjectPublicKey, "Raw", level);
>                                                ^~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1515:56: warning: unused parameter 'arena' [-Wunused-parameter]
>  secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena,
>                                                         ^~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintX509InvalidDate':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1577:22: warning: passing argument 2 of 'CERT_GenTime2FormattedAscii' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>         (invalidTime, "%a %b %d %H:%M:%S %Y");
>                       ^~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.h:54:0,
>                  from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:60:
> /usr/include/nss/secder.h:156:14: note: expected 'char *' but argument is of type 'const char *'
>  extern char *CERT_GenTime2FormattedAscii (PRTime genTime, char *format);
>               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintNSCertType':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1651:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintAny(out, value, "Data", level);
>                             ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintX509KeyUsage':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1700:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintAny(out, value, "Data", level);
>                             ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1690:57: warning: unused parameter 'msg' [-Wunused-parameter]
>  secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level)
>                                                          ^~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintGeneralName':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1768:53: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintAny(     out, &gname->name.OthName.name, "Other Name", level);
>                                                      ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1769:53: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintObjectID(out, &gname->name.OthName.oid,  "OID",      level+1);
>                                                      ^~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1388:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1772:50: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintName(out, &gname->name.directoryName, "Directory Name", level);
>                                                   ^~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:60:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.h:293:13: note: expected 'char *' but argument is of type 'const char *'
>  extern void SECU_PrintName(FILE *out, CERTName *name, char *msg, int level);
>              ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1775:50: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   secu_PrintRawString(   out, &gname->name.other, "RFC822 Name", level);
>                                                   ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:924:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintRawString(FILE *out, SECItem *si, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1778:50: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   secu_PrintRawString(   out, &gname->name.other, "DNS name", level);
>                                                   ^~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:924:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintRawString(FILE *out, SECItem *si, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1781:50: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   secu_PrintRawString(   out, &gname->name.other, "URI", level);
>                                                   ^~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:924:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintRawString(FILE *out, SECItem *si, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1784:47: warning: passing argument 3 of 'secu_PrintIPAddress' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   secu_PrintIPAddress(out, &gname->name.other, "IP Address", level);
>                                                ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1725:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintIPAddress(FILE *out, SECItem *value, char *msg, int level)
>  ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1787:47: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintObjectID( out, &gname->name.other, "Registered ID", level);
>                                                ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1388:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1790:47: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintAny(      out, &gname->name.other, "X400 Address", level);
>                                                ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1793:47: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintAny(      out, &gname->name.other, "EDI Party", level);
>                                                ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAuthKeyIDExtension':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1810:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintError("Error", "Allocating new ArenaPool");
>                   ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:128:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintError(char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1810:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintError("Error", "Allocating new ArenaPool");
>                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:128:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintError(char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1815:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing extension");
>                                ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1815:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing extension");
>                                         ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1816:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintAny(out, value, "Data", level);
>                             ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1834:54: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       secu_PrintGeneralName(out, kid->authCertIssuer, "Issuer", level);
>                                                       ^~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1760:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1837:22: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>                       "Serial Number", level);
>                       ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1804:63: warning: unused parameter 'msg' [-Wunused-parameter]
>  secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level)
>                                                                ^~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAltNameExtension':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1851:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintError("Error", "Allocating new ArenaPool");
>                   ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:128:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintError(char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1851:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintError("Error", "Allocating new ArenaPool");
>                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:128:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintError(char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1860:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing extension");
>                                ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1860:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing extension");
>                                         ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1861:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintAny(out, value, "Data", level);
>                             ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintCRLDistPtsExtension':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1878:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintError("Error", "Allocating new ArenaPool");
>                   ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:128:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintError(char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1878:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintError("Error", "Allocating new ArenaPool");
>                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:128:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintError(char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1895:45: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>    SECU_PrintAny(out, &pPoint->derDistPoint, "Point", level);
>                                              ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1898:53: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>    secu_PrintDecodedBitString(out, &pPoint->reasons, "Reasons",
>                                                      ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1190:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1902:49: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>    secu_PrintGeneralName(out, pPoint->crlIssuer, "Issuer", level);
>                                                  ^~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1760:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1906:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing extension");
>                                ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1906:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing extension");
>                                         ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1907:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintAny(out, value, "Data", level);
>                             ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1872:64: warning: unused parameter 'msg' [-Wunused-parameter]
>  secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level)
>                                                                 ^~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintNameConstraintSubtree':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1923:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       SECU_PrintInteger(out, &value->min, "Minimum", level+1);
>                                           ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1925:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       SECU_PrintInteger(out, &value->max, "Maximum", level+1);
>                                           ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintNameConstraintsExtension':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1937:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintError("Error", "Allocating new ArenaPool");
>                   ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:128:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintError(char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1937:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintError("Error", "Allocating new ArenaPool");
>                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:128:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintError(char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1942:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing extension");
>                                ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1942:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing extension");
>                                         ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1943:32: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       SECU_PrintAny(out, value, "Raw", level);
>                                 ^~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1947:38: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>                                       "Permitted", level);
>                                       ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1914:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintNameConstraintSubtree(FILE *out, CERTNameConstraint *value,
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1950:38: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>                                       "Excluded", level);
>                                       ^~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1914:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintNameConstraintSubtree(FILE *out, CERTNameConstraint *value,
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1931:69: warning: unused parameter 'msg' [-Wunused-parameter]
>  secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, char *msg, int level)
>                                                                      ^~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAuthorityInfoAcess':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1963:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintError("Error", "Allocating new ArenaPool");
>                   ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:128:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintError(char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1963:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintError("Error", "Allocating new ArenaPool");
>                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:128:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintError(char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1968:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing extension");
>                                ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1968:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing extension");
>                                         ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1969:32: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       SECU_PrintAny(out, value, "Raw", level);
>                                 ^~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1974:42: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>    SECU_PrintObjectID(out, &info->method, "Method", level);
>                                           ^~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1388:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1980:46: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>    secu_PrintGeneralName(out, info->location, "Location", level);
>                                               ^~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1760:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1982:42: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>    SECU_PrintAny(out, &info->derLocation, "Location", level);
>                                           ^~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1957:63: warning: unused parameter 'msg' [-Wunused-parameter]
>  secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level)
>                                                                ^~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintExtensions':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2005:39: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       SECU_PrintObjectID(out, tmpitem, "Name", level);
>                                        ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1388:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2018:46: warning: passing argument 3 of 'secu_PrintX509InvalidDate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       secu_PrintX509InvalidDate(out, tmpitem, "Date", level );
>                                               ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1562:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintX509InvalidDate(FILE *out, SECItem *value, char *msg, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2021:37: warning: passing argument 3 of 'SECU_PrintPolicy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       SECU_PrintPolicy(out, tmpitem, "Data", level );
>                                      ^~~~~~
> In file included from /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:60:0:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.h:286:13: note: expected 'char *' but argument is of type 'const char *'
>  extern void SECU_PrintPolicy(FILE *out, SECItem *value, char *msg, int level);
>              ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2033:37: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        SECU_PrintString(out,tmpitem, "URL", level);
>                                      ^~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:956:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintString(FILE *out, SECItem *si, char *m, int level)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2036:37: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        SECU_PrintString(out,tmpitem, "Comment", level);
>                                      ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:956:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintString(FILE *out, SECItem *si, char *m, int level)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2039:37: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        SECU_PrintString(out,tmpitem, "ServerName", level);
>                                      ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:956:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintString(FILE *out, SECItem *si, char *m, int level)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2042:40: warning: passing argument 3 of 'secu_PrintNSCertType' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        secu_PrintNSCertType(out,tmpitem,"Data",level);
>                                         ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1641:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintNSCertType(FILE *out, SECItem *value, char *msg, int level)
>  ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2045:46: warning: passing argument 3 of 'secu_PrintBasicConstraints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        secu_PrintBasicConstraints(out,tmpitem,"Data",level);
>                                               ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1606:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintBasicConstraints(FILE *out, SECItem *value, char *msg, int level) {
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2110:35: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        SECU_PrintAny(out, tmpitem, "Data", level);
>                                    ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintName':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2130:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       str = "!Invalid AVA!";
>           ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'printflags':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2151:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations]
>      if (flags & CERTDB_VALID_PEER)
>      ^~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertNickname':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2194:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>          name = "(NULL)";
>               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: At top level:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2213:1: warning: no previous prototype for 'SECU_DecodeAndPrintExtensions' [-Wmissing-prototypes]
>  SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2234:1: warning: no previous prototype for 'SECU_PrintSetOfExtensions' [-Wmissing-prototypes]
>  SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSetOfExtensions':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2241:55: warning: passing argument 3 of 'SECU_DecodeAndPrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       rv |= SECU_DecodeAndPrintExtensions(out, any[0], "", level);
>                                                        ^~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2213:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: At top level:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2249:1: warning: no previous prototype for 'SECU_PrintSetOfAny' [-Wmissing-prototypes]
>  SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSetOfAny':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2256:33: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       SECU_PrintAny(out, any[0], "", level);
>                                  ^~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: At top level:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2263:1: warning: no previous prototype for 'SECU_PrintCertAttribute' [-Wmissing-prototypes]
>  SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertAttribute':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2267:52: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      tag = SECU_PrintObjectID(out, &attr->attrType, "Attribute Type", level);
>                                                     ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1388:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2269:55: warning: passing argument 3 of 'SECU_PrintSetOfExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   rv = SECU_PrintSetOfExtensions(out, attr->attrValue, "Extensions", level);
>                                                        ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2234:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2271:48: warning: passing argument 3 of 'SECU_PrintSetOfAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   rv = SECU_PrintSetOfAny(out, attr->attrValue, "Attribute Values", level);
>                                                 ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2249:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2263:63: warning: unused parameter 'm' [-Wunused-parameter]
>  SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level)
>                                                                ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: At top level:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2277:1: warning: no previous prototype for 'SECU_PrintCertAttributes' [-Wmissing-prototypes]
>  SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertificateRequest':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2309:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &cr->version, "Version", level+1);
>                                           ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2310:39: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintName(out, &cr->subject, "Subject", level+1);
>                                        ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2122:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintName(FILE *out, CERTName *name, char *msg, int level)
>  ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2312:10: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>           "Subject Public Key Info", level+1);
>           ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1515:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena,
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2314:48: warning: passing argument 3 of 'SECU_PrintCertAttributes' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintCertAttributes(out, cr->attributes, "Attributes", level+1);
>                                                 ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2277:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertificate':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2341:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing extension");
>                                ^~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2341:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintErrMsg(out, level, "Error", "Parsing extension");
>                                         ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:108:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2342:26: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintAny(out, der, "Raw", level);
>                           ^~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1360:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAny(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2350:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &c->serialNumber, "Serial Number", level+1);
>                                               ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2351:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintAlgorithmID(out, &c->signature, "Signature Algorithm", level+1);
>                                                ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1418:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2352:37: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintName(out, &c->issuer, "Issuer", level+1);
>                                      ^~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2122:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintName(FILE *out, CERTName *name, char *msg, int level)
>  ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2353:43: warning: passing argument 3 of 'secu_PrintValidity' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      secu_PrintValidity(out, &c->validity, "Validity", level+1);
>                                            ^~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1378:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintValidity(FILE *out, CERTValidity *v, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2354:38: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintName(out, &c->subject, "Subject", level+1);
>                                       ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2122:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintName(FILE *out, CERTName *name, char *msg, int level)
>  ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2356:10: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>           "Subject Public Key Info", level+1);
>           ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1515:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena,
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2358:48: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   secu_PrintDecodedBitString(out, &c->issuerID, "Issuer Unique ID", level+1);
>                                                 ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1190:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2360:49: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   secu_PrintDecodedBitString(out, &c->subjectID, "Subject Unique ID", level+1);
>                                                  ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1190:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2361:46: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintExtensions(out, c->extensions, "Signed Extensions", level+1);
>                                               ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1991:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintExtensions(FILE *out, CERTCertExtension **extensions,
>  ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7EncContent':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2488:6: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       "Content Encryption Algorithm", level+1);
>       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1418:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintRecipientInfo':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2502:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &(info->version), "Version", level + 1);
>                                               ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2504:55: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintName(out, &(info->issuerAndSN->issuer), "Issuer",
>                                                        ^~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2122:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintName(FILE *out, CERTName *name, char *msg, int level)
>  ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2507:9: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>          "Serial Number", level + 1);
>          ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2511:4: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>     "Key Encryption Algorithm", level + 1);
>     ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1418:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintSignerInfo':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2527:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &(info->version), "Version", level + 1);
>                                               ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2529:55: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintName(out, &(info->issuerAndSN->issuer), "Issuer",
>                                                        ^~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2122:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintName(FILE *out, CERTName *name, char *msg, int level)
>  ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2532:9: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>          "Serial Number", level + 1);
>          ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2534:52: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintAlgorithmID(out, &(info->digestAlg), "Digest Algorithm",
>                                                     ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1418:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2549:4: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>     "Digest Encryption Algorithm", level + 1);
>     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1418:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCRLInfo':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2580:54: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintAlgorithmID(out, &(crl->signatureAlg), "Signature Algorithm",
>                                                       ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1418:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2582:39: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintName(out, &(crl->name), "Issuer", level + 1);
>                                        ^~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2122:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintName(FILE *out, CERTName *name, char *msg, int level)
>  ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2583:51: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintTimeChoice(out, &(crl->lastUpdate), "This Update", level + 1);
>                                                    ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1057:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2585:48: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   SECU_PrintTimeChoice(out, &(crl->nextUpdate), "Next Update", level + 1);
>                                                 ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1057:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2592:53: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       SECU_PrintInteger(out, &(entry->serialNumber), "Serial Number",
>                                                      ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2595:27: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>                            "Revocation Date", level + 2);
>                            ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1057:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2597:27: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>                            "Entry Extensions", level + 2);
>                            ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1991:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintExtensions(FILE *out, CERTCertExtension **extensions,
>  ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2600:48: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintExtensions(out, crl->extensions, "CRL Extensions", level + 1);
>                                                 ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1991:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintExtensions(FILE *out, CERTCertExtension **extensions,
>  ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7Signed':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2619:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &(src->version), "Version", level + 1);
>                                              ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2633:9: warning: passing argument 3 of 'secu_PrintPKCS7ContentInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>          "Content Information", level + 1);
>          ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2464:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintPKCS7ContentInfo(FILE *, SEC_PKCS7ContentInfo *, char *, int);
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2659:7: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        "Signature Algorithm", level+3);
>        ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1418:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2663:41: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List",
>                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2569:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7Enveloped':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2695:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &(src->version), "Version", level + 1);
>                                              ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2709:10: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>           "Encrypted Content Information", level + 1);
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2471:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintPKCS7EncContent(FILE *out, SEC_PKCS7EncryptedContentInfo *src,
>  ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7SignedAndEnveloped':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2730:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &(src->version), "Version", level + 1);
>                                              ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2754:10: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>           "Encrypted Content Information", level + 1);
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2471:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintPKCS7EncContent(FILE *out, SEC_PKCS7EncryptedContentInfo *src,
>  ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2778:7: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        "Signature Algorithm", level+3);
>        ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1418:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2782:41: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List",
>                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2569:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7Encrypted':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2835:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &(src->version), "Version", level + 1);
>                                              ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2838:10: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>           "Encrypted Content Information", level + 1);
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2471:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintPKCS7EncContent(FILE *out, SEC_PKCS7EncryptedContentInfo *src,
>  ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintPKCS7Digested':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2850:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintInteger(out, &(src->version), "Version", level + 1);
>                                              ^~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:899:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level)
>  ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2852:49: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintAlgorithmID(out, &src->digestAlg, "Digest Algorithm",
>                                                  ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1418:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2854:56: warning: passing argument 3 of 'secu_PrintPKCS7ContentInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      secu_PrintPKCS7ContentInfo(out, &src->contentInfo, "Content Information",
>                                                         ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2464:1: note: expected 'char *' but argument is of type 'const char *'
>  secu_PrintPKCS7ContentInfo(FILE *, SEC_PKCS7ContentInfo *, char *, int);
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: At top level:
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2952:1: warning: no previous prototype for 'printFlags' [-Wmissing-prototypes]
>  printFlags(FILE *out, unsigned int flags, int level)
>  ^~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'printFlags':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2954:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations]
>      if ( flags & CERTDB_VALID_PEER ) {
>      ^~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSignedData':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3016:35: warning: passing argument 3 of 'inner' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      rv = (*inner)(out, &sd->data, "Data", level+1);
>                                    ^~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3016:35: note: expected 'char *' but argument is of type 'const char *'
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3018:57: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintAlgorithmID(out, &sd->signatureAlgorithm, "Signature Algorithm",
>                                                          ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:1418:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3022:38: warning: passing argument 3 of 'SECU_PrintFingerprints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintFingerprints(out, der, "Fingerprint", level+1);
>                                       ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:2418:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintFingerprints(FILE *out, SECItem *derCert, char *m, int level)
>  ^~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ParseCommandLine':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3030:52: warning: unused parameter 'progName' [-Wunused-parameter]
>  SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd)
>                                                     ^~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintPRandOSError':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3235:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>      if (errLen > 0 && errLen < sizeof buffer) {
>                               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3238:31: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      SECU_PrintError(progName, "function failed");
>                                ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:128:1: note: expected 'char *' but argument is of type 'const char *'
>  SECU_PrintError(char *progName, char *msg, ...)
>  ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3239:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>      if (errLen > 0 && errLen < sizeof buffer) {
>                               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_printCertProblems':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3299:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>    flags = (unsigned int)node->arg;
>            ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3302:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        errstr = "Cert cannot sign.";
>               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3305:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        errstr = "Cert cannot encrypt.";
>               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3308:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        errstr = "Cert cannot sign other certs.";
>               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3311:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        errstr = "[unknown usage].";
>               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3315:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>    flags = (unsigned int)node->arg;
>            ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3319:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        errstr = "Cert cannot be used for SSL.";
>               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3322:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        errstr = "Cert cannot be used as an SSL CA.";
>               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3325:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        errstr = "Cert cannot be used for SMIME.";
>               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3328:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        errstr = "Cert cannot be used as an SMIME CA.";
>               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3331:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        errstr = "Cert cannot be used for object signing.";
>               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3334:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        errstr = "Cert cannot be used as an object signing CA.";
>               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3337:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>        errstr = "[unknown usage].";
>               ^
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_StoreCRL':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3399:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>              if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) {
>                                                               ^~
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c: In function 'SECU_FindCrlIssuer':
> /<<PKGBUILDDIR>>/base/native-tools/src/tkstool/secutil.c:3613:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter]
>                     CERTAuthKeyID* authorityKeyID, PRTime validTime)
>                                    ^~~~~~~~~~~~~~
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:41: error: cannot access RegistrationListener
> public abstract class AbstractPKIAuthenticator extends AuthenticatorBase {
>                 ^
>   class file for javax.security.auth.message.config.RegistrationListener not found
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:61: error: cannot find symbol
>         this.fallbackMethod = fallbackMethod;
>         ^
>   symbol:   variable this
>   location: class AbstractPKIAuthenticator
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:106: error: cannot find symbol
>         response.setHeader(AUTH_HEADER_NAME,
>                            ^
>   symbol:   variable AUTH_HEADER_NAME
>   location: class AbstractPKIAuthenticator
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:107: error: cannot find symbol
>             "Basic realm=\"" + (realmName == null ? REALM_NAME : realmName) + "\"");
>                                                     ^
>   symbol:   variable REALM_NAME
>   location: class AbstractPKIAuthenticator
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:120: error: method does not override or implement a method from a supertype
>     @Override
>     ^
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:125: error: method does not override or implement a method from a supertype
>     @Override
>     ^
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:128: error: cannot find symbol
>         super.setContainer(container);
>         ^
>   symbol:   variable super
>   location: class AbstractPKIAuthenticator
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:133: error: method does not override or implement a method from a supertype
>     @Override
>     ^
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:137: error: cannot find symbol
>         super.initInternal();
>         ^
>   symbol:   variable super
>   location: class AbstractPKIAuthenticator
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:139: error: cannot find symbol
>         sslAuthenticator.setAlwaysUseSession(alwaysUseSession);
>                                              ^
>   symbol:   variable alwaysUseSession
>   location: class AbstractPKIAuthenticator
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:142: error: cannot find symbol
>         fallbackAuthenticator.setAlwaysUseSession(alwaysUseSession);
>                                                   ^
>   symbol:   variable alwaysUseSession
>   location: class AbstractPKIAuthenticator
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:146: error: method does not override or implement a method from a supertype
>     @Override
>     ^
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:149: error: cannot find symbol
>         super.startInternal();
>         ^
>   symbol:   variable super
>   location: class AbstractPKIAuthenticator
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:154: error: method does not override or implement a method from a supertype
>     @Override
>     ^
> com/netscape/cms/tomcat/AbstractPKIAuthenticator.java:157: error: cannot find symbol
>         super.stopInternal();
>         ^
>   symbol:   variable super
>   location: class AbstractPKIAuthenticator
> 15 errors
> base/server/tomcat/src/CMakeFiles/pki-tomcat-classes.dir/build.make:61: recipe for target 'pki-tomcat-classes' failed
> make[4]: *** [pki-tomcat-classes] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2016/12/02/dogtag-pki_10.3.5-6_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-freeipa-devel mailing list