Hey,<div><br></div><div>you seem to have upgraded to chrooted sugar-build. Did you start from a clean clone or followed the instructions I posted anyway?</div><div><br></div>I suggest you just start from a clean clone now, your tree is in a bit of <span></span>weird status now, it can be fixed but it's probably easier to just start clean.<br>
<div><br>On Saturday, 10 August 2013, wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">
Hi all,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="EN-US">I’ve got an error on “broot” command trying to upgrade my sugar-build.<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US">Following is the error message. I’m on Fedora 19.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">No more luck with a “./osbuild clean” before launching the command.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Best regards from France.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> Lionel.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal">
<span lang="EN-US">[fedora@localhost sugar-build]$ ./osbuild pull<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">= Setup the host build system =<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">* Create the python virtualenv<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">* Install python packages<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">* Pull latest sugar-build<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">[sudo] password for fedora: <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">usage: broot [-h] {shell,create,run,setup,distribute,clean} ...<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">broot: error: argument command: invalid choice: 'state' (choose from 'shell', 'create', 'run', 'setup', 'distribute', 'clean')<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Traceback (most recent call last):<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> File "./osbuild", line 476, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> main()<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> File "./osbuild", line 459, in main<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> setup(options.command, other_args)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "./osbuild", line 326, in setup<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> build_root = build_root and broot_state() != "ready"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "./osbuild", line 272, in broot_state<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> return broot_check_output(["state"]).strip()<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "./osbuild", line 216, in broot_check_output<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> return subprocess.check_output(broot_args)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/lib64/python2.7/subprocess.py", line 575, in check_output<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> raise CalledProcessError(retcode, cmd, output=output)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">subprocess.CalledProcessError: Command '['sudo', '/home/fedora/sugar-build/build/out/sandbox-host/install/bin/broot', 'state']' returned non-zero exit status 2<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[fedora@localhost sugar-build]$<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div></div></blockquote></div><br><br>-- <br>Daniel Narvaez<br>
<br>