[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 02:57:49 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
Resolution: | Keywords:
Port: oath-toolkit |
---------------------------+--------------------
Comment (by ryandesign):
oath-toolkit doesn't declare a dependency on icu which is why it wasn't
revbumped when icu was updated. If oath-toolkit directly uses icu it
should list the dependency. However oath-toolkit depends on xmlsec which
depends on libxml2 which depends on icu. xmlsec has pkg-config files and
also a xmlsec1-config script. The pkg-config files correctly do not show
icu libraries being directly required, however the xmlsec1-config script
does show icu libraries being required, which it has to since that script
could be used for either static or dynamic linking. So I suspect oath-
toolkit is using xmlsec1-config to find its dependencies. The solution is
to switch it to use pkg-config.
xmlsec was just updated to 1.3.0. It seems `XMLSEC_CRYPTO` has been
deprecated since xmlsec 1.2.21 and I guess it was removed in 1.3.0. oath-
toolkit will need to stop using it.
These are probably not MacPorts-specific issues and should be reported to
the developers of oath-toolkit to be fixed.
--
Ticket URL: <https://trac.macports.org/ticket/67233#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list