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

MacPorts noreply at macports.org
Tue Jan 19 19:21:56 UTC 2021


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

Comment (by michaelld):

 Copied from #62095 ... where we're telling `poppler` to `save-temps` and
 thus we can test this issue outside the MacPorts' environment.

 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:
 {{{
 $ otool -L
 /opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_graphics_poppler/poppler/work/build/glib
 /tmp-introspectdnhi97mq/Poppler-0.18
 + /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/61967#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list