You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
or-tools fetches 8 dependencies live at build time (FetchContent, BUILD_DEPS=ON): pin + mirror them #1146
packages/or-tools builds with -DBUILD_DEPS=ON and needs.internet, so CMake FetchContent git-clones its dependencies live at build time: zlib, bzip2 (plus its test-files submodule from gitlab.com), abseil, protobuf, re2, eigen (gitlab.com/libeigen/eigen), SCIP and HiGHS.
What happened (10-28): the OpenSSL 4.1 world build (#1140) failed in or-tools. Every clone of https://gitlab.com/libeigen/eigen.git returned "GitLab is currently unable to handle this request due to load" (3 attempts), and the build stopped. Nothing in it was related to OpenSSL.
Why it matters beyond flakiness:
Supply chain: these inputs aren't pinned in our recipe by sha256. Upstream decides which commits come down, so the bytes aren't verified, mirrored or scanned. Every other source in pkgs is fetched as a pinned Source (often a gs:// mirror) before the sandbox runs.
Reproducibility and availability: any upstream outage fails our build, and a world rebuild loses its place.
Fix: pin each FetchContent dependency as a Source, with a url (mirrored create-only to gs://minimal-staging-archives) and sha256, at the exact commit or tag or-tools' cmake/dependencies/CMakeLists.txt requests. Point CMake at them with -DFETCHCONTENT_FULLY_DISCONNECTED=ON and -DFETCHCONTENT_SOURCE_DIR_<NAME>=…. Where we already ship a dependency (zlib, bzip2, abseil, protobuf, re2), prefer -DBUILD_DEPS=OFF per dependency and link ours. Then drop needs.internet.
Triage, 2026-11-17: partly done. Eigen and BZip2 have been pinned through FETCHCONTENT_SOURCE_DIR_* since #1140. #1541, open and now green on both arches, moves zlib, bzip2, abseil-cpp, protobuf, re2 and boost to the registry's packages. HiGHS, SCIP, SoPlex and the COIN-OR solvers are still fetched at build time, so needs.internet stays. That is what remains here once #1541 merges.
Fixed by #1541 (merged 2026-11-18): or-tools now uses the registry's zlib, bzip2, abseil-cpp, protobuf, re2 and the rest instead of fetching them with FetchContent/BUILD_DEPS at build time — and builds much faster for it. The follow-up sweep for other recipes that build bundled copies is in #1573 (rizin), #1574 (ghostscript) and #1575 (opencv).
Activity
bryan-minimal commentedon Nov 17, 2026
Triage, 2026-11-17: partly done. Eigen and BZip2 have been pinned through
FETCHCONTENT_SOURCE_DIR_*since #1140. #1541, open and now green on both arches, moves zlib, bzip2, abseil-cpp, protobuf, re2 and boost to the registry's packages. HiGHS, SCIP, SoPlex and the COIN-OR solvers are still fetched at build time, soneeds.internetstays. That is what remains here once #1541 merges.🤖 Generated with Claude Code
bryan-minimal commentedon Nov 18, 2026
Fixed by #1541 (merged 2026-11-18): or-tools now uses the registry's zlib, bzip2, abseil-cpp, protobuf, re2 and the rest instead of fetching them with FetchContent/BUILD_DEPS at build time — and builds much faster for it. The follow-up sweep for other recipes that build bundled copies is in #1573 (rizin), #1574 (ghostscript) and #1575 (opencv).