8000 Update binutils 2.46.1 + coreutils 9.11 (base-soup bundle) by bryan-minimal · Pull Request #240 · gominimal/pkgs · GitHub
[go: up one dir, main page]

Skip to content

Update binutils 2.46.1 + coreutils 9.11 (base-soup bundle) - #240

Closed
bryan-minimal wants to merge 1 commit into
mainfrom
update-binutils-coreutils-bundle
Closed

bryan-minimal wants to merge 1 commit into
mainfrom
update-binutils-coreutils-bundle

Conversation

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

Bundles two base-soup toolchain updates so the cascading rebuild lands as one unit:

  • binutils 2.46.0 → 2.46.1
  • coreutils 9.10 → 9.11

glibc has an update too but is deferred to a separate change (per request).

Both mirrored + sha-verified against upstream ftp.gnu.org (.tar.xz):

pkg sha256 matches upstream
binutils-2.46.1.tar.xz e127a709… ✅
coreutils-9.11.tar.xz 394024ed… ✅

⚠️ Heads-up for the reviewer: coreutils' tarball was manually verified/corrected — pkgmgr's GNU-FTP parser grabbed the .tar.gz when .tar.xz was also available, so I re-mirrored + sha-checked the .xz by hand. A parser-preference fix (prefer .tar.xz) is a separate pkgmgr follow-up.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated binutils to version 2.46.1
    • Updated coreutils to version 9.11

…ndle)

Bundled per the base-soup rule: binutils and coreutils are both in the
circularly-dependent toolchain, so the cascading rebuild should land as one
unit. glibc has an update available too but is intentionally deferred to a
separate change.

Both mirrored to gs://minimal-staging-archives and sha-verified against
upstream ftp.gnu.org (.tar.xz):
  binutils-2.46.1.tar.xz  e127a709...  (matches upstream)
  coreutils-9.11.tar.xz   394024ed...  (matches upstream)

Note: coreutils' tarball was manually verified/corrected — pkgmgr's GNU-FTP
listing parser resolved the .tar.gz when .tar.xz was also available, so the
.xz here was re-mirrored + sha-checked by hand. Parser-preference fix is a
separate pkgmgr follow-up.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@coderabbitai
coderabbitai Bot commented Jun 12, 2026 •
Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Two build configuration files are updated to newer upstream package versions. The binutils build is bumped from version 2.46.0 to 2.46.1, and coreutils from 9.10 to 9.11, with corresponding SHA-256 checksums updated for source tarball validation.

Changes

Package Version Updates

Layer / File(s) Summary
Package version bumps
packages/binutils/build.ncl, packages/coreutils/build.ncl
binutils version constant and tarball SHA-256 are updated from 2.46.0 to 2.46.1; coreutils version constant and tarball SHA-256 are updated from 9.10 to 9.11.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Packages updated, old paths retired,
2.46.1 for binutils, now freshly attired!
Coreutils hops forward to 9.11's shore,
SHA-256 checksums verified once more! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: updating binutils to 2.46.1 and coreutils to 9.11, bundled together as stated in the PR objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-binutils-coreutils-bundle

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

@coderabbitai coderabbitai Bot left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
packages/binutils/build.ncl (1)

110-110: ⚠️ Potential issue | 🟠 Major

Align Arm64 replace_on_cycle prebuilt with binutils 2.46.1

packages/binutils/build.ncl targets version = "2.46.1", but the Arm64 cycle-breaker prebuilt URL still hardcodes the 2.46.0 artifact:

url = "gs://minimal-staging-archives/prebuilts/binutils/arm64-linux-gnu/binutils_2.46.0_arm64-linux-gnu_prebuilt.tar.zst",

Update the Arm64 prebuilt url (and corresponding fixed sha256) to the 2.46.1 artifact (preferably derived from version) so bootstrap uses a consistent binutils version.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/binutils/build.ncl` at line 110, The Arm64 prebuilt URL in
packages/binutils/build.ncl is still pointing at the 2.46.0 artifact while
version = "2.46.1"; update the Arm64 replace_on_cycle prebuilt entry by changing
the url to point to the 2.46.1 artifact (preferably interpolate/use the existing
version variable instead of hardcoding 2.46.0) and replace the corresponding
sha256 with the checksum for the 2.46.1 tar.zst so bootstrap uses a consistent
binutils version.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@packages/binutils/build.ncl`:
- Line 110: The Arm64 prebuilt URL in packages/binutils/build.ncl is still
pointing at the 2.46.0 artifact while version = "2.46.1"; update the Arm64
replace_on_cycle prebuilt entry by changing the url to point to the 2.46.1
artifact (preferably interpolate/use the existing version variable instead of
hardcoding 2.46.0) and replace the corresponding sha256 with the checksum for
the 2.46.1 tar.zst so bootstrap uses a consistent binutils version.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 23f6cad9-df56-4e0c-b12f-0c86b38a8a0a

📥 Commits

Reviewing files that changed from the base of the PR and between 0e9c8c0 and 34cfe32.

📒 Files selected for processing (2)
  • packages/binutils/build.ncl
  • packages/coreutils/build.ncl

@bryan-minimal
Copy link
Copy Markdown
Member Author

Superseded by #242 — closing.

The binutils 2.46.0→2.46.1 + coreutils 9.10→9.11 bumps from this PR are carried verbatim in #242 (commit 34cfe32, the base of that branch). #242 then stacks the fixes the cascade rebuild turned out to need:

  • libvips 8.18.2 → 8.18.3 — sharp 0.35.1 (pulled unpinned by next/build.sh) hard-requires libvips ≥ 8.18.3, released 2026-06-09.
  • next: glib build/runtime dep + surface glib include paths to the sharp native build — libvips's public vips/vips8 header pulls in <glib-object.h>, which pkg-config vips-cpp doesn't expose (glib is a Requires.private).

Splitting these out would just re-break the same cascade, so per the bundle-the-cascade convention they ride together in #242. Landing the whole base-soup bundle (binutils + coreutils + libvips + next) as one unit there.

cvince pushed a commit to capysc/pkgs that referenced this pull request Jun 13, 2026
… (unblock gominimal#240 cascade) (gominimal#242)

* Update binutils 2.46.0->2.46.1 and coreutils 9.10->9.11 (base-soup bundle)

Bundled per the base-soup rule: binutils and coreutils are both in the
circularly-dependent toolchain, so the cascading rebuild should land as one
unit. glibc has an update available too but is intentionally deferred to a
separate change.

Both mirrored to gs://minimal-staging-archives and sha-verified against
upstream ftp.gnu.org (.tar.xz):
  binutils-2.46.1.tar.xz  e127a709...  (matches upstream)
  coreutils-9.11.tar.xz   394024ed...  (matches upstream)

Note: coreutils' tarball was manually verified/corrected — pkgmgr's GNU-FTP
listing parser resolved the .tar.gz when .tar.xz was also available, so the
.xz here was re-mirrored + sha-checked by hand. Parser-preference fix is a
separate pkgmgr follow-up.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* next: add glib to build/runtime deps (fixes sharp FTBFS on cascade rebuild)

The base-soup bundle (gominimal#240) forced the first genuine rebuild of `next`
since gominimal#161 — prior "builds" were cache hits. The rebuild compiles
`sharp` from source against the system libvips, and libvips's public
header `vips/vips8` #includes <glib-object.h>. `next` had libvips only
as a runtime_dep (which does surface vips8 in the sandbox) but no glib,
so glib's headers + glib-2.0.pc were absent and sharp FTBFS on both
arches:

  /usr/include/vips/vips8:41:10: fatal error: glib-object.h: No such file

glib is vips-cpp.pc's public `Requires`; the image-format libs
(expat/jpeg/png/webp/lcms2) are `Requires.private` and aren't pulled in
for a dynamic compile, so glib alone should satisfy the chain.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* next: surface glib include/lib paths to the sharp native build

Adding glib to the dep list put its headers + glib-2.0.pc in the sandbox
but the sharp compile still couldn't find <glib-object.h>: sharp finds
our system libvips via `pkg-config vips-cpp`, and vips-cpp.pc lists glib
under Requires.private — a non-static `pkg-config --cflags vips-cpp`
(what node-gyp uses) doesn't expand private requires, so glib's
-I/usr/include/glib-2.0 was never passed even though libvips's public
header <vips/vips8> #includes <glib-object.h>.

Export glib's include/lib dirs before `node install/build.js`. CPATH /
LIBRARY_PATH are honored by gcc directly (independent of node-gyp's
Makefile flag handling); CFLAGS/CXXFLAGS/LDFLAGS cover the conventional
path. Built from `pkg-config glib-2.0 gobject-2.0`, pure-bash -I parse
(no sed dependency in the sandbox).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* libvips: 8.18.2 -> 8.18.3 (sharp 0.35.1 requires >= 8.18.3)

next's build.sh installs sharp unpinned (always latest); sharp 0.35.1
hard-requires libvips >= 8.18.3 (released 2026-06-09). Our package was
pinned at 8.18.2, so once the glib include path was fixed the sharp
native build hit its version assertion:

  common.h:23:2: error: "libvips version 8.18.3+ is required"

sha256 verified against the upstream vips-8.18.3.tar.xz.sha256sum asset
(f41285b6...).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore: re-trigger buildbot (update-branch merge commit didn't fire it)

---------

Co-authored-by: Claude Opus 4.8 <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