Revision: 17463 http://gar.svn.sourceforge.net/gar/?rev=17463&view=rev Author: wahwah Date: 2012-03-19 14:47:57 +0000 (Mon, 19 Mar 2012) Log Message: ----------- checkpkg: A comment about libmagic problems
Modified Paths: -------------- csw/mgar/gar/v2/lib/python/inspective_package.py csw/mgar/gar/v2/lib/python/package.py Modified: csw/mgar/gar/v2/lib/python/inspective_package.py =================================================================== --- csw/mgar/gar/v2/lib/python/inspective_package.py 2012-03-19 14:47:35 UTC (rev 17462) +++ csw/mgar/gar/v2/lib/python/inspective_package.py 2012-03-19 14:47:57 UTC (rev 17463) @@ -426,6 +426,12 @@ logging.error("magic_cookie.file(%s) returned None. Retrying.", full_path) self.magic_cookie = self._GetCookie() + # In practice, this retrying doesn't help. There seems to be + # something process-related which prevents libmagic from + # functioning. The only known workaround is to shutdown the + # process and run it again. + # + # The issues have been observed with file-5.04. return mime Modified: csw/mgar/gar/v2/lib/python/package.py =================================================================== --- csw/mgar/gar/v2/lib/python/package.py 2012-03-19 14:47:35 UTC (rev 17462) +++ csw/mgar/gar/v2/lib/python/package.py 2012-03-19 14:47:57 UTC (rev 17463) @@ -426,6 +426,8 @@ def MakeAbsolutePath(self, p): return os.path.join(self.pkgpath, p) + + class PackageComparator(object): def __init__(self, file_name_a, file_name_b, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel