This works on linux, but fails on both my macOS machines (Intel and Apple Silicon) with: ``` Traceback (most recent call last): File "/Users/mfroman/mozilla/moz-central/python/mozbuild/mozbuild/gn_processor.py", line 776, in <module> main() File "/Users/mfroman/mozilla/moz-central/python/mozbuild/mozbuild/gn_processor.py", line 765, in main write_mozbuild( File "/Users/mfroman/mozilla/moz-central/python/mozbuild/mozbuild/gn_processor.py", line 600, in write_mozbuild mb.write_attrs(common_attrs) File "/Users/mfroman/mozilla/moz-central/python/mozbuild/mozbuild/gn_processor.py", line 81, in write_attrs self.write_mozbuild_dict(k, v) File "/Users/mfroman/mozilla/moz-central/python/mozbuild/mozbuild/gn_processor.py", line 122, in write_mozbuild_dict for o in value["outputs"]: KeyError: 'outputs' ``` I reverted the changes from Bug 1818170 and it doesn't fail (of course, it removes all the changes from the moz.build files that Bug 1818170 added).
Bug 1826023 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
This works on linux, but fails on both my macOS machines (Intel and Apple Silicon running 12.6.3 Monterey) with: ``` Traceback (most recent call last): File "/Users/mfroman/mozilla/moz-central/python/mozbuild/mozbuild/gn_processor.py", line 776, in <module> main() File "/Users/mfroman/mozilla/moz-central/python/mozbuild/mozbuild/gn_processor.py", line 765, in main write_mozbuild( File "/Users/mfroman/mozilla/moz-central/python/mozbuild/mozbuild/gn_processor.py", line 600, in write_mozbuild mb.write_attrs(common_attrs) File "/Users/mfroman/mozilla/moz-central/python/mozbuild/mozbuild/gn_processor.py", line 81, in write_attrs self.write_mozbuild_dict(k, v) File "/Users/mfroman/mozilla/moz-central/python/mozbuild/mozbuild/gn_processor.py", line 122, in write_mozbuild_dict for o in value["outputs"]: KeyError: 'outputs' ``` I reverted the changes from Bug 1818170 and it doesn't fail (of course, it removes all the changes from the moz.build files that Bug 1818170 added).