[MacPorts] #61852: json-glib @1.2.8: llvm-objdump: Unknown command line argument '-macho' (was: json-glib @1.2.8 build fails with commandline tools for XCode 12.3)
MacPorts
noreply at macports.org
Thu Dec 17 15:27:23 UTC 2020
#61852: json-glib @1.2.8: llvm-objdump: Unknown command line argument '-macho'
------------------------+----------------------
Reporter: MStraeten | Owner: nefar@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur
Port: json-glib |
------------------------+----------------------
Changes (by ryandesign):
* status: new => assigned
* cc: nefar@…, openmaintainer (removed)
* owner: (none) => nefar@…
* keywords: => bigsur
Old description:
> ---> Building json-glib
> Error: Failed to build json-glib: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_json-glib/json-glib/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port json-glib failed
>
> failed while rebuilding after purging my old macports installation, my
> build from 15.11.2020 was successful (big sur, sdk 11.1 + Xcode 12.??)
New description:
{{{
---> Building json-glib
Error: Failed to build json-glib: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_json-glib/json-glib/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port json-glib failed
}}}
failed while rebuilding after purging my old macports installation, my
build from 15.11.2020 was successful (big sur, sdk 11.1 + Xcode 12.??)
--
Comment:
The error in the log is:
{{{
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'?
Traceback (most recent call last):
File "/opt/local/bin/g-ir-scanner", line 99, in <module>
sys.exit(scanner_main(sys.argv))
File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py",
line 579, in scanner_main
shlibs = create_binary(transformer, options, args)
File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py",
line 419, in create_binary
shlibs = resolve_shlibs(options, binary, options.libraries)
File "/opt/local/lib/gobject-introspection/giscanner/shlibs.py", line
183, in resolve_shlibs
_resolve_non_libtool(options, binary, non_libtool))
File "/opt/local/lib/gobject-introspection/giscanner/shlibs.py", line
103, in _resolve_non_libtool
output = subprocess.check_output(args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py",
line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py",
line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/bin/sh', '../libtool', '--
mode=execute', 'otool', '-L',
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_json-glib/json-glib/work/json-
glib-1.2.8/json-glib/tmp-introspectnoqc3uiz/Json-1.0']' returned non-zero
exit status 1.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61852#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list