[Sugar-devel] Problems in building sugar from source

Rogelio Mita rogeliomita at activitycentral.com
Mon Oct 28 14:03:49 EDT 2013


You say you did set use_broot to false and then build, but nothing happen?,
You tried to clean and then build?
I don't know what is happening, I send this information to the list to see
if anyone else can help you, in any way you can try:

set in prefs.json use_broot to false
./osbuild clean
./osbuild build


2013/10/28 Sai Vineet <saivineet89 at gmail.com>

> Tried it. Still not working. Here's the output it gave me -
> svineet at svineet-desktop:~/code/sugar-build$ ./osbuild build
>
> $ sudo broot run osbuild build
> [sudo] password for svineet:
> You must create or download the build root first.
>
> ! Failed to run command build
> I have tried many alternatives -
> ./osbuild broot create -
> svineet at svineet-desktop:~/code/sugar-build$ ./osbuild broot create
>
> $ sudo broot create
> Traceback (most recent call last):
>   File
> "/home/svineet/code/sugar-build/build/out/sandbox-host/install/bin/broot",
> line 5, in <module>
>     main.main()
>   File
> "/home/svineet/code/sugar-build/build/out/sandbox-host/install/local/lib/python2.7/site-packages/broot/main.py",
> line 49, in main
>     result = root.create(options.arch, options.mirror)
>   File
> "/home/svineet/code/sugar-build/build/out/sandbox-host/install/local/lib/python2.7/site-packages/broot/root.py",
> line 200, in create
>     self._builder.create(arch, mirror)
>   File
> "/home/svineet/code/sugar-build/build/out/sandbox-host/install/local/lib/python2.7/site-packages/broot/builder.py",
> line 85, in create
>     check_call(["rpm", "--root", root_path, "--initdb"])
>   File "/usr/lib/python2.7/subprocess.py", line 506, in check_call
>     retcode = call(*popenargs, **kwargs)
>   File "/usr/lib/python2.7/subprocess.py", line 493, in call
>     return Popen(*popenargs, **kwargs).wait()
>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>     errread, errwrite)
>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory
>
> ! Failed to run command broot
> I also tried ./osbuild broot setup. It downloaded for a while. Then it
> printed a lot of text and then it told me thrice - You must create or
> download the build root first.
> What should I do? I repeat, the ./osbuild pull completed. I have done
> everything else required. I also tried setting prefs.json "use_broot" to
> false. I have removed all files and tried again, but in vain.
> I have been stuck here for 3 days. Please help
> Thank you
>
>
> On Mon, Oct 28, 2013 at 9:04 PM, Rogelio Mita <
> rogeliomita at activitycentral.com> wrote:
>
>> Try with "./osbuild build" command before run shell.
>>
>>
>> 2013/10/28 Sai Vineet <saivineet89 at gmail.com>
>>
>>> I followed the instructions at -
>>> http://developer.sugarlabs.org/dev-environment.md.html#setup%20a%20development%20environment
>>> .
>>>  I cloned(git clone) , pulled(./osbuild pull), and then tried running
>>> the shell using -
>>> ./osbuild shell.
>>>
>>> Here's the output I get-
>>> svineet at svineet-desktop:~/code/sugar-build$ ./osbuild shell
>>>
>>> $ sudo broot run osbuild shell
>>> [sudo] password for svineet:
>>> You must create or download the build root first.
>>>
>>> ! Failed to run command shell
>>> I'm on ubuntu 12.04. What should I do now? I want to build sugar from
>>> source.
>>>
>>> _______________________________________________
>>> Sugar-devel mailing list
>>> Sugar-devel at lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>>
>>
>>
>> --
>> Roger
>>
>> Activity Central <http://activitycentral.com/>
>>
>
>


-- 
Roger

Activity Central <http://activitycentral.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131028/dec1069d/attachment.html>


More information about the Sugar-devel mailing list