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

Sebastian Silva sebastian at fuentelibre.org
Sat Mar 28 02:19:56 EDT 2015


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150328/b254cb0f/attachment.html>


More information about the Sugar-devel mailing list