Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jun 2022 18:07:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 241952] devel/py-pycparser: 2.19 updates/recompiles c_ast.py after installation (at runtime)
Message-ID:  <bug-241952-21822-iPxhIvw4g4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241952-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241952-21822@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=3D241952

--- Comment #9 from Danny McGrath <danmcgrath.ca@gmail.com> ---
(In reply to Tatsuki Makino from comment #8)

Hi Tatsuki,

I did a quick test on a fresh install of 13.1 with 2022Q2 and it appeared to
work just fine:

  root@freebsd:/usr/ports/devel/py-pycparser # make reinstall
  =3D=3D=3D>  Deinstalling for py38-pycparser
  =3D=3D=3D>   Deinstalling py38-pycparser-2.21
  Updating database digests format: 100%
  Checking integrity... done (0 conflicting)
  Deinstallation has been requested for the following 1 packages (of 0 pack=
ages
in the universe):

  Installed packages to be REMOVED:
          py38-pycparser: 2.21

  Number of packages to be removed: 1

  The operation will free 1 MiB.
  [1/1] Deinstalling py38-pycparser-2.21...
  [1/1] Deleting files for py38-pycparser-2.21: 100%
  =3D=3D=3D>  Installing for py38-pycparser-2.21
  =3D=3D=3D>  Checking if py38-pycparser is already installed
  =3D=3D=3D>   Registering installation for py38-pycparser-2.21
  Installing py38-pycparser-2.21...
  root@freebsd:/usr/ports/devel/py-pycparser # pkg check -v -s py38-pycpars=
er
  [1/1] Checking py38-pycparser-2.21: checksums... done
  root@freebsd:/usr/ports/devel/py-pycparser # python3.8 -c 'import pycpars=
er'
  root@freebsd:/usr/ports/devel/py-pycparser # pkg check -v -s py38-pycpars=
er
  [1/1] Checking py38-pycparser-2.21: checksums... done
  root@freebsd:/usr/ports/devel/py-pycparser # python3.8 -c 'import pycpars=
er'
  root@freebsd:/usr/ports/devel/py-pycparser # pkg check -v -s py38-pycpars=
er
  [1/1] Checking py38-pycparser-2.21: checksums... done


Prior to the patch it was, of course, doing the old problem:

  root@freebsd:~ # pkg check -v -s py38-pycparser
  [1/1] Checking py38-pycparser-2.21: checksums... done
  root@freebsd:~ # python3.8 -c 'import pycparser'
  root@freebsd:~ # pkg check -v -s py38-pycparser
  [1/1] Checking py38-pycparser-2.21: checksums...py38-pycparser-2.21: chec=
ksum=20
  mismatch for /usr/local/lib/python3.8/site-=20
  packages/pycparser/__pycache__/c_ast.cpython-38.pyc
   done

Hope the feedback helps. Thanks!

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241952-21822-iPxhIvw4g4>