Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coreboot-toolchain: if gnat11.meta.broken then omit ada #173808

Closed
wants to merge 2 commits into from
Closed

coreboot-toolchain: if gnat11.meta.broken then omit ada #173808

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented May 20, 2022

ZHF: #172160

Description of changes

Gnat requires a long and increasingly-fragile bootstrapping chain; it has been broken in past releases and recently broke just six days before the end of ZHF 22.05, and remains broken, which puts coreboot-tools at risk of being marked broken in the 22.05 release. The only proposed fix for gnat requires a patch to glibc, which would cause a global rebuild; the ZHF managers are unlikely to agree to something like that with 10 days left until release.

To guard against coreboot-tools being marked broken in 22.05 and future releases, let's fall back to omitting ada support (and therefore libgfxinit) rather than failing completely.

Tested with gnat11 marked broken.

On systems that do not pull from cachix, PR #171223 is also required in order to fully unbreak coreboot-toolchain. Please consider merging that PR as well. It isn't possible to build coreboot-toolchain without that; the only reason we aren't getting failures is because of cached artifacts.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Gnat requires a long and increasingly-fragile bootstrapping chain; it
broke days before ZHF 22.05, which risked causing coreboot-tools to be
marked broken.  To guard against this in the future, we fall back to
omitting ada support (and therefore libgfxinit) rather than failing
completely.

Tested with gnat11 marked broken.

On my system, PR #171223 is also required in order to fully unbreak
coreboot-toolchain.  YMMV.
@ofborg ofborg bot requested a review from felixsinger May 20, 2022 22:15
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 1-10 labels May 20, 2022
@ghost
Copy link
Author

ghost commented May 20, 2022

@ofborg build coreboot-toolchain

@ofborg ofborg bot added the 8.has: package (new) This PR adds a new package label May 20, 2022
@ghost
Copy link
Author

ghost commented May 20, 2022

ofborg says: coreboot-toolchain on x86_64-linux — Success

My own rebuild is still running but was also successful; I will undraft this and revert the mark-gnat-broken patch.

@ghost ghost marked this pull request as ready for review May 20, 2022 22:46
@ghost ghost requested a review from matthewbauer as a code owner May 20, 2022 22:46
@felixsinger
Copy link
Member

I will reply later in the day. I don't have time now.

@Mindavi Mindavi added the 0.kind: build failure A package fails to build label May 21, 2022
@ghost
Copy link
Author

ghost commented May 23, 2022

Closed by #173893 (for this release cycle, at least)

@ghost ghost closed this May 23, 2022
@ghost ghost deleted the pr/zhf/coreboot-tools branch January 23, 2024 06:50
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants