Skip to content

cpio, unzip, icu, libxml2, libxslt from staging-archives; gcc-15.2.0-glibc declares libzstd - #1145

Draft
bryan-minimal wants to merge 2 commits into
mainfrom
bryan/bootstrap-followups
Draft

bryan-minimal wants to merge 2 commits into
mainfrom
bryan/bootstrap-followups

Conversation

@bryan-minimal

Copy link
Copy Markdown
Member

Two things gominimal/bootstrap's port of the JVM ladder turned up in pkgs' own recipes:

  • Five sources fetched upstream (cpio from mirrors.kernel.org, unzip from http.debian.net, icu/libxml2/libxslt from GitHub). The same bytes are now in gs://minimal-staging-archives under the names cmake and meson already use for GitHub sources (GNOME/libxml2/v2.15.4.tar.gz, …); shas unchanged.
  • gcc-15.2.0-glibc loads libzstd.so.1 (cc1, cc1plus, lto1, DT_NEEDED in the gen-4 tarball) but declared only the glibc sysroot as a runtime dep. In pkgs nothing consumes it inside a sandbox, so it never showed; bootstrap's first consumer failed with "C++ compiler cannot create executables".

Spec hashes move for the five packages and for gcc-15.2.0-glibc's dependents, so this costs a partial world rebuild; batching it with the next root flip would avoid that.

🤖 Generated with Claude Code

…c-15.2.0-glibc: libzstd at runtime

The five recipes fetched upstream; the same bytes are staged (sha unchanged), under the names
cmake and meson use for GitHub sources. gcc-15.2.0-glibc's cc1, cc1plus and lto1 load
libzstd.so.1 (DT_NEEDED), but only the glibc sysroot was declared: the first in-sandbox
consumer, jikes in gominimal/bootstrap, found no libzstd.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 28, 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

Comment @coderabbitai help to get the list of available commands.

@bryan-minimal

Copy link
Copy Markdown
Member Author

Reconsider in light of the registry spec (gominimal/arch#183, build §6.1 and §7). Under it a Source URL must be https. The URL is also not in the Build Spec Hash once a sha256 pins the bytes, so moving a source to a mirror buys no stability. These five moves (upstream https to gs://minimal-staging-archives) also add to the 403 gs:// URLs that must become https later.

Plan when this is picked up:

  • Keep the upstream https URLs for cpio, unzip, icu, libxml2 and libxslt. If an upstream is unreliable, use the mirror's https form (https://storage.googleapis.com/minimal-staging-archives/...).
  • Keep the real fix: gcc-15.2.0-glibc declaring the libzstd its compilers load.

🤖 Generated with Claude Code

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