From nobody Thu Feb 13 15:07:31 2025 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ytz7Z2kLYz5nbSs for ; Thu, 13 Feb 2025 15:07:38 +0000 (UTC) (envelope-from nxjoseph@protonmail.com) Received: from mail-40140.protonmail.ch (mail-40140.protonmail.ch [185.70.40.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ytz7X4by5z3YCC for ; Thu, 13 Feb 2025 15:07:36 +0000 (UTC) (envelope-from nxjoseph@protonmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b="Sx9Kc5/j"; spf=pass (mx1.freebsd.org: domain of nxjoseph@protonmail.com designates 185.70.40.140 as permitted sender) smtp.mailfrom=nxjoseph@protonmail.com; dmarc=pass (policy=quarantine) header.from=protonmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1739459254; x=1739718454; bh=+n9vyiaTM4jV7Lr5INETtiR1QZnd+rYIO4SXlyWKOKI=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=Sx9Kc5/jyrABaHB1IUgqxvl8M+QzpYVGgv+0Rt+jk24kiqu32PfjQEsq84e4USun0 IuJQtYa8tcZBAWF0yrsyJjo+2TD3jd+CoYvXHh8wagMT+y3oZQ1a3wGn6O/Pyu8xmG AHgSoDc3EGVEbzrib28CxbYLZhVl9OeBP4JOzSa4LH8/NIaq1tY2lNZGemlooESzPi d4IJQhRkdc+4YDU5Ai24tSwXynpaz+Z12BbQCDZqXXEQxG5JbH1S5cix+vJbpnTh71 f6ODNdk7fltgZgtBRK7rjR3xSFpOV29K7NCt7QbKjelXfNq026L5uWI4h2dYHkMlGA GWySfkZDoMznQ== Date: Thu, 13 Feb 2025 15:07:31 +0000 To: Yasuhiro Kimura , freebsd-ports@freebsd.org From: Yusuf Yaman Subject: Re: Download failure of distfile from PyPI Message-ID: <3e6dea8f-418d-4fa4-b580-fa3ebcfe8297@protonmail.com> In-Reply-To: <8ba8967a-efaf-4adc-99f2-f1f87769f718@protonmail.com> References: <20250214.000109.1921651909032065719.yasu@FreeBSD.org> <8ba8967a-efaf-4adc-99f2-f1f87769f718@protonmail.com> Feedback-ID: 21989843:user:proton X-Pm-Message-ID: a654f7d06a225b24c42b3bf60bb05ca8af90f58b List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-5.07 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[185.70.40.140:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.969]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=protonmail3]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24:c]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[185.70.40.140:from]; RCVD_IN_DNSWL_NONE(0.00)[185.70.40.140:from]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; ARC_NA(0.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[protonmail.com]; TO_DN_SOME(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; MISSING_XM_UA(0.00)[]; DKIM_TRACE(0.00)[protonmail.com:+] X-Spamd-Bar: ----- X-Rspamd-Queue-Id: 4Ytz7X4by5z3YCC I looked at the older versions and distname is pyOpenSSL, so in newer=20 version they changed it to all lowercase. On 2/13/25 18:05, Yusuf Yaman wrote: > 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 > 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/pyOpen= SSL-25.0.0.tar.gz: Not Found >> =3D> Attempting to fetch https://pypi.org/packages/source/p/pyOpenSSL/py= OpenSSL-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/py= OpenSSL-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 >>