[MacPorts] #63945: yubico-piv-tool: fails to build with openssl3

MacPorts noreply at macports.org
Sat Nov 13 17:18:53 UTC 2021


#63945: yubico-piv-tool: fails to build with openssl3
--------------------------------+------------------------------------
  Reporter:  michael-j-oconnor  |      Owner:  Chris Jones <jonesc@…>
      Type:  defect             |     Status:  closed
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:  fixed              |   Keywords:
      Port:                     |
--------------------------------+------------------------------------

Comment (by cjones051073):

 Note the above fixes the openssl issue (2.2.1 didn't work with v3 btw).

 However, the build is still broken with an unrelated issue

 {{{
 cd /opt/local/var/macports/build
 /_Users_chris_Projects_MacPorts_ports_security_yubico-piv-tool/yubico-piv-
 tool/work/build/tool && /opt/local/bin/help2man -s1 -N -n Tool\ for\
 managing\ Personal\ Identity\ Verification\ credentials\ on\ Yubikeys -o
 /opt/local/var/macports/build
 /_Users_chris_Projects_MacPorts_ports_security_yubico-piv-tool/yubico-piv-
 tool/work/yubico-piv-tool-2.2.1/tool/yubico-piv-tool.1 ./yubico-piv-tool
 [100%] Built target test_ykcs11
 sh: line 1: 50858 Abort trap: 6           ./yubico-piv-tool --help 2>
 /dev/null
 }}}

 running by hand

 {{{
 Oberon /opt/local/var/macports/build
 /_Users_chris_Projects_MacPorts_ports_security_yubico-piv-tool/yubico-piv-
 tool/work/build/tool > ./yubico-piv-tool
 dyld[50864]: Library not loaded: /opt/local/lib/libykpiv.2.dylib
   Referenced from: /opt/local/var/macports/build
 /_Users_chris_Projects_MacPorts_ports_security_yubico-piv-tool/yubico-piv-
 tool/work/build/tool/yubico-piv-tool
   Reason: tried: '/opt/local/lib/libykpiv.2.dylib' (no such file),
 '/usr/local/lib/libykpiv.2.dylib' (no such file),
 '/usr/lib/libykpiv.2.dylib' (no such file)
 zsh: abort      ./yubico-piv-tool
 }}}

 seems the build is trying to run its own tool before all the libraries it
 requires are fully installed.

 If you see the same please open a new ticket so the maintainer can take a
 look.

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


More information about the macports-tickets mailing list