Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake hangs if rdm is in PATH #1394

Closed
noscript opened this issue Jun 11, 2020 · 1 comment
Closed

cmake hangs if rdm is in PATH #1394

noscript opened this issue Jun 11, 2020 · 1 comment

Comments

@noscript
Copy link

noscript commented Jun 11, 2020

Describe the bug
Trying to rebuild rtags while having rdm in PATH hangs at cmake step.

To Reproduce

  1. Build rtags normally:
$ git clone --recursive https://github.com/Andersbakken/rtags.git
$ cd rtags
$ mkdir build
$ cd build
$ cmake ..
$ make
  1. 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
  1. Check that rdm is running and kill it:
$ pgrep rdm
22109
$ kill 22109
  1. 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: 4ecf19b
  • LLVM/Clang: 6.0

Additional context
Why there would be unsolicited rmd execution in the first place?

@noscript
Copy link
Author

Never mind, the problem was on my side. I forgot about my make alias that would start rdm automatically to accommodate gcc-rtags-wrapper.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant