[MacPorts] #71119: ruby33: error: something wrong with LDFLAGS (was: ruby33: on arm64 & Sequoia - fails in configure during `checking whether it is Android`)

MacPorts noreply at macports.org
Fri Oct 18 03:14:10 UTC 2024


#71119: ruby33: error: something wrong with LDFLAGS
-----------------------+---------------------------
  Reporter:  ttelford  |      Owner:  kimuraw
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.10.2
Resolution:            |   Keywords:  sequoia arm64
      Port:  ruby33    |
-----------------------+---------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => kimuraw
 * port:   => ruby33
 * cc: fhgwright (added)


Comment:

 The main.log says:

 {{{
 :info:configure checking whether LDFLAGS is valid... no
 :info:configure configure: error: something wrong with
 LDFLAGS="-L/opt/local/libexec/openssl3/lib -L/opt/local/lib
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -arch arm64"
 }}}

 Not sure what they mean by "valid" or why they're checking it; this is
 unusual of this project.

 There is no error in the result of that configure check but there is a
 warning; maybe they consider warnings to make things "invalid". The
 warning is:

 {{{
 ld: warning: reexported library with install name
 '/opt/local/lib/libunwind.1.dylib' found at
 '/opt/local/lib/libunwind.1.dylib' couldn't be matched with any parent
 library and will be linked directly
 }}}

 This will be because you have the libunwind port installed, which we
 already know will break a lot of ports. Recommend you uninstall it. See
 #66250.

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


More information about the macports-tickets mailing list