[MacPorts] #61884: yubico-piv-tool fails to build after libressl upgrade to 3.2.3

MacPorts noreply at macports.org
Mon Dec 21 07:23:05 UTC 2020


#61884: yubico-piv-tool fails to build after libressl upgrade to 3.2.3
------------------------------+------------------------
  Reporter:  bK4gYuRo         |      Owner:  lbschenkel
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  yubico-piv-tool  |
------------------------------+------------------------

Comment (by kencu):

 This:
 {{{
 $ ./yubico-piv-tool --help
 dyld: Library not loaded: /opt/local/lib/libykpiv.1.dylib
   Referenced from:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_security_yubico-piv-tool/yubico-piv-
 tool/work/Yubico-yubico-piv-tool-6752c30/tool/./yubico-piv-tool
   Reason: image not found
 }}}

 could be caused by the cmake PortGroup setting this option:
 {{{
 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
 }}}

 Every once in a while we come across a port that won't work right with
 this, and this might be one of them. To override this, in the Portfile we
 put:
 {{{
 configure.args-replace -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
 -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF
 }}}

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


More information about the macports-tickets mailing list