Skip to content

Commit 785d245

Browse files
godlygeekpablogsal
authored andcommitted
Use the kernel.org mirror for elfutils in CI
For some reason some of the downloads from the canonical sourceware.org server are failing when run from the GHA runners... Signed-off-by: Matt Wozniski <[email protected]>
1 parent 3a2f7b5 commit 785d245

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
cd /
8787
apk add --update argp-standalone bison bsd-compat-headers bzip2-dev curl curl-dev flex-dev libtool linux-headers musl-fts-dev musl-libintl musl-obstack-dev xz-dev zlib-dev zstd-dev
8888
VERS=0.191
89-
curl https://sourceware.org/elfutils/ftp/$VERS/elfutils-$VERS.tar.bz2 > ./elfutils.tar.bz2
89+
curl -L https://mirrors.kernel.org/sourceware/elfutils/$VERS/elfutils-$VERS.tar.bz2 >./elfutils.tar.bz2
9090
tar -xf elfutils.tar.bz2
9191
cd elfutils-$VERS
9292
CFLAGS='-Wno-error -DFNM_EXTMATCH=0 -g -O3' CXXFLAGS='-Wno-error -DFNM_EXTMATCH=0 -g -O3' ./configure --enable-libdebuginfod --disable-debuginfod --disable-nls --with-zstd

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ before-all = [
9797
"yum install -y lz4-devel",
9898
"cd /",
9999
"VERS=0.191",
100-
"/usr/bin/curl https://sourceware.org/elfutils/ftp/$VERS/elfutils-$VERS.tar.bz2 > ./elfutils.tar.bz2",
100+
"/usr/bin/curl -L https://mirrors.kernel.org/sourceware/elfutils/$VERS/elfutils-$VERS.tar.bz2 >./elfutils.tar.bz2",
101101
"tar -xf elfutils.tar.bz2",
102102
"cd elfutils-$VERS",
103103
"CFLAGS='-Wno-error -g -O3' CXXFLAGS='-Wno-error -g -O3' LDFLAGS=-lrt ./configure --enable-libdebuginfod --disable-debuginfod --disable-nls --with-zstd",
@@ -169,7 +169,7 @@ before-all = [
169169
"cd /",
170170
"apk add --update argp-standalone bison bsd-compat-headers bzip2-dev curl-dev flex-dev libtool linux-headers musl-libintl musl-obstack-dev xz-dev zlib-dev zstd-dev",
171171
"VERS=0.191",
172-
"curl https://sourceware.org/elfutils/ftp/$VERS/elfutils-$VERS.tar.bz2 > ./elfutils.tar.bz2",
172+
"curl -L https://mirrors.kernel.org/sourceware/elfutils/$VERS/elfutils-$VERS.tar.bz2 >./elfutils.tar.bz2",
173173
"tar -xf elfutils.tar.bz2",
174174
"cd elfutils-$VERS",
175175
"CFLAGS='-Wno-error -DFNM_EXTMATCH=0 -g -O3' CXXFLAGS='-Wno-error -g -O3' ./configure --enable-libdebuginfod --disable-debuginfod --disable-nls --with-zstd",

0 commit comments

Comments
 (0)