On Thu, Apr 20, 2006 at 10:57:46PM +0200, Arjan Oosting wrote:
> > I see nothing in the bug report that indicates that haskell-devscripts
> > is doing anything wrong, or even what it's doing wrong.
> 
> The problem is that when libghc6-cabal-dev is installed the paths in
> which the files are installed changes. In this case:
> With libghc6-cabal-dev installed: 
>  /usr/lib/haskell-packages/ghc6/lib/haskell-src-exts-0.2/ghc-6.4.1/
> Without libghc6-cabal-dev installed:
> /usr/lib/haskell-packages/ghc6/lib/haskell-src-exts-0.2/
> 
> Because haskell-devscripts does not depend on a specific Cabal version
> the behaviour of haskell-devscripts is not deterministic. While this
> might not be considered a bug?, it can cause strange errors.  

OK.  I can see that.  However, I don't want to restrict
haskell-devscripts to working with only one version of Cabal.  It is up
to the package maintainers to depend on the version of Cabal they want,
and to conflict on the version they don't want.  There is no code in
haskell-devscripts that is putting different paths there; this must be a
change in Cabal.

> > So I'm not sure what I'm supposed to do here.  Are you simply suggesting
> > I should change the Depends line to omit libghc6-cabal-dev, which is
> > indeed outdated?  If so, I have no problem with doing that.
> 
> Well I would suggest to replace the Depends line to omit ghc6 instead.
> That way you depend on the latest Cabal version. But removing the

That would be bad; it would leave no way for people to build packages
with the current Cabal version in ghc6.

> libghc6-cabal-dev would be fine be me as well.

OK, I think I'll do that.  That makes sense.

> > Also, I'm not sure that it is incorrect for build behavior to change
> > with a different version of Cabal.
> On itself no, but if I don't chose a specific Cabal version, the
> behaviour should be consistent.

I don't think there's anything I can or should do about that in
haskell-devscripts, as I said.  Cabal is deciding on install paths, and
if applications care about specific install paths, they need to dep or
conflict on specific cabal versions as appropriate.

-- John



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to