[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 03:51:28 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:  fracai
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  oath-toolkit  |
---------------------------+----------------------

Comment (by cooljeanius):

 btw here's my `port-depcheck.sh` output for oath-toolkit:
 {{{
 $ port-depcheck.sh oath-toolkit
 Finding MacPorts libraries that oath-toolkit links against...
 Checking symbols in linked-against libraries...
 Checking to see if oath-toolkit actually uses symbols from libiconv... no
 (TODO: use sed properly to remove "libiconv" from list of dependencies)
 Checking to see if oath-toolkit actually uses symbols from libicudata...
 no (TODO: use sed properly to remove "" from list of dependencies)
 Checking to see if oath-toolkit actually uses symbols from libicui18n...
 no (TODO: use sed properly to remove "" from list of dependencies)
 Checking to see if oath-toolkit actually uses symbols from libicuuc... no
 (TODO: use sed properly to remove "" from list of dependencies)
 Checking to see if oath-toolkit actually uses symbols from libltdl... no
 (TODO: use sed properly to remove "" from list of dependencies)
 Checking to see if oath-toolkit actually uses symbols from liblzma... no
 (TODO: use sed properly to remove "" from list of dependencies)
 Checking to see if oath-toolkit actually uses symbols from liboath... yes
 Checking to see if oath-toolkit actually uses symbols from libpskc... yes
 Checking to see if oath-toolkit actually uses symbols from libxml2... yes
 Checking to see if oath-toolkit actually uses symbols from libxmlsec1...
 yes
 Checking to see if oath-toolkit actually uses symbols from libxslt... no
 (TODO: use sed properly to remove "libxslt" from list of dependencies)
 Checking to see if oath-toolkit actually uses symbols from libz... no
 (TODO: use sed properly to remove "" from list of dependencies)
 Checking libtool archives for overlinking should not be necessary for your
 MacPorts version (2.8.1), unless you have NOT rebuilt everything since you
 updated...
 This script does NOT know whether or not you have rebuilt as such though,
 so we shall assume the best of you and skip the libtool-archives check.
 (the libtool-archives check was just a back-up check in case the check
 with `nm(1)` failed, anyways, so skipping it should be harmless)
 Finding the libraries that
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/security
 /oath-toolkit/Portfile lists as dependencies...
 oath-toolkit is installed with the following active variants: @2.6.6_0
 So we shall find the dependencies for those variants...
 xmlsec
 Comparing the list of library linkages with the list of library
 dependencies...
 --- /var/folders/28/gnjs38js27lfysyhm4zfvx5w0000gn/T//port-
 depcheck.sh.23390220232.ONe9l4       2023-04-13 23:39:25.000000000 -0400
 +++ /var/folders/28/gnjs38js27lfysyhm4zfvx5w0000gn/T//port-
 depcheck.sh.23390220231.AV9VUM       2023-04-13 23:39:11.000000000 -0400
 @@ -1 +1 @@
 -xmlsec
 +
 Output a diff file to /var/folders/28/gnjs38js27lfysyhm4zfvx5w0000gn/T
 //oath-toolkit-deps.2339022023.diff
 }}}
 (the script has probably bitrotted a bit since I last updated it, so I'll
 probably need to do some debugging to fix its suggestion to remove the
 xmlsec dependency, because from this bug we can see that oath-toolkit very
 clearly does actually use xmlsec... also, it looks like the oath-toolkit
 port should have a dependency on libxml2 added, too)

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


More information about the macports-tickets mailing list