[Hackage] #375: setup: The program happy is required but it could not be found

#375: setup: The program happy is required but it could not be found ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.4.0.1 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.3 Platform: | ---------------------------------+------------------------------------------ I'm trying to install happy because cabal-install fails to upgrade all my packages. Below is my log. Any ideas? Thanks! $ cabal --version cabal-install version 0.5.2 using version 1.4.0.1 of the Cabal library $ cabal upgrade Resolving dependencies... 'haskell-src-1.0.1.3' is cached. Configuring haskell-src-1.0.1.3... Preprocessing library haskell-src-1.0.1.3... cabal: The program happy is required but it could not be found cabal: Error: some packages failed to install: haskell-src-1.0.1.3 failed during the building phase. The exception was: exit: ExitFailure 1 $ cabal install happy Resolving dependencies... 'happy-1.18.1' is cached. [1 of 1] Compiling Main ( /var/folders/s-/s-WdqsnuGFyUGEeXB-+sZk+++TI/-Tmp-/TMPhappy-1.18.1/happy-1.18.1/Setup.lhs, /var/folders/s-/s-WdqsnuGFyUGEeXB-+sZk+++TI/-Tmp-/TMPhappy-1.18.1/happy-1.18.1/dist/setup/Main.o ) Linking /var/folders/s-/s-WdqsnuGFyUGEeXB-+sZk+++TI/-Tmp-/TMPhappy-1.18.1/happy-1.18.1/dist/setup/setup ... Warning: defaultUserHooks in Setup script is deprecated. Configuring happy-1.18.1... Preprocessing executables for happy-1.18.1... setup: The program happy is required but it could not be found cabal: Error: some packages failed to install: happy-1.18.1 failed during the building phase. The exception was: exit: ExitFailure 1 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/375 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#375: setup: The program happy is required but it could not be found ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.4.0.1 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.3 | Platform: ---------------------------------+------------------------------------------ Comment (by guest): Oh, I should have left my contact info: Jason Dagit, dagitj at gmail dot com. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/375#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#375: setup: The program happy is required but it could not be found ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.4.0.1 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.3 | Platform: ---------------------------------+------------------------------------------ Old description:
I'm trying to install happy because cabal-install fails to upgrade all my packages. Below is my log. Any ideas? Thanks!
$ cabal --version cabal-install version 0.5.2 using version 1.4.0.1 of the Cabal library
$ cabal upgrade Resolving dependencies... 'haskell-src-1.0.1.3' is cached. Configuring haskell-src-1.0.1.3... Preprocessing library haskell-src-1.0.1.3... cabal: The program happy is required but it could not be found cabal: Error: some packages failed to install: haskell-src-1.0.1.3 failed during the building phase. The exception was: exit: ExitFailure 1
$ cabal install happy Resolving dependencies... 'happy-1.18.1' is cached. [1 of 1] Compiling Main ( /var/folders/s-/s-WdqsnuGFyUGEeXB-+sZk+++TI/-Tmp-/TMPhappy-1.18.1/happy-1.18.1/Setup.lhs, /var/folders/s-/s-WdqsnuGFyUGEeXB-+sZk+++TI/-Tmp-/TMPhappy-1.18.1/happy-1.18.1/dist/setup/Main.o ) Linking /var/folders/s-/s-WdqsnuGFyUGEeXB-+sZk+++TI/-Tmp-/TMPhappy-1.18.1/happy-1.18.1/dist/setup/setup ... Warning: defaultUserHooks in Setup script is deprecated. Configuring happy-1.18.1... Preprocessing executables for happy-1.18.1... setup: The program happy is required but it could not be found cabal: Error: some packages failed to install: happy-1.18.1 failed during the building phase. The exception was: exit: ExitFailure 1
New description: I'm trying to install happy because cabal-install fails to upgrade all my packages. Below is my log. Any ideas? Thanks! {{{ $ cabal --version cabal-install version 0.5.2 using version 1.4.0.1 of the Cabal library $ cabal upgrade Resolving dependencies... 'haskell-src-1.0.1.3' is cached. Configuring haskell-src-1.0.1.3... Preprocessing library haskell-src-1.0.1.3... cabal: The program happy is required but it could not be found cabal: Error: some packages failed to install: haskell-src-1.0.1.3 failed during the building phase. The exception was: exit: ExitFailure 1 $ cabal install happy Resolving dependencies... 'happy-1.18.1' is cached. [1 of 1] Compiling Main ( /var/folders/s-/s-WdqsnuGFyUGEeXB-+sZk+++TI/-Tmp-/TMPhappy-1.18.1/happy-1.18.1/Setup.lhs, /var/folders/s-/s-WdqsnuGFyUGEeXB-+sZk+++TI/-Tmp-/TMPhappy-1.18.1/happy-1.18.1/dist/setup/Main.o ) Linking /var/folders/s-/s-WdqsnuGFyUGEeXB-+sZk+++TI/-Tmp-/TMPhappy-1.18.1/happy-1.18.1/dist/setup/setup ... Warning: defaultUserHooks in Setup script is deprecated. Configuring happy-1.18.1... Preprocessing executables for happy-1.18.1... setup: The program happy is required but it could not be found cabal: Error: some packages failed to install: happy-1.18.1 failed during the building phase. The exception was: exit: ExitFailure 1 }}} Comment (by guest): I'm trying to make the bug status more readable... -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/375#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#375: target bindir should added to the build tool search path ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: HEAD Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.3 | Platform: ----------------------------+----------------------------------------------- Comment (by duncan): Ah, I misread. The problem here is that that happy package is borked because it needs happy to be able to install it. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/375#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#375: target bindir should added to the build tool search path ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: HEAD Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.3 | Platform: ----------------------------+----------------------------------------------- Comment (by guest): It seems the real problem was that happy 1.18 is a broken package. I worked around this problem by first installing happy 1.17 using the command: cabal install happy-1.17 Then I did, cabal install upgrade, and happy 1.18 installed. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/375#comment:5 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#375: target bindir should added to the build tool search path ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: closed Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: HEAD Severity: normal | Resolution: invalid Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.3 | Platform: ----------------------------+----------------------------------------------- Changes (by guest): * status: new => closed * resolution: => invalid -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/375#comment:6 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage