#4883: make install DESTDIR=./relative/path fails
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: bug | Status: new
Priority: normal | Component: Build System
Version: 7.0.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Installing GHC failed
---------------------------------+------------------------------------------
The following works as expected:
{{{
$ make install DESTDIR=$PWD/image
}}}
however when using a relative target path it fails:
{{{
$ make install DESTDIR=./image
...
"inplace/bin/ghc-cabal" install "./image/usr/local/lib/ghc-7.0.1/ghc"
"./image/usr/local/lib/ghc-7.0.1/ghc-pkg"
"strip" "./image/usr/local/lib/ghc-7.0.1" libraries/ghc-prim dist-install
'./image' '/usr/local' '/usr/local/lib/ghc-7.0.1'
'/usr/local/share/doc/ghc/html/libraries' NO
ghc-cabal:
make[1]: *** [install_packages] Error 1
make: *** [install] Error 2
}}}
The ghc-cabal command clearly fails, but no error message (other than
"ghc-cabal:") is produced.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4883>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs