8000 openjdk-21/25/26, ghc-9.6.7 -> gen-15; drop the glibc-bedrock-2.42-sysroot package by bryan-minimal · Pull Request #1462 · gominimal/pkgs · GitHub
[go: up one dir, main page]

Skip to content

openjdk-21/25/26, ghc-9.6.7 -> gen-15; drop the glibc-bedrock-2.42-sysroot package - #1462

Draft
bryan-minimal wants to merge 2 commits into
mainfrom
bryan/gen15-sysroot-drop
Draft

bryan-minimal wants to merge 2 commits into
mainfrom
bryan/gen15-sysroot-drop

Conversation

@bryan-minimal
@bryan-minimal bryan-minimal commented Nov 12, 2026 •
Copy link
Copy Markdown
Member

Supersedes #1322 (same change, replayed onto main after #1242 squash-merged; that branch carried #1242's 81 commits and conflicted).

The amd64 openjdk-21/25/26 and ghc-9.6.7 tops move to gen-15 of gominimal/bootstrap, where they were rebuilt against the system glibc with the plain loader: PT_INTERP /usr/lib/ld-linux-x86-64.so.2, only $ORIGIN RUNPATHs, ghc-cc runs the gcc on PATH. They now take glibc as their runtime dep like arm64 does, so the glibc-bedrock-2.42-sysroot package has no consumers and is deleted; ghc drops it as a build dep and its build.sh keeps the "nothing shipped names the sysroot" check. The arm64 pins move to the same objects under the gen-15 prefix (ghc-9.6.7 arm64 is byte-identical to gen-14 except BUILDINFO).

Moves 10 packages (mip dump --packages, amd64, measured 2026-11-12): openjdk-21, openjdk-25, openjdk-26, ghc-9.6.7, ghc, cabal, stack, haskell-language-server, tamarin-prover and dev-language-servers. jdk-21/25/27 do not move: on main they are Temurin binaries (#1137), and nothing imports openjdk-21/25/26. gen-13 objects pinned elsewhere are unchanged.

The source-hash guard flags the arm64 openjdk pins because their url moves while the sha256 stays. That is correct here: gen-15 re-publishes the gen-13 arm64 objects unchanged (bootstrap generations/gen-15/manifest.json lists each sha256 at its gen-15 url), so each carries a # source-hash-guard: allow comment.

After this, nothing in pkgs reads the hex0 → stage0-* → glibc-bedrock-2.42 chain; #1442 removes its last three orphans and the remaining 24 can go in one follow-up PR.

🤖 Generated with Claude Code

…sroot package

gen-15 of gominimal/bootstrap builds the amd64 openjdk-21/25/26 and ghc-9.6.7 against the
system glibc with the gcc seed: PT_INTERP /usr/lib/ld-linux-x86-64.so.2, no RUNPATH beyond
their own $ORIGIN entries, and ghc-cc a plain gcc wrapper that adds that loader. The four pins
move to gen-15 on both arches (arm64's objects are the gen-13 bytes under their gen-15 names,
ghc-9.6.7's rebuilt from the shared script and identical apart from BUILDINFO) and their amd64
runtime dep becomes glibc. ghc drops the sysroot from its amd64 build deps; its check that
nothing shipped names the sysroot stays. Nothing imports glibc-bedrock-2.42-sysroot any more,
so the package goes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
(cherry picked from commit 1151b19)
@coderabbitai
coderabbitai Bot commented Nov 12, 2026
Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

The arm64 JDK objects are the gen-13 bytes re-published under gen-15
(bootstrap generations/gen-15/manifest.json lists each sha256 at its gen-15
url), so the url moves and the sha256 correctly stays. Comments only; no
spec hash changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0