From nobody Wed Jul 19 05:49:19 2023 X-Original-To: freebsd-python@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 4R5Pyp0f4Wz4mwxH for ; Wed, 19 Jul 2023 05:49:22 +0000 (UTC) (envelope-from agh@riseup.net) Received: from mx0.riseup.net (mx0.riseup.net [198.252.153.6]) (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 (2048 bits) client-digest SHA256) (Client CN "mx0.riseup.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R5Pyn07Mfz4Mxv for ; Wed, 19 Jul 2023 05:49:21 +0000 (UTC) (envelope-from agh@riseup.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=lyqC6i4T; spf=pass (mx1.freebsd.org: domain of agh@riseup.net designates 198.252.153.6 as permitted sender) smtp.mailfrom=agh@riseup.net; dmarc=pass (policy=none) header.from=riseup.net Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R5Pyl43Pvz9tFQ for ; Wed, 19 Jul 2023 05:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1689745759; bh=WAC3rIrq473I+H23jz3PoKjApYNVoNMxlOenhCF3Bsg=; h=Date:From:To:Subject:From; b=lyqC6i4TiEXHrcdCoDOEWYJTsdiqOISbtgdjPKdzJAhFl8JNb65Ge+NKAuSGusorp raW0xiPuKbc9vW3tdtO6xiKwSEmf4Jc6cFCVHP418A6BfAfmmF7gSsYV+EgzRBUb9V 0bp0UbbB2nGRknVKuo32z0yY8tboj+lFCY5F6T/A= X-Riseup-User-ID: 09B8045873E1CFA7B6ED7049CE959F2B024C4DA78827BE769A9799B3D9FB1FA4 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4R5Pyl335GzFqjM for ; Wed, 19 Jul 2023 05:49:19 +0000 (UTC) List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 Date: Wed, 19 Jul 2023 05:49:19 +0000 From: Alastair Hogge To: freebsd-python@freebsd.org Subject: Re: [Bug 262906] net-mgmt/py-pysnmp: abandonned source used Message-ID: <5d5efd920ac8c4cee835a529e528c98a@riseup.net> Content-Type: multipart/mixed; boundary="=_03d3869a3d1d78a4fdb5a0584d5bfe66" X-Spamd-Result: default: False [0.05 / 15.00]; FAKE_REPLY(1.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_SPAM_LONG(1.00)[0.998]; NEURAL_HAM_MEDIUM(-0.94)[-0.944]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; R_SPF_ALLOW(-0.20)[+a:mx0.riseup.net]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.6:from]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-diff]; MIME_BASE64_TEXT(0.10)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-python@freebsd.org]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; HAS_ATTACHMENT(0.00)[]; DWL_DNSWL_NONE(0.00)[riseup.net:dkim]; DKIM_TRACE(0.00)[riseup.net:+]; MIME_TRACE(0.00)[0:+,1:+,2:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-python@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4R5Pyn07Mfz4Mxv X-Spamd-Bar: / --=_03d3869a3d1d78a4fdb5a0584d5bfe66 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Hello, I am attempting to update the Port mentioned in the Subject[1], however, am running into the following build issue: =========================================================================== =>> Recording filesystem state for prestage... done =================================================== ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for py39-pysnmp-5.0.28 ===> py39-pysnmp-5.0.28 depends on package: py39-pyasn1>0 - found ===> py39-pysnmp-5.0.28 depends on package: py39-pycryptodomex>0 - found ===> py39-pysnmp-5.0.28 depends on package: py39-pysmi>0 - found ===> py39-pysnmp-5.0.28 depends on file: /usr/local/bin/python3.9 - found ===> Generating temporary packing list Traceback (most recent call last): File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.9/site-packages/installer/__main__.py", line 98, in _main(sys.argv[1:], "python -m installer") File "/usr/local/lib/python3.9/site-packages/installer/__main__.py", line 86, in _main with WheelFile.open(args.wheel) as source: File "/usr/local/lib/python3.9/contextlib.py", line 119, in __enter__ return next(self.gen) File "/usr/local/lib/python3.9/site-packages/installer/sources.py", line 162, in open with zipfile.ZipFile(path) as f: File "/usr/local/lib/python3.9/zipfile.py", line 1248, in __init__ self.fp = io.open(file, filemode) FileNotFoundError: [Errno 2] No such file or directory: '/wrkdirs/usr/ports/net-mgmt/py-pysnmp/work-py39/pysnmp_lextudio-5.0.28/dist/pysnmp-5.0.28*.whl' *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/py-pysnmp That is an edited log from poudriere-testport. Attached is my Work In Progress diff. Contents of dist: $ ls /wrkdirs/usr/ports/net-mgmt/py-pysnmp/work-py39/pysnmp_lextudio-5.0.28/dist pysnmp_lextudio-5.0.28-py3-none-any.whl So, a .whl file exists, and has name similar to the DISTNAME set in the attached diff. I have set the DISTNAME based on advice from John[1], this is how I managed to get the Port to fetch from PYPI. How is this meant to be handled? Is renaming the .whl OK? 1: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262906 To health and anarchy, Alastair --=_03d3869a3d1d78a4fdb5a0584d5bfe66 Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=py-pysnmp-wip.diff Content-Disposition: attachment; filename=py-pysnmp-wip.diff; size=1341 ZGlmZiAtLWdpdCBhL25ldC1tZ210L3B5LXB5c25tcC9NYWtlZmlsZSBiL25ldC1tZ210L3B5LXB5 c25tcC9NYWtlZmlsZQppbmRleCAxYWFiZTUzOWM1NjkuLjE5OTk4ZjE4MGQ4ZiAxMDA2NDQKLS0t IGEvbmV0LW1nbXQvcHktcHlzbm1wL01ha2VmaWxlCisrKyBiL25ldC1tZ210L3B5LXB5c25tcC9N YWtlZmlsZQpAQCAtMSwyMyArMSwyNSBAQAogUE9SVE5BTUU9CXB5c25tcAotUE9SVFZFUlNJT049 CTQuNC45Ci1QT1JUUkVWSVNJT049CTIKK0RJU1RWRVJTSU9OPQk1LjAuMjgKIENBVEVHT1JJRVM9 CW5ldC1tZ210IHB5dGhvbgogTUFTVEVSX1NJVEVTPQlQWVBJIFwKIAkJU0YvcHlzbm1wL3B5c25t cC8ke1BPUlRWRVJTSU9OfQogUEtHTkFNRVBSRUZJWD0JJHtQWVRIT05fUEtHTkFNRVBSRUZJWH0K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