[plonegov-br] Erro no Buildout - CentOS

Luiz Geraldo Silva Braz luiz.lgsb em dpf.gov.br
Quinta Julho 21 14:37:12 BRT 2016


Tem que usar mesmo o CentOS? ...


On 19-07-2016 19:45, Joao Henrique Gouveia wrote:
> Galera,
>
>
> Mais um problema: ao rodar o buildout no CentOS 7, de acordo com o
> roteiro
> (http://identidade-digital-de-governo-plone.readthedocs.io/en/latest/producao/),
> recebo o seguinte erro:
>
>
> (py27)[plone em centos7 #localhost portal.buildout]$ ./bin/buildout -c
> buildout.cfg
> /opt/plone/portal.buildout/eggs/setuptools-20.1.1-py2.7.egg/pkg_resources/__init__.py:192:
> RuntimeWarning: You have iterated over the result of
> pkg_resources.parse_version. This is a legacy behavior which is
> inconsistent with the new version class introduced in setuptools 8.0.
> In most cases, conversion to a tuple is unnecessary. For comparison of
> versions, sort the Version instances directly. If you have another use
> case requiring the tuple, please file a bug with the setuptools
> project describing that need.
>   stacklevel=1,
> lxml: Static build requested.
> Installing lxml.
> lxml: CMMI libxml2 ...
> lxml: Using libxml2 download url
> xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz
> <http://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz>
> libxml2: Unpacking and configuring
> While:
>   Installing lxml.
>
> An internal error occurred due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
>   File
> "/opt/plone/portal.buildout/eggs/zc.buildout-1.7.1-py2.7.egg/zc/buildout/buildout.py",
> line 1866, in main
>     getattr(buildout, command)(args)
>   File
> "/opt/plone/portal.buildout/eggs/zc.buildout-1.7.1-py2.7.egg/zc/buildout/buildout.py",
> line 625, in install
>     installed_files = self[part]._call(recipe.install)
>   File
> "/opt/plone/portal.buildout/eggs/zc.buildout-1.7.1-py2.7.egg/zc/buildout/buildout.py",
> line 1345, in _call
>     return f()
>   File
> "/opt/plone/portal.buildout/eggs/z3c.recipe.staticlxml-0.10-py2.7.egg/z3c/recipe/staticlxml/__init__.py",
> line 222, in install
>     self.build_libxml2()
>   File
> "/opt/plone/portal.buildout/eggs/z3c.recipe.staticlxml-0.10-py2.7.egg/z3c/recipe/staticlxml/__init__.py",
> line 182, in build_libxml2
>     loc = self.xml2_cmmi.install()
>   File "build/bdist.linux-x86_64/egg/zc/recipe/cmmi/__init__.py", line
> 113, in install
>     self.build()
>   File "build/bdist.linux-x86_64/egg/zc/recipe/cmmi/__init__.py", line
> 140, in build
>     setuptools.archive_util.unpack_archive(fname, tmp)
>   File
> "/opt/plone/portal.buildout/eggs/setuptools-20.1.1-py2.7.egg/setuptools/archive_util.py",
> line 50, in unpack_archive
>     driver(filename, extract_dir, progress_filter)
>   File
> "/opt/plone/portal.buildout/eggs/setuptools-20.1.1-py2.7.egg/setuptools/archive_util.py",
> line 133, in unpack_tarfile
>     tarobj = tarfile.open(filename)
>   File "/usr/lib64/python2.7/tarfile.py", line 1660, in open
>     return func(name, "r", fileobj, **kwargs)
>   File "/usr/lib64/python2.7/tarfile.py", line 1722, in gzopen
>     fileobj = bltn_open(name, mode + "b")
> IOError: [Errno 2] No such file or directory:
> 'xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz
> <http://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz>'
>
>
> Alguma dica para este newbie em IDG?
>
>
> Um abraço,
>
>
> *Gouveia*
> jhgouveia em gmail.com <mailto:jhgouveia em gmail.com>
>
>
>

-- 
Luiz Braz
(61) 8286-7589

-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.interlegis.gov.br/pipermail/plonegov-br/attachments/20160721/eb2f6e02/attachment.html>


Mais detalhes sobre a lista de discussão PloneGov-BR