mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen Zhiwei (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-5244) Compilation failure on Ubuntu 16.04
Date Mon, 25 Apr 2016 09:38:12 GMT

    [ https://issues.apache.org/jira/browse/MESOS-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15256145#comment-15256145
] 

Chen Zhiwei commented on MESOS-5244:
------------------------------------

Since distribute was merged to setuptools, so I plan to replace it with setuptools.

> Compilation failure on Ubuntu 16.04
> -----------------------------------
>
>                 Key: MESOS-5244
>                 URL: https://issues.apache.org/jira/browse/MESOS-5244
>             Project: Mesos
>          Issue Type: Bug
>          Components: python api
>            Reporter: Kapil Arya
>            Assignee: Chen Zhiwei
>            Priority: Blocker
>              Labels: mesosphere
>             Fix For: 0.29.0
>
>
> I saw the following error when trying to compile Mesos on Ubuntu 16.04:
> {code}
> dekaksi:...mesos/build/src> make ../3rdparty/protobuf-2.6.1/python/dist/protobuf-2.6.1-py2.7.egg
> Building protobuf Python egg ...
> cd ../3rdparty/protobuf-2.6.1/python &&                 \
>   CC="gcc"                                      \
>   CXX="g++"                                     \
>   CFLAGS="-g -O2 -Wno-unused-local-typedefs -g1 -O0"                            \
>   CXXFLAGS="-g -O2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11 -g1
-O0"   \
>   PYTHONPATH=/home/kapil/mesos/build/3rdparty/distribute-0.6.26 \
>   /usr/bin/python setup.py build bdist_egg
> Traceback (most recent call last):
>   File "setup.py", line 11, in <module>
>     from setuptools import setup, Extension
>   File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/setuptools/__init__.py", line
2, in <module>
>     from setuptools.extension import Extension, Library
>   File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/setuptools/extension.py",
line 5, in <module>
>     from setuptools.dist import _get_unpatched
>   File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/setuptools/dist.py", line
6, in <module>
>     from setuptools.command.install import install
>   File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/setuptools/command/__init__.py",
line 8, in <module>
>     from setuptools.command import install_scripts
>   File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/setuptools/command/install_scripts.py",
line 3, in <module>
>     from pkg_resources import Distribution, PathMetadata, ensure_directory
>   File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/pkg_resources.py", line 2731,
in <module>
>     add_activation_listener(lambda dist: dist.activate())
>   File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/pkg_resources.py", line 704,
in subscribe
>     callback(dist)
>   File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/pkg_resources.py", line 2731,
in <lambda>
>     add_activation_listener(lambda dist: dist.activate())
>   File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/pkg_resources.py", line 2231,
in activate
>     self.insert_on(path)
>   File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/pkg_resources.py", line 2332,
in insert_on
>     "with distribute. Found one at %s" % str(self.location))
> ValueError: A 0.7-series setuptools cannot be installed with distribute. Found one at
/usr/lib/python2.7/dist-packages
> Makefile:10869: recipe for target '../3rdparty/protobuf-2.6.1/python/dist/protobuf-2.6.1-py2.7.egg'
failed
> make: *** [../3rdparty/protobuf-2.6.1/python/dist/protobuf-2.6.1-py2.7.egg] Error 1
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message