[MacPorts] #62095: Poppler should no longer use flag -macho as newer llvms will not accept it.
MacPorts
noreply at macports.org
Tue Jan 19 19:17:42 UTC 2021
#62095: Poppler should no longer use flag -macho as newer llvms will not accept it.
-----------------------+----------------------
Reporter: szhorvat | Owner: (none)
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: poppler |
-----------------------+----------------------
Comment (by michaelld):
looking at the `cctools` code in `cctools-927.0.2/otool/main.c`, line 80
reads:
{{{
enum bool show_objdump_command = FALSE; /* print the objdump command */
}}}
change this to `TRUE`; build and install. then run the `otool` command
again:
{{{
+ /opt/local/bin/llvm-objdump-mp-11 -macho -dylibs-used -non-verbose
/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_graphics_poppler/poppler/work/build/glib
/tmp-introspectdnhi97mq/Poppler-0.18
llvm-objdump: Unknown command line argument '-macho'. Try:
'/opt/local/libexec/llvm-11/bin/llvm-objdump --help'
llvm-objdump: Did you mean '-h'?
llvm-objdump: Unknown command line argument '-dylibs-used'. Try:
'/opt/local/libexec/llvm-11/bin/llvm-objdump --help'
llvm-objdump: Did you mean '--dylibs-used'?
llvm-objdump: Unknown command line argument '-non-verbose'. Try:
'/opt/local/libexec/llvm-11/bin/llvm-objdump --help'
llvm-objdump: Did you mean '--non-verbose'?
}}}
... so ... this is a `cctools` issue, not GO-I or poppler.
--
Ticket URL: <https://trac.macports.org/ticket/62095#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list