[OpenIndiana-discuss] [developer] Pkgdepend fails

Gabriele Bulfon gbulfon at sonicle.com
Fri Feb 24 15:07:31 UTC 2012


Anyone knows the reason for this? looks like an old Osol bug...
sonicle at dev# pkgdepend generate -md proto_install ../python26.p5m.2 | pkgfmt../python26.p5m.3
Traceback (most recent call last):
File "/usr/bin/pkgdepend", line 494, in
__ret = main_func()
File "/usr/bin/pkgdepend", line 478, in main_func
return generate(pargs)
File "/usr/bin/pkgdepend", line 168, in generate
remove_internal_deps)
File "/usr/lib/python2.6/vendor-packages/pkg/publish/dependencies.py", line 149, in list_implicit_deps
proto_dirs, pkg_vars, dyn_tok_conv, kernel_paths)
File "/usr/lib/python2.6/vendor-packages/pkg/publish/dependencies.py", line 293, in list_implicit_deps_for_manifest
kernel_paths=kernel_paths)
File "/usr/lib/python2.6/vendor-packages/pkg/flavor/script.py", line 104, in process_script_deps
action, pkg_vars, script_path)
File "/usr/lib/python2.6/vendor-packages/pkg/flavor/python.py", line 228, in process_python_dependencies
loaded_modules = mf.run_script(local_file)
File "/usr/lib/python2.6/vendor-packages/pkg/flavor/depthlimitedmf.py", line 106, in run_script
return self.load_module('__main__', fp, pathname)
File "/usr/lib/python2.6/vendor-packages/pkg/flavor/depthlimitedmf.py", line 123, in load_module
res.extend(self.scan_code(co, m))
File "/usr/lib/python2.6/vendor-packages/pkg/flavor/depthlimitedmf.py", line 171, in scan_code
res.extend(self.scan_code(c, m))
File "/usr/lib/python2.6/vendor-packages/pkg/flavor/depthlimitedmf.py", line 171, in scan_code
res.extend(self.scan_code(c, m))
File "/usr/lib/python2.6/vendor-packages/pkg/flavor/depthlimitedmf.py", line 152, in scan_code
fromlist, level=level))
File "/usr/lib/python2.6/vendor-packages/pkg/flavor/depthlimitedmf.py", line 184, in _safe_import_hook
res.extend(self.import_hook(name, caller, level=level))
File "/usr/lib/python2.6/vendor-packages/pkg/flavor/depthlimitedmf.py", line 209, in import_hook
if q.builtin:
AttributeError: Module instance has no attribute 'builtin'
pkgdepend: This is an internal error.  Please let the developers know about this
problem by filing a bug at http://defect.opensolaris.org and including the
above traceback and this message.  The version of pkg(5) is '4d886e93dafc'.


More information about the OpenIndiana-discuss mailing list