I'm not quite sure what has gone wrong here. GHC is reporting a clash
between the module Generics in the lang package, and the local module
Generics.
The lang package is not supposed to be in scope, however. Looking at
the command line, the only package flag is '-package Cabal'. Does your
Cabal package somehow depend on lang? (it shouldn't -
Cabal/package.conf.in specifies a dependency only on base).
Ah - do you have a local Cabal installation, perhaps?
Cheers,
Simon
On 08 May 2005 01:49, Claus Reinke wrote:
> win xp, fresh check-out of ghc HEAD, building with ghc 6.4.1
> from the nightly build 06-May-2005:
>
> autoreconf, configure ..,
> make fails on types/Generics.lhs.
>
> actually, that is the same error message as in
>
> "[nightly] 05-May-2005 build of HEAD on i386-unknown-mingw32 (bling)",
>
> and I didn't notice any related check-ins, but since
>
> "[nightly] 07-May-2005 build of HEAD on i386-unknown-mingw32 (bling)"
>
> went through without problems, I thought I'd try anyway.
>
> now I'm confused - it is probably just fair if Sigbjorn's build
> goes through and mine fails, but is there a better explanation?-)
>
> cheers,
> claus
>
> /cygdrive/c/ghc/ghc-6.4.1/bin/ghc -H32m -O -W
> -fno-warn-unused-matches -fwarn-unused-imports -istage1/utils
> -istage1/b asicTypes -istage1/types -istage1/hsSyn
> -istage1/prelude -istage1/rename -istage1/typecheck
> -istage1/deSugar -ist age1/coreSyn -istage1/specialise
> -istage1/simplCore -istage1/stranal -istage1/stgSyn
> -istage1/simplStg -istage1/co deGen -istage1/main
> -istage1/profiling -istage1/parser -istage1/cprAnalysis
> -istage1/compMan -istage1/ndpFlatten -istage1/iface -istage1/cmm
> -istage1/nativeGen -Istage1 -cpp -fglasgow-exts -fno-generics
> -Rghc-timing -I. -IcodeGen - InativeGen -Iparser -package Cabal
> -recomp -Rghc-timing -H16M '-#include "hschooks.h"' -i../lib/compat
> -c hsSyn/HsExpr.lhs-boot -o stage1/hsSyn/HsExpr.o-boot -ohi
> stage1/hsSyn/HsExpr.hi-boot
> compilation IS NOT required^M
> <<ghc: 18662296 bytes, 3 GCs, 96088/96088 avg/max bytes residency (1
> samples), 15M in use, 0.01 INIT (0.00 elapsed),
> 0.05 MUT (0.09 elapsed), 0.03 GC (0.03 elapsed) :ghc>>^M
> /cygdrive/c/ghc/ghc-6.4.1/bin/ghc -H32m -O -W
> -fno-warn-unused-matches -fwarn-unused-imports -istage1/utils
> -istage1/b asicTypes -istage1/types -istage1/hsSyn
> -istage1/prelude -istage1/rename -istage1/typecheck
> -istage1/deSugar -ist age1/coreSyn -istage1/specialise
> -istage1/simplCore -istage1/stranal -istage1/stgSyn
> -istage1/simplStg -istage1/co deGen -istage1/main
> -istage1/profiling -istage1/parser -istage1/cprAnalysis
> -istage1/compMan -istage1/ndpFlatten -istage1/iface -istage1/cmm
> -istage1/nativeGen -Istage1 -cpp -fglasgow-exts -fno-generics
> -Rghc-timing -I. -IcodeGen - InativeGen -Iparser -package Cabal
> -recomp -Rghc-timing -H16M '-#include "hschooks.h"' -i../lib/compat
> -c types/Generics.lhs -o stage1/types/Generics.o -ohi
> stage1/types/Generics.hi ^M
> types/Generics.lhs:1:0:^M
> Module `Generics' is a member of package lang-1.0.^M
> To compile this module, please use -ignore-package lang-1.0.^M
> <<ghc: 34545376 bytes, 8 GCs, 1247876/2400204 avg/max bytes residency
> (2 samples), 16M in use, 0.01 INIT (0.00 elapsed),
> 0.13 MUT (0.14 elapsed), 0.12 GC (0.12 elapsed) :ghc>>^M
> make[2]: *** [stage1/types/Generics.o] Error 1
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/cygdrive/c/fptools/fptools/ghc'
> make: *** [build] Error 1
>
>
> _______________________________________________
> Cvs-ghc mailing list
> [EMAIL PROTECTED]
> http://www.haskell.org/mailman/listinfo/cvs-ghc
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc