[MacPorts] #62095: Poppler should no longer use flag -macho as newer llvms will not accept it.

MacPorts noreply at macports.org
Tue Jan 19 17:42:13 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):

 Adding `-v` to the system call to clang, I see this:
 {{{
 :info:build g-ir-scanner: link: /usr/bin/clang -arch x86_64 -o
 /opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_graphics_poppler/poppler/work/build/glib
 /tmp-introspect2qnikau5/Poppler-0.18 -v
 /opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_graphics_poppler/poppler/work/build/glib
 /tmp-introspect2qnikau5/Poppler-0.18.o -L. -Wl,-rpath,.
 -L/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_graphics_poppler/poppler/work/build
 -Wl,-rpath,/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_graphics_poppler/poppler/work/build
 -L/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_graphics_poppler/poppler/work/build/glib
 -Wl,-rpath,/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_graphics_poppler/poppler/work/build/glib
 -lpoppler-glib -lpoppler -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
 -lintl -Wl,-framework -Wl,CoreFoundation
 :info:build Apple clang version 12.0.0 (clang-1200.0.32.28)
 :info:build Target: x86_64-apple-darwin20.3.0
 :info:build Thread model: posix
 :info:build InstalledDir:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 :info:build llvm-objdump: Unknown command line argument '-macho'.  Try:
 '/opt/local/libexec/llvm-11/bin/llvm-objdump --help'
 :info:build llvm-objdump: Did you mean '-h'?
 :info:build llvm-objdump: Unknown command line argument '-dylibs-used'.
 Try: '/opt/local/libexec/llvm-11/bin/llvm-objdump --help'
 :info:build llvm-objdump: Did you mean '--dylibs-used'?
 :info:build llvm-objdump: Unknown command line argument '-non-verbose'.
 Try: '/opt/local/libexec/llvm-11/bin/llvm-objdump --help'
 :info:build llvm-objdump: Did you mean '--non-verbose'?
 :info:build Traceback (most recent call last):
 :info:build   File "/opt/local/bin/g-ir-scanner", line 99, in <module>
 :info:build     sys.exit(scanner_main(sys.argv))
 ...
 }}}

 There is no `-macho` in the command call. Might be in the call environment
 ... looking into that.

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


More information about the macports-tickets mailing list