From: Laura Flores Date: Mon, 28 Aug 2023 22:13:09 +0000 (-0500) Subject: make-dist: download liburing from kernel.io instead of github X-Git-Tag: v16.2.15~202^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3f7e04d833a96f1bde8b5d2e55bf7ce4747a55ef;p=ceph.git make-dist: download liburing from kernel.io instead of github Due to a bug with github.com, wget does not reliably download packages. See https://github.com/orgs/community/discussions/65227 This change is motivated by this error that occurs when trying to download liburing from github.com on an ubuntu jammy machine: ``` $ wget https://github.com/axboe/liburing/archive/liburing-0.7.tar.gz --2023-08-28 21:26:02-- https://github.com/axboe/liburing/archive/liburing-0.7.tar.gz Resolving github.com (github.com)... 140.82.113.3 Connecting to github.com (github.com)|140.82.113.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/axboe/liburing/tar.gz/refs/tags/liburing-0.7 [following] --2023-08-28 21:26:02-- https://codeload.github.com/axboe/liburing/tar.gz/refs/tags/liburing-0.7 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2023-08-28 21:26:02 ERROR 403: Forbidden. ``` The same does not happen on centos 8 or fedora. Downloading from kernel.io works on every distro. Signed-off-by: Laura Flores (cherry picked from commit 7f109dc612d9590f84a8fe7a047a78c7d621fcab) --- diff --git a/make-dist b/make-dist index 75528c1b860..07821bae038 100755 --- a/make-dist +++ b/make-dist @@ -183,8 +183,7 @@ download_boost $boost_version 4eb3b8d442b426dc35346235c8733b5ae35ba431690e38c6a8 https://boostorg.jfrog.io/artifactory/main/release/$boost_version/source \ https://downloads.sourceforge.net/project/boost/boost/$boost_version \ https://download.ceph.com/qa -download_liburing 0.7 8e2842cfe947f3a443af301bdd6d034455536c38a455c7a700d0c1ad165a7543 \ - https://github.com/axboe/liburing/archive \ +download_liburing 0.7 05d0cf8493d573c76b11abfcf34aabc7153affebe17ff95f9ae88b0de062a59d \ https://git.kernel.dk/cgit/liburing/snapshot pmdk_version=1.10 download_pmdk $pmdk_version 08dafcf94db5ac13fac9139c92225d9aa5f3724ea74beee4e6ca19a01a2eb20c \