[MacPorts] #65830: gegl: build fails for 10.13; llvm-objdump-14: error: unknown argument '-c'
MacPorts
noreply at macports.org
Mon Sep 12 22:25:53 UTC 2022
#65830: gegl: build fails for 10.13; llvm-objdump-14: error: unknown argument '-c'
-------------------------+----------------------
Reporter: dyne2meter | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: gegl |
-------------------------+----------------------
Comment (by mascguy):
Replying to [comment:3 mascguy]:
> But we should still try to determine the root cause, to avoid other
ports failing without trace mode.
>
> Can you provide the output from `port installed cctools`?
More background: You need to ensure you're using the preferred version of
`cctools`, which varies depending on the combination of macOS and Xcode.
Otherwise you'll encounter issues, per the following notes in the
portfile:
{{{
# llvm-11 changed the arguments accepted by llvm-objdump
# this causes a number of errors in scripts that still use the old
arguments
# we will default to +llvm11 when xcode changes to require the new
arguments
# see https://reviews.llvm.org/D92310 and
https://trac.macports.org/ticket/61852
}}}
So in short, run `sudo port install cctools`, to ensure you're using the
preferred version. And then try installing `gegl` again, without trace
mode.
Finally, let us know whether all is well, after that's been done.
--
Ticket URL: <https://trac.macports.org/ticket/65830#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list