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

Bernardo Gomez Palacio commented on MESOS-798:
----------------------------------------------

Cleared my space, applied the changes. Had to change 

CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" 
PYTHONPATH=$(DISTRIBUTE_EGG) $(PYTHON) setup.py bdist_egg

to

CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" 
PYTHONPATH=$(DISTRIBUTE_EGG) $(PYTHON) python/setup.py bdist_egg

It failed still, might be doing something wrong.

[ RUN      ] ExamplesTest.PythonFramework
Using temporary directory '/tmp/ExamplesTest_PythonFramework_KUPs8e'
Traceback (most recent call last):
  File 
"/Users/bernardo/work/github/berngp/mesos/src/examples/python/test_framework.py",
 line 23, in <module>
    import mesos
  File "build/bdist.macosx-10.9-x86_64/egg/mesos.py", line 26, in <module>
  File "build/bdist.macosx-10.9-x86_64/egg/_mesos.py", line 7, in <module>
  File "build/bdist.macosx-10.9-x86_64/egg/_mesos.py", line 6, in __bootstrap__
ImportError: 
dlopen(/Users/bernardo/.python-eggs/mesos-0.16.0-py2.7-macosx-10.9-x86_64.egg-tmp/_mesos.so,
 2): Symbol not found: __ZNSoD0Ev
  Referenced from: 
/Users/bernardo/.python-eggs/mesos-0.16.0-py2.7-macosx-10.9-x86_64.egg-tmp/_mesos.so
  Expected in: flat namespace
 in 
/Users/bernardo/.python-eggs/mesos-0.16.0-py2.7-macosx-10.9-x86_64.egg-tmp/_mesos.so
tests/script.cpp:77: Failure
Failed
python_framework_test.sh exited with status 1
[  FAILED  ] ExamplesTest.PythonFramework (348 ms)

> 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