On Fri, Apr 1, 2016 at 12:07 PM, Jens-Ulrik Petersen
<petersen(a)redhat.com> wrote:
Hi Jan,
On Fri, Apr 1, 2016 at 3:23 PM, Jan Synacek <jsynacek(a)redhat.com> wrote:
> I'm trying to package vty [1] with all of its dependencies that are
> currently not present in Fedora 24. I got stuck at adjunctions [2]:
Cool, what do you want to use vty for?
I'm using it in a small text editor I'm trying to build. And the
interface is, IMHO,
better than hscurses.
> Building adjunctions-4.3...
Stackage is still using 4.2.2 for LTS3:
https://www.stackage.org/lts-3.22/package/adjunctions-4.2.2 (UI bug)
> [ 5 of 11] Compiling Data.Functor.Rep ( src/Data/Functor/Rep.hs,
> dist/build/Data/Functor/Rep.o )
>
> src/Data/Functor/Rep.hs:234:10:
> No instance for (Distributive Dual)
> arising from the superclasses of an instance declaration
> In the instance declaration for `Representable Dual'
>
> src/Data/Functor/Rep.hs:239:10:
> No instance for (Distributive Monoid.Product)
> arising from the superclasses of an instance declaration
> In the instance declaration for `Representable Monoid.Product'
>
> src/Data/Functor/Rep.hs:244:10:
> No instance for (Distributive Sum)
> arising from the superclasses of an instance declaration
> In the instance declaration for `Representable Sum'
>
> src/Data/Functor/Rep.hs:250:10:
> No instance for (Distributive Complex)
> arising from the superclasses of an instance declaration
> In the instance declaration for `Representable Complex'
> error: Bad exit status from /var/tmp/rpm-tmp.d1XqGe (%build)
> Bad exit status from /var/tmp/rpm-tmp.d1XqGe (%build)
You could try using adjunctions-4.2.2 instead perhaps.
I'll try. The reason I didn't before is that this version requires comonad <
5,
but I have already built comonad-5... Versions, I don't like them:)
I think your best bet may be to use the stack [1] tool to build but
it
depends on what you're trying to achieve. :)
Jens
Thank you,
--
Jan Synacek
Software Engineer, Red Hat