[Sugar-devel] [sugar-build] Command line change

Daniel Narvaez dwnarvaez at gmail.com
Fri May 17 02:38:34 EDT 2013


The command line changes are mostly a side of the code changes I made to
make it possible to use the bulk of sugar-build in non-sugar projects.

I didn't expect things to regress this badly and I'm afk at the moment so I
can't do much. Is python 3 the default on your distro? (It's a weird error
but it happens on the buildbot so it should be easy to debug when I'm back
on a keyboard).

On Friday, 17 May 2013, Alan Jhonn Aguiar Schwyn wrote:

> Why this changes? The other works fine!!
>
> Now I have:
>
> alan at alan-pc:~/Documentos/GIT/sugar-build/sugar-build$ ./osbuild pull
> Installing virtualenv...
> Traceback (most recent call last):
>   File
> "/home/alan/Documentos/GIT/sugar-build/sugar-build/sandbox/cache/virtualenv-1.8.4/virtualenv.py",
> line 2560, in <module>
>     main()
>   File
> "/home/alan/Documentos/GIT/sugar-build/sugar-build/sandbox/cache/virtualenv-1.8.4/virtualenv.py",
> line 964, in main
>     never_download=options.never_download)
>   File
> "/home/alan/Documentos/GIT/sugar-build/sugar-build/sandbox/cache/virtualenv-1.8.4/virtualenv.py",
> line 1074, in create_environment
>     search_dirs=search_dirs, never_download=never_download)
>   File
> "/home/alan/Documentos/GIT/sugar-build/sugar-build/sandbox/cache/virtualenv-1.8.4/virtualenv.py",
> line 611, in install_setuptools
>     search_dirs=search_dirs, never_download=never_download)
>   File
> "/home/alan/Documentos/GIT/sugar-build/sugar-build/sandbox/cache/virtualenv-1.8.4/virtualenv.py",
> line 583, in _install_req
>     cwd=cwd)
>   File
> "/home/alan/Documentos/GIT/sugar-build/sugar-build/sandbox/cache/virtualenv-1.8.4/virtualenv.py",
> line 1042, in call_subprocess
>     % (cmd_desc, proc.returncode))
> OSError: Command /home/alan/Documento...x/install/bin/python -c "#!python
> \"\"\"Bootstra...sys.argv[1:])
>
>
>
>
>
>
> " /home/alan/Documento...ols-0.6c11-py2.7.egg failed with error code 1
> Traceback (most recent call last):
>   File "./osbuild", line 130, in <module>
>     main()
>   File "./osbuild", line 108, in main
>     create_virtualenv()
>   File "./osbuild", line 68, in create_virtualenv
>     get_virtualenv_dir()])
>   File "/usr/lib/python2.7/subprocess.py", line 542, in check_call
>     raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command '['python',
> '/home/alan/Documentos/GIT/sugar-build/sugar-build/sandbox/cache/virtualenv-1.8.4/virtualenv.py',
> '-q', '--system-site-packages',
> '/home/alan/Documentos/GIT/sugar-build/sugar-build/sandbox/install']'
> returned non-zero exit status 1
>
>
> ------------------------------
> Date: Fri, 17 May 2013 02:14:06 +0200
> From: dwnarvaez at gmail.com <javascript:_e({}, 'cvml',
> 'dwnarvaez at gmail.com');>
> To: sugar-devel at lists.sugarlabs.org <javascript:_e({}, 'cvml',
> 'sugar-devel at lists.sugarlabs.org');>
> Subject: [Sugar-devel] [sugar-build] Command line change
>
> Hello,
>
> I changed a bit the sugar-build command line. I updated the docs, they
> should be up soon. In short, instead of "make command" you can now either
>
>   ./osbuild command
>
> or
>
>   ./osbuild
>   (this enters the shell)
>   command1
>   command2
>   ...
>
> The actual commands and options are all the same.
>
> --
> Daniel Narvaez
>
> _______________________________________________ Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org <javascript:_e({}, 'cvml',
> 'Sugar-devel at lists.sugarlabs.org');>
> http://lists.sugarlabs.org/listinfo/sugar-devel
>


-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130517/05ad2322/attachment.html>


More information about the Sugar-devel mailing list