From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: Re: [ptxdist] [APPLIED] setup: Replace unreliable GNU mirror
Date: Fri, 10 Dec 2021 14:07:11 +0100 [thread overview]
Message-ID: <20211210130711.3901493-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20211203081223.16601-1-ada@thorsis.com>
Thanks, applied as 36a6ab1b4dfa705bd13b2ff6b66828d71f360f19.
Michael
[sent from post-receive hook]
On Fri, 10 Dec 2021 14:07:10 +0100, Alexander Dahl <ada@thorsis.com> wrote:
> 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>
> Message-Id: <20211203081223.16601-1-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/config/setup/Kconfig b/config/setup/Kconfig
> index f3fe2e8e814a..8f6a60eac567 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 a3be0a337cbd..6b66dcdd2b09 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"
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
prev parent reply other threads:[~2021-12-10 13:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-03 8:12 [ptxdist] [PATCH] " Alexander Dahl
2021-12-10 13:07 ` Michael Olbrich [this message]
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=20211210130711.3901493-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=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