mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] setup: Replace unreliable GNU mirror
Date: Fri,  3 Dec 2021 09:12:23 +0100	[thread overview]
Message-ID: <20211203081223.16601-1-ada@thorsis.com> (raw)

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 <ada@thorsis.com>
---
 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


             reply	other threads:[~2021-12-03  8:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-03  8:12 Alexander Dahl [this message]
2021-12-10 13:07 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211203081223.16601-1-ada@thorsis.com \
    --to=ada@thorsis.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox