Date: Thu, 13 Feb 2025 15:05:32 +0000 From: Yusuf Yaman <nxjoseph@protonmail.com> To: Yasuhiro Kimura <yasu@FreeBSD.org>, freebsd-ports@freebsd.org Subject: Re: Download failure of distfile from PyPI Message-ID: <8ba8967a-efaf-4adc-99f2-f1f87769f718@protonmail.com> In-Reply-To: <20250214.000109.1921651909032065719.yasu@FreeBSD.org> References: <20250214.000109.1921651909032065719.yasu@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I changed distname to all lowercase and it worked for me. -DISTNAME=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pyOpenSSL-${PORTVERSION} +DISTNAME=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pyopenssl-${PORTVERSION} see pypi page and download files section, there is showing the distfile=20 name. On 2/13/25 18:01, Yasuhiro Kimura wrote: > Hello, > > New version of certbot 3.2.0 is released. I tried to update related > ports and found 3.20 requires pyOpenSSL 25.0.0 or later. Since current > version of security/py-openssl is 24.1.0, I decided to update it > first. I changed DISTVERSION to 25.0.0 in security/py-openssl/Makefile > and tried to update distinfo with `make makesum`. But it fails because > of download failure of distfile as following. > > % pwd > /usr/ports/security/py-openssl > % git diff > diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile > index 19e354cf6b4a..7cefad155281 100644 > --- a/security/py-openssl/Makefile > +++ b/security/py-openssl/Makefile > @@ -1,5 +1,5 @@ > PORTNAME=3D openssl > -PORTVERSION=3D 24.1.0 > +PORTVERSION=3D 25.0.0 > PORTEPOCH=3D 1 > CATEGORIES=3D security python > MASTER_SITES=3D PYPI > % make makesum > =3D=3D=3D> License APACHE20 accepted by the user > =3D=3D=3D> License APACHE20 accepted by the user > =3D=3D=3D> py311-openssl-25.0.0,1 depends on file: /usr/local/sbin/pkg = - found > =3D> pyOpenSSL-25.0.0.tar.gz doesn't seem to exist in /net/freebsd/ports/= distfiles/. > =3D> Attempting to fetch https://files.pythonhosted.org/packages/source/p= /pyOpenSSL/pyOpenSSL-25.0.0.tar.gz > fetch: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenS= SL-25.0.0.tar.gz: Not Found > =3D> Attempting to fetch https://pypi.org/packages/source/p/pyOpenSSL/pyO= penSSL-25.0.0.tar.gz > fetch: https://pypi.org/packages/source/p/pyOpenSSL/pyOpenSSL-25.0.0.tar.= gz: Not Found > =3D> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/pyO= penSSL-25.0.0.tar.gz > fetch: http://distcache.FreeBSD.org/ports-distfiles/pyOpenSSL-25.0.0.tar.= gz: Not Found > =3D> Couldn't fetch it - please try to retrieve this > =3D> port manually into /net/freebsd/ports/distfiles/ and try again. > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/security/py-openssl > *** Error code 1 > > Stop. > make: stopped in /usr/ports/security/py-openssl > % > > IIRC such download failure also happened when I tried to update > certbot ports before. So this might be something that happens from > time to time. > > Then what should I do to fix it? Should I report it upstream (author) > or PyPI? Please let me know if soneone knows. > > Regards. > > --- > Yasuhiro Kimura >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8ba8967a-efaf-4adc-99f2-f1f87769f718>