From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 03 Dec 2021 09:13:26 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mt3h8-0006QL-K5 for lore@lore.pengutronix.de; Fri, 03 Dec 2021 09:13:26 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mt3h8-0002Ye-A6; Fri, 03 Dec 2021 09:13:26 +0100 Received: from mail.thorsis.com ([92.198.35.195]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mt3gD-0002YV-Sj for ptxdist@pengutronix.de; Fri, 03 Dec 2021 09:12:32 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id E96B2334A for ; Fri, 3 Dec 2021 09:12:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.thorsis.com Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AT_KKGdstO2a for ; Fri, 3 Dec 2021 09:12:28 +0100 (CET) Received: by mail.thorsis.com (Postfix, from userid 109) id C504635A2; Fri, 3 Dec 2021 09:12:28 +0100 (CET) Received: from adahl by ada.ifak-system.com with local (Exim 4.92) (envelope-from ) id 1mt3g7-0004Ob-6z for ptxdist@pengutronix.de; Fri, 03 Dec 2021 09:12:23 +0100 From: Alexander Dahl To: ptxdist@pengutronix.de Date: Fri, 3 Dec 2021 09:12:23 +0100 Message-Id: <20211203081223.16601-1-ada@thorsis.com> X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH] setup: Replace unreliable GNU mirror X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false The previously selected mirror was unreliable in the past every now and then, tarballs were missing, for example: ----------------------------------- target: libmicrohttpd-0.9.73.tar.gz ----------------------------------- --2021-12-03 08:53:29-- http://ftp.uni-kl.de/pub/gnu/libmicrohttpd/libmicrohttpd-0.9.73.tar.gz Resolving ftp.uni-kl.de (ftp.uni-kl.de)... 131.246.123.4, 2001:638:208:ef1b:0:ff:fe00:4 Connecting to ftp.uni-kl.de (ftp.uni-kl.de)|131.246.123.4|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2021-12-03 08:53:29 ERROR 404: Not Found. --2021-12-03 08:53:29-- http://www.pengutronix.de/software/ptxdist/temporary-src/libmicrohttpd-0.9.73.tar.gz Resolving www.pengutronix.de (www.pengutronix.de)... 95.216.103.100, 2a01:4f9:2a:2c17:5054:ff:fe65:8c93 Connecting to www.pengutronix.de (www.pengutronix.de)|95.216.103.100|:80... connected. HTTP request sent, awaiting response... 307 Temporary Redirect Location: https://www.pengutronix.de/software/ptxdist/temporary-src/libmicrohttpd-0.9.73.tar.gz [following] --2021-12-03 08:53:29-- https://www.pengutronix.de/software/ptxdist/temporary-src/libmicrohttpd-0.9.73.tar.gz Connecting to www.pengutronix.de (www.pengutronix.de)|95.216.103.100|:443... connected. HTTP request sent, awaiting response... 307 Temporary Redirect Location: https://public.pengutronix.de/mirror/software/ptxdist/temporary-src/libmicrohttpd-0.9.73.tar.gz [following] --2021-12-03 08:53:30-- https://public.pengutronix.de/mirror/software/ptxdist/temporary-src/libmicrohttpd-0.9.73.tar.gz Resolving public.pengutronix.de (public.pengutronix.de)... 95.216.103.100, 2a01:4f9:2a:2c17:5054:ff:fe65:8c93 Connecting to public.pengutronix.de (public.pengutronix.de)|95.216.103.100|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2021-12-03 08:53:30 ERROR 404: Not Found. Could not download package URL: http://ftp.uni-kl.de/pub/gnu/libmicrohttpd/libmicrohttpd-0.9.73.tar.gz make: *** [/usr/local/lib/ptxdist-2018.05.0/rules/post/ptxd_make_world_get.make:18: /home/adahl/mnt/bagend-src_archive/libmicrohttpd-0.9.73.tar.gz] Error 1 GNU has an automatic mirror selector now, we can use that in addition to the unchanged main archive. Link: https://www.gnu.org/prep/ftp.html Signed-off-by: Alexander Dahl --- config/setup/Kconfig | 2 +- config/setup/ptxdistrc.default | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/setup/Kconfig b/config/setup/Kconfig index f3fe2e8e8..8f6a60eac 100644 --- a/config/setup/Kconfig +++ b/config/setup/Kconfig @@ -153,7 +153,7 @@ config SETUP_GNOMEMIRROR config SETUP_GNUMIRROR string - default "https://ftp.gnu.org/gnu http://ftp.uni-kl.de/pub/gnu" + default "https://ftp.gnu.org/gnu https://ftpmirror.gnu.org" prompt "GNU.org Mirror" help For all GNU.org related packages enter an available mirror here. diff --git a/config/setup/ptxdistrc.default b/config/setup/ptxdistrc.default index a3be0a337..6b66dcdd2 100644 --- a/config/setup/ptxdistrc.default +++ b/config/setup/ptxdistrc.default @@ -34,7 +34,7 @@ PTXCONF_SETUP_SRCDIR="${PTXDIST_WORKSPACE}/src" PTXCONF_SETUP_PTXMIRROR="https://www.pengutronix.de/software/ptxdist/temporary-src" PTXCONF_SETUP_DEBMIRROR="http://ftp.uni-kl.de/debian http://archive.debian.org/debian" PTXCONF_SETUP_GNOMEMIRROR="https://download.gnome.org/sources https://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.gnome.org/sources" -PTXCONF_SETUP_GNUMIRROR="https://ftp.gnu.org/gnu http://ftp.uni-kl.de/pub/gnu" +PTXCONF_SETUP_GNUMIRROR="https://ftp.gnu.org/gnu https://ftpmirror.gnu.org" PTXCONF_SETUP_KERNELMIRROR="https://www.kernel.org/pub/linux http://www.linux-mips.org/pub/linux/mips http://mirror.linux.org.au/linux" PTXCONF_SETUP_PYPIMIRROR="https://files.pythonhosted.org/packages/source" PTXCONF_SETUP_SFMIRROR="http://downloads.sourceforge.net/sourceforge" base-commit: 70205d7cc77ff2bd36860291bf767f91bb4bc989 -- 2.30.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de