[Sugar-devel] broot argument error attempting new sugar-build

lionel at olpc-france.org lionel at olpc-france.org
Sat Aug 10 03:05:26 EDT 2013


Hi all,

 

I’ve got an error on “broot” command trying to upgrade my sugar-build.

Following is the error message. I’m on Fedora 19.

No more luck with a “./osbuild clean” before launching the command.

 

Best regards from France.

 

                Lionel.

 

 

[fedora at localhost sugar-build]$ ./osbuild pull

 

= Setup the host build system =

 

* Create the python virtualenv

* Install python packages

* Pull latest sugar-build

[sudo] password for fedora: 

usage: broot [-h] {shell,create,run,setup,distribute,clean} ...

broot: error: argument command: invalid choice: 'state' (choose from
'shell', 'create', 'run', 'setup', 'distribute', 'clean')

Traceback (most recent call last):

  File "./osbuild", line 476, in <module>

    main()

  File "./osbuild", line 459, in main

    setup(options.command, other_args)

  File "./osbuild", line 326, in setup

    build_root = build_root and broot_state() != "ready"

  File "./osbuild", line 272, in broot_state

    return broot_check_output(["state"]).strip()

  File "./osbuild", line 216, in broot_check_output

    return subprocess.check_output(broot_args)

  File "/usr/lib64/python2.7/subprocess.py", line 575, in check_output

    raise CalledProcessError(retcode, cmd, output=output)

subprocess.CalledProcessError: Command '['sudo',
'/home/fedora/sugar-build/build/out/sandbox-host/install/bin/broot',
'state']' returned non-zero exit status 2

[fedora at localhost sugar-build]$

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130810/9542cee5/attachment.html>


More information about the Sugar-devel mailing list