[ 
https://issues.apache.org/jira/browse/MESOS-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gavin updated MESOS-2316:
-------------------------
    Comment: was deleted

(was: www.rtat.net)

> Mesos bundles deprecated versions of Distribute and Pip 
> --------------------------------------------------------
>
>                 Key: MESOS-2316
>                 URL: https://issues.apache.org/jira/browse/MESOS-2316
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.21.1
>         Environment: Probably all environments, but certainly experienced on 
> RHEL/CentOS 7
>            Reporter: Nugai
>            Priority: Major
>
> When running the standard Mesos 0.21.1 on RHEL/CentOS 7, `make check` first 
> reports errors for Metrics.Gauge, Metrics.Snapshot, and 
> Metrics.SnapshotTimeout, then terminates with `terminate called after 
> throwing an instance of 'std::length_error'`. 
> {code}
> make[5]: *** [check-local] Aborted (core dumped)
> make[5]: Leaving directory `/usr/local/mesos-0.21.1/build/3rdparty/libprocess'
> make[4]: *** [check-am] Error 2
> make[4]: Leaving directory `/usr/local/mesos-0.21.1/build/3rdparty/libprocess'
> make[3]: *** [check-recursive] Error 1
> make[3]: Leaving directory `/usr/local/mesos-0.21.1/build/3rdparty/libprocess'
> make[2]: *** [check-recursive] Error 1
> make[2]: Leaving directory `/usr/local/mesos-0.21.1/build/3rdparty'
> make[1]: *** [check] Error 2
> make[1]: Leaving directory `/usr/local/mesos-0.21.1/build/3rdparty'
> make: *** [check-recursive] Error 1
> {code}
> A subsequent `make install` fails with
> {code}
> ----------------------------------------
> Cleaning up...
> Command python setup.py egg_info failed with error code 1 in 
> /tmp/pip_build_root/protobuf
> Storing debug log for failure in /root/.pippip.log                            
>                                                                               
>                      
> Unpacking ./mesos.native-0.21.1-cp27-none-linux_x86_64.whl
> Downloading/unpacking mesos.interface==0.21.1 (from mesos.native==0.21.1)
> Downloading/unpacking protobuf>=2.5.0,<3 (from 
> mesos.interface==0.21.1->mesos.native==0.21.1)
>   Downloading protobuf-2.6.1.tar.gz (188kB): 188kB downloaded
>   Running setup.py (path:/tmp/pip_build_root/protobuf/setup.py) egg_info for 
> package protobuf
>     
> /usr/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/__init__.py:2510:
>  PEP440Warning: 'google (apputils-0.2)' is being parsed as a legacy, non PEP 
> 440, version. You may find odd behavior and sort order. In particular it will 
> be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible 
> versions.
>     
> /usr/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/__init__.py:2510:
>  PEP440Warning: 'google (apputils-0.3.0)' is being parsed as a legacy, non 
> PEP 440, version. You may find odd behavior and sort order. In particular it 
> will be sorted as less than 0.0. It is recommend to migrate to PEP 440 
> compatible versions.
>     
> /usr/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/__init__.py:2510:
>  PEP440Warning: 'google (apputils-0.4.0)' is being parsed as a legacy, non 
> PEP 440, version. You may find odd behavior and sort order. In particular it 
> will be sorted as less than 0.0. It is recommend to migrate to PEP 440 
> compatible versions.
>     
> /usr/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/__init__.py:2510:
>  PEP440Warning: 'google (apputils-0.4.1)' is being parsed as a legacy, non 
> PEP 440, version. You may find odd behavior and sort order. In particular it 
> will be sorted as less than 0.0. It is recommend to migrate to PEP 440 
> compatible versions.
>     
> /usr/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/__init__.py:2510:
>  PEP440Warning: 'google (apputils-0.1)' is being parsed as a legacy, non PEP 
> 440, version. You may find odd behavior and sort order. In particular it will 
> be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible 
> versions.
>     
>     Installed 
> /tmp/pip_build_root/protobuf/.eggs/google_apputils-0.4.1-py2.7.egg
>     Traceback (most recent call last):
>       File "<string>", line 17, in <module>
>       File "/tmp/pip_build_root/protobuf/setup.py", line 200, in <module>
>         "Protocol Buffers are Google's data interchange format.",
>       File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
>         _setup_distribution = dist = klass(attrs)
>       File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 265, in 
> __init__
>       File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 311, in 
> fetch_build_eggs
>       File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
> 797, in resolve
>       File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
> 1040, in best_match
>       File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
> 672, in find
>     pkg_resources.VersionConflict: (pytz 2012d 
> (/usr/lib/python2.7/site-packages), Requirement.parse('pytz>=2010'))
>     Complete output from command python setup.py egg_info:
>     
> /usr/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/__init__.py:2510:
>  PEP440Warning: 'google (apputils-0.2)' is being parsed as a legacy, non PEP 
> 440, version. You may find odd behavior and sort order. In particular it will 
> be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible 
> versions.
> /
> /usr/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/__init__.py:2510:
>  PEP440Warning: 'google (apputils-0.3.0)' is being parsed as a legacy, non 
> PEP 440, version. You may find odd behavior and sort order. In particular it 
> will be sorted as less than 0.0. It is recommend to migrate to PEP 440 
> compatible versions.
> /usr/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/__init__.py:2510:
>  PEP440Warning: 'google (apputils-0.4.0)' is being parsed as a legacy, non 
> PEP 440, version. You may find odd behavior and sort order. In particular it 
> will be sorted as less than 0.0. It is recommend to migrate to PEP 440 
> compatible versions.
> /usr/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/__init__.py:2510:
>  PEP440Warning: 'google (apputils-0.4.1)' is being parsed as a legacy, non 
> PEP 440, version. You may find odd behavior and sort order. In particular it 
> will be sorted as less than 0.0. It is recommend to migrate to PEP 440 
> compatible versions.
> /usr/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/__init__.py:2510:
>  PEP440Warning: 'google (apputils-0.1)' is being parsed as a legacy, non PEP 
> 440, version. You may find odd behavior and sort order. In particular it will 
> be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible 
> versions.
> Installed /tmp/pip_build_root/protobuf/.eggs/google_apputils-0.4.1-py2.7.egg
> Traceback (most recent call last):
>   File "<string>", line 17, in <module>
>   File "/tmp/pip_build_root/protobuf/setup.py", line 200, in <module>
>     "Protocol Buffers are Google's data interchange format.",
>   File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
>     _setup_distribution = dist = klass(attrs)
>   File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 265, in 
> __init__
>   File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 311, in 
> fetch_build_eggs
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 797, in 
> resolve
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1040, 
> in best_match
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 672, in 
> find
> pkg_resources.VersionConflict: (pytz 2012d 
> (/usr/lib/python2.7/site-packages), Requirement.parse('pytz>=2010'))
> ----------------------------------------
> Cleaning up...
> Command python setup.py egg_info failed with error code 1 in 
> /tmp/pip_build_root/protobuf
> Storing debug log for failure in /root/.pip/pip.log                           
>                                                                               
>                       
>  /bin/mkdir -p '/usr/local/sbin'
>  /bin/install -c deploy/mesos-daemon.sh deploy/mesos-start-cluster.sh 
> deploy/mesos-start-masters.sh deploy/mesos-start-slaves.sh 
> deploy/mesos-stop-cluster.sh deploy/mesos-stop-masters.sh 
> deploy/mesos-stop-slaves.sh '/usr/local/sbin'
>  /bin/mkdir -p '/usr/local/libexec/mesos'
>   /bin/sh ../libtool   --mode=install /bin/install -c mesos-fetcher 
> mesos-executor mesos-containerizer mesos-health-check mesos-usage 
> '/usr/local/libexec/mesos'
> libtool: install: /bin/install -c .libs/mesos-fetcher 
> /usr/local/libexec/mesos/mesos-fetcher
> libtool: install: /bin/install -c .libs/mesos-executor 
> /usr/local/libexec/mesos/mesos-executor
> libtool: install: /bin/install -c .libs/mesos-containerizer 
> /usr/local/libexec/mesos/mesos-containerizer
> libtool: install: /bin/install -c .libs/mesos-health-check 
> /usr/local/libexec/mesos/mesos-health-check
> libtool: install: /bin/install -c .libs/mesos-usage 
> /usr/local/libexec/mesos/mesos-usage
>  /bin/mkdir -p '/usr/local/sbin'
>   /bin/sh ../libtool   --mode=install /bin/install -c mesos-master 
> mesos-slave '/usr/local/sbin'
> libtool: install: /bin/install -c .libs/mesos-master 
> /usr/local/sbin/mesos-master
> libtool: install: /bin/install -c .libs/mesos-slave 
> /usr/local/sbin/mesos-slave
>  /bin/mkdir -p '/usr/local/include/mesos/containerizer'
>  /bin/install -c -m 644 ../../include/mesos/containerizer/containerizer.hpp 
> ../../include/mesos/containerizer/containerizer.proto 
> '/usr/local/include/mesos/containerizer'
>  /bin/mkdir -p '/usr/local/share/mesos'
>  /bin/mkdir -p '/usr/local/share/mesos/webui/master/static/obj'
>  /bin/install -c -m 644  
> ../../src/webui/master/static/obj/zeroclipboard-1.1.7.swf 
> '/usr/local/share/mesos/webui/master/static/obj'
>  /bin/mkdir -p '/usr/local/share/mesos/webui/master/static/ico'
>  /bin/install -c -m 644  ../../src/webui/master/static/ico/favicon.ico 
> '/usr/local/share/mesos/webui/master/static/ico'
>  /bin/mkdir -p '/usr/local/share/mesos/webui/master/static/fonts'
>  /bin/install -c -m 644  
> ../../src/webui/master/static/fonts/glyphicons-halflings-regular.eot 
> ../../src/webui/master/static/fonts/glyphicons-halflings-regular.svg 
> ../../src/webui/master/static/fonts/glyphicons-halflings-regular.ttf 
> ../../src/webui/master/static/fonts/glyphicons-halflings-regular.woff 
> '/usr/local/share/mesos/webui/master/static/fonts'
>  /bin/mkdir -p '/usr/local/share/mesos/webui/master/static'
>  /bin/install -c -m 644  ../../src/webui/master/static/browse.html 
> ../../src/webui/master/static/framework.html 
> ../../src/webui/master/static/frameworks.html 
> ../../src/webui/master/static/home.html 
> ../../src/webui/master/static/index.html 
> ../../src/webui/master/static/offers.html 
> ../../src/webui/master/static/pailer.html 
> ../../src/webui/master/static/slave.html 
> ../../src/webui/master/static/slave_executor.html 
> ../../src/webui/master/static/slave_framework.html 
> ../../src/webui/master/static/slaves.html 
> '/usr/local/share/mesos/webui/master/static'
>  /bin/mkdir -p '/usr/local/share/mesos/webui/master/static/img'
>  /bin/install -c -m 644  ../../src/webui/master/static/img/loading.gif 
> '/usr/local/share/mesos/webui/master/static/img'
>  /bin/mkdir -p '/usr/local/share/mesos/webui/master/static/directives'
>  /bin/install -c -m 644  
> ../../src/webui/master/static/directives/timestamp.html 
> ../../src/webui/master/static/directives/pagination.html 
> ../../src/webui/master/static/directives/tableHeader.html 
> '/usr/local/share/mesos/webui/master/static/directives'
>  /bin/mkdir -p '/usr/local/share/mesos/webui/master/static/css'
>  /bin/install -c -m 644  
> ../../src/webui/master/static/css/bootstrap-3.0.3.min.css 
> ../../src/webui/master/static/css/mesos.css 
> '/usr/local/share/mesos/webui/master/static/css'
>  /bin/mkdir -p '/usr/local/share/mesos/webui/master/static/js'
>  /bin/install -c -m 644  ../../src/webui/master/static/js/controllers.js 
> ../../src/webui/master/static/js/app.js 
> ../../src/webui/master/static/js/services.js 
> ../../src/webui/master/static/js/jquery.pailer.js 
> ../../src/webui/master/static/js/angular-1.2.3.js 
> ../../src/webui/master/static/js/angular-1.2.3.min.js 
> ../../src/webui/master/static/js/angular-route-1.2.3.js 
> ../../src/webui/master/static/js/angular-route-1.2.3.min.js 
> ../../src/webui/master/static/js/ui-bootstrap-tpls-0.9.0.js 
> ../../src/webui/master/static/js/ui-bootstrap-tpls-0.9.0.min.js 
> ../../src/webui/master/static/js/underscore-1.4.3.js 
> ../../src/webui/master/static/js/underscore-1.4.3.min.js 
> ../../src/webui/master/static/js/jquery-1.7.1.js 
> ../../src/webui/master/static/js/jquery-1.7.1.min.js 
> ../../src/webui/master/static/js/relative-date.js 
> ../../src/webui/master/static/js/zeroclipboard-1.1.7.js 
> ../../src/webui/master/static/js/zeroclipboard-1.1.7.min.js 
> '/usr/local/share/mesos/webui/master/static/js'
>  /bin/mkdir -p '/usr/local/include/mesos/containerizer'
>  /bin/install -c -m 644 ../include/mesos/containerizer/containerizer.pb.h 
> '/usr/local/include/mesos/containerizer'
>  /bin/mkdir -p '/usr/local/include/mesos'
>  /bin/install -c -m 644 ../include/mesos/version.hpp 
> ../include/mesos/mesos.pb.h '/usr/local/include/mesos'
>  /bin/mkdir -p '/usr/local/include/mesos/scheduler'
>  /bin/install -c -m 644 ../include/mesos/scheduler/scheduler.pb.h 
> '/usr/local/include/mesos/scheduler'
>  /bin/mkdir -p '/usr/local/include/mesos'
>  /bin/install -c -m 644 ../../include/mesos/executor.hpp 
> ../../include/mesos/mesos.hpp ../../include/mesos/module.hpp 
> ../../include/mesos/resources.hpp ../../include/mesos/scheduler.hpp 
> ../../include/mesos/values.hpp ../../include/mesos/mesos.proto 
> '/usr/local/include/mesos'
>  /bin/mkdir -p '/usr/local/etc/mesos'
>  /bin/install -c -m 644 ../../src/deploy/mesos-deploy-env.sh.template 
> ../../src/deploy/mesos-master-env.sh.template 
> ../../src/deploy/mesos-slave-env.sh.template '/usr/local/etc/mesos'
>  /bin/mkdir -p '/usr/local/include/mesos/scheduler'
>  /bin/install -c -m 644 ../../include/mesos/scheduler/scheduler.hpp 
> ../../include/mesos/scheduler/scheduler.proto 
> '/usr/local/include/mesos/scheduler'
> make[3]: Leaving directory `/usr/local/mesos-0.21.1/build/src'
> make[2]: Leaving directory `/usr/local/mesos-0.21.1/build/src'
> make[1]: Leaving directory `/usr/local/mesos-0.21.1/build/src'
> Making install in ec2
> make[1]: Entering directory `/usr/local/mesos-0.21.1/build/ec2'
> make[2]: Entering directory `/usr/local/mesos-0.21.1/build/ec2'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory `/usr/local/mesos-0.21.1/build/ec2'
> make[1]: Leaving directory `/usr/local/mesos-0.21.1/build/ec2'
> {code}
> It appears there are some dependency errors that may be due to the build 
> process using deprecated, bundled versions of `distribute` (version 0.6.26 
> instead of latest 0.7.3, dated 2013-07-05 -- which subsequently was replaced 
> by Setuptools) and `pip` (version 1.5.6, dated 2014-05-16, instead of latest 
> 6.0.7, dated 2015-01-28). However, I tried using the `./configure 
> --disable-bundled-distribute --disable-bundled-pip` mentioned in `./configure 
> --help` without success, as these directives seem to be completely ignored.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to