[MacPorts] #72361: meson handling of rpaths breaks destroot of glib2 on Leopard

MacPorts noreply at macports.org
Sat Apr 19 21:25:53 UTC 2025


#72361: meson handling of rpaths breaks destroot of glib2 on Leopard
---------------------------+---------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:  leopard
      Port:  glib2, meson  |
---------------------------+---------------------

Comment (by barracuda156):

 Likewise, `-add_rpath` is not supported on  < 10.6.
 {{{
 Executing:  cd "/opt/local/var/macports/build
 /_opt_local_var_macports_sources_macos-powerpc.org_macos-
 powerpc_PPCPorts_ports_x11_mesa/mesa/work/build" && /opt/local/bin/meson
 install
 ninja: Entering directory `/opt/local/var/macports/build
 /_opt_local_var_macports_sources_macos-powerpc.org_macos-
 powerpc_PPCPorts_ports_x11_mesa/mesa/work/build'
 [1/16] Generating src/git_sha1.h with a custom command
 Installing src/gallium/targets/dri/libgallium-25.0.3.dylib to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_macos-
 powerpc.org_macos-
 powerpc_PPCPorts_ports_x11_mesa/mesa/work/destroot/opt/local/lib
 Installing src/gallium/targets/osmesa/libOSMesa.8.dylib to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_macos-
 powerpc.org_macos-
 powerpc_PPCPorts_ports_x11_mesa/mesa/work/destroot/opt/local/lib
 Installing src/mapi/es1api/libGLESv1_CM.1.dylib to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_macos-
 powerpc.org_macos-
 powerpc_PPCPorts_ports_x11_mesa/mesa/work/destroot/opt/local/lib
 Installing src/mapi/es2api/libGLESv2.2.dylib to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_macos-
 powerpc.org_macos-
 powerpc_PPCPorts_ports_x11_mesa/mesa/work/destroot/opt/local/lib
 Installing src/glx/libGL.1.dylib to /opt/local/var/macports/build
 /_opt_local_var_macports_sources_macos-powerpc.org_macos-
 powerpc_PPCPorts_ports_x11_mesa/mesa/work/destroot/opt/local/lib
 Command '['install_name_tool', '/opt/local/var/macports/build
 /_opt_local_var_macports_sources_macos-powerpc.org_macos-
 powerpc_PPCPorts_ports_x11_mesa/mesa/work/destroot/opt/local/lib/libGL.1.dylib',
 '-add_rpath', '/opt/local/lib', '-id', '/opt/local/lib/libGL.1.dylib',
 '-change', '@rpath/libGL.1.dylib', '/opt/local/lib/libGL.1.dylib']'
 returned non-zero exit status 1.
 Command failed:  cd "/opt/local/var/macports/build
 /_opt_local_var_macports_sources_macos-powerpc.org_macos-
 powerpc_PPCPorts_ports_x11_mesa/mesa/work/build" && /opt/local/bin/meson
 install
 Exit code: 1
 Error: Failed to destroot mesa: command execution failed
 }}}

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


More information about the macports-tickets mailing list