[MacPorts] #61901: poppler 20.12.1: Failed to build (macOS 11.1 Big Sur)

MacPorts noreply at macports.org
Wed Dec 23 22:42:40 UTC 2020


#61901: poppler 20.12.1: Failed to build (macOS 11.1 Big Sur)
----------------------+----------------------
  Reporter:  nhchan   |      Owner:  dbevans
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.6.4
Resolution:           |   Keywords:  bigsur
      Port:  poppler  |
----------------------+----------------------

Comment (by michaelld):

 Here's the error:
 {{{
 :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))
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/scannermain.py", line 579, in scanner_main
 :info:build     shlibs = create_binary(transformer, options, args)
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/scannermain.py", line 419, in create_binary
 :info:build     shlibs = resolve_shlibs(options, binary,
 options.libraries)
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/shlibs.py", line 183, in resolve_shlibs
 :info:build     _resolve_non_libtool(options, binary, non_libtool))
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/shlibs.py", line 103, in _resolve_non_libtool
 :info:build     output = subprocess.check_output(args)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py",
 line 411, in check_output
 :info:build     return run(*popenargs, stdout=PIPE, timeout=timeout,
 check=True,
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py",
 line 512, in run
 :info:build     raise CalledProcessError(retcode, process.args,
 :info:build subprocess.CalledProcessError: Command '['otool', '-L',
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/glib
 /tmp-introspectruj9csh0/Poppler-0.18']' returned non-zero exit status 1.
 }}}

 Looks like this is related to the `cctools` install. When I use `cctools
 @927.0.2_6+llvm11`, I see this issue too. When I use `cctools
 @927.0.2_6+llvm10` I don't have the issue -- `poppler` builds cleanly.

 What does the following return: `port installed cctools`?

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


More information about the macports-tickets mailing list