Bug 241952 - devel/py-pycparser: 2.19 updates/recompiles c_ast.py after installation (at runtime)
Summary: devel/py-pycparser: 2.19 updates/recompiles c_ast.py after installation (at r...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: William Grzybowski
Keywords: needs-patch
Depends on:
Reported: 2019-11-13 17:31 UTC by Igor Konov
Modified: 2020-01-12 04:14 UTC (History)
4 users (show)

See Also:
linimon: maintainer-feedback? (wg)
koobs: merge-quarterly?


Note You need to log in before you can comment on or make changes to this bug.
Description Igor Konov 2019-11-13 17:31:02 UTC
Checking for packages with mismatched checksums:
py36-pycparser-2.19: /usr/local/lib/python3.6/site-packages/pycparser/__pycache__/c_ast.cpython-36.pyc
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-11-13 22:40:24 UTC
Fix Summary and assign.

Note: fetch works for me.
Comment 2 Tatsuki Makino 2019-11-29 23:46:39 UTC
There is no problem with pkg check -q -s py36-pycparser immediately after installation.
But after python -c 'import pycparser', problems arise.

But python -c 'import pycparser' only updates it once.
Perhaps we only need to run python -c 'import pycparser' once before recording the checksum.
Comment 3 Peter Putzer 2019-12-25 11:24:22 UTC
I've noticed the same issue since upgrading to 12.1 (for both the py27 and py37 flavors):

py27-pycparser-2.19: /usr/local/lib/python2.7/site-packages/pycparser/c_ast.pyc
py37-pycparser-2.19: /usr/local/lib/python3.7/site-packages/pycparser/__pycache__/c_ast.cpython-37.pyc
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2020-01-12 03:57:02 UTC
It would be nice to report/resolve this upstream