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

emacs-rtags: broken #24618

Closed
nico202 opened this issue Apr 4, 2017 · 3 comments
Closed

emacs-rtags: broken #24618

nico202 opened this issue Apr 4, 2017 · 3 comments

Comments

@nico202
Copy link
Contributor

nico202 commented Apr 4, 2017

Issue description

emacs rtags won't install:

building path(s) ‘/nix/store/mldb0qbhl8nilrkvpmchgd729c5b5bj1-emacs-rtags-2.0’
unpacking sources
unpacking source archive /nix/store/v28hkqcza1kcx8qd13gqrcf0m9jlcns9-rtags-f85bd60
source root is rtags-f85bd60
patching sources
configuring
configure flags: --prefix=/nix/store/mldb0qbhl8nilrkvpmchgd729c5b5bj1-emacs-rtags-2.0  
/nix/store/zz7zy695h8lrhbqm4p587ixz84bqkzda-stdenv/setup: ./configure: /bin/bash: bad interpreter: No such file or directory
builder for ‘/nix/store/sjrsr2x7w6p60fiff2zr67pi6b6zc76i-emacs-rtags-2.0.drv’ failed with exit code 126
cannot build derivation ‘/nix/store/yv76nsi8qpi7vblcwbfgf6f607l5r7r3-system-path.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/bzsd7hhg0mkkcpk2qbnw025sb0dy99y5-nixos-system-lenovo-17.03.882.d1c477e007.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/bzsd7hhg0mkkcpk2qbnw025sb0dy99y5-nixos-system-lenovo-17.03.882.d1c477e007.drv’ failed

trying to add to configuration.nix emacs25PackagesNg.rtags

Steps to reproduce

trying to add to configuration.nix emacs25PackagesNg.rtags produces the error above

Technical details

  • System: 17.03.882.d1c477e007 (Gorilla)
  • Nix version: nix-env (Nix) 1.11.8
  • Nixpkgs version: "17.03.882.d1c477e007"
@matthewbauer
Copy link
Member

This is still a problem, but it looks like it's more rtags not doing the right thing. The configure script looks like:

#!/bin/bash

function usage ()
{
    echo "configure [OPTIONS...]"
    echo "  --help|-h                       Display this help"
    echo "  --cmake [arg]                   Use arg instead of \"cmake\""
    echo "  --cmake-argument [arg]          Pass additional arguments to cmake"
    echo "  --cmake-generator [arg]         Use this generator for cmake (e.g. Ninja)"
    echo "  --enable-dev-options            Set certain development options (cpack)"
    echo "  --asan                          Enable -fsanitize=address and -fsanitize=undefined"
    echo "  --debug                         Compile RTags in debug mode"
    echo "  --release                       Compile RTags in release mode (default)"
    echo "  --system-clang                  Don't build llvm/clang as part of RTags' build process (default)"
    echo "  --build-clang                   Download and build llvm/clang as part of RTags' build process"
    echo "  --no-install                    Generate a build that isn't going to be installed"
    echo "  --prefix [arg]                  Set install prefix to arg"

/bin/bash should be switch to /bin/sh and it should support "--prefix=P" instead of just "--prefix P"

@Balletie
Copy link
Contributor

Balletie commented Sep 6, 2017

Should be fixed now by PR #28852. Can you confirm @nico202 and, if it is indeed fixed, can you close this issue?

@nico202
Copy link
Contributor Author

nico202 commented Sep 6, 2017

I think it has not reached "unstable" yet, I'll close it in a couple of days

@nico202 nico202 closed this as completed Sep 15, 2017
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

3 participants