Hi Jan,
On Fri, Apr 1, 2016 at 3:23 PM, Jan Synacek jsynacek@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?
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 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
[1] http://haskellstack.org/ (https://copr.fedoraproject.org/coprs/petersen/stack/)