[MacPorts] #65467: atk fails to build

MacPorts noreply at macports.org
Sat Jul 9 10:31:07 UTC 2022


#65467: atk fails to build
-------------------------+----------------------
  Reporter:  dyne2meter  |      Owner:  mascguy
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:              |   Keywords:
      Port:  atk         |
-------------------------+----------------------

Comment (by ryandesign):

 Replying to [ticket:65467 dyne2meter]:
 > {{{
 > :info:build WARNING: ['otool'] does not work. Relinking will always
 happen on source changes.
 > :info:build /opt/local/libexec/llvm-13/bin/llvm-objdump: error: unknown
 argument '-cho'
 > }}}

 Why doesn't `otool` work? Let's solve that first.

 You appear to be using an `otool` installed by the cctools port with the
 +llvm13 variant. Is that the default variant of cctools on your system?
 Try reinstalling cctools without specifying a variant (`sudo port install
 cctools`) and see if it gives you a different variant. If it does, clean
 the affected port (`sudo port clean atk`) and try building it again.

 Comments in the cctools port say that Xcode 11 and newer contain newer
 versions of tools than what the cctools port provides, so certainly with
 Xcode 11 and later the port should select the +xcode variant. Your log
 shows you're using Xcode 10.3, so maybe it doesn't do that on your system.
 If the default variant MacPorts chooses still won't build atk, try
 explicitly requesting the +xcode variant (`sudo port install cctools
 +xcode`), clean (`sudo port clean atk`) and try again.

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


More information about the macports-tickets mailing list