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

Hackage trac at galois.com
Sat Oct 18 01:59:03 EDT 2008


#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


More information about the cabal-devel mailing list