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

Sreeram Boyapati edited comment on MESOS-1010 at 5/28/15 5:35 AM:
------------------------------------------------------------------

I ran into this issue just now.
Is the issue fixed? 
What is the workaround?

Using temporary directory '/tmp/ExamplesTest_PythonFramework_njcjAM'
/usr/lib/python2.7/dist-packages/pkg_resources.py:1031: UserWarning: 
/home/sreeram/.python-eggs is writable by group/others and vulnerable to attack 
when used with get_resource_filename. Consider a more secure location (set with 
.set_extraction_path or the PYTHON_EGG_CACHE environment variable).
  warnings.warn(msg, UserWarning)
Traceback (most recent call last):
  File 
"/home/sreeram/projects/mesos/build/../src/examples/python/test_framework.py", 
line 25, in <module>
    import mesos.native
  File "build/bdist.linux-x86_64/egg/mesos/native/__init__.py", line 17, in 
<module>
    
  File "build/bdist.linux-x86_64/egg/mesos/native/_mesos.py", line 7, in 
<module>
  File "build/bdist.linux-x86_64/egg/mesos/native/_mesos.py", line 6, in 
__bootstrap__
ImportError: 
/home/sreeram/.python-eggs/mesos.native-0.23.0-py2.7-linux-x86_64.egg-tmp/mesos/native/_mesos.so:
 undefined symbol: _ZN6google14FlagRegistererC1EPKcS2_S2_S2_PvS3_
../../src/tests/script.cpp:83: Failure
Failed


was (Author: sreeramb93):
I ran into this issue just now.
Is the issue fixed? 
What is the workaround?

> Python extension build is broken if gflags-dev is installed
> -----------------------------------------------------------
>
>                 Key: MESOS-1010
>                 URL: https://issues.apache.org/jira/browse/MESOS-1010
>             Project: Mesos
>          Issue Type: Bug
>          Components: build, python api
>         Environment: Fedora 20, amd64. GCC: 4.8.2.
>            Reporter: Nikita Vetoshkin
>
> In my environment mesos build from master results in broken python api module 
> {{_mesos.so}}:
> {noformat}
> nekto0n@ya-darkstar ~/workspace/mesos/src/python $ 
> PYTHONPATH=build/lib.linux-x86_64-2.7/ python -c "import _mesos"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: 
> /home/nekto0n/workspace/mesos/src/python/build/lib.linux-x86_64-2.7/_mesos.so:
>  undefined symbol: _ZN6google14FlagRegistererC1EPKcS2_S2_S2_PvS3_
> {noformat}
> Unmangled version of symbol looks like this:
> {noformat}
> google::FlagRegisterer::FlagRegisterer(char const*, char const*, char const*, 
> char const*, void*, void*)
> {noformat}
> During {{./configure}} step {{glog}} finds {{gflags}} development files and 
> starts using them, thus *implicitly* adding dependency on {{libgflags.so}}. 
> This breaks Python extensions module and perhaps can break other mesos 
> subsystems when moved to hosts without {{gflags}} installed.



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

Reply via email to