another update: looks like SDK was indeed the issue. digging through the code I found you could specify a `mac_sdk_path` for `gn` so this let's me get past the previous issue I had of setting the sdk vesrion. I tried sdk 10,11,13 (which we have toolchain fetches of) but all did not work either. Recently 13.3 was landed in Bug 1833995, and using that 13.3 sdk it looks like it [built](https://treeherder.mozilla.org/jobs?repo=try&revision=4e530bc1b1b066ea6dd35cecf466a7c45c9c8dc0&selectedTaskRun=AqOS_qoWQeSt1Q02RBVLVQ.0) (non PGO) some issues: * takes a long time (almost 7 hours) compared to windows and linux * while the build itself completes (you can see the Tar artifact) the task itself fails. * there is some auth/insufficientscope(?) issue where I can't click the tar file to download it * depending on my tool-chain artifact path (`public/build/<..>` vs `project/gecko/<...>`) the error is different when clicking the tar? e.g. [1](https://treeherder.mozilla.org/jobs?repo=try&revision=853cb9d926d25e0c3a339ff79c7e52344b4e4718) and [2](https://treeherder.mozilla.org/jobs?repo=try&revision=4e530bc1b1b066ea6dd35cecf466a7c45c9c8dc0&selectedTaskRun=AqOS_qoWQeSt1Q02RBVLVQ.0) from above I will look into why the build completes but the task fails (initial guess is auth expires because task takes way too long?)
Bug 1820216 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
another update: looks like SDK was indeed the issue. digging through the code I found you could specify a `mac_sdk_path` for `gn` so this let's me get past the previous issue I had of setting the sdk version. I tried sdk 10,11,13 (which we have toolchain fetches of) but all did not work either. Recently 13.3 was landed in Bug 1833995, and using that 13.3 sdk it looks like it [built](https://treeherder.mozilla.org/jobs?repo=try&revision=4e530bc1b1b066ea6dd35cecf466a7c45c9c8dc0&selectedTaskRun=AqOS_qoWQeSt1Q02RBVLVQ.0) (non PGO) some issues: * takes a long time (almost 7 hours) compared to windows and linux * while the build itself completes (you can see the Tar artifact) the task itself fails. * there is some auth/insufficientscope(?) issue where I can't click the tar file to download it * depending on my tool-chain artifact path (`public/build/<..>` vs `project/gecko/<...>`) the error is different when clicking the tar? e.g. [1](https://treeherder.mozilla.org/jobs?repo=try&revision=853cb9d926d25e0c3a339ff79c7e52344b4e4718) and [2](https://treeherder.mozilla.org/jobs?repo=try&revision=4e530bc1b1b066ea6dd35cecf466a7c45c9c8dc0&selectedTaskRun=AqOS_qoWQeSt1Q02RBVLVQ.0) from above I will look into why the build completes but the task fails (initial guess is auth expires because task takes way too long?)
another update: looks like SDK was indeed the issue. digging through the code I found you could specify a `mac_sdk_path` for `gn` so this let's me get past the previous issue I had of setting the sdk version. I tried sdk 10,11,13 (which we have toolchain fetches of) but all did not work either. Recently 13.3 was landed in Bug 1833995, and using that 13.3 sdk it looks like it [built](https://treeherder.mozilla.org/jobs?repo=try&revision=4e530bc1b1b066ea6dd35cecf466a7c45c9c8dc0&selectedTaskRun=AqOS_qoWQeSt1Q02RBVLVQ.0) (non PGO) some issues: * takes a long time (almost 7 hours) compared to windows and linux * while the build itself completes (you can see the Tar artifact) the task itself fails. * there is some auth/insufficientscope(?) issue where I can't click the tar file to download it * depending on my tool-chain artifact path (`public/build/<..>` vs `project/gecko/<...>`) the error is different when clicking the tar? e.g. [1](https://treeherder.mozilla.org/jobs?repo=try&revision=853cb9d926d25e0c3a339ff79c7e52344b4e4718) and [2](https://treeherder.mozilla.org/jobs?repo=try&revision=4e530bc1b1b066ea6dd35cecf466a7c45c9c8dc0&selectedTaskRun=AqOS_qoWQeSt1Q02RBVLVQ.0) from above * occasionally there is an intermittent failure `ModuleNotFoundError: No module named 'importlib_metadata'` that occurs I will look into why the build completes but the task fails (initial guess is auth expires because task takes way too long?)
another update: looks like SDK was indeed the issue. digging through the code I found you could specify a `mac_sdk_path` for `gn` so this let's me get past the previous issue I had of setting the sdk version. I tried sdk 10,11,13 (which we have toolchain fetches of) but all did not work either. Recently 13.3 was landed in Bug 1833995, and using that 13.3 sdk it looks like it [built](https://treeherder.mozilla.org/jobs?repo=try&revision=4e530bc1b1b066ea6dd35cecf466a7c45c9c8dc0&selectedTaskRun=AqOS_qoWQeSt1Q02RBVLVQ.0) (non PGO) some issues: * takes a long time (almost 7 hours) compared to windows and linux * while the build itself completes (you can see the Tar artifact) the task itself fails. * there is some auth/insufficientscope(?) issue where I can't click the tar file to download it * depending on my tool-chain artifact path (`public/build/<..>` vs `project/gecko/<...>`) the error is different when clicking the tar? e.g. [1](https://treeherder.mozilla.org/jobs?repo=try&revision=853cb9d926d25e0c3a339ff79c7e52344b4e4718) and [2](https://treeherder.mozilla.org/jobs?repo=try&revision=4e530bc1b1b066ea6dd35cecf466a7c45c9c8dc0&selectedTaskRun=AqOS_qoWQeSt1Q02RBVLVQ.0) from above * occasionally there is an intermittent failure `ModuleNotFoundError: No module named 'importlib_metadata'` that occurs, [e.g.](https://treeherder.mozilla.org/jobs?repo=try&revision=df0ba557622609a90ca32a174fbb0c8c078ac3d0&selectedTaskRun=I3Pr5jreQC-65GEPGjHVLA.0) I will look into why the build completes but the task fails (initial guess is auth expires because task takes way too long?)