mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Sipe (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MESOS-9199) Python Build Error on Mac OS
Date Fri, 31 Aug 2018 16:13:00 GMT

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

Ken Sipe edited comment on MESOS-9199 at 8/31/18 4:12 PM:
----------------------------------------------------------

current work around is {{../configure ---disable-python- --disable-werror}}


was (Author: kensipe):
current work around is {{../configure --disable-python --disable-werror}}

> Python Build Error on Mac OS
> ----------------------------
>
>                 Key: MESOS-9199
>                 URL: https://issues.apache.org/jira/browse/MESOS-9199
>             Project: Mesos
>          Issue Type: Bug
>          Components: cmake
>            Reporter: Ken Sipe
>            Priority: Minor
>
> Build failures on a Mac OS 10.13.6 (Mesos version 1.5.0 and 1.6.0).   First I ran
into the issue with https://issues.apache.org/jira/browse/MESOS-8457
> resolved with {{../configure --disable-werror}} 
> make -j 4 worked after {{disable-werror}} 
> next {{make install}} failed on python.   It may be important that I work on a number
of python projects that require different versions of python resulting in using pyenv.   I
did setup pyenv local system resulting in python 2.7.15.
> I will attach the full build log... the abbreviated ending is
> {code:java}
> running bdist_wheel running build installing to build/bdist.macosx-10.13-x86_64/wheel
running install running install_lib Skipping installation of build/bdist.macosx-10.13-x86_64/wheel/mesos/__init__.py
(namespace package) copying mesos/scheduler/_scheduler.so -> build/bdist.macosx-10.13-x86_64/wheel/mesos/scheduler
copying mesos/scheduler/__init__.py -> build/bdist.macosx-10.13-x86_64/wheel/mesos/scheduler
running install_egg_info Copying src/mesos.scheduler.egg-info to build/bdist.macosx-10.13-x86_64/wheel/mesos.scheduler-1.6.0-py2.7.egg-info
Installing build/bdist.macosx-10.13-x86_64/wheel/mesos.scheduler-1.6.0-py2.7-nspkg.pth running
install_scripts creating build/bdist.macosx-10.13-x86_64/wheel/mesos.scheduler-1.6.0.dist-info/WHEEL
../../install-sh -c -d '/usr/local/lib' /bin/sh ../libtool   --mode=install /usr/bin/install
-c   libmesos.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libmesos-1.6.0.dylib
/usr/local/lib/libmesos-1.6.0.dylib libtool: install: (cd /usr/local/lib && { ln -s
-f libmesos-1.6.0.dylib libmesos.dylib || { rm -f libmesos.dylib && ln -s libmesos-1.6.0.dylib
libmesos.dylib; }; }) libtool: install: /usr/bin/install -c .libs/libmesos.lai /usr/local/lib/libmesos.la
../../install-sh -c -d '/usr/local/bin'   /bin/sh ../libtool   --mode=install /usr/bin/install
-c mesos-local mesos-log mesos-execute mesos-resolve mesos '/usr/local/bin' libtool: install:
/usr/bin/install -c .libs/mesos-local /usr/local/bin/mesos-local libtool: install: /usr/bin/install
-c .libs/mesos-log /usr/local/bin/mesos-log libtool: install: /usr/bin/install -c .libs/mesos-execute
/usr/local/bin/mesos-execute libtool: install: /usr/bin/install -c .libs/mesos-resolve /usr/local/bin/mesos-resolve
libtool: install: /usr/bin/install -c .libs/mesos /usr/local/bin/mesos ../../install-sh -c
-d '/usr/local/bin' /usr/bin/install -c ../../src/cli/mesos-cat ../../src/cli/mesos-ps ../../src/cli/mesos-scp
../../src/cli/mesos-tail '/usr/local/bin' cd python/dist && \ for whl in python/dist/mesos-1.6.0-py2-none-any.whl
python/dist/mesos.cli-1.6.0-py2-none-any.whl python/dist/mesos.executor-1.6.0-cp27-none-macosx_10_13_x86_64.whl
python/dist/mesos.interface-1.6.0-py2-none-any.whl python/dist/mesos.native-1.6.0-py2-none-any.whl
python/dist/mesos.scheduler-1.6.0-cp27-none-macosx_10_13_x86_64.whl; do \   PYTHONPATH=/usr/local/lib/python2.7/site-packages:/Users/kensipe/projects/mesos/build/3rdparty/setuptools-20.9.0:/Users/kensipe/projects/mesos/build/3rdparty/pip-7.1.2:/Users/kensipe/projects/mesos/build/3rdparty/wheel-0.24.0
\   PYTHONUSERBASE=/usr/local \   /Users/kensipe/.pyenv/shims/python -c "import pip; pip.main()"
install \   --user \   --ignore-installed \   --find-links=file:///Users/kensipe/projects/mesos/build/src/python/dist
\   /Users/kensipe/projects/mesos/build/src/$whl; \ done Traceback (most recent call last):
  File "<string>", line 1, in <module> AttributeError: 'module' object has no
attribute 'main' Traceback (most recent call last):   File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'main' Traceback (most recent call last):
  File "<string>", line 1, in <module> AttributeError: 'module' object has no
attribute 'main' Traceback (most recent call last):   File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'main' Traceback (most recent call last):
  File "<string>", line 1, in <module> AttributeError: 'module' object has no
attribute 'main' Traceback (most recent call last):   File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'main' make[3]: *** [install-exec-local]
Error 1 make[2]: *** [install-am] Error 2 make[1]: *** [install] Error 2 make: *** [install-recursive]
Error 1
> {code}
>  



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

Mime
View raw message