[MacPorts] #67349: libxkbcommon @1.5.0: binaries link with libraries using @loader_path or @rpath and therefore don't work

MacPorts noreply at macports.org
Tue May 2 11:11:14 UTC 2023


#67349: libxkbcommon @1.5.0: binaries link with libraries using @loader_path or
@rpath and therefore don't work
---------------------------+------------------------
  Reporter:  ballapete     |      Owner:  ryandesign
      Type:  defect        |     Status:  accepted
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  libxkbcommon  |
---------------------------+------------------------

Comment (by ballapete):

 It built and installed on `PPC Tiger, Mac OS X 10.4.11`, but `port` found
 afterwards:

 {{{
 Could not open /opt/local/libexec/xkbcommon/libxkbcommon.0.dylib: Error
 opening or reading file (referenced from /opt/local/libexec/xkbcommon
 /xkbcli-compile-keymap)
 DEBUG: Marking /opt/local/libexec/xkbcommon/xkbcli-compile-keymap as
 broken
 DEBUG: Marking /opt/local/libexec/xkbcommon/xkbcli-how-to-type as broken
 --->  Found 2 broken files, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 DEBUG: Broken: libxkbcommon
 DEBUG: Processing port libxkbcommon @0:1.5.0_0
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt: libxkbcommon @1.5.0
 Continue? [Y/n]:
 }}}

 Obviously an additional fix is necessary:

 {{{
 otool -L /opt/local/libexec/xkbcommon/*
 /opt/local/libexec/xkbcommon/xkbcli-compile-keymap:
         @loader_path/libxkbcommon.0.dylib (compatibility version 0.0.0,
 current version 0.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 88.1.12)
 /opt/local/libexec/xkbcommon/xkbcli-how-to-type:
         @loader_path/libxkbcommon.0.dylib (compatibility version 0.0.0,
 current version 0.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 88.1.12)
 }}}

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


More information about the macports-tickets mailing list