[GHC] #7932: haskell-src-exts should depend on happy

#7932: haskell-src-exts should depend on happy -----------------------+---------------------------------------------------- Reporter: JasonGross | Owner: Type: bug | Status: new Priority: normal | Component: libraries (other) Version: 7.4.2 | Keywords: Os: Linux | Architecture: Unknown/Multiple Failure: Other | Blockedby: Blocking: | Related: -----------------------+---------------------------------------------------- cabal-dev install haskell-src-exts-1.13.5 fails with a missing happy: $ cabal-dev install haskell-src-exts-1.13.5 Resolving dependencies... [1 of 1] Compiling Main ( /tmp/haskell-src-exts-1.13.5-24348 /haskell-src-exts-1.13.5/Setup.hs, /tmp/haskell-src-exts-1.13.5-24348 /haskell-src-ext s-1.13.5/dist/setup/Main.o ) /tmp/haskell-src-exts-1.13.5-24348/haskell-src-exts-1.13.5/Setup.hs:1:1: Warning: In the use of `runTests' (imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks): Deprecated: "Please use the new testing interface instead!" Linking /tmp/haskell-src-exts-1.13.5-24348/haskell-src- exts-1.13.5/dist/setup/setup ... Configuring haskell-src-exts-1.13.5... setup: The program happy version >=1.17 is required but it could not be found. Failed to install haskell-src-exts-1.13.5 cabal: Error: some packages failed to install: haskell-src-exts-1.13.5 failed during the configure step. The exception was: ExitFailure 1 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7932 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7932: haskell-src-exts should depend on happy -----------------------+---------------------------------------------------- Reporter: JasonGross | Owner: Type: bug | Status: new Priority: normal | Component: libraries (other) Version: 7.4.2 | Keywords: Os: Linux | Architecture: Unknown/Multiple Failure: Other | Blockedby: Blocking: | Related: -----------------------+---------------------------------------------------- Comment(by JasonGross): Oops, I failed at wikiformating {{{ $ cabal-dev install haskell-src-exts-1.13.5 Resolving dependencies... [1 of 1] Compiling Main ( /tmp/haskell-src-exts-1.13.5-24348 /haskell-src-exts-1.13.5/Setup.hs, /tmp/haskell-src-exts-1.13.5-24348 /haskell-src-ext s-1.13.5/dist/setup/Main.o ) /tmp/haskell-src-exts-1.13.5-24348/haskell-src-exts-1.13.5/Setup.hs:1:1: Warning: In the use of `runTests' (imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks): Deprecated: "Please use the new testing interface instead!" Linking /tmp/haskell-src-exts-1.13.5-24348/haskell-src- exts-1.13.5/dist/setup/setup ... Configuring haskell-src-exts-1.13.5... setup: The program happy version >=1.17 is required but it could not be found. Failed to install haskell-src-exts-1.13.5 cabal: Error: some packages failed to install: haskell-src-exts-1.13.5 failed during the configure step. The exception was: ExitFailure 1 }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7932#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7932: haskell-src-exts should depend on happy -----------------------+---------------------------------------------------- Reporter: JasonGross | Owner: Type: bug | Status: new Priority: normal | Component: libraries (other) Version: 7.4.2 | Keywords: Os: Linux | Architecture: Unknown/Multiple Failure: Other | Blockedby: Blocking: | Related: -----------------------+---------------------------------------------------- Comment(by parcs): Unfortunately you can't depend on `happy` because `happy` only provides an executable, not a library. But one could get around this limitation by having the `happy` package install a (dummy) library. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7932#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7932: haskell-src-exts should depend on happy --------------------------------+------------------------------------------- Reporter: JasonGross | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: libraries (other) | Version: 7.4.2 Resolution: invalid | Keywords: Os: Linux | Architecture: Unknown/Multiple Failure: Other | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: --------------------------------+------------------------------------------- Changes (by igloo): * status: new => closed * difficulty: => Unknown * resolution: => invalid Comment: Thanks for the report, but this is not a bug in GHC, so I'm closing this ticket. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7932#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC