[OmniOS-discuss] pkg verify failing on pyc files

Dan McDonald danmcd at omniti.com
Thu Oct 8 15:12:41 UTC 2015


> On Oct 8, 2015, at 10:35 AM, Peter Tribble <peter.tribble at gmail.com> wrote:
> 
> It looks like something is deciding to recompile the pyc files, which ends up
> changing them.
> 
> Is there any way to stop this, to keep pkg verify clean?

You'll notice several workarounds in omnios-build.  For example from python26-coverage:

	# Prevents pkgdepend from freaking out.
	<transform file path=usr/bin/coverage -> set pkg.depend.bypass-generate .* >
	<transform file path=usr/bin/coverage-2.6 -> set pkg.depend.bypass-generate .* >
	<transform file path=usr/bin/coverage2 -> set pkg.depend.bypass-generate .* >

Here's Tim Foster's blog entry about it:

	https://timsfoster.wordpress.com/2011/02/24/pkgdepend-improvements/

You may need to bypass-generate a few things.

Dan



More information about the OmniOS-discuss mailing list