From nobody Thu Apr 07 16:47:25 2022 X-Original-To: desktop@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 DA8DC1AA40A5 for ; Thu, 7 Apr 2022 16:47:26 +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 4KZ6k62NrXz3p01 for ; Thu, 7 Apr 2022 16:47:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 22DDC13AFB for ; Thu, 7 Apr 2022 16:47:26 +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 237GlQ2r044378 for ; Thu, 7 Apr 2022 16:47:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 237GlQ79044377 for desktop@FreeBSD.org; Thu, 7 Apr 2022 16:47:26 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: desktop@FreeBSD.org Subject: [Bug 262823] textproc/py-libxml2: Include bytecode files in package Date: Thu, 07 Apr 2022 16:47:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc 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: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649350046; 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=ln0oRJdxedpN1mUK6apozds7jFQCCP3xfatFEAIRO3Y=; b=tNOT6w/dguDnU6YGFCc3dk7ICxZz+xbV0zZ9pNtuoKoa47GQUc2pHdV9ak35CSLcr9YoeZ IZJGTk90ZdSGd4WzklSxCIlNCgiI1+mzihx8/Gj+giLwqxvYYWL8jrvNCZyg5RYGf9HPmq yH0TME/C2NV5tful0gd5VQIxJ55SOC4TrrfvmHebTREkc/aWdImL3Q9ukMvPKMWAT85IiD fYWc+S31a9LKoAIAa7QuzLpVRmhJ0X7HpSoLby6QuwioOwLDkHDD/inHjzsfBp5oJM0hH6 jfYBJiDOTHYsmK85emU8pmdLo50J6MjjwBQOFetWbzte/5iU6gkKDFMXu2KlgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649350046; a=rsa-sha256; cv=none; b=RLm8tADj8nE0vlHhIRA7uRgf8t5B6BcPhnHZtlQtkfX7B102IfGniIHgN+Tl49ptA2HcvS UBKy7IpNducYt61UFyUqSXDA+Xaa4z7ovNsX33YPouUqVtEoz7J8VVAq2IpLxLH7r8gW5M quEqyl+bbRhF3LpVLw4EFkQdNihQMkHUfKKLFVn9I7JMQwc6nIWh3bnwupYxvJbrFIcQB8 U1oX6KmokCZC1mxULt6oLxhpzXfz759DHnqn35WX6s+zkLIUw89TZ1wJawoWszrOu4Q4BT bMvbaFS1JNZtVwwd8BAlGDYoZdUfar/TlzPllXZ24cyLUf8Rp0piO5BrZBe7KQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262823 John Hein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jcfyecrayz@liamekaens.com --- Comment #5 from John Hein --- After this commit (ports 25c952626c32a1830793a770b8f401a7d5370905), the por= t is broken with default python version set to 3.7. make check-plist fails: =3D=3D=3D> Parsing plist =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: %%PYTHON_SITELIBDIR%%/__pycache__/drv_libxml2.cpython-37.opt-1.pyc Error: Orphaned: %%PYTHON_SITELIBDIR%%/__pycache__/drv_libxml2.cpython-37.p= yc Error: Orphaned: %%PYTHON_SITELIBDIR%%/__pycache__/libxml2.cpython-37.opt-1= .pyc Error: Orphaned: %%PYTHON_SITELIBDIR%%/__pycache__/libxml2.cpython-37.pyc =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: %%PYTHON_SITELIBDIR%%/__pycache__/drv_libxml2.opt-1.pyc Error: Missing: %%PYTHON_SITELIBDIR%%/__pycache__/drv_libxml2.pyc Error: Missing: %%PYTHON_SITELIBDIR%%/__pycache__/libxml2.opt-1.pyc Error: Missing: %%PYTHON_SITELIBDIR%%/__pycache__/libxml2.pyc =3D=3D=3D> Error: Plist issues found. make install fails for the same reason (.pyc files have an unexpected name based on the new PLIST changes): =3D=3D=3D> Registering installation for py37-libxml2-2.9.13_2 pkg-static: Unable to access file /wrkdirs/usr/ports/textproc/py-libxml2/work-py37/stage/usr/local/lib/python= 3.7/site-packages/__pycache__/drv_libxml2.opt-1.pyc:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/textproc/py-libxml2/work-py37/stage/usr/local/lib/python= 3.7/site-packages/__pycache__/drv_libxml2.pyc:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/textproc/py-libxml2/work-py37/stage/usr/local/lib/python= 3.7/site-packages/__pycache__/libxml2.opt-1.pyc:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/textproc/py-libxml2/work-py37/stage/usr/local/lib/python= 3.7/site-packages/__pycache__/libxml2.pyc:No such file or directory If no one wants to re-open this, I will create a new bug. The issue is that the .pyc fileas are created as *.cpython-37.*.pyc (simila= r to *.cpython-38.*.pyc for py38 builds) and PYTHON_EXT_SUFFIX is empty for < py= 38. --=20 You are receiving this mail because: You are the assignee for the bug.=