[Sugar-devel] sugar-build without chroot

Gonzalo Odiard gonzalo at laptop.org
Thu Jul 18 11:55:37 EDT 2013


If I have a file prefs.json with {"use_broot": false}
as suggested to not use chroot,
get the following error:

[gonzalo at localhost sugar-build]$ ./osbuild build
Traceback (most recent call last):
  File "/home/gonzalo/sugar-build-multiselection/build/commands/build",
line 4, in <module>
    common.run("build")
  File "/home/gonzalo/sugar-build-multiselection/build/commands/common.py",
line 76, in run
    if not getattr(main, "cmd_%s" % command)():
  File
"/home/gonzalo/sugar-build-multiselection/build/out/sandbox/install/lib/python2.7/site-packages/osbuild/main.py",
line 123, in cmd_build
    result = run_build(clean_all=args.clean_all)
  File
"/home/gonzalo/sugar-build-multiselection/build/out/sandbox/install/lib/python2.7/site-packages/osbuild/main.py",
line 41, in run_build
    if not build.pull(lazy=True):
  File
"/home/gonzalo/sugar-build-multiselection/build/out/sandbox/install/lib/python2.7/site-packages/osbuild/build.py",
line 50, in pull
    for module in config.load_modules():
  File
"/home/gonzalo/sugar-build-multiselection/build/out/sandbox/install/lib/python2.7/site-packages/osbuild/config.py",
line 186, in load_modules
    return [Module(info) for info in filter(_filter_if, json.load(f))]
  File
"/home/gonzalo/sugar-build-multiselection/build/out/sandbox/install/lib/python2.7/site-packages/osbuild/config.py",
line 220, in _filter_if
    return eval(item["if"], globals)
  File "<string>", line 1, in <module>
NameError: name 'gnome_version' is not defined
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130718/b33e996d/attachment.html>


More information about the Sugar-devel mailing list