Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jun 2022 05:12:33 +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-AvPNDVdnlD@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 #10 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
(In reply to Tatsuki Makino from comment #8)

All of the following poudriere bulk -t were successful when the attachment
234552 patch was applied.

devel/py-pycparser
devel/py-pycparser@py27
devel/py-pycparser@py37
devel/py-pycparser@py39
devel/py-pycparser@py310
devel/py-pycparser@py311
(building for: FreeBSD src-git-job-01 12.3-STABLE FreeBSD 12.3-STABLE 12035=
07
amd64)


Before and after patching, log changes the name of the temporary file and t=
he
following lines:

@@ -210,26 +210,27 @@
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phas=
e: patch-depends  >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phas=
e: patch          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 =3D=3D=3D>  Patching for py38-pycparser-2.21
+=3D=3D=3D>  Applying FreeBSD patches for py38-pycparser-2.21 from
/usr/ports/devel/py-pycparser/files
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phas=
e: build-depends  >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 =3D=3D=3D>   py38-pycparser-2.21 depends on package: py38-setuptools>=3D62=
.1.0 - not
found
 =3D=3D=3D>   Installing existing package /packages/All/py38-setuptools-62.=
1.0.pkg

(Omitted)

@@ -308,8 +309,9 @@
 copying build/lib/pycparser/ply/__init__.py ->
/wrkdirs/usr/ports/devel/py-pycparser/work-py38/stage/usr/local/lib/python3=
.8/site-packages/pycparser/ply
 copying build/lib/pycparser/ply/cpp.py ->
/wrkdirs/usr/ports/devel/py-pycparser/work-py38/stage/usr/local/lib/python3=
.8/site-packages/pycparser/ply
 copying build/lib/pycparser/ply/lex.py ->
/wrkdirs/usr/ports/devel/py-pycparser/work-py38/stage/usr/local/lib/python3=
.8/site-packages/pycparser/ply
 copying build/lib/pycparser/_c_ast.cfg ->
/wrkdirs/usr/ports/devel/py-pycparser/work-py38/stage/usr/local/lib/python3=
.8/site-packages/pycparser
+Build the lexing/parsing tables
 byte-compiling
/wrkdirs/usr/ports/devel/py-pycparser/work-py38/stage/usr/local/lib/python3=
.8/site-packages/pycparser/yacctab.py
to yacctab.cpython-38.pyc
 byte-compiling
/wrkdirs/usr/ports/devel/py-pycparser/work-py38/stage/usr/local/lib/python3=
.8/site-packages/pycparser/c_parser.py
to c_parser.cpython-38.pyc
 byte-compiling
/wrkdirs/usr/ports/devel/py-pycparser/work-py38/stage/usr/local/lib/python3=
.8/site-packages/pycparser/c_generator.py
to c_generator.cpython-38.pyc
 byte-compiling
/wrkdirs/usr/ports/devel/py-pycparser/work-py38/stage/usr/local/lib/python3=
.8/site-packages/pycparser/c_lexer.py
to c_lexer.cpython-38.pyc
@@ -341,9 +343,8 @@
 writing manifest file 'pycparser.egg-info/SOURCES.txt'
 Copying pycparser.egg-info to
/wrkdirs/usr/ports/devel/py-pycparser/work-py38/stage/usr/local/lib/python3=
.8/site-packages/pycparser-2.21-py3.8.egg-info
 running install_scripts
 writing list of installed files to
'/wrkdirs/usr/ports/devel/py-pycparser/work-py38/.PLIST.pymodtmp'
-Build the lexing/parsing tables
 /usr/local/lib/python3.8/site-packages/setuptools/command/install.py:34:
SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and=
 pip
and other standards-based tools.
   warnings.warn(
 =3D=3D=3D> Creating unique files: Move MAN files needing SUFFIX
 =3D=3D=3D> Creating unique files: Move files needing SUFFIX


The patch is intended to finish rewriting pycparser/c_ast.py between instal=
l()
and byte_compile() with def run of class install_lib in
.../site-packages/setuptools/_distutils/command/install_lib.py.
However, since I don't know python (oop) :), this change needs to be verifi=
ed
by someone familiar with python to see if any side effects exist.

--=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-AvPNDVdnlD>