[Sugar-devel] broot argument error attempting new sugar-build
Daniel Narvaez
dwnarvaez at gmail.com
Sat Aug 10 07:34:28 EDT 2013
Hey,
you seem to have upgraded to chrooted sugar-build. Did you start from a
clean clone or followed the instructions I posted anyway?
I suggest you just start from a clean clone now, your tree is in a bit of weird
status now, it can be fixed but it's probably easier to just start clean.
On Saturday, 10 August 2013, wrote:
> 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]$****
>
> ** **
>
--
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130810/50179f67/attachment.html>
More information about the Sugar-devel
mailing list