[MacPorts] #57688: radare2 @3.1.0_0: fails to build on macOS 10.12 Xcode 9.2

MacPorts noreply at macports.org
Tue Nov 27 09:08:16 UTC 2018


#57688: radare2 @3.1.0_0: fails to build on macOS 10.12 Xcode 9.2
-----------------------+--------------------
  Reporter:  mopihopi  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  radare2   |
-----------------------+--------------------

Comment (by stevecheckoway):

 I think this is a problem with radare2's build system. It's inserting
 `LDFLAGS` too early into the link command. It's pretty easy to demonstrate
 this.

 {{{
 #!/bin/sh
 set -e

 log() {
         printf "\e[32;1m%s\e[0m\n" "$1"
 }

 log 'Cloning radare2'
 git clone 'https://github.com/radare/radare2.git'

 log 'Checking out 3.0.1'
 cd radare2
 git checkout 3.0.1

 log 'Building 3.0.1'
 ./configure --prefix=/tmp/local
 make

 log 'Installing 3.0.1'
 make install

 log 'Cleaning and checking out 3.1.0'
 make clean
 git checkout 3.1.0

 log 'Building 3.1.0 with LDFLAGS set'
 LDFLAGS=-L/tmp/local/lib ./configure --prefix=/tmp/local
 LDFLAGS=-L/tmp/local/lib make
 }}}

 I'll file a bug upstream but I'm not sure what the right workaround for
 MacPorts is.

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


More information about the macports-tickets mailing list