You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benno Evers (JIRA)" <ji...@apache.org> on 2019/04/16 14:59:00 UTC

[jira] [Created] (MESOS-9732) Python installation using `make install` fails inside a symlinked directory

Benno Evers created MESOS-9732:
----------------------------------

             Summary: Python installation using `make install` fails inside a symlinked directory
                 Key: MESOS-9732
                 URL: https://issues.apache.org/jira/browse/MESOS-9732
             Project: Mesos
          Issue Type: Bug
            Reporter: Benno Evers


I used to have a symlink pointing from `~/mesos` to `~/src/mesos`.

Then I attempted to `make install` from inside the `~/mesos/worktrees/release` directory on a build with python bindings enabled.

Now I don't have a symlink anymore.

{noformat}
bevers@poincare:~$ ls ~/src/mesos
3rdparty        compile         install-sh               mpi
aclocal.m4      config.guess    LICENSE                  NOTICE
ar-lib          config.sub      ltmain.sh                README.md
autom4te.cache  configure       m4                       site
bin             configure.ac    Makefile.am              src
bootstrap       depcomp         Makefile.in              support
bootstrap.bat   docs            mesos.pc.in              worktrees
CHANGELOG       Doxyfile        mesos.sublime-project
cmake           etc_issue_orig  mesos.sublime-workspace
CMakeLists.txt  include         missing
bevers@poincare:~$ ls ~/mesos
worktrees
bevers@poincare:~$ ls ~/mesos/worktrees/release/build/src/python/dist
mesos-1.8.0-py2.7.egg
mesos-1.8.0-py2-none-any.whl
mesos.cli-1.8.0-py2.7.egg
mesos.cli-1.8.0-py2-none-any.whl
mesos.executor-1.8.0-cp27-none-linux_x86_64.whl
mesos.executor-1.8.0-py2.7-linux-x86_64.egg
mesos.interface-1.8.0-py2.7.egg
mesos.interface-1.8.0-py2-none-any.whl
mesos.native-1.8.0-py2.7.egg
mesos.native-1.8.0-py2-none-any.whl
mesos.scheduler-1.8.0-cp27-none-linux_x86_64.whl
mesos.scheduler-1.8.0-py2.7-linux-x86_64.egg
{noformat}

The installation itself also fails with a predictable error:
{noformat}
OSError: [Errno 2] No such file or directory: '/home/bevers/mesos/worktrees/release/build/../src/python/executor/src/mesos/executor'
{noformat}

Leaving the system in a funny state as a side effect:
{noformat}
bevers@poincare:~/mesos/worktrees/release/build$ ls .
3rdparty  bin  config.log  config.lt  config.status  description-pak  include  libtool  Makefile  mesos.pc  mpi  src
bevers@poincare:~/mesos/worktrees/release/build$ ls `pwd`
src
{noformat}



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