From nobody Thu Apr 07 16:47:25 2022 X-Original-To: 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 8B8991AA40A3 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 4KZ6k544tbz3nyy for ; Thu, 7 Apr 2022 16:47:25 +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 5BD511360E for ; Thu, 7 Apr 2022 16:47:25 +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 237GlPOS044357 for ; Thu, 7 Apr 2022 16:47:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 237GlPdu044355 for python@FreeBSD.org; Thu, 7 Apr 2022 16:47:25 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: python@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: CC 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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649350045; 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=DRPRULaw2iV1BlRFTszqX2zKoMAvOw3oSUCIk5E+6D0=; b=Oi4VurJiJEVu4T9KMJ1wFbLyGM5xIGoHoawmE5YqIotKeknedmOJJdozOiyZmPPO9lqcik wJFIJDb+DAU5G7WaF4SCumzTt5hxayqrISMKZSO/tf/MtTp8Yx9reXiGQcUBireiKEiaCb pCINr0EAPf89pfgcvgQvpc76/eZqsmYUXYch2xyljt6nh4GRx4AJB2oANm7d91brHbgVJc 0H07ITD+I+D6RSYWfecj8iKHY+NASTa7VvqsGOS9pPdzU+a3buUVkPgy7fb+G4iK7HgNJw Qe8nMeOXil4WcgA0ZBCQEbG0iWdPXygByz0cEjPalgJPatdvkOSfyp+t7uuGpw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649350045; a=rsa-sha256; cv=none; b=OTdIPnt55s82QRFtnlmUm4hI8MB04k18bXlsyVieRwUSCTjlythZh9AWAxDs61jTdGO8L6 r90c87lWdfWGxN0LrDMGoOgDmoRgg6Vx73m/PmWlIOtDklvwdFFOLoXlqlNA4D03jFC6Z6 At0+j/It40d6FOx6OB9BC4+zTCunXFZhO9SxZ28aAQbIoXomLum6dyD6TAK8uZGs4psd6S r+1D3EKj8lI9zcdaLsx2g+3zkQTBdNb5ow0uw8ww4v94uS/dSIb0QdhNp7Wx1pAevxVHSD VayitQimhdDLoCNz4Xb9kUi/WX09vbta3aMc/SkD9qE7k5Zku6Zj9QsJrGpHWQ== 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 on the CC list for the bug.=