Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9732

Python installation using `make install` fails inside a symlinked directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      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
      

      The installation itself also fails with a predictable error:

      OSError: [Errno 2] No such file or directory: '/home/bevers/mesos/worktrees/release/build/../src/python/executor/src/mesos/executor'
      

      Leaving the system in a funny state as a side effect:

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            bennoe Benno Evers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: