[MacPorts] #67233: oath-toolkit @2.6.6: rev-upgrade fails in trace mode with: error: use of undeclared identifier 'XMLSEC_CRYPTO'

MacPorts noreply at macports.org
Fri Apr 14 00:07:08 UTC 2023


#67233: oath-toolkit @2.6.6: rev-upgrade fails in trace mode with: error: use of
undeclared identifier 'XMLSEC_CRYPTO'
-------------------------+--------------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.8.1
 Keywords:               |       Port:  oath-toolkit
-------------------------+--------------------------
 oath-toolkit got marked for rev-upgrade due to an icu update:
 {{{
 Could not open /opt/local/lib/libicudata.67.dylib: Error opening or
 reading file (referenced from /opt/local/bin/pskctool)
 DEBUG: Marking /opt/local/bin/pskctool as broken
 Could not open /opt/local/lib/libicuuc.67.dylib: Error opening or reading
 file (referenced from /opt/local/bin/pskctool)
 DEBUG: Marking /opt/local/bin/pskctool as broken
 Could not open /opt/local/lib/libicui18n.67.dylib: Error opening or
 reading file (referenced from /opt/local/bin/pskctool)
 DEBUG: Marking /opt/local/bin/pskctool as broken
 DEBUG: Marking /opt/local/lib/libpskc.0.dylib as broken
 DEBUG: Marking /opt/local/lib/libpskc.0.dylib as broken
 DEBUG: Marking /opt/local/lib/libpskc.0.dylib as broken
 }}}
 Unfortunately, the attempt to rebuild it failed with this error:
 {{{
 global.c:77:43: error: use of undeclared identifier 'XMLSEC_CRYPTO'
   if (xmlSecCryptoDLLoadLibrary (BAD_CAST XMLSEC_CRYPTO) < 0)
                                           ^
 1 error generated.
 sign.c:111:22: warning: 'xmlSecCryptoAppKeyLoad' is deprecated
 [-Wdeprecated-declarations]
   dsigCtx->signKey = xmlSecCryptoAppKeyLoad (key_file,
                      ^
 /opt/local/include/xmlsec1/xmlsec/app.h:718:1: note:
 'xmlSecCryptoAppKeyLoad' has been explicitly marked deprecated here
 XMLSEC_DEPRECATED XMLSEC_EXPORT xmlSecKeyPtr    xmlSecCryptoAppKeyLoad
 (const char *filename,
 ^
 /opt/local/include/xmlsec1/xmlsec/xmlsec.h:110:42: note: expanded from
 macro 'XMLSEC_DEPRECATED'
 #define XMLSEC_DEPRECATED __attribute__((deprecated))
                                          ^
 make[4]: *** [global.lo] Error 1
 make[4]: *** Waiting for unfinished jobs....
 }}}
 I'm on Big Sur with Xcode 13.

-- 
Ticket URL: <https://trac.macports.org/ticket/67233>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list