GNU bug report logs - #67128
Use CDN instead of mirrors for Apache httpd

Previous Next

Package: guix-patches;

Reported by: glaz <at> zho.pa

Date: Sun, 12 Nov 2023 12:12:02 UTC

Severity: normal

To reply to this bug, email your comments to 67128 AT debbugs.gnu.org.

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

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


Report forwarded to guix-patches <at> gnu.org:
bug#67128; Package guix-patches. (Sun, 12 Nov 2023 12:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to glaz <at> zho.pa:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 12 Nov 2023 12:12:02 GMT) Full text and rfc822 format available.

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

From: glaz <at> zho.pa
To: guix-patches <at> gnu.org
Subject: Use CDN instead of mirrors for Apache httpd
Date: Sun, 12 Nov 2023 15:10:32 +0300
[Message part 1 (text/plain, inline)]
Hello fellow guixers.

I've found that I cannot build httpd package because of download issues.

downloading from 
http://www.eu.apache.org/dist/httpd/httpd-2.4.58.tar.bz2 ...

sha256 hash mismatch for 
/gnu/store/sil2xmw01qmyygdbhvrsvyvmaviha2dy-httpd-2.4.58.tar.bz2:
  expected hash: 1id45r2ccgkbjm9i998997ch32lvicpyynyx8x6aa4420wmdf5ps
  actual hash:   0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73

On the other hand, Apache web site states clearly that it doesn't use 
mirror system anymore:
"As of the third quarter of 2021, the ASF stopped using its download 
mirror system. It is now using a global content distribution network 
(CDN)."
https://www.apache.org/mirrors.html

So I've made a patch that disables Apache mirrors for httpd <at> 2.4.58 and 
httpd/pinned <at> 2.4.52 packages.

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

Information forwarded to guix-patches <at> gnu.org:
bug#67128; Package guix-patches. (Tue, 14 Nov 2023 13:59:02 GMT) Full text and rfc822 format available.

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

From: Greg Hogan <code <at> greghogan.com>
To: glaz <at> zho.pa
Cc: 67128 <at> debbugs.gnu.org
Subject: Re: [bug#67128] Use CDN instead of mirrors for Apache httpd
Date: Tue, 14 Nov 2023 08:57:51 -0500
On Sun, Nov 12, 2023 at 8:39 AM glaz--- via Guix-patches via
<guix-patches <at> gnu.org> wrote:
>
> Hello fellow guixers.
>
> I've found that I cannot build httpd package because of download issues.
>
> downloading from
> http://www.eu.apache.org/dist/httpd/httpd-2.4.58.tar.bz2 ...
>
> sha256 hash mismatch for
> /gnu/store/sil2xmw01qmyygdbhvrsvyvmaviha2dy-httpd-2.4.58.tar.bz2:
>    expected hash: 1id45r2ccgkbjm9i998997ch32lvicpyynyx8x6aa4420wmdf5ps
>    actual hash:   0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
>
> On the other hand, Apache web site states clearly that it doesn't use
> mirror system anymore:
> "As of the third quarter of 2021, the ASF stopped using its download
> mirror system. It is now using a global content distribution network
> (CDN)."
> https://www.apache.org/mirrors.html
>
> So I've made a patch that disables Apache mirrors for httpd <at> 2.4.58 and
> httpd/pinned <at> 2.4.52 packages.
>
> Dmitry Nikolaev

This looks to duplicate #63068, which instead fixes the list of
mirrors for all packages. Though, as noted in that thread, the linked
documentation lists downloads.apache.org rather than dlcdn.apache.org




Information forwarded to guix-patches <at> gnu.org:
bug#67128; Package guix-patches. (Sun, 26 Nov 2023 22:34:01 GMT) Full text and rfc822 format available.

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

From: glaz <at> zho.pa
To: guix-patches <at> gnu.org
Subject: Re: Use CDN instead of mirrors for Apache httpd
Date: Mon, 27 Nov 2023 01:33:25 +0300
[Message part 1 (text/plain, inline)]
On 2023-11-12 15:10, glaz <at> zho.pa wrote:
> Hello fellow guixers.
> 
> I've found that I cannot build httpd package because of download 
> issues.

Previous patch was wrong. Here's better one.
httpd-2.4.58 is Ok. The problem is httpd-2.4.52 could not be downloaded 
from Apache mirrors, only from Apache archive site.

Dmitry
[download_httpd-2.4.52_from_archive.patch (text/x-diff, attachment)]

This bug report was last modified 159 days ago.

Previous Next


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