[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: haskell-devscripts bug: failures when the same package is installed multiple times



Hi,

Am Donnerstag, den 20.05.2010, 08:37 -0300 schrieb Marco Túlio Gontijo e
Silva:
> Hi Jeremy.
> 
> Excerpts from Jeremy Shaw's message of Seg Mai 17 19:14:59 -0300 2010:
> (...)
> > I have HSP 0.5.2 installed in my global package index, and in my local  
> > ~/.cabal. This causes dh_haskell_depends to generate a .substvars file  
> > with a dependency that lacks a name, but has a version number that is  
> > 1.5MB long :p
> (...)
> > I believe the problem is this line:
> > 
> > $ ghc-pkg6 field hsp-0.5.2 hs-libraries
> > hs-libraries: HShsp-0.5.2
> > hs-libraries: HShsp-0.5.2
> 
> Is using ghc-pkg always with --global a good enough fix?
> 
> E.g.: ghc-pkg6 --global field hsp-0.5.2 hs-libraries

it is a start, and should be done in any case. But it should still
handle multi-line responses in some way – either by aborting, or
silently taking the first line.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: