Describe the bug
Trying to rebuild rtags while having rdm in PATH hangs at cmake step.
To Reproduce
Build rtags normally:
$ git clone --recursive https://github.com/Andersbakken/rtags.git
$ cd rtags
$ mkdir build
$ cd build
$ cmake ..
$ make
Add bin to PATH and try to rebuild rtags in a different directory:
$ export PATH=`pwd`/bin:$PATH
$ cd ..
$ mkdir build2
$ cd build2
$ cmake ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc <-- HANGS
Check that rdm is running and kill it:
$ pgrep rdm
22109
$ kill 22109
cmake continues one step further and hangs again:
...
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info <-- HANGS
Expected behavior
Nothing hangs.
Environment:
Ubuntu 18.04
RTags: 4ecf19b6
LLVM/Clang: 6.0
Additional context
Why there would be unsolicited rmd execution in the first place?
Describe the bug Trying to rebuild rtags while having
rdm
inPATH
hangs atcmake
step.To Reproduce
Build rtags normally:
Add
bin
toPATH
and try to rebuild rtags in a different directory:Check that
rdm
is running and kill it:cmake continues one step further and hangs again:
Expected behavior Nothing hangs.
Environment:
Additional context Why there would be unsolicited
rmd
execution in the first place?