8000 cc procs test by jtnkminimal · Pull Request #2 · gominimal/pkgs · GitHub
[go: up one dir, main page]

Skip to content

cc procs test - #2

Merged
twitchyliquid64 merged 1 commit into
mainfrom
update/cc-procs
Jan 16, 2026
Merged

twitchyliquid64 merged 1 commit into
mainfrom
update/cc-procs

Conversation

@jtnkminimal
Copy link
Copy Markdown
Contributor

No description provided.

@twitchyliquid64
twitchyliquid64 merged commit 99bfcfd into main Jan 16, 2026
@twitchyliquid64
twitchyliquid64 deleted the update/cc-procs branch January 16, 2026 23:59
bryan-minimal added a commit that referenced this pull request Aug 2, 2026
…E_H_

The recipe carried this flag under a "MEASURED, NOT GUESSED" heading. It was neither.

Declaring __GLIBC__ makes lib/getopt.c:52 and getopt1.c:49 take
    #if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2
    # include <gnu-versions.h>
and musl ships no such header. Both files are unconditional members of libfetish_a_SOURCES, so lib/
dies at object #2 and nothing links. Confirmed twice independently: a local preprocessor test, and a
clean-tree VM build (minimermetic commit 381c2c6) where the published flag set failed with
"include file 'gnu-versions.h' not found".

The flag only ever appeared to work because getopt.o was already on disk from a build PREDATING it.
A dirty build tree did not merely inflate a result -- it CONCEALED a defect in the artifact the doc
presented as its most carefully measured output.

The real problem is narrower than the flag: lib/getline.h:30 guards its conflicting
`int getline(...)` declaration with `#if __GLIBC__ < 2`, which is true when __GLIBC__ is undefined.
-DGETLINE_H_ suppresses that ONE header through its own include guard (GETLINE_H_, read from line
17) without claiming to be glibc. musl still declares getline in <stdio.h> under _GNU_SOURCE, so the
real declaration stays in scope. -D__mempcpy=mempcpy goes too -- it was only a follow-on of the
wrong flag. Clean-tree result with the corrected set: make rc=0, 98 compiles, 5/5 tools, both MD5
vectors, sha 55bafcb69da2d418.

The false rationale block is replaced with the measured one rather than deleted, so the next reader
sees why the obvious-looking flag is wrong.

Still open and NOT addressed here: the gate requires sha256sum, which coreutils 5.0 structurally
cannot produce (bin_PROGRAMS has md5sum and sha1sum only). Measured recommendation is to export
mescc-tools-extra's already-byte-pinned sha256sum from rung 3 under a non-colliding prefix rather
than bump the coreutils version -- 6.0 is the earliest with SHA-2 and every 6.x hits one of two
disjoint musl walls, so there is no clean version.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
bryan-minimal added a commit that referenced this pull request Aug 4, 2026
m4 PROVED the procedure works: AB_BUILD_OK rc=0, m4 absent from the hydrate list, and
'[timing] m4 main build phase: 212s' with build_secs=212 — a real compile, not a fetch
(the no-op gate's own criterion). Two more of the free/high-fan-in targets now follow it.

Cut by EXACT LINE RANGE as m4's fix established (findutils 73-97, file 55-81) — brace
matching from 'replace_on_cycle =' consumes one brace too many and Nickel fails the graph
decode. Verified per file: zero replace_on_cycle, zero prebuilts/ references, and the
record still closes on '} | BuildSpec'.

Note 'file' collides with the { file = "build.sh" } | Local field name, so it needed the
line-range approach regardless of any grep-based edit.

UNVERIFIED: neither has been built from source yet. m4 took 212s once its closure was warm.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
bryan-minimal added a commit that referenced this pull request Oct 23, 2026
The 0.17.0 patch (a cargo-generated delta) no longer applied to 0.18.0's
Cargo.lock (build-bot run 30b22537: "Hunk #2 FAILED at 1264"). 0.18.0 still
locks rustls-webpki 0.103.4, webpki-roots 1.0.5 / 0.26.2 and
webpki-root-certs 1.0.9, all below the CVE-2026-111943 floors, so the carry
is still needed.

New minimal lock-only patch: rustls-webpki 0.103.16, webpki-roots 1.0.10,
webpki-root-certs 1.0.10, and the standalone webpki-roots 0.26.2 (hyper-rustls)
moved to the 0.26.11 shim over 1.x. Every new version's dependency
requirements are already satisfied by the lock (checked against crates.io).
The fail-closed guard also rejects pre-shim webpki-roots 0.26.0-0.26.10.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bryan-minimal added a commit that referenced this pull request Oct 25, 2026
…rated one

The CVE-2026-111943 lock patch no longer applies to 1.18.0's Cargo.lock
(hunk #2), and that lock still pins rustls-webpki 0.103.13,
webpki-root-certs 1.0.7 and rustls 0.23.31. This commit regenerates the
patch with `pkgmgr lock-patch nickel --replace-legacy`: cargo moves each
floored crate itself, `cargo metadata --locked` verifies the result, and
the patch header records the base-lock sha256, the floors and the
companion crates (aws-lc-rs 1.18.2, aws-lc-sys 0.46.0, ...). build.sh
gets the generated block: a base-lock check, the apply line and
version-agnostic floor checks. The old CVE-2026-111943 floor check stays.

Five floors are left to a human and listed in the patch header. They are
semver-incompatible fixes (quick-xml, imbl-sized-chunks), tokio 1.47.1
(mio conflict) and bitmaps (no fixed release).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
evanspearman pushed a commit to evanspearman/pkgs that referenced this pull request Nov 25, 2026
* Update ruff to 0.17.1

* Update tree-sitter to 0.27.1

* Update utf8proc to 2.12.0

* Update sccache to 0.18.0

* Update syft to 1.55.0

* Update tailscale to 1.104.2

* Update terraform to 1.17.0

* Update tmux to 3.8

* sccache: regenerate the CVE-2026-111943 lock patch for 0.18.0

The 0.17.0 patch (a cargo-generated delta) no longer applied to 0.18.0's
Cargo.lock (build-bot run 30b22537: "Hunk gominimal#2 FAILED at 1264"). 0.18.0 still
locks rustls-webpki 0.103.4, webpki-roots 1.0.5 / 0.26.2 and
webpki-root-certs 1.0.9, all below the CVE-2026-111943 floors, so the carry
is still needed.

New minimal lock-only patch: rustls-webpki 0.103.16, webpki-roots 1.0.10,
webpki-root-certs 1.0.10, and the standalone webpki-roots 0.26.2 (hyper-rustls)
moved to the 0.26.11 shim over 1.x. Every new version's dependency
requirements are already satisfied by the lock (checked against crates.io).
The fail-closed guard also rejects pre-shim webpki-roots 0.26.0-0.26.10.

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

* sccache: move aws-lc-rs/aws-lc-sys/pkg-config with rustls-webpki 0.103.16

The session build of the first regenerated patch failed in cargo's resolver:
rustls-webpki 0.103.16 needs aws-lc-rs ^1.18 (lock had 1.17.0). Move the
chain: aws-lc-rs 1.18.0 -> aws-lc-sys ^0.44 (0.44.0) -> pkg-config ^0.3.31
(0.3.32, no deps). Every other requirement is already met by the lock.

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

* sccache: align the aws-lc chain with xh/zizmor (aws-lc-rs 1.18.2, aws-lc-sys 0.46.0, pkg-config 0.3.34)

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

---------

Co-authored-by: gominimal-pkgmgr-mgr[bot] <285843623+gominimal-pkgmgr-mgr[bot]@users.noreply.github.com>
Co-authored-by: bryan <bryan@minimal.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
evanspearman pushed a commit to evanspearman/pkgs that referenced this pull request Nov 25, 2026
* Update nickel to 1.18.0

* nickel 1.18.0: replace the hand-written webpki lock patch with a generated one

The CVE-2026-111943 lock patch no longer applies to 1.18.0's Cargo.lock
(hunk gominimal#2), and that lock still pins rustls-webpki 0.103.13,
webpki-root-certs 1.0.7 and rustls 0.23.31. This commit regenerates the
patch with `pkgmgr lock-patch nickel --replace-legacy`: cargo moves each
floored crate itself, `cargo metadata --locked` verifies the result, and
the patch header records the base-lock sha256, the floors and the
companion crates (aws-lc-rs 1.18.2, aws-lc-sys 0.46.0, ...). build.sh
gets the generated block: a base-lock check, the apply line and
version-agnostic floor checks. The old CVE-2026-111943 floor check stays.

Five floors are left to a human and listed in the patch header. They are
semver-incompatible fixes (quick-xml, imbl-sized-chunks), tokio 1.47.1
(mio conflict) and bitmaps (no fixed release).

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

* nickel: restore build.sh's executable bit (lost when pkgmgr lock-patch rewrote it)

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

* nickel 1.18.0: regenerate the lock patch; the tokio floor now lands

Regenerated with p
966A
kgmgr-rs#1079. tokio 1.47.1 -> 1.51.6
(RUSTSEC-2026-0386) was refused because the locked signal-hook-mio 0.2.4
pins mio ~1.0 while tokio 1.51.6 needs mio ^1.2. The generator now moves
signal-hook-mio to 0.2.5, and mio goes 1.0.4 -> 1.2.4. Four floors are
still left to a human and listed in the patch header: quick-xml (two
versions) and imbl-sized-chunks (fixes are semver-incompatible), and
bitmaps (no fixed release).

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

---------

Co-authored-by: gominimal-pkgmgr-mgr[bot] <285843623+gominimal-pkgmgr-mgr[bot]@users.noreply.github.com>
Co-authored-by: bryan <bryan@minimal.dev>
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.

3 participants

0