Checkpkg false positive

Maciej (Matchek) Bliziński maciej at opencsw.org
Fri Jan 23 09:44:14 CET 2015


It's interesting that it took us that long to encounter this!

s foo → bar/foo
s bar → baz
f baz/foo

This means that there is no regular file with path bar/foo. From skimming
the code, checkpkg looks for packages containing pkgmap entries equal to
the target of the symlink, which does not yield a correct result in this
case.

To fix this, checkpkg needs to follow directory symlinks. If anyone wants
to take that on, the place in the code is checkpkg_lib.py:651, and there
are existing unit tests you can copy and modify to expose the problem.

Maciej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20150123/d95daad6/attachment-0001.html>


More information about the maintainers mailing list