[Buildroot] [PATCH 1/1] package/mpfr: Fix GNU Mirror Path

Zhangjin Wu falcon at tinylab.org
Sun Dec 10 01:36:53 UTC 2023


Hi Yann

> Zhangjin Wu, All,
> 
> On 2023-12-10 00:21 +0800, Zhangjin Wu spake thusly:
> > Replacing http://www.mpfr.org with BR2_GNU_MIRROR variable
> 
> The upstream for MPFR still references their own location as the
> download location:
> 
>     https://www.mpfr.org/mpfr-4.1.1/
> 
> E.g.:
> 
>     https://www.mpfr.org/mpfr-4.1.1/mpfr-4.1.1.tar.xz
> 
> What is the rationale for switching over to the GNU mirror rather than
> use the official upstream location?
>

I have found that the downloading of mpfr from its official site is very
slow in our region, sometimes, costs several hours and even fails at
last. But the downloading from one of its local GNU mirror sites is fast
and deterministic.

And I have checked that the latest version of mpfr has been stored in
the GNU mirror site too:

http://ftpmirror.gnu.org/mpfr-4.2.1.tar.xz

So, it should be reasonable and safe for us to do such switch ;-)

Regards,
Zhangjin Wu

> Regards,
> Yann E. MORIN.
> 
> > Signed-off-by: Zhangjin Wu <falcon at tinylab.org>
> > ---
> >  package/mpfr/mpfr.mk | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk
> > index 8d12c7502b..a5e26404d1 100644
> > --- a/package/mpfr/mpfr.mk
> > +++ b/package/mpfr/mpfr.mk
> > @@ -5,7 +5,7 @@
> >  ################################################################################
> >  
> >  MPFR_VERSION = 4.1.1
> > -MPFR_SITE = http://www.mpfr.org/mpfr-$(MPFR_VERSION)
> > +MPFR_SITE = $(BR2_GNU_MIRROR)/mpfr
> >  MPFR_SOURCE = mpfr-$(MPFR_VERSION).tar.xz
> >  MPFR_LICENSE = LGPL-3.0+
> >  MPFR_LICENSE_FILES = COPYING.LESSER
> > -- 
> > 2.34.1
> > 
> > _______________________________________________
> > buildroot mailing list
> > buildroot at buildroot.org
> > https://lists.buildroot.org/mailman/listinfo/buildroot
> 
> -- 
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot



More information about the buildroot mailing list