Date: Thu, 07 Apr 2022 16:47:25 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 262823] textproc/py-libxml2: Include bytecode files in package Message-ID: <bug-262823-39348-PB3zYbf6h0@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-262823-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-262823-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262823 John Hein <jcfyecrayz@liamekaens.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jcfyecrayz@liamekaens.com --- Comment #5 from John Hein <jcfyecrayz@liamekaens.com> --- 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262823-39348-PB3zYbf6h0>