Repository navigation
Update binutils 2.46.1 + coreutils 9.11 (base-soup bundle) - #240
bryan-minimal wants to merge 1 commit into
Conversation
…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>
📝 WalkthroughWalkthroughTwo build configuration files are updated to newer upstream package versions. The ChangesPackage Version Updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
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 | 🟠 MajorAlign Arm64 replace_on_cycle prebuilt with binutils 2.46.1
packages/binutils/build.ncltargetsversion = "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 fixedsha256) to the 2.46.1 artifact (preferably derived fromversion) 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
📒 Files selected for processing (2)
packages/binutils/build.nclpackages/coreutils/build.ncl
|
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
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. |
… (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>
Bundles two base-soup toolchain updates so the cascading rebuild lands as one unit:
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):
e127a709…394024ed….tar.gzwhen.tar.xzwas also available, so I re-mirrored + sha-checked the.xzby hand. A parser-preference fix (prefer.tar.xz) is a separate pkgmgr follow-up.🤖 Generated with Claude Code
Summary by CodeRabbit