At first I was going to say we should fix up the eggs on PyPI, however the
pypa has sort of side-stepped the 'linux-distro' problem, so if we were to
'fix' the eggs to work on debian, they probably would not work on CentOS or
Fedora anymore.

Can you indeed try patching
https://github.com/apache/incubator-aurora/blob/master/pants.ini#L89 to a
local mirror where you've built eggs for your version of Debian? If you
decide to go that route, I'd be very interested to hear if you bump into
any build issues!

On Tue, Sep 16, 2014 at 10:07 AM, Zameer Manji <zma...@twopensource.com>
wrote:

> Stephan,
>
> We sidestepped this problem by upgrading our vagrant image to Ubuntu 14.04
> LTS which ships with GLIBC 2.16. I suspect to fix this properly we need to
> file a bug against Apache Mesos.
>
> On Tue, Sep 16, 2014 at 10:05 AM, Stephan Erb <stephan....@blue-yonder.com
> > wrote:
>
>> Did you find a solution for your question?
>>
>> I am currently having similar issues when trying to run the thermos
>> executor on Debian 7, which doesn't ship GLIBC 2.16 either. Seems like we
>> have to patch the Aurora build process (probably in 3rdparty/python/BUILD)
>> to download the correct eggs form mesosphere.io instead of using the
>> default ones on pypi.
>>
>> Does anyone have experience in how to do this?
>>
>> Thanks,
>> Stephan
>>
>>
>>
>> On Sa 30 Aug 2014 08:08:24 CEST, Joe Smith wrote:
>>
>>> Howdy all,
>>>
>>> I'm to migrating Apache Aurora
>>> <http://aurora.incubator.apache.org/> to  mesos 0.20.0[1][2], but am
>>> having an issue using the published dist on PyPI
>>> <https://pypi.python.org/pypi/mesos.native/0.20.0>. I also gave the
>>> mesosphere-provided (thank you!) egg
>>> <http://mesosphere.io/downloads/#apache-mesos-0.20.0> for Ubuntu
>>> 12.04, and am getting the same stack trace:
>>>
>>> vagrant@192:~$
>>> PYTHONPATH=/home/vagrant/.pex/install/mesos.native-0.20.0-
>>> py2.7-linux-x86_64.egg.be6632b790cd03172f858e7f875cda
>>> b4ef415ca5/mesos.native-0.20.0-py2.7-linux-x86_64.egg/mesos/
>>> python2.7
>>> Python 2.7.3 (default, Feb 27 2014, 19:58:35)
>>> [GCC 4.6.3] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import mesos
>>> Traceback (most recent call last):
>>>   File "<stdin>", line 1, in <module>
>>> ImportError: No module named mesos
>>> >>> import native
>>> Traceback (most recent call last):
>>>   File "<stdin>", line 1, in <module>
>>>   File
>>> "/home/vagrant/.pex/install/mesos.native-0.20.0-py2.7-linux-x86_64.egg.
>>> be6632b790cd03172f858e7f875cdab4ef415ca5/mesos.native-0.20.
>>> 0-py2.7-linux-x86_64.egg/mesos/native/__init__.py",
>>> line 17, in <module>
>>>     from ._mesos import MesosExecutorDriverImpl
>>> ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not
>>> found (required by
>>> /home/vagrant/.pex/install/mesos.native-0.20.0-py2.7-linux-x86_64.egg.
>>> be6632b790cd03172f858e7f875cdab4ef415ca5/mesos.native-0.20.
>>> 0-py2.7-linux-x86_64.egg/mesos/native/_mesos.so)
>>> >>>
>>>
>>> It looks like the issue is it was built with a non-standard glibc (if
>>> I'm following right):
>>>
>>> vagrant@192:~/mesos-0.20.0$ /lib/x86_64-linux-gnu/libc.so.6 | grep
>>> release\ version
>>> GNU C Library (Ubuntu EGLIBC 2.15-0ubuntu10) stable release version
>>> 2.15, by Roland McGrath et al.
>>>
>>> Any feedback or suggestions would be greatly appreciated!
>>>
>>> Thanks,
>>> Joe
>>>
>>> [1] https://reviews.apache.org/r/25208/
>>> [2] https://issues.apache.org/jira/browse/AURORA-674
>>>
>>
>>
>>
>>
>>
>
>
> --
> Zameer Manji
>

Reply via email to