[GHC] #2555: Template Haskell does not respect -package and -hide constraints

2008-08-30 Thread GHC
#2555: Template Haskell does not respect -package and -hide constraints
+---
Reporter:  guest|   Owner:  
Type:  bug  |  Status:  new 
Priority:  normal   |   Component:  Compiler
 Version:  6.8.2|Severity:  normal  
Keywords:   |Testcase:  
Architecture:  Unknown  |  Os:  Linux   
+---
 (I am using 6.8.2-2ubuntu1, packaged for Ubuntu Hardy Heron, on amd64.)

 Recently sjanssen added some patches to the Lambdabot darcs repository
 which replace a preprocessor, BotPP, with some Template Haskell. This
 seems to work well, however I ran into a problem with it - everytime TH
 was called, it would error out with a message about Bytestring 0.9.1.0.

 This is far from the first time I've run into this problem, but it was not
 fixed by forcibly removing 0.9.1.0  recompiling affected packages against
 bytestring 09.0.1!

 After even more debugging, I finally figured it out:

 The module TH was erroring out on has an 'import Text.Regex'. Text.Regex
 is installed by the regex-compat package. I had two regex-compats
 installed. regex-compat-0.91 was linked against bytestring0.9.0.1. regex-
 compat-0.92 was linked against (the removed) bytestring-0.9.1.0.

 Now, normally Cabal detects that using 0.92 would lead to errors, and it
 selects 0.91, and it adds to the GHC options '-hide-all-package -package
 regex-compat-0.91', and everything compiles fine and the user is happy.

 But! in this case, Template Haskell ignores the flags, and it uses the
 most recent regex-compat. And it is this that breaks the build. I
 ultimately resolved this issue by removing regex-compat-0.92 and
 reinstalling and linking it against 0.9.0.1, although I fear this may yet
 lead to bugs in the future.

 Short summary: Cabal is smarter than TH and picks better package versions
 to compile against, and yet TH ignores Cabal's picks. This leads to
 unnecessary  difficult to figure out compile failures.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2555
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2555: Template Haskell does not respect -package and -hide constraints

2008-08-30 Thread GHC
#2555: Template Haskell does not respect -package and -hide constraints
-+--
Reporter:  guest |Owner:   
Type:  bug   |   Status:  new  
Priority:  normal|Milestone:   
   Component:  Compiler  |  Version:  6.8.2
Severity:  normal|   Resolution:   
Keywords:| Testcase:   
Architecture:  Unknown   |   Os:  Linux
-+--
Changes (by guest):

 * cc: [EMAIL PROTECTED] (added)

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2555#comment:1
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2335: Haddock's internal GHC version must match the configured GHC version

2008-08-30 Thread GHC
#2335: Haddock's internal GHC version must match the configured GHC version
--+-
 Reporter:  bos   |  Owner:  
 Type:  bug   | Status:  closed  
 Priority:  high  |  Milestone:  6.10.1  
Component:  Build System  |Version:  6.8.2   
 Severity:  blocker   | Resolution:  fixed   
 Keywords:| Difficulty:  Unknown 
 Testcase:|   Architecture:  Multiple
   Os:  Linux |  
--+-
Changes (by igloo):

  * status:  new = closed
  * resolution:  = fixed

Comment:

 haddock 2 is now built while building ghc.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2335#comment:4
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #1389: readline checks in configure.ac can probably be removed

2008-08-30 Thread GHC
#1389: readline checks in configure.ac can probably be removed
--+-
 Reporter:  simonmar  |  Owner:  igloo  
 Type:  task  | Status:  closed 
 Priority:  normal|  Milestone:  6.10.1 
Component:  Build System  |Version:  6.7
 Severity:  normal| Resolution:  fixed  
 Keywords:| Difficulty:  Easy (1 hr)
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Changes (by igloo):

  * status:  new = closed
  * resolution:  = fixed

Comment:

 The only readline references now are in mk/bootstrap.mk as far as I can
 see, and fixing bootstrapping is a separate issue, so I'm closing this
 ticket.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1389#comment:6
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2427: Allow compilation of source from stdin

2008-08-30 Thread GHC
#2427: Allow compilation of source from stdin
-+--
 Reporter:  guest|  Owner: 
 Type:  feature request  | Status:  new
 Priority:  low  |  Milestone:  6.12 branch
Component:  Compiler |Version:  6.8.3  
 Severity:  minor| Resolution: 
 Keywords:   | Difficulty:  Unknown
 Testcase:   |   Architecture:  Unknown
   Os:  Unknown  |  
-+--
Changes (by igloo):

  * priority:  normal = low
  * milestone:  = 6.12 branch

Comment:

 This is probably quite low priority for us currently, so do add yourself
 to this ticket if it's important for you.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2427#comment:4
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #2556: Deprecated perl stuff in ghc-split

2008-08-30 Thread GHC
#2556: Deprecated perl stuff in ghc-split
+---
Reporter:  guest|   Owner:  
Type:  bug  |  Status:  new 
Priority:  normal   |   Component:  Compiler
 Version:  6.8.2|Severity:  minor   
Keywords:   |Testcase:  
Architecture:  Unknown  |  Os:  Linux   
+---
 On Ubuntu Intrepid Ibex (adm64):
 [EMAIL PROTECTED]:19282~perl --version
 [ 4:22PM]

 This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi


 Every single compiled module generates a warning:
 $* is no longer supported at /usr/lib/ghc-6.8.2/ghc-split line 39.

 The line mentioned is:

 $* = 1; # multi-line matches are OK

 

 This deprecation warning is very annoying and obscures output, especially
 on packages with hundreds of modules such as XMonad or Darcs. A fix would
 be nice; presumably Perl would not have deprecated something without a
 easy fix being available.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2556
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2440: Bad code with type families

2008-08-30 Thread GHC
#2440: Bad code with type families
--+-
 Reporter:  rl|  Owner: 
 Type:  run-time performance bug  | Status:  new
 Priority:  normal|  Milestone:  6.10 branch
Component:  Compiler  |Version:  6.9
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Changes (by igloo):

  * difficulty:  = Unknown
  * milestone:  = 6.10 branch

Comment:

 Thanks for the report

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2440#comment:1
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2442: Heuristics to improve error messages for badly referenced things

2008-08-30 Thread GHC
#2442: Heuristics to improve error messages for badly referenced things
-+--
 Reporter:  batterseapower   |  Owner: 
 Type:  feature request  | Status:  new
 Priority:  high |  Milestone:  6.12 branch
Component:  Compiler |Version:  6.9
 Severity:  normal   | Resolution: 
 Keywords:   | Difficulty:  Unknown
 Testcase:   |   Architecture:  Unknown
   Os:  Unknown  |  
-+--
Changes (by igloo):

  * priority:  normal = high
  * milestone:  = 6.12 branch

Comment:

 I don't think we'll look at this in time for 6.10, but we should make a
 decision early in 6.12 to avoid collecting any more conflicts than
 necessary (although I guess it'll be in the wrong VCS by then; ug).

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2442#comment:6
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2439: Missed optimisation with dictionaries and loops

2008-08-30 Thread GHC
#2439: Missed optimisation with dictionaries and loops
--+-
 Reporter:  rl|  Owner:  simonpj
 Type:  run-time performance bug  | Status:  new
 Priority:  normal|  Milestone:  6.12 branch
Component:  Compiler  |Version:  6.9
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Changes (by igloo):

  * owner:  = simonpj
  * milestone:  = 6.12 branch

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2439#comment:2
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2557: building HEAD fails when editline is installed as a user package

2008-08-30 Thread GHC
#2557: building HEAD fails when editline is installed as a user package
-+--
Reporter:  judahj|Owner: 
Type:  bug   |   Status:  new
Priority:  normal|Milestone: 
   Component:  Compiler  |  Version:  6.9
Severity:  minor |   Resolution: 
Keywords:| Testcase: 
Architecture:  x86   |   Os:  MacOS X
-+--
Changes (by judahj):

  * version:  6.8.3 = 6.9

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2557#comment:1
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2443: @EnableWin32DLLs@ in mk/config.mk

2008-08-30 Thread GHC
#2443: @EnableWin32DLLs@ in mk/config.mk
--+-
 Reporter:  rurban|  Owner:  rurban  
 Type:  bug   | Status:  assigned
 Priority:  normal|  Milestone:  
Component:  Build System  |Version:  6.8.3   
 Severity:  normal| Resolution:  
 Keywords:| Difficulty:  Unknown 
 Testcase:|   Architecture:  x86 
   Os:  Multiple  |  
--+-
Changes (by igloo):

  * difficulty:  = Unknown

Old description:

 @EnableWin32DLLs@ should be temp. disabled also.

 [EnableWin32DLLs.patch
 [EMAIL PROTECTED] hunk ./mk/config.mk.in 410
 [EMAIL PROTECTED]@
 +#temp. disabled. was @EnableWin32DLLs@
 +DLLized=NO

New description:

 {{{
 @EnableWin32DLLs@ should be temp. disabled also.

 [EnableWin32DLLs.patch
 [EMAIL PROTECTED] hunk ./mk/config.mk.in 410
 [EMAIL PROTECTED]@
 +#temp. disabled. was @EnableWin32DLLs@
 +DLLized=NO
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2443#comment:2
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2443: @EnableWin32DLLs@ in mk/config.mk

2008-08-30 Thread GHC
#2443: @EnableWin32DLLs@ in mk/config.mk
--+-
 Reporter:  rurban|  Owner:  rurban  
 Type:  bug   | Status:  assigned
 Priority:  normal|  Milestone:  6.10.1  
Component:  Build System  |Version:  6.8.3   
 Severity:  normal| Resolution:  
 Keywords:| Difficulty:  Unknown 
 Testcase:|   Architecture:  x86 
   Os:  Multiple  |  
--+-
Changes (by igloo):

  * milestone:  = 6.10.1

Comment:

 Does anyone know what the status of this is?

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2443#comment:3
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2444: gtk2hs 0.9.13 fails to build on ppc due to bad code generated with -fvia-C

2008-08-30 Thread GHC
#2444: gtk2hs 0.9.13 fails to build on ppc due to bad code generated with 
-fvia-C
--+-
 Reporter:  bos   |  Owner: 
 Type:  bug   | Status:  new
 Priority:  normal|  Milestone:  6.12 branch
Component:  Compiler  |Version:  6.8.3  
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  powerpc
   Os:  Linux |  
--+-
Changes (by igloo):

  * difficulty:  = Unknown
  * milestone:  = 6.12 branch

Comment:

 I'm afraid that I don't think that we'll fix this before `-fvia-C` and the
 mangler is removed in 6.12.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2444#comment:2
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2448: Type equality constraint not propagated to superclass

2008-08-30 Thread GHC
#2448: Type equality constraint not propagated to superclass
--+-
 Reporter:  conal |  Owner:  chak   
 Type:  bug   | Status:  new
 Priority:  normal|  Milestone:  6.10.1 
Component:  Compiler (Type checker)   |Version:  6.9
 Severity:  normal| Resolution: 
 Keywords:  type families, type equality constraints  | Difficulty:  Unknown
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Changes (by igloo):

  * difficulty:  = Unknown
  * milestone:  = 6.10.1

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2448#comment:2
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2453: users_guide/syntax-extns.html # 8.3.3, control.monad doc, etc, have obsolete refs to www.cse.ogi.edu

2008-08-30 Thread GHC
#2453: users_guide/syntax-extns.html # 8.3.3, control.monad doc, etc, have
obsolete refs  to www.cse.ogi.edu
---+
 Reporter:  guest  |  Owner:  igloo  
 Type:  bug| Status:  new
 Priority:  normal |  Milestone:  6.10.1 
Component:  Documentation  |Version:  6.8.3  
 Severity:  trivial| Resolution: 
 Keywords:  OGI| Difficulty:  Unknown
 Testcase: |   Architecture:  Unknown
   Os:  Unknown|  
---+
Changes (by igloo):

  * owner:  = igloo
  * difficulty:  = Unknown
  * milestone:  = 6.10.1

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2453#comment:2
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2458: GHC MacOS X Leopard build succeeds, but ghci complains about: unknown symbol `_environ'

2008-08-30 Thread GHC
#2458: GHC MacOS X Leopard build succeeds, but ghci complains about: unknown
symbol `_environ'
+---
 Reporter:  IgorBoehm   |  Owner:  igloo  
 Type:  bug | Status:  new
 Priority:  normal  |  Milestone:  6.10.1 
Component:  libraries/base  |Version:  6.9
 Severity:  major   | Resolution: 
 Keywords:  environ | Difficulty:  Unknown
 Testcase:  |   Architecture:  x86
   Os:  MacOS X |  
+---
Changes (by igloo):

  * owner:  = igloo
  * difficulty:  = Unknown
  * milestone:  = 6.10.1

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2458#comment:1
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs