[Bug 265022] x11/xcb-proto: Fails to package: python3.7/site-packages/xcbgen/__pycache__/*.pyc: No such file or directory

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 05 Jul 2022 18:28:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265022

--- Comment #8 from Michael Osipov <michael.osipov@siemens.com> ---
This is how it looks in a poudriere jail:
root@123-release-amd64-default-ldadw-base:/wrkdirs/usr/ports/x11/xcb-proto/work/stage/usr/local/lib/python3.7/site-packages/xcbgen/__pycache__
# ll | grep opt-2
-rw-r--r--  1 root  wheel    144 Jul  5 18:23 __init__.cpython-37.opt-2.pyc
-rw-r--r--  1 root  wheel   4631 Jul  5 18:23 align.cpython-37.opt-2.pyc
-rw-r--r--  1 root  wheel    308 Jul  5 18:23 error.cpython-37.opt-2.pyc
-rw-r--r--  1 root  wheel   3448 Jul  5 18:23 expr.cpython-37.opt-2.pyc
-rw-r--r--  1 root  wheel   3801 Jul  5 18:23 matcher.cpython-37.opt-2.pyc
-rw-r--r--  1 root  wheel   5916 Jul  5 18:23 state.cpython-37.opt-2.pyc
-rw-r--r--  1 root  wheel  31137 Jul  5 18:23 xtypes.cpython-37.opt-2.pyc

This is what the pkg-plist wants:
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11/xcb-proto/work/stage/usr/local/lib/python3.7/site-packages/xcbgen/__pycache__/__init__.opt-2.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11/xcb-proto/work/stage/usr/local/lib/python3.7/site-packages/xcbgen/__pycache__/align.opt-2.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11/xcb-proto/work/stage/usr/local/lib/python3.7/site-packages/xcbgen/__pycache__/error.opt-2.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11/xcb-proto/work/stage/usr/local/lib/python3.7/site-packages/xcbgen/__pycache__/expr.opt-2.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11/xcb-proto/work/stage/usr/local/lib/python3.7/site-packages/xcbgen/__pycache__/matcher.opt-2.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11/xcb-proto/work/stage/usr/local/lib/python3.7/site-packages/xcbgen/__pycache__/state.opt-2.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11/xcb-proto/work/stage/usr/local/lib/python3.7/site-packages/xcbgen/__pycache__/xtypes.opt-2.pyc:No
such file or directory

-- 
You are receiving this mail because:
You are on the CC list for the bug.