Regression on osx
Last time I tried with commit: 65f7051b gobject-introspection was building fine on osx. With master I get the following error:
FAILED: gir/GLib-2.0.gir Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/unixccompiler.py", line 107, in preprocess
self.spawn(pp_args)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/ccompiler.py", line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/spawn.py", line 36, in spawn
_spawn_posix(cmd, search_path, dry_run=dry_run)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/spawn.py", line 159, in _spawn_posix
% (cmd, exit_status))
distutils.errors.DistutilsExecError: command 'gcc-4.2' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/g-ir-scanner", line 99, in <module>
sys.exit(scanner_main(sys.argv))
File "/Users/jhbuild/.cache/jhbuild/build/gobject-introspection/giscanner/scannermain.py", line 565, in scanner_main
ss, filenames = create_source_scanner(options, args)
File "/Users/jhbuild/.cache/jhbuild/build/gobject-introspection/giscanner/scannermain.py", line 443, in create_source_scanner
ss.parse_files(filenames)
File "/Users/jhbuild/.cache/jhbuild/build/gobject-introspection/giscanner/sourcescanner.py", line 257, in parse_files
self._parse(headers)
File "/Users/jhbuild/.cache/jhbuild/build/gobject-introspection/giscanner/sourcescanner.py", line 305, in _parse
self._cpp_options)
File "/Users/jhbuild/.cache/jhbuild/build/gobject-introspection/giscanner/ccompiler.py", line 269, in preprocess
extra_postargs=extra_postargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/unixccompiler.py", line 109, in preprocess
raise CompileError(msg)
distutils.errors.CompileError: command 'gcc-4.2' failed with exit status 1
[10/74] Generating symbol file 'girepository/667a256@@girepository-1.0@sha/libgirepository-1.0.1.dylib.symbols'.
ninja: build stopped: subcommand failed.
*** Error during phase install of gobject-introspection: ########## Error running ninja install *** [9/15]