mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] setup: Replace unreliable GNU mirror
@ 2021-12-03  8:12 Alexander Dahl
  2021-12-10 13:07 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Dahl @ 2021-12-03  8:12 UTC (permalink / raw)
  To: ptxdist

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] setup: Replace unreliable GNU mirror
  2021-12-03  8:12 [ptxdist] [PATCH] setup: Replace unreliable GNU mirror Alexander Dahl
@ 2021-12-10 13:07 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-12-10 13:07 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-10 13:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-03  8:12 [ptxdist] [PATCH] setup: Replace unreliable GNU mirror Alexander Dahl
2021-12-10 13:07 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox