[Pkg-haskell-maintainers] [GHC] #5047: ghc fails to build if HOME is not seth
GHC
cvs-ghc at haskell.org
Fri Mar 25 12:04:48 UTC 2011
#5047: ghc fails to build if HOME is not seth
---------------------------------+------------------------------------------
Reporter: nomeata | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.0.2 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: Unknown/Multiple | Failure: Building GHC failed
---------------------------------+------------------------------------------
Hi,
some Debian build daemons do not set $HOME, to ensure that package builds
do not modify that. ghc 7.0.2 fails to build in that case:
Here is an example build log:
https://buildd.debian.org/fetch.cgi?pkg=ghc&arch=powerpc&ver=7.0.2-5&stamp=1300976974&file=log&as=raw
ending with
{{{
"inplace/bin/ghc-cabal" configure --with-ghc="/usr/bin/ghc" --with-ghc-
pkg="/usr/bin/ghc-pkg" --with-gcc="/usr/bin/gcc" --configure-option
=--with-cc="/usr/bin/gcc" --package-db=/build/buildd-ghc_7.0.2-5-powerpc-
bRWe6q/ghc-7.0.2/libraries bootstrapping.conf --enable-library-profiling
--enable-library-or-ghci --configure-option=CFLAGS=" -fno-stack-protector
" --configure-option=LDFLAGS=" " --configure-option=CPPFLAGS=" "
--constraint "Cabal == 1.10.1.0" --constraint "hpc == 0.5.0.6"
--constraint "extensible-exceptions == 0.1.1.2" --constraint "ghc-binary
== 0.5.0.2" --constraint "bin-package-db == 0.0.0.0" -- dist-boot
libraries/Cabal
ghc-cabal: HOME: does not exist
make[2]: *** [libraries/Cabal/dist-boot/package-data.mk] Error 1
}}}
The bug might be in the cabal-install code.
Thanks,
Joachim
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5047>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Pkg-haskell-maintainers
mailing list