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
CI failure: Task riscv32 bare metal, static libbitcoin_consensus: submodule cloning rate limited #35853
The CI is now failing for more than a week, and it is unclear when it will be coming back. I think it makes sense to at least temporarily remove the config from the GHA matrix.
We could switch to that in CI with a rough patch like:
${CI_RETRY_EXE} git clone --depth=1 https://github.com/riscv-collab/riscv-gnu-toolchain -b 2026.06.06 /riscv/gcc
+# Use a mirror for these submodules as sourceware blocks too many requests.+git config --global \+ url."https://git.fish.foo/mirrors/binutils-gdb.git".insteadOf \+ "https://sourceware.org/git/binutils-gdb.git"++git config --global \+ url."https://git.fish.foo/mirrors/glibc.git".insteadOf \+ "https://sourceware.org/git/glibc.git"++git config --global \+ url."https://git.fish.foo/mirrors/newlib-cygwin.git".insteadOf \+ "https://sourceware.org/git/newlib-cygwin.git"+
( cd /riscv/gcc;
./configure --prefix=/opt/riscv-ilp32 --with-arch=rv32gc --with-abi=ilp32 --disable-gdb;
make "$MAKEJOBS"; )
This of course only moves the potential source of flakiness from sourceware.org to myself. I have no plans to deprecate that forgejo instance and can probably be more responsive to fixing things that sourceware appear to be, but perhaps there is still another better solution...
I have a local branch combining this with caching both the SDKs (a la #35722) and the riscv toolchain build more cleanly in CI, so I may close #35722 and open a "unified" approach, if using my mirror repos is deemed acceptable?
Activity
fanquake commentedon Jul 30, 2026
Related: riscv-collab/riscv-gnu-toolchain#1883
ci: Temporarily remove riscv32 config from GHA matrix
Merge #35875: ci: Fix NetBSD SDK download failure, Temp. remove riscv…
maflcko commentedon Aug 4, 2026
The CI is now failing for more than a week, and it is unclear when it will be coming back. I think it makes sense to at least temporarily remove the config from the GHA matrix.
maflcko commentedon Aug 4, 2026
edit: done in #35875
willcl-ark commentedon Aug 4, 2026
I have managed (after a struggle) to mirror the sourceware repos on my own infra here: https://git.fish.foo/mirrors
We could switch to that in CI with a rough patch like:
${CI_RETRY_EXE} git clone --depth=1 https://github.com/riscv-collab/riscv-gnu-toolchain -b 2026.06.06 /riscv/gcc +# Use a mirror for these submodules as sourceware blocks too many requests. +git config --global \ + url."https://git.fish.foo/mirrors/binutils-gdb.git".insteadOf \ + "https://sourceware.org/git/binutils-gdb.git" + +git config --global \ + url."https://git.fish.foo/mirrors/glibc.git".insteadOf \ + "https://sourceware.org/git/glibc.git" + +git config --global \ + url."https://git.fish.foo/mirrors/newlib-cygwin.git".insteadOf \ + "https://sourceware.org/git/newlib-cygwin.git" + ( cd /riscv/gcc; ./configure --prefix=/opt/riscv-ilp32 --with-arch=rv32gc --with-abi=ilp32 --disable-gdb; make "$MAKEJOBS"; )This of course only moves the potential source of flakiness from sourceware.org to myself. I have no plans to deprecate that forgejo instance and can probably be more responsive to fixing things that sourceware appear to be, but perhaps there is still another better solution...
I have a local branch combining this with caching both the SDKs (a la #35722) and the riscv toolchain build more cleanly in CI, so I may close #35722 and open a "unified" approach, if using my mirror repos is deemed acceptable?
maflcko commentedon Aug 4, 2026
Using fish foo seems fine. Should be trivial to remove the config (cherry-pick fa06ea4) if something fails again.
Waiting a few more weeks for upstream seems also fine.
I wouldn't combine the change with other changes, though.
ci: Temporarily remove riscv32 config from GHA matrix
Merge bitcoin/bitcoin#35875: ci: Fix NetBSD SDK download failure, Tem…
willcl-ark commentedon Aug 12, 2026
Closing now as #35885 is merged.
If that's not deemed a robust-enough fix we can re-open.
ci: Temporarily remove riscv32 config from GHA matrix
Merge bitcoin/bitcoin#35875: ci: Fix NetBSD SDK download failure, Tem…
fanquake commentedon Aug 20, 2026
Looks like upstream has switch to mirrors: riscv-collab/riscv-gnu-toolchain@92d2391
maflcko commentedon Aug 20, 2026
I guess b283e17 can be reverted, then?
willcl-ark commentedon Aug 20, 2026
great!
willcl-ark commentedon Aug 21, 2026
I can revert this, but are we happy to pin to a master commit on riscv-gnu-toolchain, or shall we wait until they cut a nightly tag?
willcl-ark commentedon Aug 26, 2026
Reverted and tag bumped in #36094