[Sugar-devel] Sugar build break

Alan Jhonn Aguiar Schwyn alanjas at hotmail.com
Wed Jun 19 17:49:56 EDT 2013


I just reinstall my Ubuntu, and clone the sugar-build again.When you try run the .osbuild you get:
alan at alan-pc:~/Documentos/GIT/sugar-build$ ./osbuild = Setup the build system =
* Create the python virtualenv* Install osbuild packageCommand /home/alan/Documentos/GIT/sugar-build/build/out/sandbox/install/bin/python -c "import setuptools;__file__='/tmp/pip-u44G5f-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-imevXJ-record/install-record.txt --single-version-externally-managed --install-headers /home/alan/Documentos/GIT/sugar-build/build/out/sandbox/install/include/site/python2.7 failed with error code 1 in /tmp/pip-u44G5f-buildStoring complete log in /home/alan/.pip/pip.logTraceback (most recent call last):  File "./osbuild", line 245, in <module>    main()  File "./osbuild", line 210, in main    raise esubprocess.CalledProcessError: Command '['/home/alan/Documentos/GIT/sugar-build/build/out/sandbox/install/bin/pip', '-q', 'install', 'git+git://github.com/dnarvaez/osbuild']' returned non-zero exit status 1
I search on the pip.log (attached) and found:
src/ext.c:24:22: fatal error: X11/Xlib.h: No existe el archivo o el directorio
I install libx11-dev and now works. Maybe that dependency must checked before??
Another thing: in the documentation http://sugarlabs.org/~buildbot/docs/build.htmlthe commands are for the old "make"..
Regards!
Alan
Date: Wed, 19 Jun 2013 11:40:05 +0200
Subject: Re: Sugar build break
From: dwnarvaez at gmail.com
To: alanjas at hotmail.com
CC: suraj.gillespie at gmail.com; sugar-devel at lists.sugarlabs.org

Should be fixed now.


On 19 June 2013 09:51, Daniel Narvaez <dwnarvaez at gmail.com> wrote:

Not just your problem, getting the same on buildbot. Not on a keyboard but I will fix it ASAP.
Not sure why it didn't fail yesterday when I pushed, maybe it happens only with a clean build.



On Wednesday, 19 June 2013, Alan Jhonn Aguiar Schwyn  wrote:



Well, now have this:
* Building sugar-docsTraceback (most recent call last):  File "/home/alan/Documentos/GIT/sugar-build/sugar-build/build/commands/build", line 4, in <module>

    common.run("build")  File "/home/alan/Documentos/GIT/sugar-build/sugar-build/build/commands/common.py", line 77, in run    if not getattr(main, "cmd_%s" % command)():

  File "/home/alan/Documentos/GIT/sugar-build/sugar-build/build/out/sandbox/install/local/lib/python2.7/site-packages/osbuild/main.py", line 123, in cmd_build    if not run_build(clean_all=args.clean_all):

  File "/home/alan/Documentos/GIT/sugar-build/sugar-build/build/out/sandbox/install/local/lib/python2.7/site-packages/osbuild/main.py", line 41, in run_build    if not build.build():  File "/home/alan/Documentos/GIT/sugar-build/sugar-build/build/out/sandbox/install/local/lib/python2.7/site-packages/osbuild/build.py", line 85, in build

    if not _build_module(module):  File "/home/alan/Documentos/GIT/sugar-build/sugar-build/build/out/sandbox/install/local/lib/python2.7/site-packages/osbuild/build.py", line 233, in _build_module

    _builders[module.build_system](module, log)KeyError: None
It's my problem?
Log attached..
Date: Tue, 18 Jun 2013 16:42:30 +0200


From: dwnarvaez at gmail.com
To: suraj.gillespie at gmail.com

CC: sugar-devel at lists.sugarlabs.org
Subject: Re: [Sugar-devel] Sugar build break

I pushed a fix which should avoid this situation in the future. Please keep reporting any issue you find!




On 18 June 2013 10:35, suraj ks <suraj.gillespie at gmail.com> wrote:


Everything seemed to be working fine yesterday.

But today morning when i try to run I get this,

[osbuild sugar-build]$ run

= Building =

* Cleaning webkitgtk
* Building node

Command failed: make install

make -C out BUILDTYPE=Release V=1
make[1]: Entering directory `/home/suraj/sugar-build/node/out'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/suraj/sugar-build/node/out'
ln -fs out/Release/node node
/usr/bin/python tools/install.py install 
Traceback (most recent call last):
installing /usr/local/bin/node
  File "tools/install.py", line 156, in <module>
    run(sys.argv[:])
  File "tools/install.py", line 151, in run
    if cmd == 'install': return files(install)
  File "tools/install.py", line 122, in files
    action(['out/Release/node'], 'bin/node')
  File "tools/install.py", line 79, in install
    def install(paths, dst): map(lambda path: try_copy(path, dst), paths)
  File "tools/install.py", line 79, in <lambda>
    def install(paths, dst): map(lambda path: try_copy(path, dst), paths)
  File "tools/install.py", line 71, in try_copy
    return shutil.copy2(source_path, target_path)
  File "/usr/lib/python2.7/shutil.py", line 130, in copy2
    copyfile(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/usr/local/bin/node'
make: *** [install] Error 1





-- 
Daniel Narvaez



_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel 		 	   		  


-- 
Daniel Narvaez




-- 
Daniel Narvaez

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130619/ae30e829/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pip.log
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130619/ae30e829/attachment-0001.ksh>


More information about the Sugar-devel mailing list