Installing syb(-0.1.03) package in head version of Haskell

Simon Peyton-Jones simonpj at microsoft.com
Tue Feb 23 10:18:55 EST 2010


Thanks!   I forgot to cc Kathleen herself, so I'm now doing so.

Assuming that's the problem, does it reflect a bug in Cabal, or GHC, or what?   And if so, can someone make a ticket?]

Thanks

Simon

From: José Pedro Magalhães [mailto:jpm at cs.uu.nl]
Sent: 23 February 2010 15:10
To: Bayley, Alistair
Cc: Simon Peyton-Jones; GHC users; cvs-ghc at haskell.org
Subject: Re: Installing syb(-0.1.03) package in head version of Haskell

I'm guessing that is indeed the problem, though I cannot reproduce the error (but I'm using Cabal-1.8.0.2).

Assuming this is the cause of the problem, what is the best correction? Encoding the cabal file as UTF-8 or removing the accent? Do earlier versions of cabal deal well with UTF-8?...


Cheers,
Pedro
On Tue, Feb 23, 2010 at 16:05, Bayley, Alistair <Alistair.Bayley at invesco.com<mailto:Alistair.Bayley at invesco.com>> wrote:
Just a wild guess, but the package description has this non-ascii text:

author:                 Ralf Lämmel, Simon Peyton Jones

It could well be Latin-1 encoded, rather than UTF8.

Try editing the author field to this:

author:                 Ralf Laemmel, Simon Peyton Jones

and rebuilding/installing.

> -----Original Message-----
> From: glasgow-haskell-users-bounces at haskell.org<mailto:glasgow-haskell-users-bounces at haskell.org>
> [mailto:glasgow-haskell-users-bounces at haskell.org<mailto:glasgow-haskell-users-bounces at haskell.org>] On Behalf
> Of Simon Peyton-Jones
> Sent: 23 February 2010 14:32
> To: GHC users
> Cc: cvs-ghc at haskell.org<mailto:cvs-ghc at haskell.org>
> Subject: FW: Installing syb(-0.1.03) package in head version
> of Haskell
>
> Friends
>
>
>
> Can anyone help Kathleen out?  She has a cabal-install issue.
>  I think she's on a Mac.
>
>
>
> Many thanks
>
>
> Simon
>
>
>
> From: Kathleen Fisher [mailto:kathleen.fisher at gmail.com<mailto:kathleen.fisher at gmail.com>]
> Sent: 16 February 2010 22:54
> To: Simon Peyton-Jones
> Subject: Fwd: Installing syb(-0.1.03) package in head version
> of Haskell
>
>
>
> Hi Simon,
>
>
>
> I'm trying to get the PADS file we were working on compiling
> under the HEAD version of Haskell, but I'm having trouble
> getting the Data.Generics module to install. I sent the
> question below to the libraries at haskell.org<mailto:libraries at haskell.org> last week, but I
> haven't seen any replies.  Is that the right address?  Or is
> there a different place to ask such questions?
>
>
>
> Thanks for any pointers!
>
>
>
> Kathleen
>
>
>
> Begin forwarded message:
>
>
>
>
>
> From: Kathleen Fisher <kathleen.fisher at gmail.com<mailto:kathleen.fisher at gmail.com>>
>
> Date: February 11, 2010 2:28:20 PM PST
>
> To: libraries at haskell.org<mailto:libraries at haskell.org>
>
> Subject: Installing syb(-0.1.03) package in head version of Haskell
>
>
>
> Hi all,
>
> I'm trying to get a program that uses the Data.Generics
> module to compile under the head version of GHC, but I am
> having trouble getting the syb package installed.
>
> I believe I am using the most recent version of cabal:
>
>
>
>
> kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote>~/
> .cabal/bin/cabal --version
>
>       cabal-install version 0.8.0
>
>       using version 1.8.0.1 of the Cabal library
>
>
> When I ask cabal to install the syb package, I get the
> following error:
>
>
>
>
> kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote>~/
> .cabal/bin/cabal install -w ~/sw/ghc-head/bin/ghc
>
>       Resolving dependencies...
>
>       Downloading mtl-1.1.0.2...
>
>       Configuring mtl-1.1.0.2...
>
>       Preprocessing library mtl-1.1.0.2...
>
>       ...
>
>       Registering syb-0.1.0.3...
>
>       cabal: ghc-pkg: <stdin>: hGetContents: invalid argument
> (invalid UTF-8 byte
>
>       sequence)
>
>       cabal: Error: some packages failed to install:
>
>       language-c-quote-0.1 depends on syb-0.1.0.3 which
> failed to install.
>
>       syb-0.1.0.3 failed during the building phase. The exception was:
>
>       exit: ExitFailure 1
>
>
>
> The full trace is included below.
>
> Here's the version information for the ghc I am running.
>
>
>
>
> Kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote>~/
> sw/ghc-head/bin/ghc --version
>
>       The Glorious Glasgow Haskell Compilation System,
> version 6.13.20100210
>
>
> The cabal website suggests sending questions to this list...
>
> Any suggestions for how to fix this problem?
>
> Kathleen
>
>
>
>
>
> kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote>~/
> .cabal/bin/cabal install -w ~/sw/ghc-head/bin/ghc
>
>       Resolving dependencies...
>
>       Downloading mtl-1.1.0.2...
>
>       Configuring mtl-1.1.0.2...
>
>       Preprocessing library mtl-1.1.0.2...
>
>       Building mtl-1.1.0.2...
>
>
>
>       ...stuff deleted...
>
>
>
>       src/Data/Generics.hs:40:1:
>
>          Warning: The import of `Prelude' is redundant
>
>                     except perhaps to import instances from `Prelude'
>
>                   To import instances alone, use: import Prelude()
>
>       Registering syb-0.1.0.3...
>
>       cabal: ghc-pkg: <stdin>: hGetContents: invalid argument
> (invalid UTF-8 byte
>
>       sequence)
>
>       cabal: Error: some packages failed to install:
>
>       language-c-quote-0.1 depends on syb-0.1.0.3 which
> failed to install.
>
>       syb-0.1.0.3 failed during the building phase. The exception was:
>
>       exit: ExitFailure 1
>
>
>
>
*****************************************************************
Confidentiality Note: The information contained in this message,
and any attachments, may contain confidential and/or privileged
material. It is intended solely for the person(s) or entity to
which it is addressed. Any review, retransmission, dissemination,
or taking of any action in reliance upon this information by
persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
*****************************************************************

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users at haskell.org<mailto:Glasgow-haskell-users at haskell.org>
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20100223/98563988/attachment-0001.html


More information about the Glasgow-haskell-users mailing list