On Thu, Dec 13, 2007 at 12:01:47PM +0000, Paul Howarth wrote:
Paul Howarth wrote:
Just tried it, seems to have the same LIBDIR problem as last time:
$ mock -r fedora-8-x86_64 rebuild mock-0.8.17-0.se.fc8.src.rpm INFO: mock.py version 0.8.17 starting... State Changed: init plugins State Changed: start ERROR: global name 'LIBDIR' is not defined Traceback (most recent call last): File "/usr/libexec/mock.py", line 529, in <module> main(retParams) File "/usr/libexec/mock.py", line 512, in main do_rebuild(config_opts, chroot, args) File "<peak.util.decorators.rewrap wrapping __main__.do_rebuild at 0x008BA668>", line 3, in do_rebuild def do_rebuild(config_opts, chroot, srpms): return __decorated(config_opts, chroot, srpms) File "/usr/lib/python2.5/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/libexec/mock.py", line 312, in do_rebuild os.environ["LD_PRELOAD"] = LIBDIR+"/libselinux-mock.so" NameError: global name 'LIBDIR' is not defined
This is odd. I ran a full unit test until I didnt see this message at all. Might be having git sync issues with our public mirror, I'll check.
-- Michael