[csw-maintainers] Changes in checkpkg might potentially cause issues

Maciej (Matchek) Blizinski maciej at opencsw.org
Wed Jan 27 14:51:59 CET 2010


Hello maintainers,

I've shuffled Python module files around in the gar source code.
There is no mechanism in subversion to clean up *.pyc files when
clients get updated, so old *pyc files are likely to be still lying
around.

I've added code to checkpkg which deals with the *.pyc files
automatically, so the best fix is to update your gar sources and you
should be OK.


If you still run into issues with checkpkg, remove all the *.pyc files
from GAR sources and try again.

gfind gar -name '*.pyc' -exec rm {} \;
gmake <your_target>

Why the problems might happen: "import checkpkg" might read
v2/bin/checkpkg.d/checkpkg.pyc instead of v2/lib/python/checkpkg.py,
which would create a mismatch between the library and library client.

I'm sorry for the inconvenience.

Maciej


More information about the maintainers mailing list