[Sugar-devel] Trying sugar-build on Debian without broot

Gonzalo Odiard godiard at sugarlabs.org
Sat Mar 28 14:40:30 EDT 2015


Can you send patches with the change you did?
Would be good test the change in other environments,
and if is not a problem make the change upstream.
I saw a similar problem in other context.
Old versions of SSL protocols are banned due to the vulnerabilities found
in the last months.

Gonzalo

On Sat, Mar 28, 2015 at 3:19 AM, Sebastian Silva <sebastian at fuentelibre.org>
wrote:

>  Alright so I got a little further with this.
>
> In the last episode I got the following error when trying ./osbuild pull :
>
> subprocess.CalledProcessError: Command '['python2.7',
> '/home/icarito/Proyectos/sugar-build/build/out/sandbox/cache/virtualenv-1.11.4/virtualenv.py',
> '-q', '--system-site-packages',
> '/home/icarito/Proyectos/sugar-build/build/out/sandbox/install']' returned
> non-zero exit status 1
>
> I executed the command manually without the -q parameter. This resulted in
> a more informative error:
>
>  Installing setuptools, pip... Complete output from command
> /home/icarito/Proyec...nstall/bin/python2.7 -c "import sys, pip; sys...d\"]
> + sys.argv[1:]))" setuptools pip: Traceback (most recent call last): File "",
> line 1, in  File
> "/home/icarito/Proyectos/sugar-build/build/out/sandbox/cache/virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/__init__.py",
> line 11, in  File
> "/home/icarito/Proyectos/sugar-build/build/out/sandbox/cache/virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/vcs/mercurial.py",
> line 9, in  File
> "/home/icarito/Proyectos/sugar-build/build/out/sandbox/cache/virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/download.py",
> line 22, in  File
> "/home/icarito/Proyectos/sugar-build/build/out/sandbox/cache/virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/_vendor/requests/__init__.py",
> line 53, in  File
> "/home/icarito/Proyectos/sugar-build/build/out/sandbox/cache/virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py",
> line 62, in  AttributeError: 'module' object has no attribute
> 'PROTOCOL_SSLv3' ----------------------------------------
>
>
> AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3' gave me
> the clue.
> Apparently, SSLv3 has been unavailable in since Python 2.7.8-12  (and
> Debian 8 has 2.7.9).
>
> I then noticed the version number on virtualenv, compared it to debian's,
> and, as it turns out, we were using an older version. So I looked up where
> this version was being set, and updated it from 1.11.4 to 12.0.7.
>
> Sure enough, this got me to at least be able to pull all repositories
> contained in sugar-build.
> Now, the challenge will be to build them.
>
> Until the next episode,
> Sebastian
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Gonzalo Odiard

SugarLabs - Software for children learning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150328/17c9fea6/attachment.html>


More information about the Sugar-devel mailing list