From bf7cd909dd115b426bb934dce02aecda91fba0e3 Mon Sep 17 00:00:00 2001 From: Stanislav Motylkov Date: Mon, 7 Sep 2026 21:30:45 +0300 Subject: [PATCH] [GITHUB] Add gcc-8.4.0.tar.xz fallback workaround for RosBE build script ftpmirror.gnu.org is returning Gateway Timeout / Bad Gateway errors lately. --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16131efcf1c..735c31a5939 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,8 @@ jobs: echo march-sha=$(gcc -march=native -Q --help=target | sha1sum | awk '{print $1}') >> $GITHUB_OUTPUT echo git-sha=$(git ls-remote https://github.com/zefklop/RosBE.git | grep unix_amd64 | awk '{print $1}') >> $GITHUB_OUTPUT wget https://gist.githubusercontent.com/zefklop/b2d6a0b470c70183e93d5285a03f5899/raw/build_rosbe_ci.sh + # Fallback for GNU file server problems. + sed -i '/gcc-8.4.0\/gcc-8.4.0.tar.xz/c\wget https://ftpmirror.gnu.org/gcc/gcc-8.4.0/gcc-8.4.0.tar.xz || wget -L https://web.archive.org/web/2025if_/https://ftpmirror.gnu.org/gcc/gcc-8.4.0/gcc-8.4.0.tar.xz' ./build_rosbe_ci.sh - name: Get RosBE id: get_rosbe uses: actions/cache@v5