[MacPorts] #61967: cctools +llvm11 fails to build gobject-introspection: Unknown command line argument '-macho'.

MacPorts noreply at macports.org
Sat Jan 2 00:41:18 UTC 2021


#61967: cctools +llvm11 fails to build gobject-introspection: Unknown command line
argument '-macho'.
----------------------+--------------------
  Reporter:  blair    |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  cctools  |
----------------------+--------------------

Comment (by kencu):

 Hi Blair, this is a know issue, and is not a bug -- they did this on
 purpose. There are a number of other tickets against various software
 builds that ran into the same thing.

 Newer versions of llvm come with a new version of llvm-objdump, and they
 decided upstream to change the arguments that llvm-objdump accepts. llvm-
 objdump will no longer accept {{{-macho}}}. You can use {{{-m}}} and you
 can use {{{--macho}}} now. All the old scripts that use {{{-macho}}} are
 broken, and will need to be gradually updated to no longer do that.


 If you want to get on with your work, please do this:
 {{{
 sudo port -f uninstall cctools
 sudo port -v install cctools
 }}}
 and then you should get a proper working version of cctools for your
 system, which is {{{cctools +xcode}}}.


 If you want to help fix all the scripts that are broken, you can stay on
 {{{cctools +llvm11}}} and start submitting PRs (upstream, preferably) to
 get them all updated.

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


More information about the macports-tickets mailing list