Repository navigation
deps: pin Homebrew libraries, pip and apt build inputs to deps 1.18.0-rc4 (task #114) - #280
Merged
StuartCameronCode merged 6 commits intoNov 28, 2026
Conversation
StuartCameronCode
force-pushed
the
stuart/114-pin-the-deps-build-s-remaining-moving-in
branch
from
November 27, 2026 21:46
e0c8f05 to
038b774
Compare
…s 1.18.0-rc4 built (task #114) Task #110 pinned every clone and download; three inputs still took whatever a package manager had that day. - macOS: zimg, boost and fftw are built from release tarballs checked by SHA-256 (fetch_verified) on both arches, at rc4's versions: arm64 zimg 3.0.6 / boost 1.92.0 (were Homebrew bottles), x64 zimg 3.0.5 / boost 1.85.0 (were source builds pinned by version only), fftw 3.3.10 (arm64 uses only its headers and .pc; 3.3.11's header only adds fftw_copy_plan). VapourSynth's meson setup gets the pinned zimg.pc and the build fails unless meson found it, did not fall back to R78's zimg.wrap, and libvapoursynth links the copy that ships; x64 no longer compiles against Homebrew's 3.0.6 headers. NNEDI3CL/KNLMeansCL take BOOST_ROOT=$SRCLIB on arm64 too; FFTW_INC and the plugins' pkg-config point at $SRCLIB. BREW_DEPS is build tools only: zimg, fftw, boost and ffmpeg (unused, and it pulled zimg in) are gone. - pip: Cython 3.3.2 and meson 1.12.1 from Scripts/pins/pip-*.txt with --require-hashes --only-binary :all: (the four wheels rc4 shipped), checked after install, in both scripts and build-deps-linux.yml. - Linux: Scripts/install-apt-pins-linux.sh installs fftw, boost, libdvdread, ocl-icd, the OpenCL headers and cython3 at rc4's versions from Ubuntu's archive snapshot 20261126T074400Z (Scripts/pins/ apt-linux.txt); download-deps-linux.sh checks them and meson before it copies anything (--allow-unpinned for a local build). Linux's Cython follows task #111: apt's 3.0.8 compiles, pip's 3.3.2 ships; both pinned, so nothing changes. build_input_pin_test.dart (push gate) holds it; it fails in 8 places on main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…istory, engineering note Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… its exports match rc4's (task #114) Without it boost.system exports function-local category statics where the bottle exported system_cat_holder<void>::instance (4 of 142 symbols); with -std=c++17 both libraries export exactly what rc4's did. x64 keeps the compiler default, as rc4's own x64 build had. Also: name an absent apt package as 'not installed' in the Linux pin check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the engineering note Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…without VapourSynth still finds the pinned fftw (task #114 review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…task #114) The first arm64 build failed when snapshot.ubuntu.com answered 503 for its command-not-found metadata, which the install does not need: the runner's apt fails the whole update on any index it cannot fetch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
StuartCameronCode
force-pushed
the
stuart/114-pin-the-deps-build-s-remaining-moving-in
branch
from
November 28, 2026 00:54
038b774 to
728c975
Compare
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.
Task #114 follows #110, which pinned the source clones. Even with those pins, a rebuild of the same deps version could still take different inputs. This PR pins the rest at the versions deps 1.18.0-rc4 shipped, so a rebuild should change nothing.
What changes
fetch_verified, the srclib block).zimg found: YES <pinned>and libvapoursynth links that copy.BREW_DEPSis build tools only: zimg, fftw, boost and the unused ffmpeg are gone.Scripts/pins/pip-*.txtwith--require-hashes --only-binary :all:, and both scripts check the installed versions.Scripts/install-apt-pins-linux.shinstalls fftw, boost, libdvdread, ocl-icd, the OpenCL headers and cython3 at rc4's versions, from Ubuntu's archive snapshot 20261126T074400Z (Scripts/pins/apt-linux.txt).download-deps-linux.shrefuses any other installed version.--allow-unpinnedis there for local builds that will not ship.build-deps-linux.ymlinstalls through the new script.app/test/build_input_pin_test.dartfails if an unpinnedbrew installorpip installof a bundled library comes back.How it was tested
bash -npasses on all three scripts.build_input_pin_test,source_pin_test,zimg_pin_test,shell_line_continuation_testandattribution_testall pass.-std=c++17, as Homebrew builds it.--require-hashesto the wheels rc4 shipped, on all four platforms.build_pluginnow names the srclib pkg-config files, so a local re-run that skips VapourSynth still finds the pinned fftw.Packagesindexes (Targets: Packages) and retries (Acquire::Retries=5).A/B against deps-v1.18.0-rc4
Builds from this branch, not published:
Build logs
Run-time dependency zimg found: YES 3.0.6on arm64 andYES 3.0.5on both x64 tiers, followed byVapourSynth compiles against zimg … (srclib).found: YES 1.92.0(arm64) and1.85.0(x64), both from srclib. Cython 3.3.2 and meson 1.12.1, checked. NoPouring zimg|fftw|boostline.Installed the pinned packages from snapshot 20261126T074400Z, meson 1.12.1,Cython compiler for the host machine: cython (cython 3.0.8).Linux bundles (x64 and arm64): every
lib/*.so*andvapoursynth/vapoursynth.abi3.sois byte-identical to rc4's. Other differences, none of them from this task:python/bin/cython3andvapoursynth/libzimg.so*and rewrotepython/bin/cython; feat(linux): ship an AppImage, with the tarball as the fallback #113 added Retinex's marker.macOS bundles
vapoursynth/libzimg.dyliblib/libboost_{filesystem,atomic}libzimg/libboost_*/libfftw3f*vspipeon an M1: Bicubic, Spline36, Lanczos, Bilinear, Spline64 and Point; 8/10/16-bit, float and RGB; error-diffusion and ordered dither. All 7 outputs are identical to rc4's.vapoursynth.abi3.sodiffer in under 2% of code bytes on both arches, with the same exports.Tests with
deps_run_id= these three runs720x486 (task #92)group inintegration_field_order_test.dart. The fixture's ffmpeg says "The bottom field has fewer chroma rows than its height requires". These tests already fail on main's scheduled nightly against rc4 (45867504513). The cause is BtbN's rolling FFmpeg, and task Auto shutdown upon job completion #123 covers it. This PR does not cause it.noise reduction: BM3D runs end-to-end, chroma included, which hit the harness's 300 s job limit. The encode had finished all 79 frames (ffmpeg elapsed 4:49, 0.27 fps). On an M1, the template's BM3D block runs at the same speed through rc4's arm64 bundle and this one: 32.2 s vs 33.3 s for 24 frames at 720x576. The heavy step took 2h09, against 1h59–2h08 in earlier nightlies. The test sits close to the limit on this runner; task Improved RIFE Frame Interpolation for Apple Silicon Mac Users #128 follows it up. Not retried.🤖 Generated with Claude Code