Bug 241952

Summary: devel/py-pycparser: 2.19 updates/recompiles c_ast.py after installation (at runtime)
Product: Ports & Packages Reporter: Igor Konov <montblanc>
Component: Individual Port(s)Assignee: William Grzybowski <wg>
Status: Open ---    
Severity: Affects Many People CC: danmcgrath.ca, djohnson, edgeman, freebsd, python, tatsuki_makino, wg
Priority: --- Keywords: needs-patch
Version: LatestFlags: linimon: maintainer-feedback? (wg)
koobs: merge-quarterly?
Hardware: Any   
OS: Any   

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
Comment 5 Igor Konov 2020-01-31 07:15:57 UTC
Checking for packages with mismatched checksums:
py37-pycparser-2.19: /usr/local/lib/python3.7/site-packages/pycparser/__pycache__/c_ast.cpython-37.pyc
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2020-06-23 04:39:50 UTC
*** Bug 247492 has been marked as a duplicate of this bug. ***