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

Niklas Quarfot Nielsen commented on MESOS-798:
----------------------------------------------

I got so far as having the python egg working and framework running on 
Mavericks.
Unfortunately with some bad news; python (both the one bundled with OS X and 
the one built with brew) is compiled with clang and therefore use the new 
non-GCC stdlibc(++). When the eggs (which are built with GCC and expects a GCC 
stdlibc) are loaded, internal symbols cannot be resolved.

I solved it by compiling python with GCC, but I would recommend that we for now 
disable python support on Mavericks until we can build Mesos with clang.

Think this should do it:
CC=gcc-4.8 CXX=g++-4.8 ../configure --disable-python

Getting Mesos to build with clang would really solve a lot of problems. 
Shipping packaged mesos distributions compiled with GCC on Mavericks will 
probably also fail due to missing GCC compatible libstdc++.

> ExamplesTest.PythonFramework failing 
> -------------------------------------
>
>                 Key: MESOS-798
>                 URL: https://issues.apache.org/jira/browse/MESOS-798
>             Project: Mesos
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.16.0
>         Environment: Linux 2.6.32-279.el6.x86_64
> Python 2.6.6
> Python Packages installed
> python-2.6.6-37.el6_4.x86_64
> protobuf-python-2.3.0-7.el6.x86_64
> python-libs-2.6.6-37.el6_4.x86_64
> python-devel-2.6.6-37.el6_4.x86_64
> python-setuptools-0.6.10-3.el6.noarch
> python-boto-2.13.3-1.el6.noarch
>            Reporter: Bernardo Gomez Palacio
>              Labels: test
>
> (Based on Git Commit Hash 03b9407)
> Running `make check` fails while executing ExamplesTest.PythonFramework with 
> the following trace:
> [ RUN      ] ExamplesTest.PythonFramework
> Using temporary directory '/tmp/ExamplesTest_PythonFramework_5Vv4TM'
> Traceback (most recent call last):
>   File 
> "/builddir/build/BUILD/mesos-03b94076caddceda4c0a6a03aa44ebe4d64f1acc/src/examples/python/test_framework.py",
>  line 23, in <module>
>     import mesos
>   File "build/bdist.linux-x86_64/egg/mesos.py", line 26, in <module>
>   File "build/bdist.linux-x86_64/egg/_mesos.py", line 7, in <module>
>   File "build/bdist.linux-x86_64/egg/_mesos.py", line 6, in __bootstrap__
>   File "build/bdist.linux-x86_64/egg/mesos_pb2.py", line 1545, in <module>
> AttributeError: 'FileDescriptor' object has no attribute 
> 'message_types_by_name'
> tests/script.cpp:77: Failure
> Failed
> python_framework_test.sh exited with status 1
> [  FAILED  ] ExamplesTest.PythonFramework (432 ms)
> [----------] 5 tests from ExamplesTest (4346 ms total)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to