GNU bug report logs - #63068
Apache mirrors are not available anymore

Previous Next

Package: guix;

Reported by: Julian Flake <flake <at> uni-koblenz.de>

Date: Tue, 25 Apr 2023 14:56:01 UTC

Severity: normal

Done: Simon Tournier <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63068 in the body.
You can then email your comments to 63068 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Tue, 25 Apr 2023 14:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Julian Flake <flake <at> uni-koblenz.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 25 Apr 2023 14:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Julian Flake <flake <at> uni-koblenz.de>
To: bug-guix <at> gnu.org
Subject: Apache mirrors are not available anymore
Date: Tue, 25 Apr 2023 14:01:39 +0200
- The apache mirrors defined in guix/download.scm aren't available 
 anymore.
- Compare the info at https://www.apache.org/mirrors
- (At least Some of the) packages are available at 
 https://dlcdn.apache.org/





Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Fri, 28 Apr 2023 20:17:01 GMT) Full text and rfc822 format available.

Message #8 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: Julian Flake <flake <at> uni-koblenz.de>
To: 63068 <at> debbugs.gnu.org
Cc: Julian Flake <flake <at> uni-koblenz.de>
Subject: [PATCH] fixed apache mirrors
Date: Fri, 28 Apr 2023 22:16:22 +0200
Maybe(!) this allows for installing newer versions of packages that are downloaded from Apache servers (e.g. Maven). Can anyone test and confirm?

---
 guix/download.scm | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/guix/download.scm b/guix/download.scm
index 561a893eee..3abbf2f10c 100644
--- a/guix/download.scm
+++ b/guix/download.scm
@@ -134,19 +134,8 @@ (define %mirrors
        "http://mirror.linux.org.au/"
        "https://mirrors.edge.kernel.org/pub/"
        "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/")
-      (apache             ; from http://www.apache.org/mirrors/dist.html
-       "http://www.eu.apache.org/dist/"
-       "http://www.us.apache.org/dist/"
-       "https://ftp.nluug.nl/internet/apache/"
-       "http://apache.mirror.iweb.ca/"
-       "http://mirrors.ircam.fr/pub/apache/"
-       "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"
-       "http://apache-mirror.rbc.ru/pub/apache/"
-       "ftp://ftp.osuosl.org/pub/apache/"
-       "http://mirrors.ibiblio.org/apache/"
-
-       ;; As a last resort, try the archive.
-       "http://archive.apache.org/dist/")
+      (apache
+       "https://dlcdn.apache.org/")
       (xorg               ; from http://www.x.org/wiki/Releases/Download
        "http://www.x.org/releases/" ; main mirrors
        "http://mirror.csclub.uwaterloo.ca/x.org/" ; North America

base-commit: 960647f0161c2c99ea3417d129662181e882cfeb
-- 
2.39.2





Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Fri, 28 Apr 2023 20:49:01 GMT) Full text and rfc822 format available.

Message #11 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: Julian Flake <flake <at> uni-koblenz.de>
To: 63068 <at> debbugs.gnu.org
Subject: What I was trying to do
Date: Fri, 28 Apr 2023 22:36:30 +0200
What I tried is

$ guix shell --with-version=maven=3.9.1 maven

(or any other version that exists) and got:

guix shell: warning: could not find version 3.9.1 of 'maven' 
upstream

The patch above resolves the origin uri in gnu/packages/maven.scm 
(definition of maven-pom) to something available, 
e.g. https://dlcdn.apache.org/maven/maven-3/3.9.1/source/apache-maven-3.9.1-src.tar.gz




Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Wed, 03 May 2023 17:25:03 GMT) Full text and rfc822 format available.

Message #14 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Julian Flake <flake <at> uni-koblenz.de>, 63068 <at> debbugs.gnu.org
Subject: Re: bug#63068: What I was trying to do
Date: Wed, 03 May 2023 18:56:12 +0200
Hi,

On Fri, 28 Apr 2023 at 22:36, Julian Flake <flake <at> uni-koblenz.de> wrote:

> $ guix shell --with-version=maven=3.9.1 maven

Just to be sure, are you using the Guix where you applied the patch?

I mean, from the Guix repository where you applied you patch, I am
expecting:

    $ ./pre-inst-env guix shell --with-version=maven=3.9.1 maven

If that’s the case, it means the issue is elsewhere. :-)

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Wed, 03 May 2023 18:58:02 GMT) Full text and rfc822 format available.

Message #17 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: Julian Flake <flake <at> uni-koblenz.de>
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 63068 <at> debbugs.gnu.org
Subject: Re: bug#63068: What I was trying to do
Date: Wed, 03 May 2023 20:53:59 +0200
Hi,

>> $ guix shell --with-version=maven=3.9.1 maven
>
> Just to be sure, are you using the Guix where you applied the 
> patch?

No, the proposed patch is just an untested guess. I didn't test 
the patch yet, because I didn't manage to build (make) my guix 
working copy yet.

Best Regards,
Julian

On Wed, May 03 2023, Simon Tournier wrote:

> Hi,
>
> On Fri, 28 Apr 2023 at 22:36, Julian Flake 
> <flake <at> uni-koblenz.de> wrote:
>
>> $ guix shell --with-version=maven=3.9.1 maven
>
> Just to be sure, are you using the Guix where you applied the 
> patch?
>
> I mean, from the Guix repository where you applied you patch, I 
> am
> expecting:
>
>     $ ./pre-inst-env guix shell --with-version=maven=3.9.1 maven
>
> If that’s the case, it means the issue is elsewhere. :-)
>
> Cheers,
> simon


-- 
Dipl.-Inf. Julian Flake

Universität Koblenz
Fachbereich Informatik
Institut für Softwaretechnik
Postfach 20 16 02 | D-56016 Koblenz

Tel.: +49 261 287 2787
E-Mail: flake <at> uni-koblenz.de
Website: https://www.uni-koblenz.de/~flake




Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Thu, 04 May 2023 07:53:02 GMT) Full text and rfc822 format available.

Message #20 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: Giovanni Biscuolo <g <at> xelera.eu>
To: Julian Flake <flake <at> uni-koblenz.de>, 63068 <at> debbugs.gnu.org
Cc: Julian Flake <flake <at> uni-koblenz.de>
Subject: Re: bug#63068: [PATCH] fixed apache mirrors
Date: Thu, 04 May 2023 09:52:21 +0200
[Message part 1 (text/plain, inline)]
Hello Julian,

thank you for the patch

Julian Flake <flake <at> uni-koblenz.de> writes:

> Maybe(!) this allows for installing newer versions of packages that are downloaded from Apache servers (e.g. Maven). Can anyone test and confirm?
>
> ---
>  guix/download.scm | 15 ++-------------
>  1 file changed, 2 insertions(+), 13 deletions(-)
>
> diff --git a/guix/download.scm b/guix/download.scm
> index 561a893eee..3abbf2f10c 100644
> --- a/guix/download.scm
> +++ b/guix/download.scm
> @@ -134,19 +134,8 @@ (define %mirrors
>         "http://mirror.linux.org.au/"
>         "https://mirrors.edge.kernel.org/pub/"
>         "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/")
> -      (apache             ; from http://www.apache.org/mirrors/dist.html
> -       "http://www.eu.apache.org/dist/"
> -       "http://www.us.apache.org/dist/"
> -       "https://ftp.nluug.nl/internet/apache/"
> -       "http://apache.mirror.iweb.ca/"
> -       "http://mirrors.ircam.fr/pub/apache/"
> -       "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"
> -       "http://apache-mirror.rbc.ru/pub/apache/"
> -       "ftp://ftp.osuosl.org/pub/apache/"
> -       "http://mirrors.ibiblio.org/apache/"
> -
> -       ;; As a last resort, try the archive.
> -       "http://archive.apache.org/dist/")

The archive is still working, there is no need to remove it

> +      (apache
> +       "https://dlcdn.apache.org/")
>        (xorg               ; from http://www.x.org/wiki/Releases/Download
>         "http://www.x.org/releases/" ; main mirrors
>         "http://mirror.csclub.uwaterloo.ca/x.org/" ; North America
>
> base-commit: 960647f0161c2c99ea3417d129662181e882cfeb

Please can you send a new version of this patch, also with a proper
commit message?

Thanks! Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Thu, 04 May 2023 08:23:02 GMT) Full text and rfc822 format available.

Message #23 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: Julian Flake <flake <at> uni-koblenz.de>
To: 63068 <at> debbugs.gnu.org
Cc: Julian Flake <flake <at> uni-koblenz.de>
Subject: [PATCH] gnu: apache mirror URLs substituted by CDN URL
Date: Thu,  4 May 2023 10:21:58 +0200
* guix/download.scm (Apache mirrors are substituted by CDN):
---
 guix/download.scm | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/guix/download.scm b/guix/download.scm
index 561a893eee..ce29e12ae8 100644
--- a/guix/download.scm
+++ b/guix/download.scm
@@ -134,17 +134,8 @@ (define %mirrors
        "http://mirror.linux.org.au/"
        "https://mirrors.edge.kernel.org/pub/"
        "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/")
-      (apache             ; from http://www.apache.org/mirrors/dist.html
-       "http://www.eu.apache.org/dist/"
-       "http://www.us.apache.org/dist/"
-       "https://ftp.nluug.nl/internet/apache/"
-       "http://apache.mirror.iweb.ca/"
-       "http://mirrors.ircam.fr/pub/apache/"
-       "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"
-       "http://apache-mirror.rbc.ru/pub/apache/"
-       "ftp://ftp.osuosl.org/pub/apache/"
-       "http://mirrors.ibiblio.org/apache/"
-
+      (apache ; see https://apache.org/history/mirror-history.html
+       "https://dlcdn.apache.org/"
        ;; As a last resort, try the archive.
        "http://archive.apache.org/dist/")
       (xorg               ; from http://www.x.org/wiki/Releases/Download

base-commit: 7a0a186a32524d4156bf96786d708fab323cebff
-- 
2.39.2





Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Thu, 04 May 2023 08:26:02 GMT) Full text and rfc822 format available.

Message #26 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: Julian Flake <flake <at> uni-koblenz.de>
To: Giovanni Biscuolo <g <at> xelera.eu>
Cc: 63068 <at> debbugs.gnu.org
Subject: Re: bug#63068: [PATCH] fixed apache mirrors
Date: Thu, 04 May 2023 10:22:19 +0200
Hello Giovanni,

> Please can you send a new version of this patch, also with a 
> proper
> commit message?

see above (or https://issues.guix.gnu.org/63068#6). I didn't send 
it to guix-patches <at> gnu.org, since I still didn't test the 
patch. Furthermore I am not sure, how a proper commit message 
looks like, when it is not related to a package (there is no 
YASnippet for that, right?).

Best Regards,
Julian

On Thu, May 04 2023, Giovanni Biscuolo wrote:

> [[PGP Signed Part:Undecided]]
> Hello Julian,
>
> thank you for the patch
>
> Julian Flake <flake <at> uni-koblenz.de> writes:
>
>> Maybe(!) this allows for installing newer versions of packages 
>> that are downloaded from Apache servers (e.g. Maven). Can 
>> anyone test and confirm?
>>
>> ---
>>  guix/download.scm | 15 ++-------------
>>  1 file changed, 2 insertions(+), 13 deletions(-)
>>
>> diff --git a/guix/download.scm b/guix/download.scm
>> index 561a893eee..3abbf2f10c 100644
>> --- a/guix/download.scm
>> +++ b/guix/download.scm
>> @@ -134,19 +134,8 @@ (define %mirrors
>>         "http://mirror.linux.org.au/"
>>         "https://mirrors.edge.kernel.org/pub/"
>>         "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/")
>> -      (apache             ; from 
>> http://www.apache.org/mirrors/dist.html
>> -       "http://www.eu.apache.org/dist/"
>> -       "http://www.us.apache.org/dist/"
>> -       "https://ftp.nluug.nl/internet/apache/"
>> -       "http://apache.mirror.iweb.ca/"
>> -       "http://mirrors.ircam.fr/pub/apache/"
>> -       "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"
>> -       "http://apache-mirror.rbc.ru/pub/apache/"
>> -       "ftp://ftp.osuosl.org/pub/apache/"
>> -       "http://mirrors.ibiblio.org/apache/"
>> -
>> -       ;; As a last resort, try the archive.
>> -       "http://archive.apache.org/dist/")
>
> The archive is still working, there is no need to remove it
>
>> +      (apache
>> +       "https://dlcdn.apache.org/")
>>        (xorg               ; from 
>>        http://www.x.org/wiki/Releases/Download
>>         "http://www.x.org/releases/" ; main mirrors
>>         "http://mirror.csclub.uwaterloo.ca/x.org/" ; North 
>>         America
>>
>> base-commit: 960647f0161c2c99ea3417d129662181e882cfeb
>
> Please can you send a new version of this patch, also with a 
> proper
> commit message?
>
> Thanks! Gio'
>
> -- 
> Giovanni Biscuolo
>
> Xelera IT Infrastructures
>
> [[End of PGP Signed Part]]


-- 
Dipl.-Inf. Julian Flake

Universität Koblenz
Fachbereich Informatik
Institut für Softwaretechnik
Postfach 20 16 02 | D-56016 Koblenz

Tel.: +49 261 287 2787
E-Mail: flake <at> uni-koblenz.de
Website: https://www.uni-koblenz.de/~flake




Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Fri, 05 May 2023 06:34:01 GMT) Full text and rfc822 format available.

Message #29 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: Giovanni Biscuolo <g <at> xelera.eu>
To: Simon Tournier <zimon.toutoune <at> gmail.com>,
 Julian Flake <flake <at> uni-koblenz.de>, 63068 <at> debbugs.gnu.org
Subject: Re: bug#63068: What I was trying to do
Date: Fri, 05 May 2023 08:32:53 +0200
[Message part 1 (text/plain, inline)]
Hello Julian and Simon,

I'm trying to test this patch but I find a problem with package version
specification

Simon Tournier <zimon.toutoune <at> gmail.com> writes:

> Hi,
>
> On Fri, 28 Apr 2023 at 22:36, Julian Flake <flake <at> uni-koblenz.de> wrote:
>
>> $ guix shell --with-version=maven=3.9.1 maven

If I try to _build_ maven with my current guix specifying a version I
get this:

--8<---------------cut here---------------start------------->8---

$ LC_ALL=C guix build -n --no-substitutes maven --with-version=maven=3.8.6
guix build: warning: could not find version 3.8.6 of 'maven' upstream
The following derivations would be built:

--8<---------------cut here---------------end--------------->8---

Am I doing something wrong?

> Just to be sure, are you using the Guix where you applied the patch?
>
> I mean, from the Guix repository where you applied you patch, I am
> expecting:
>
>     $ ./pre-inst-env guix shell --with-version=maven=3.9.1 maven

I applied the patch and in my guix dev env I try to build maven:

--8<---------------cut here---------------start------------->8---

giovanni <at> roquette [genv]\:  ./pre-inst-env guix build -n --no-substitutes maven
/gnu/store/9cx7sijbc9n1fvq528qysh33v6aqb3d9-maven-3.8.6

--8<---------------cut here---------------end--------------->8---

How can I "force" the build of a package already stored in /gnu/store?

Obviously building with --with-version does not work here, also:

--8<---------------cut here---------------start------------->8---

giovanni <at> roquette [genv]\: ./pre-inst-env guix build -n --no-substitutes maven --with-version=maven=3.8.6
guix build: warning: could not find version 3.8.6 of 'maven' upstream
/gnu/store/9cx7sijbc9n1fvq528qysh33v6aqb3d9-maven-3.8.6

--8<---------------cut here---------------end--------------->8---

[...]

What am I missing?

Thanks! Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Fri, 05 May 2023 07:00:02 GMT) Full text and rfc822 format available.

Message #32 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Giovanni Biscuolo <g <at> xelera.eu>
Cc: 63068 <at> debbugs.gnu.org, Julian Flake <flake <at> uni-koblenz.de>
Subject: Re: bug#63068: What I was trying to do
Date: Fri, 5 May 2023 08:59:18 +0200
Hi,

A quick answer for one specific question. :-)

On Fri, 5 May 2023 at 08:32, Giovanni Biscuolo <g <at> xelera.eu> wrote:

> How can I "force" the build of a package already stored in /gnu/store?

See option --check.

For the rest, I will give a look later, but do not hold your breathe. ;-)

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Mon, 07 Aug 2023 20:11:03 GMT) Full text and rfc822 format available.

Message #35 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: Julian Flake <flake <at> uni-koblenz.de>
Cc: 63068 <at> debbugs.gnu.org
Subject: Re: bug#63068: [PATCH] gnu: apache mirror URLs substituted by CDN URL
Date: Mon, 7 Aug 2023 16:10:40 -0400
On Thu, May 4, 2023 at 4:23 AM Julian Flake <flake <at> uni-koblenz.de> wrote:
>
> * guix/download.scm (Apache mirrors are substituted by CDN):
> ---
>  guix/download.scm | 13 ++-----------
>  1 file changed, 2 insertions(+), 11 deletions(-)
>
> diff --git a/guix/download.scm b/guix/download.scm
> index 561a893eee..ce29e12ae8 100644
> --- a/guix/download.scm
> +++ b/guix/download.scm
> @@ -134,17 +134,8 @@ (define %mirrors
>         "http://mirror.linux.org.au/"
>         "https://mirrors.edge.kernel.org/pub/"
>         "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/")
> -      (apache             ; from http://www.apache.org/mirrors/dist.html
> -       "http://www.eu.apache.org/dist/"
> -       "http://www.us.apache.org/dist/"
> -       "https://ftp.nluug.nl/internet/apache/"
> -       "http://apache.mirror.iweb.ca/"
> -       "http://mirrors.ircam.fr/pub/apache/"
> -       "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"
> -       "http://apache-mirror.rbc.ru/pub/apache/"
> -       "ftp://ftp.osuosl.org/pub/apache/"
> -       "http://mirrors.ibiblio.org/apache/"
> -
> +      (apache ; see https://apache.org/history/mirror-history.html
> +       "https://dlcdn.apache.org/"

The link referenced in
https://infra.apache.org/release-distribution.html#channels is
"downloads.apache.org" rather than dlcdn.apache.org.

>         ;; As a last resort, try the archive.
>         "http://archive.apache.org/dist/")
>        (xorg               ; from http://www.x.org/wiki/Releases/Download
>
> base-commit: 7a0a186a32524d4156bf96786d708fab323cebff
> --
> 2.39.2




Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Sat, 02 Dec 2023 19:09:02 GMT) Full text and rfc822 format available.

Message #38 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: glaz <at> zho.pa
To: 63068 <at> debbugs.gnu.org
Subject: Apache mirrors are not available anymore
Date: Sat, 02 Dec 2023 22:08:37 +0300
[Message part 1 (text/plain, inline)]
Good evening.

Here's another version of patch that changes download URL's for Apache 
Foundation products.

What I have changed:

  * Remove Apache mirror list from download.scm, since all Apache 
projects now use it's own CDN instead of mirrors
  * Set proper download URL to dlcdn.apache.org, not download.apache.org 
mentioned earlier in this discussion. download.apache.org doesn't work. 
All download URLs on apache.org are set to dlcdn.apache.org
  * Use archive.apache.org for outdated httpd-2.4.52 package. The 'last 
resort' trick in the mirror list doesn't work because some mirrors 
return empty file when you try to download from them, guix returns 'sha 
missmatch' error.

Dmitry
[apache_dlcdn.patch (text/x-diff, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Sun, 10 Dec 2023 07:53:01 GMT) Full text and rfc822 format available.

Message #41 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: glaz <at> zho.pa
To: 63068 <at> debbugs.gnu.org
Subject: Apache mirrors are not available anymore
Date: Sun, 10 Dec 2023 10:52:05 +0300
Howdy ho, fellow guixers.

I did some minor research on my patch. Looks like I was wrong. There are 
more than one package, that is not available via DLCDN, but only on 
archive.apache.org. So the best solutions seems to be to change the list 
of mirrors in download.scm as described earlier.

-      (apache             ; from 
http://www.apache.org/mirrors/dist.html
-       "http://www.eu.apache.org/dist/"
-       "http://www.us.apache.org/dist/"
-       "https://ftp.nluug.nl/internet/apache/"
-       "http://apache.mirror.iweb.ca/"
-       "http://mirrors.ircam.fr/pub/apache/"
-       "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"
-       "http://apache-mirror.rbc.ru/pub/apache/"
-       "ftp://ftp.osuosl.org/pub/apache/"
-       "http://mirrors.ibiblio.org/apache/"
-
+      (apache ; see https://apache.org/history/mirror-history.html
+       "https://dlcdn.apache.org/"

Dmitry




Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Fri, 12 Jan 2024 12:52:03 GMT) Full text and rfc822 format available.

Message #44 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: glaz <at> zho.pa, 63068 <at> debbugs.gnu.org
Subject: Re: bug#63068: Apache mirrors are not available anymore
Date: Fri, 12 Jan 2024 13:01:29 +0100
Hi,

On Sun, 10 Dec 2023 at 10:52, glaz--- via Bug reports for GNU Guix <bug-guix <at> gnu.org> wrote:

> I did some minor research on my patch. Looks like I was wrong. There are 
> more than one package, that is not available via DLCDN, but only on 
> archive.apache.org. So the best solutions seems to be to change the list 
> of mirrors in download.scm as described earlier.
>
> -      (apache             ; from 
> http://www.apache.org/mirrors/dist.html
> -       "http://www.eu.apache.org/dist/"
> -       "http://www.us.apache.org/dist/"
> -       "https://ftp.nluug.nl/internet/apache/"
> -       "http://apache.mirror.iweb.ca/"
> -       "http://mirrors.ircam.fr/pub/apache/"
> -       "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"
> -       "http://apache-mirror.rbc.ru/pub/apache/"
> -       "ftp://ftp.osuosl.org/pub/apache/"
> -       "http://mirrors.ibiblio.org/apache/"
> -
> +      (apache ; see https://apache.org/history/mirror-history.html
> +       "https://dlcdn.apache.org/"

I think it is best to tweak the list of mirrors as you suggest here.
However, why remove all the others?  Are they officially down?

What I would suggest is the list:

      (apache ; see https://apache.org/history/mirror-history.html
       "https://dlcdn.apache.org/"
       "http://www.eu.apache.org/dist/"
       "http://www.us.apache.org/dist/"
       "https://ftp.nluug.nl/internet/apache/"
       "http://apache.mirror.iweb.ca/"
       "http://mirrors.ircam.fr/pub/apache/"
       "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"
       "http://apache-mirror.rbc.ru/pub/apache/"
       "ftp://ftp.osuosl.org/pub/apache/"
       "http://mirrors.ibiblio.org/apache/"

Hence the first item will be tried first.  And if it fails, the other
will be checked.  Then if it still fails, Guix will try other sources as
Webarchive, Software Heritage, etc.

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#63068; Package guix. (Fri, 07 Mar 2025 21:54:02 GMT) Full text and rfc822 format available.

Message #47 received at 63068 <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 63068 <at> debbugs.gnu.org, glaz <at> zho.pa
Subject: Re: bug#63068: Apache mirrors are not available anymore
Date: Fri, 7 Mar 2025 16:52:46 -0500
On Fri, Jan 12, 2024 at 7:52 AM Simon Tournier <zimon.toutoune <at> gmail.com> wrote:
>
> Hi,
>
> On Sun, 10 Dec 2023 at 10:52, glaz--- via Bug reports for GNU Guix <bug-guix <at> gnu.org> wrote:
>
> > I did some minor research on my patch. Looks like I was wrong. There are
> > more than one package, that is not available via DLCDN, but only on
> > archive.apache.org. So the best solutions seems to be to change the list
> > of mirrors in download.scm as described earlier.
> >
> > -      (apache             ; from
> > http://www.apache.org/mirrors/dist.html
> > -       "http://www.eu.apache.org/dist/"
> > -       "http://www.us.apache.org/dist/"
> > -       "https://ftp.nluug.nl/internet/apache/"
> > -       "http://apache.mirror.iweb.ca/"
> > -       "http://mirrors.ircam.fr/pub/apache/"
> > -       "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"
> > -       "http://apache-mirror.rbc.ru/pub/apache/"
> > -       "ftp://ftp.osuosl.org/pub/apache/"
> > -       "http://mirrors.ibiblio.org/apache/"
> > -
> > +      (apache ; see https://apache.org/history/mirror-history.html
> > +       "https://dlcdn.apache.org/"
>
> I think it is best to tweak the list of mirrors as you suggest here.
> However, why remove all the others?  Are they officially down?
>
> What I would suggest is the list:
>
>       (apache ; see https://apache.org/history/mirror-history.html
>        "https://dlcdn.apache.org/"
>        "http://www.eu.apache.org/dist/"
>        "http://www.us.apache.org/dist/"
>        "https://ftp.nluug.nl/internet/apache/"
>        "http://apache.mirror.iweb.ca/"
>        "http://mirrors.ircam.fr/pub/apache/"
>        "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"
>        "http://apache-mirror.rbc.ru/pub/apache/"
>        "ftp://ftp.osuosl.org/pub/apache/"
>        "http://mirrors.ibiblio.org/apache/"
>
> Hence the first item will be tried first.  And if it fails, the other
> will be checked.  Then if it still fails, Guix will try other sources as
> Webarchive, Software Heritage, etc.
>
> Cheers,
> simon

Is the update in 766822aa87b94eacb3c49fd68261ae4ce9088a56 sufficient
to mark this as done?




Reply sent to Simon Tournier <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Tue, 25 Mar 2025 13:02:03 GMT) Full text and rfc822 format available.

Notification sent to Julian Flake <flake <at> uni-koblenz.de>:
bug acknowledged by developer. (Tue, 25 Mar 2025 13:02:03 GMT) Full text and rfc822 format available.

Message #52 received at 63068-done <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Greg Hogan <code <at> greghogan.com>
Cc: 63068-done <at> debbugs.gnu.org, glaz <at> zho.pa
Subject: Re: bug#63068: Apache mirrors are not available anymore
Date: Mon, 24 Mar 2025 13:51:21 +0100
Hi,

On Fri, 07 Mar 2025 at 16:52, Greg Hogan <code <at> greghogan.com> wrote:

> Is the update in 766822aa87b94eacb3c49fd68261ae4ce9088a56 sufficient
> to mark this as done?

Sorry for the late reply.  Yes, it appears to me sufficient.  Closing! :-)

Cheers,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Apr 2025 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.