[blfs-support] Openssl - packages needing to be recompiled

Fernando de Oliveira famobr at yahoo.com.br
Fri Mar 4 11:51:50 PST 2016


Em 01-03-2016 18:11, Ken Moffat escreveu:
> On my test machines I have now upgraded all the systems to
> openssl-1.0.2g (the other desktop upgrades are still ongoing).
> One of my test machines is now - finally - having a stab at building
> libreoffice, but to get here I have so far had to rebuild the
> following because they were trying to use SSLv2 which is now turned
> off by default:
> 
> curl :
> 
> The output from autogen.sh was just
> checking which redland to use... external
> checking for REDLAND... yes
> checking for librdf_world_set_raptor_init_handler in -lrdf... no
> configure: error: librdf too old. Need >= 1.0.16
> 
> but I knew it was 1.0.17.  Fortunately, config.log showed the issue:
> 
> configure:32982: checking for librdf_world_set_raptor_init_handler
> in -lrdf
> configure:33007: gcc -o conftest -O2       conftest.c -lrdf   >&5
> /usr/lib64/libcurl.so.4: undefined reference to
> `SSLv2_client_method'
> collect2: error: ld returned 1 exit status
> configure:33007: $? = 1
> 
> python3 :
> 
> [build CHK] unotest
> E
> ======================================================================
> ERROR: test_ssl_import (testssl.SSLTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/scratch/working/libreoffice-5.1.0.3/pyuno/qa/pytests/testssl.py",
> line 6, in test_ssl_import
>     import ssl
>   File "/usr/lib/python3.5/ssl.py", line 98, in <module>
>     import _ssl             # if we can't import it, let the error
> propagate
> ImportError:
> /usr/lib/python3.5/lib-dynload/_ssl.cpython-35m-x86_64-linux-gnu.so:
> undefined symbol: SSLv2_method
> 
> As far as I can remember, this is the first time I've had to rebuild
> other packages after doing a 'letter' upgrade of openssl (and so
> far, I have just let old systems go when their version of openssl
> becomes unsupported).
> 
> ĸen
> 

One plus:

{{{
Creating Python environment
New python executable in
/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/firefox-build-dir/_virtualenv/bin/python2.7
Also creating executable in
/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/firefox-build-dir/_virtualenv/bin/python
Installing setuptools, pip...
Complete output from command /tmp/porg-build-2016...ualenv/bin/python2.7
-c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/__init__.py",
line 15, in <module>
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/vcs/mercurial.py",
line 11, in <module>
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/download.py",
line 30, in <module>
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/_vendor/__init__.py",
line 81, in load_module
ImportError: No module named 'pip._vendor.requests'
----------------------------------------
...Installing setuptools, pip...done.
Traceback (most recent call last):
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/virtualenv/virtualenv.py",
line 2352, in <module>
main()
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/virtualenv/virtualenv.py",
line 825, in main
symlink=options.symlink)
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/virtualenv/virtualenv.py",
line 993, in create_environment
install_wheel(to_install, py_executable, search_dirs)
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/virtualenv/virtualenv.py",
line 961, in install_wheel
'PIP_NO_INDEX': '1'
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/virtualenv/virtualenv.py",
line 903, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /tmp/porg-build-2016...ualenv/bin/python2.7 -c "import
sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error
code 1
Traceback (most recent call last):
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/mozbuild/mozbuild/virtualenv.py",
line 485, in <module>
manager.ensure()
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/mozbuild/mozbuild/virtualenv.py",
line 128, in ensure
return self.build()
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/mozbuild/mozbuild/virtualenv.py",
line 381, in build
self.create()
File
"/tmp/porg-build-2016.03.04-09h28m27s/firefox-44.0.2/python/mozbuild/mozbuild/virtualenv.py",
line 147, in create
raise Exception('Error creating virtualenv.')
Exception: Error creating virtualenv.
------ config.log ------
}}}

Have you update openssl to openssl-1.0.2g? As Ken wrote, I needed to
rbuild/reinstall Python. I installed Python-2.7.11.


-- 
[]s,
Fernando, aka Sísifo


More information about the blfs-support mailing list