unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63068: Apache mirrors are not available anymore
@ 2023-04-25 12:01 Julian Flake
  2023-04-28 20:16 ` bug#63068: [PATCH] fixed apache mirrors Julian Flake
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Julian Flake @ 2023-04-25 12:01 UTC (permalink / raw)
  To: 63068

- 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/





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

* bug#63068: [PATCH] fixed apache mirrors
  2023-04-25 12:01 bug#63068: Apache mirrors are not available anymore Julian Flake
@ 2023-04-28 20:16 ` Julian Flake
  2023-05-04  7:52   ` Giovanni Biscuolo
  2023-04-28 20:36 ` bug#63068: What I was trying to do Julian Flake
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 14+ messages in thread
From: Julian Flake @ 2023-04-28 20:16 UTC (permalink / raw)
  To: 63068; +Cc: Julian Flake

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





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

* bug#63068: What I was trying to do
  2023-04-25 12:01 bug#63068: Apache mirrors are not available anymore Julian Flake
  2023-04-28 20:16 ` bug#63068: [PATCH] fixed apache mirrors Julian Flake
@ 2023-04-28 20:36 ` Julian Flake
  2023-05-03 16:56   ` Simon Tournier
  2023-05-04  8:21 ` bug#63068: [PATCH] gnu: apache mirror URLs substituted by CDN URL Julian Flake
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 14+ messages in thread
From: Julian Flake @ 2023-04-28 20:36 UTC (permalink / raw)
  To: 63068

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




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

* bug#63068: What I was trying to do
  2023-04-28 20:36 ` bug#63068: What I was trying to do Julian Flake
@ 2023-05-03 16:56   ` Simon Tournier
  2023-05-03 18:53     ` Julian Flake
  2023-05-05  6:32     ` Giovanni Biscuolo
  0 siblings, 2 replies; 14+ messages in thread
From: Simon Tournier @ 2023-05-03 16:56 UTC (permalink / raw)
  To: Julian Flake, 63068

Hi,

On Fri, 28 Apr 2023 at 22:36, Julian Flake <flake@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




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

* bug#63068: What I was trying to do
  2023-05-03 16:56   ` Simon Tournier
@ 2023-05-03 18:53     ` Julian Flake
  2023-05-05  6:32     ` Giovanni Biscuolo
  1 sibling, 0 replies; 14+ messages in thread
From: Julian Flake @ 2023-05-03 18:53 UTC (permalink / raw)
  To: Simon Tournier; +Cc: 63068

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@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@uni-koblenz.de
Website: https://www.uni-koblenz.de/~flake




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

* bug#63068: [PATCH] fixed apache mirrors
  2023-04-28 20:16 ` bug#63068: [PATCH] fixed apache mirrors Julian Flake
@ 2023-05-04  7:52   ` Giovanni Biscuolo
  2023-05-04  8:22     ` Julian Flake
  0 siblings, 1 reply; 14+ messages in thread
From: Giovanni Biscuolo @ 2023-05-04  7:52 UTC (permalink / raw)
  To: Julian Flake, 63068; +Cc: Julian Flake

[-- Attachment #1: Type: text/plain, Size: 1856 bytes --]

Hello Julian,

thank you for the patch

Julian Flake <flake@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

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

* bug#63068: [PATCH] gnu: apache mirror URLs substituted by CDN URL
  2023-04-25 12:01 bug#63068: Apache mirrors are not available anymore Julian Flake
  2023-04-28 20:16 ` bug#63068: [PATCH] fixed apache mirrors Julian Flake
  2023-04-28 20:36 ` bug#63068: What I was trying to do Julian Flake
@ 2023-05-04  8:21 ` Julian Flake
  2023-08-07 20:10   ` Greg Hogan
  2023-12-02 19:08 ` bug#63068: Apache mirrors are not available anymore glaz--- via Bug reports for GNU Guix
  2023-12-10  7:52 ` glaz--- via Bug reports for GNU Guix
  4 siblings, 1 reply; 14+ messages in thread
From: Julian Flake @ 2023-05-04  8:21 UTC (permalink / raw)
  To: 63068; +Cc: Julian Flake

* 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





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

* bug#63068: [PATCH] fixed apache mirrors
  2023-05-04  7:52   ` Giovanni Biscuolo
@ 2023-05-04  8:22     ` Julian Flake
  0 siblings, 0 replies; 14+ messages in thread
From: Julian Flake @ 2023-05-04  8:22 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: 63068

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@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@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@uni-koblenz.de
Website: https://www.uni-koblenz.de/~flake




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

* bug#63068: What I was trying to do
  2023-05-03 16:56   ` Simon Tournier
  2023-05-03 18:53     ` Julian Flake
@ 2023-05-05  6:32     ` Giovanni Biscuolo
  2023-05-05  6:59       ` Simon Tournier
  1 sibling, 1 reply; 14+ messages in thread
From: Giovanni Biscuolo @ 2023-05-05  6:32 UTC (permalink / raw)
  To: Simon Tournier, Julian Flake, 63068

[-- Attachment #1: Type: text/plain, Size: 1951 bytes --]

Hello Julian and Simon,

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

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

> Hi,
>
> On Fri, 28 Apr 2023 at 22:36, Julian Flake <flake@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@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@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

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

* bug#63068: What I was trying to do
  2023-05-05  6:32     ` Giovanni Biscuolo
@ 2023-05-05  6:59       ` Simon Tournier
  0 siblings, 0 replies; 14+ messages in thread
From: Simon Tournier @ 2023-05-05  6:59 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: 63068, Julian Flake

Hi,

A quick answer for one specific question. :-)

On Fri, 5 May 2023 at 08:32, Giovanni Biscuolo <g@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




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

* bug#63068: [PATCH] gnu: apache mirror URLs substituted by CDN URL
  2023-05-04  8:21 ` bug#63068: [PATCH] gnu: apache mirror URLs substituted by CDN URL Julian Flake
@ 2023-08-07 20:10   ` Greg Hogan
  0 siblings, 0 replies; 14+ messages in thread
From: Greg Hogan @ 2023-08-07 20:10 UTC (permalink / raw)
  To: Julian Flake; +Cc: 63068

On Thu, May 4, 2023 at 4:23 AM Julian Flake <flake@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




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

* bug#63068: Apache mirrors are not available anymore
  2023-04-25 12:01 bug#63068: Apache mirrors are not available anymore Julian Flake
                   ` (2 preceding siblings ...)
  2023-05-04  8:21 ` bug#63068: [PATCH] gnu: apache mirror URLs substituted by CDN URL Julian Flake
@ 2023-12-02 19:08 ` glaz--- via Bug reports for GNU Guix
  2023-12-10  7:52 ` glaz--- via Bug reports for GNU Guix
  4 siblings, 0 replies; 14+ messages in thread
From: glaz--- via Bug reports for GNU Guix @ 2023-12-02 19:08 UTC (permalink / raw)
  To: 63068

[-- Attachment #1: Type: text/plain, Size: 696 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: apache_dlcdn.patch --]
[-- Type: text/x-diff; name=apache_dlcdn.patch, Size: 28605 bytes --]

diff --git a/gnu/packages/apr.scm b/gnu/packages/apr.scm
index aac3822eae..cd8ab6ac51 100644
--- a/gnu/packages/apr.scm
+++ b/gnu/packages/apr.scm
@@ -36,7 +36,7 @@ (define-public apr
     (version "1.7.0")
     (source (origin
              (method url-fetch)
-             (uri (string-append "mirror://apache/apr/apr-"
+             (uri (string-append "https://dlcdn.apache.org/dist/apr/apr-"
                                  version ".tar.bz2"))
              (sha256
               (base32
@@ -84,7 +84,7 @@ (define-public apr-util
     (version "1.6.1")
     (source (origin
              (method url-fetch)
-             (uri (string-append "mirror://apache/apr/apr-util-"
+             (uri (string-append "https://dlcdn.apache.org/dist/apr/apr-util-"
                                  version ".tar.bz2"))
              (sha256
               (base32
diff --git a/gnu/packages/batik.scm b/gnu/packages/batik.scm
index 58f829dbd5..8ef958f8e7 100644
--- a/gnu/packages/batik.scm
+++ b/gnu/packages/batik.scm
@@ -301,7 +301,7 @@ (define-public java-xmlgraphics-commons
       (origin
         (method url-fetch)
         (uri (string-append
-              "mirror://apache/xmlgraphics/commons/source/xmlgraphics-commons-"
+              "https://dlcdn.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-"
               version "-src.tar.gz"))
         (sha256
          (base32 "18gndjwzdd6vhp59fn8cwn6i6q0v0ym8nmwn65rcykdrzz0nvl72"))
diff --git a/gnu/packages/java-bootstrap.scm b/gnu/packages/java-bootstrap.scm
index 481d8cd075..93f57007d9 100644
--- a/gnu/packages/java-bootstrap.scm
+++ b/gnu/packages/java-bootstrap.scm
@@ -198,7 +198,7 @@ (define ant-bootstrap
     (version "1.8.4")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/"
+              (uri (string-append "https://dlcdn.apache.org/dist/"
                                   "ant/source/apache-ant-"
                                   version "-src.tar.bz2"))
               (sha256
diff --git a/gnu/packages/java-rdf.scm b/gnu/packages/java-rdf.scm
index 7c400643bc..332fe9959b 100644
--- a/gnu/packages/java-rdf.scm
+++ b/gnu/packages/java-rdf.scm
@@ -75,7 +75,7 @@ (define-public java-commons-rdf-api
     (version "0.5.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/rdf/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/rdf/source/"
                                   "apache-commons-rdf-" version
                                   "-source-release.zip"))
               (sha256
diff --git a/gnu/packages/java-xml.scm b/gnu/packages/java-xml.scm
index 9ec11fa83e..90621d2eaf 100644
--- a/gnu/packages/java-xml.scm
+++ b/gnu/packages/java-xml.scm
@@ -134,7 +134,7 @@ (define-public java-jaxp
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://apache/xerces/xml-commons/source/"
+       (uri (string-append "https://dlcdn.apache.org/dist/xerces/xml-commons/source/"
                            "xml-commons-external-" version "-src.tar.gz"))
        (sha256
         (base32 "0rhq32a7dl9yik7zx9h0naz2iz068qgcdiayak91wp4wr26xhjyk"))))
@@ -168,7 +168,7 @@ (define-public java-apache-xml-commons-resolver
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://apache/xerces/xml-commons/"
+       (uri (string-append "https://dlcdn.apache.org/dist/xerces/xml-commons/"
                            "xml-commons-resolver-" version ".tar.gz"))
        (sha256
         (base32 "1zhy4anc3fg9f8y348bj88vmab15aavrg6nf419ifb25asyygnsm"))
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 7c8c4e0a36..9ee0286322 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1798,7 +1798,7 @@ (define-public ant/java8
     (version "1.10.13")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/ant/source/apache-ant-"
+              (uri (string-append "https://dlcdn.apache.org/dist/ant/source/apache-ant-"
                                   version "-src.tar.gz"))
               (sha256
                (base32
@@ -1889,7 +1889,7 @@ (define-public ant
     (version "1.9.15")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/ant/source/apache-ant-"
+              (uri (string-append "https://dlcdn.apache.org/dist/ant/source/apache-ant-"
                                   version "-src.tar.gz"))
               (sha256
                (base32
@@ -5512,7 +5512,7 @@ (define-public java-commons-math3
     (version "3.6.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/math/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/math/source/"
                                   "commons-math3-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -5599,7 +5599,7 @@ (define-public java-commons-collections4
     (version "4.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/collections/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/collections/source/"
                                   "commons-collections4-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -5659,7 +5659,7 @@ (define-public java-commons-collections
     (version "3.2.2")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/collections/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/collections/source/"
                                   "commons-collections-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -5697,7 +5697,7 @@ (define-public java-commons-beanutils
     (version "1.9.3")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/beanutils/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/beanutils/source/"
                                   "commons-beanutils-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -5736,7 +5736,7 @@ (define-public java-commons-io
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://apache/commons/io/source/"
+       (uri (string-append "https://dlcdn.apache.org/dist/commons/io/source/"
                            "commons-io-" version "-src.tar.gz"))
        (sha256
         (base32
@@ -5771,7 +5771,7 @@ (define-public java-commons-exec-1.1
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://apache/commons/exec/source/"
+       (uri (string-append "https://dlcdn.apache.org/dist/commons/exec/source/"
                            "commons-exec-" version "-src.tar.gz"))
        (sha256
         (base32
@@ -5808,7 +5808,7 @@ (define-public java-commons-exec
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://apache/commons/exec/source/"
+       (uri (string-append "https://dlcdn.apache.org/dist/commons/exec/source/"
                            "commons-exec-" version "-src.tar.gz"))
        (sha256
         (base32
@@ -5849,7 +5849,7 @@ (define-public java-commons-lang
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://apache/commons/lang/source/"
+       (uri (string-append "https://dlcdn.apache.org/dist/commons/lang/source/"
                            "commons-lang-" version "-src.tar.gz"))
        (sha256
         (base32 "1mxwagqadzx1b2al7i0z1v0r235aj2njdyijf02szq0vhmqrfiq5"))))
@@ -5905,7 +5905,7 @@ (define-public java-commons-lang3
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://apache/commons/lang/source/"
+       (uri (string-append "https://dlcdn.apache.org/dist/commons/lang/source/"
                            "commons-lang3-" version "-src.tar.gz"))
        (sha256
         (base32 "09dcv1pkdx3hpf06py8p9511f1wkin6jpacdll0c8vxpbi3yfwzv"))
@@ -5951,7 +5951,7 @@ (define-public java-commons-bsf
     (version "2.4.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/bsf/source/bsf-src-"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/bsf/source/bsf-src-"
                                   version ".tar.gz"))
               (sha256
                (base32
@@ -6012,7 +6012,7 @@ (define-public java-commons-jxpath
     (version "1.3")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/jxpath/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/jxpath/source/"
                                   "commons-jxpath-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -6043,7 +6043,7 @@ (define-public java-commons-pool
     (version "2.6.2")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/pool/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/pool/source/"
                                   "commons-pool2-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -6072,7 +6072,7 @@ (define-public java-commons-dbcp
     (version "2.6.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/dbcp/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/dbcp/source/"
                                   "commons-dbcp2-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -6103,7 +6103,7 @@ (define-public java-commons-jcs
     (version "3.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/jcs/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/jcs/source/"
                                   "commons-jcs3-dist-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -6279,7 +6279,7 @@ (define-public java-commons-logging-minimal
     (version "1.2")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/logging/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/logging/source/"
                                   "commons-logging-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -6382,7 +6382,7 @@ (define-public java-httpcomponents-httpcore
     (version "4.4.6")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache//httpcomponents/httpcore/"
+              (uri (string-append "https://dlcdn.apache.org/dist//httpcomponents/httpcore/"
                                   "source/httpcomponents-core-"
                                   version "-src.tar.gz"))
               (sha256
@@ -6480,7 +6480,7 @@ (define-public java-httpcomponents-httpclient
     (version "4.5.12")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/httpcomponents/httpclient/"
+              (uri (string-append "https://dlcdn.apache.org/dist/httpcomponents/httpclient/"
                                   "source/httpcomponents-client-"
                                   version "-src.tar.gz"))
               (sha256
@@ -6574,7 +6574,7 @@ (define-public java-commons-net
     (version "3.6")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/net/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/net/source/"
                                   "commons-net-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -6629,7 +6629,7 @@ (define-public java-commons-compress
     (version "1.21")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/compress/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/compress/source/"
                                   "commons-compress-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -6662,7 +6662,7 @@ (define-public java-commons-csv
     (version "1.4")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/csv/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/csv/source/"
                                   "commons-csv-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -7519,7 +7519,7 @@ (define-public java-log4j-api
     (version "2.17.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/logging/log4j/" version
+              (uri (string-append "https://dlcdn.apache.org/dist/logging/log4j/" version
                                   "/apache-log4j-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -7622,7 +7622,7 @@ (define-public java-commons-cli
     (version "1.4")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/cli/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/cli/source/"
                                   "commons-cli-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -7662,7 +7662,7 @@ (define-public java-commons-text
     (version "1.9")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/text/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/text/source/"
                                   "commons-text-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -7696,7 +7696,7 @@ (define-public java-commons-codec
     (version "1.15")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/codec/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/codec/source/"
                                   "commons-codec-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -7746,7 +7746,7 @@ (define-public java-commons-daemon
     (version "1.1.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/daemon/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/daemon/source/"
                                   "commons-daemon-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -8874,7 +8874,7 @@ (define-public java-commons-cli-1.2
     (version "1.2")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/cli/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/cli/source/"
                                   "commons-cli-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -10953,7 +10953,7 @@ (define-public java-commons-jexl-2
     (version "2.1.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/jexl/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/jexl/source/"
                                   "commons-jexl-" version "-src.tar.gz"))
               (sha256
                (base32
@@ -11193,7 +11193,7 @@ (define-public java-commons-bcel
     (version "6.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/bcel/source/bcel-"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/bcel/source/bcel-"
                                   version "-src.tar.gz"))
               (sha256
                (base32
@@ -11568,7 +11568,7 @@ (define-public java-kafka-clients
     (version "1.1.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/kafka/" version "/kafka-"
+              (uri (string-append "https://dlcdn.apache.org/dist/kafka/" version "/kafka-"
                                   version "-src.tgz"))
               (sha256
                (base32
@@ -12314,7 +12314,7 @@ (define-public java-xerces
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://apache/xerces/j/source/"
+       (uri (string-append "https://dlcdn.apache.org/dist/xerces/j/source/"
                            "Xerces-J-src." version ".tar.gz"))
        (sha256
         (base32 "0494kq36gw3nah19ifb720vwxbpg4ww0k6m3zq6wyanw6a083p6s"))
@@ -12709,7 +12709,7 @@ (define-public java-commons-httpclient
     (version "3.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/httpcomponents/"
+              (uri (string-append "https://dlcdn.apache.org/dist/httpcomponents/"
                                   "commons-httpclient/source/commons-httpclient-"
                                   version "-src.tar.gz"))
               (sha256
@@ -12755,7 +12755,7 @@ (define-public java-commons-vfs
     (version "2.2")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/commons/vfs/source/"
+              (uri (string-append "https://dlcdn.apache.org/dist/commons/vfs/source/"
                                   "commons-vfs2-distribution-" version "-src.tar.gz"))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
@@ -12805,7 +12805,7 @@ (define-public java-jakarta-oro
     (version "2.0.8")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/jakarta/oro/"
+              (uri (string-append "https://dlcdn.apache.org/dist/jakarta/oro/"
                                   "jakarta-oro-" version ".tar.gz"))
               (sha256
                (base32
@@ -13055,7 +13055,7 @@ (define-public java-apache-ivy
     (version "2.4.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache//ant/ivy/" version
+              (uri (string-append "https://dlcdn.apache.org/dist//ant/ivy/" version
                                   "/apache-ivy-" version "-src.tar.gz"))
               (sha256
                (base32
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index fc3a63c263..b5c1730b75 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -729,7 +729,7 @@ (define-public maven-shared-utils
     (version "3.2.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/shared/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/shared/"
                                   "maven-shared-utils-" version "-source-release.zip"))
               (sha256
                (base32
@@ -773,7 +773,7 @@ (define-public maven-plugin-annotations
     (version "3.5")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/"
                                   "plugin-tools/maven-plugin-tools-" version
                                   "-source-release.zip"))
               (sha256 (base32 "1ryqhs62j5pas93brhf5dsnvp99hxbvssf681yj5rk3r9h24hqm2"))))
@@ -1122,7 +1122,7 @@ (define maven-pom
     (version "3.8.6")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/"
                                   "maven-3/" version "/source/"
                                   "apache-maven-" version "-src.tar.gz"))
               (sha256 (base32 "0jszmcaxp597a62ajrc478jxix1qmw4pknhiygsbjdy3kccc7gvj"))
@@ -2672,7 +2672,7 @@ (define-public maven-shared-io
     (version "3.0.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/shared/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/shared/"
                                   "maven-shared-io-" version
                                   "-source-release.zip"))
               (sha256
@@ -2714,7 +2714,7 @@ (define-public maven-file-management
     (version "3.0.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/shared/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/shared/"
                                   "file-management-" version
                                   "-source-release.zip"))
               (sha256
@@ -2765,7 +2765,7 @@ (define-public maven-archiver
     (version "3.5.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/shared/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/shared/"
                                   "maven-archiver-" version
                                   "-source-release.zip"))
               (sha256
@@ -2803,7 +2803,7 @@ (define-public maven-dependency-tree
     (version "3.1.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/shared/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/shared/"
                                   "maven-dependency-tree-" version
                                   "-source-release.zip"))
               (sha256
@@ -2838,7 +2838,7 @@ (define-public maven-common-artifact-filters
     (version "3.2.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/shared/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/shared/"
                                   "maven-common-artifact-filters-" version
                                   "-source-release.zip"))
               (sha256
@@ -2885,7 +2885,7 @@ (define-public maven-common-artifact-filters-3.1.0
     (version "3.1.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/shared/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/shared/"
                                   "maven-common-artifact-filters-" version
                                   "-source-release.zip"))
               (sha256
@@ -2908,7 +2908,7 @@ (define-public maven-enforcer-api
     (version "3.0.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/enforcer/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/enforcer/"
                                   "enforcer-" version "-source-release.zip"))
               (sha256
                (base32
@@ -3064,7 +3064,7 @@ (define-public maven-artifact-transfer
     (version "0.13.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/shared/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/shared/"
                                   "maven-artifact-transfer-" version
                                   "-source-release.zip"))
               (sha256
@@ -3119,7 +3119,7 @@ (define-public maven-install-plugin
     (version "3.0.0-M1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/plugins/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/plugins/"
                                   "maven-install-plugin-" version
                                   "-source-release.zip"))
               (sha256
@@ -3424,7 +3424,7 @@ (define-public java-surefire-logger-api
     (version "3.0.0-M4")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/maven/surefire/"
+              (uri (string-append "https://dlcdn.apache.org/dist/maven/surefire/"
                                   "surefire-" version "-source-release.zip"))
               (sha256
                (base32
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index cf9a2f7a4c..a20a46c76e 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2139,7 +2139,7 @@ (define-public subversion
     (version "1.14.2")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/subversion/"
+              (uri (string-append "https://dlcdn.apache.org/dist/subversion/"
                                   "subversion-" version ".tar.bz2"))
               (sha256
                (base32
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 4a4252138b..0c88091ea4 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -283,7 +283,7 @@ (define-public httpd
     (version "2.4.58")
     (source (origin
              (method url-fetch)
-             (uri (string-append "mirror://apache/httpd/httpd-"
+             (uri (string-append "https://dlcdn.apache.org/dist/httpd/httpd-"
                                  version ".tar.bz2"))
              (sha256
               (base32
@@ -321,7 +321,7 @@ (define-public httpd/pinned
       (version "2.4.52")
       (source (origin
                (method url-fetch)
-               (uri (string-append "mirror://apache/httpd/httpd-"
+               (uri (string-append "https://archive.apache.org/dist/httpd/httpd-"
                                    version ".tar.bz2"))
                (sha256
                 (base32
@@ -2174,7 +2174,7 @@ (define-public serf
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://apache/serf/serf-"
+       (uri (string-append "https://dlcdn.apache.org/dist/serf/serf-"
                            version ".tar.bz2"))
        (patches (search-patches "serf-python3.patch"))
        (sha256
@@ -7040,7 +7040,7 @@ (define-public java-tomcat
     (version "8.5.63")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
+              (uri (string-append "https://dlcdn.apache.org/dist/tomcat/tomcat-8/v"
                                   version "/src/apache-tomcat-" version "-src.tar.gz"))
               (sha256
                (base32
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 01e48fda57..7ff078ffbe 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1487,7 +1487,7 @@ (define-public xerces-c
     (version "3.2.3")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://apache/xerces/c/3/sources/"
+              (uri (string-append "https://dlcdn.apache.org/dist/xerces/c/3/sources/"
                                   "xerces-c-" version ".tar.xz"))
               (sha256
                (base32
diff --git a/guix/download.scm b/guix/download.scm
index 38f5141cb9..d9ed8c8f26 100644
--- a/guix/download.scm
+++ b/guix/download.scm
@@ -133,19 +133,6 @@ (define %mirrors
        "http://ftp.be.debian.org/pub/"
        "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/")
       (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

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

* bug#63068: Apache mirrors are not available anymore
  2023-04-25 12:01 bug#63068: Apache mirrors are not available anymore Julian Flake
                   ` (3 preceding siblings ...)
  2023-12-02 19:08 ` bug#63068: Apache mirrors are not available anymore glaz--- via Bug reports for GNU Guix
@ 2023-12-10  7:52 ` glaz--- via Bug reports for GNU Guix
  2024-01-12 12:01   ` Simon Tournier
  4 siblings, 1 reply; 14+ messages in thread
From: glaz--- via Bug reports for GNU Guix @ 2023-12-10  7:52 UTC (permalink / raw)
  To: 63068

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




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

* bug#63068: Apache mirrors are not available anymore
  2023-12-10  7:52 ` glaz--- via Bug reports for GNU Guix
@ 2024-01-12 12:01   ` Simon Tournier
  0 siblings, 0 replies; 14+ messages in thread
From: Simon Tournier @ 2024-01-12 12:01 UTC (permalink / raw)
  To: glaz, 63068

Hi,

On Sun, 10 Dec 2023 at 10:52, glaz--- via Bug reports for GNU Guix <bug-guix@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




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

end of thread, other threads:[~2024-01-12 12:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-25 12:01 bug#63068: Apache mirrors are not available anymore Julian Flake
2023-04-28 20:16 ` bug#63068: [PATCH] fixed apache mirrors Julian Flake
2023-05-04  7:52   ` Giovanni Biscuolo
2023-05-04  8:22     ` Julian Flake
2023-04-28 20:36 ` bug#63068: What I was trying to do Julian Flake
2023-05-03 16:56   ` Simon Tournier
2023-05-03 18:53     ` Julian Flake
2023-05-05  6:32     ` Giovanni Biscuolo
2023-05-05  6:59       ` Simon Tournier
2023-05-04  8:21 ` bug#63068: [PATCH] gnu: apache mirror URLs substituted by CDN URL Julian Flake
2023-08-07 20:10   ` Greg Hogan
2023-12-02 19:08 ` bug#63068: Apache mirrors are not available anymore glaz--- via Bug reports for GNU Guix
2023-12-10  7:52 ` glaz--- via Bug reports for GNU Guix
2024-01-12 12:01   ` Simon Tournier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).