From nobody Fri Jan 13 04:21:31 2023 X-Original-To: ports-bugs@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 4NtSsl1qGbz2pSkV for ; Fri, 13 Jan 2023 04:21:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NtSsk70xgz44GZ for ; Fri, 13 Jan 2023 04:21:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673583691; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T8QyqS+DwMr/H8ktF/ThatN/uxYQE2meVu8nnrgsqw8=; b=ZAj3tkpYPBoDE1zIdvQPAIFVJlabD7XC5N4C/PKoCf6l9nnRgi0XHZSAYCBNDK2aWQS8ev wfJVkkgk7Qjw8WqC8Ph+j6wNO3MjFA1ASuOYvaj1QXqW+06ZyRRoWv+T6sX6Tqh/ypQKri rPsqDf3CCUX34mS8wLrGcXrSeCpqHFd0CtKNkk2vSMJOBBrUXdQOH990yGxpdRmBduJ8r5 TV5pa5Jcu2e2K3HgHH3lQa9nRpy9JZ4PTWdWluNhbxZw71ScEIQtKflGonlq/NDKfxWdVk yZOH+3dnrOjaH6zajmrVBGx6cANYa17JSgLKO10IF130wzaGi5vFxZhspb8zyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673583691; a=rsa-sha256; cv=none; b=NnKQUY/wpyFEUtthxRRJ62miTsFh+NqqbY/76hu6be+eBRs7cHqnY7g+51sQzxKS69F7Ej 1WgC8tBmH43/zuQwOc9C19UlXh23nNE+kaO0I7yQUfJv7dz+ED2/yrGWiqqWH3P3rfNFWu tVu/rsbjFEwn1zwqrJ8HJqhtggRhW+nqbsHIkgK7wA53w4L5nRiC+FFo2YXGrorT3gvedt qPQj5thEFwtMWjtV1egwQwWsAtXQ7iYiDqBYZX88etm6oNV1Jqt0JWtd+ZjcpAN7BZ1hho lCf+iW7vzn2+M9XDF+Z+665yOxQl125P+YJmqRHhZXpx+E+/kWghMeYgXcPL/Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NtSsk64ZsztTG for ; Fri, 13 Jan 2023 04:21:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 30D4LUPe004958 for ; Fri, 13 Jan 2023 04:21:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30D4LUV3004953 for ports-bugs@FreeBSD.org; Fri, 13 Jan 2023 04:21:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME Date: Fri, 13 Jan 2023 04:21:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yasu@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vishwin@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268893 --- Comment #15 from Yasuhiro Kimura --- (In reply to Charlie Li from comment #13) > These ones are compliant, with dashes/hyphens normalised to underscores f= or the built distributions (wheels). Then it seems 'USE_PYTHON=3Dpep517' doesn't consider such normalization. As I wrote in comment #5, wheel filename of 'spf-engine' is 'spf_engine-3.0.2-py3-none-any.whl' as a result of normalization. But at staging phase framework looks for 'spf-engine-3.0.2-*.whl' as following. yasu@rolling-vm-freebsd2[1022]% make stage =3D=3D=3D> License APACHE20 GPLv2+ accepted by the user =3D=3D=3D> py311-spf-engine-3.0.2 depends on file: /usr/local/sbin/pkg - = found =3D=3D=3D> Fetching all distfiles required by py311-spf-engine-3.0.2 for bu= ilding =3D=3D=3D> Extracting for py311-spf-engine-3.0.2 =3D> SHA256 Checksum OK for spf-engine-3.0.2.tar.gz. =3D=3D=3D> Patching for py311-spf-engine-3.0.2 =3D=3D=3D> Applying FreeBSD patches for py311-spf-engine-3.0.2 from /usr/ports/mail/py-spf-engine/files =3D=3D=3D> py311-spf-engine-3.0.2 depends on package: py311-flit-core>=3D= 3.8<4 - found =3D=3D=3D> py311-spf-engine-3.0.2 depends on file: /usr/local/bin/python3= .11 - found =3D=3D=3D> py311-spf-engine-3.0.2 depends on package: py311-build>0 - fou= nd =3D=3D=3D> py311-spf-engine-3.0.2 depends on package: py311-installer>0 -= found =3D=3D=3D> Configuring for py311-spf-engine-3.0.2 =3D=3D=3D> Building for py311-spf-engine-3.0.2 * Getting build dependencies for wheel... * Building wheel... Successfully built spf_engine-3.0.2-py3-none-any.whl =3D=3D=3D> Staging for py311-spf-engine-3.0.2 =3D=3D=3D> py311-spf-engine-3.0.2 depends on package: py311-authres>0 - f= ound =3D=3D=3D> py311-spf-engine-3.0.2 depends on package: py311-milter>0 - fo= und =3D=3D=3D> py311-spf-engine-3.0.2 depends on package: py311-pyspf>0 - fou= nd =3D=3D=3D> py311-spf-engine-3.0.2 depends on file: /usr/local/bin/python3= .11 - found =3D=3D=3D> Generating temporary packing list =3D=3D=3D> Creating groups. =3D=3D=3D> Creating users Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/local/lib/python3.11/site-packages/installer/__main__.py", line 85, in _main(sys.argv[1:], "python -m installer") File "/usr/local/lib/python3.11/site-packages/installer/__main__.py", line 73, in _main with WheelFile.open(args.wheel) as source: File "/usr/local/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/installer/sources.py", line 122, in open with zipfile.ZipFile(path) as f: ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/zipfile.py", line 1281, in __init__ self.fp =3D io.open(file, filemode) ^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/usr0/freebsd/ports/work/usr/ports/mail/py-spf-engine/work-py311/spf-engin= e-3.0.2/dist/spf-engine-3.0.2-*.whl' *** Error code 1 Stop. make: stopped in /usr/ports/mail/py-spf-engine yasu@rolling-vm-freebsd2[1023]% --=20 You are receiving this mail because: You are on the CC list for the bug.=