Opened 9 years ago

Closed 9 years ago

Last modified 44 years ago

#377 closed bug (Fixed)

can't build ghc with package depending on lang installed

Reported by: juhp Owned by: nobody
Priority: normal Milestone:
Component: Compiler Version: 6.4
Keywords: Cc:
Operating System: Architecture:
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

When I try to build jhc with ghc and have wxhaskell
installed,
the build fails because although lang-1.0 is hidden somehow
it is exposed (by --make??) by being a dependency of the
wxcore package.

If I uninstall wxhaskell then there is no problem...
however
it is annoying having to uninstall and re-install pkgs
just to build
something.  The same problem occurs with hs-plugins
installed
(instead of wxhaskell) iirc.

Change History (3)

comment:1 Changed 9 years ago by juhp

Logged In: YES 
user_id=139853

I quite forgot, and making this even more relevant ;) ,
this also affects building ghc-6.4 itself...

comment:2 Changed 9 years ago by juhp

  • Summary changed from can't build jhc with package depending on lang installed to can't build ghc with package depending on lang installed
Logged In: YES 
user_id=139853

In fact it segfaults:

ghc-6.4 -H16m -O  -istage1/utils  -istage1/basicTypes 
-istage1/types  -istage1/hsSyn  -istage1/prelude 
-istage1/rename  -istage1/typecheck  -istage1/deSugar 
-istage1/coreSyn  -istage1/specialise  -istage1/simplCore 
-istage1/stranal  -istage1/stgSyn  -istage1/simplStg 
-istage1/codeGen  -istage1/main  -istage1/profiling 
-istage1/parser  -istage1/cprAnalysis  -istage1/compMan 
-istage1/ndpFlatten  -istage1/iface  -istage1/cmm -Istage1
-DOMIT_NATIVE_CODEGEN -cpp -fglasgow-exts -fno-generics
-Rghc-timing -I. -IcodeGen -InativeGen -Iparser -package
unix -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

types/Generics.lhs:1:0:
    Module `Generics' is a member of package lang-1.0.
    To compile this module, please use -ignore-package lang-1.0.
<<ghc: 73454848 bytes, make[3]: ***
[stage1/types/Generics.o] Segmentation fault
make[2]: *** [all] Error 1

comment:3 Changed 9 years ago by simonmar

  • Status changed from assigned to closed
Logged In: YES 
user_id=48280

Fixed, thanks.
Note: See TracTickets for help on using tickets.