Repository navigation
Update next to 16.2.6 - #161
Merged
Merged
Conversation
Contributor
mitodrummer
approved these changes
May 8, 2026
bryan-minimal
marked this pull request as ready for review
May 8, 2026 17:16
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update next
16.2.4→16.2.6Source:
github:vercel/next.jsRelease: https://github.com/vercel/next.js/releases/tag/v16.2.6
Changelog: vercel/next.js@v16.2.4...v16.2.6
Released: 2026-05-07 (urgent security release)
Important
PR opened as DRAFT due to pkgscan recency gate — the upstream
release is <12h old (CRITICAL pkgscan signal
metadata/recent-bump).No code-level critical signals were detected; the gate fired purely
on release age. This is a security release from Vercel; un-draft
after manual audit of the diff.
Diff signals beyond recency: 1 MEDIUM signal (
compile(in buildtooling — endemic to the codebase, not new in 16.2.6).
Patches in this release (13 advisories)
Per v16.2.6 release notes:
High:
Moderate:
Low:
Changes
16.2.416.2.6https://github.com/vercel/next.js/archive/refs/tags/v16.2.4.tar.gzhttps://github.com/vercel/next.js/archive/refs/tags/v16.2.6.tar.gzVulnerabilities still affecting
16.2.6After this bump, 3 advisories remain (no known fix in any released next.js version per OSV data — pending upstream patch in a future release):
These three predate today's release; they're independent of the patch being applied here.
Detection-flow notes
The original PR body (auto-generated by pkgmgr) wrongly listed all 28 historical advisories as "still affecting" due to a partition-flow bug where dual-ecosystem packages (next has both NativeC and Npm ecosystems) had their per-package query metadata wiped during deduplication. Diagnose 8000 d and fixed in supply-chain#96; this body is the corrected version.
Originally created by pkgmgr; body manually corrected pending sc#96 merge.
Summary by CodeRabbit