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

Re: Yesod on Debian testing - is this a bug?



Thanks for the quick response!

Clint Adams <clint@debian.org> wrote:

> The Debian packages are meant to work consistently with each other,
> so I would not install anything at all with cabal-dev (in fact I've
> never used cabal-dev or virthualenv myself).  The libraries listed
> in Recommends (and possibly Suggests) of the yesod package should
> be all you need to build the output of `yesod init`.  If this is not
> the case, please do indeed file a bug on yesod in the Debian BTS.
> 
> With only Debian packages installed you should be able to
> 
> yesod init
> cd $dirname
> yesod devel
> 
> We should definitely patch yesod to not suggest running
> cabal{,-dev} install, though I don't have time for this
> today.

That is news to me, and bypassing cabal and cabal-dev in favor of
Debian packages indeed sound great.  So, thanks for the work you are
doing!

Well, below is what I get.  It looks like the .cabal file generated by
"yesod init" asks for versions that are newer than what's present in
Debian.  (Conduit on testing is at 0.4.2-2+b2, fast-logger is at
0.0.2-1+b2, and so on.)  I wanted to confirm that this indeed is a bug
before reporting it in the BTS.

(I nuked ~/.cabal and ~/.ghc, which is why the warning about running
'cabal update'...)

<snip>

yesod devel
Yesod devel server. Press ENTER to quit
Warning: The package list for 'hackage.haskell.org' does not exist. Run 'cabal update' to download it.
Resolving dependencies...
Configuring yosog-0.0.0...
cabal: At least the following dependencies are missing:
conduit >=1.0,
fast-logger >=0.3,
hamlet ==1.1.*,
hjsmin ==0.1.*,
http-conduit ==1.9.*,
monad-logger >=0.3,
persistent ==1.2.*,
persistent-sqlite ==1.2.*,
persistent-template ==1.2.*,
shakespeare-js >=1.0.2 && <1.2,
wai-extra ==1.3.*,
warp ==1.3.*,
yaml ==0.8.*,
yesod ==1.2.*,
yesod-auth ==1.2.*,
yesod-core ==1.2.*,
yesod-form ==1.3.*,
yesod-static ==1.2.*

</snip>

-- 
"the lyf so short, the craft so long to lerne."
                 -- Chaucer.


Reply to: