Hi Ryan,

I hope to be able to reproduce the ConstraintKinds bug in a minimal example
later today. I believe that the cabal bug might be something to do with my
nix setup so will investigate more to see how nix installs Haskell packages
under the hood. Will follow-up as soon as I can.

Thanks!

Alberto

On Fri, May 19, 2017 at 7:39 PM, Ryan Scott <ryan.gl.sc...@gmail.com> wrote:

> A follow-up:
>
> * The fact that the fingertree test suite doesn't terminate is an
> occurrence of a known bug, GHC Trac #13429 [1].
> * I just ran the lens test suite with GHC 8.2, and it terminated [2]. It
> does take a while, though, sound it's understandable that one would think
> it loops forever if you don't have the patience to let it finish :)
>
> Again, I'm not able to reproduce the ConstraintKinds or Cabal regressions
> you reported, so it would be tremendously helpful if you could submit bug
> reports explaining how to trigger those issues. Thanks!
>
> Ryan S.
> -----
> [1] https://ghc.haskell.org/trac/ghc/ticket/13429#comment:16
> [2] https://travis-ci.org/ekmett/lens/jobs/231611970
>
> On Fri, May 19, 2017 at 9:16 AM, Ryan Scott <ryan.gl.sc...@gmail.com>
> wrote:
>
>> Hi Alberto. Thanks for the very detailed report!
>>
>> > - A weird kind error when using ConstraintKinds in a propietary package
>> > which didn't manifest itself with ghc < 8.2:
>> >
>> > ...
>> >
>> > Is this expected behaviour?
>> > Should I try to isolate and open a ticket?
>>
>> This looks like a proper bug to me. Can you minimize the example a submit
>> a bug report at https://ghc.haskell.org/trac/ghc/newticket for this?
>> Thanks!
>>
>> > - I had to disable the tests for two packages since they seem to "hang"
>> >  (ie: they never finish running and don't seem to consume any CPU time).
>> > These packages are lens-4.15.1 and fingertree-0.1.1.0. Maybe it's a Nix
>> > environmental issue, I'm not sure. Can anyone reproduce this?
>>
>> The fact that the lens tests run forever sounds unusual to me, as the
>> lens repo has been running regression tests with GHC 8.2 for a while with
>> no observed slowdowns. I'll double-check soon just to be sure, though.
>>
>> However, I can confirm that the fingertree tests appear to loop forever
>> at runtime with GHC 8.2 (as opposed to GHC 8.0, where they finish in about
>> 7.5 seconds). This is certainly not a good thing, so I'll try to
>> investigate this more. Thanks for noticing this.
>>
>> > - I can't manage to install several packages which include executables
>> > (namely, update-nix-fetchgit and snap-server, for the moment) because
>> Cabal
>> > says that it cannot find the source for the main module of the
>> executables:
>> >
>> > "Setup: can't find source for Main in ."
>> >
>> > It seems that the "hs-source-dir" directive in the .cabal file is not
>> being
>> > honored. Maybe a Nix-only issue? Can anyone reproduce this? Any ideas on
>> > how can I fix it?
>>
>> I can't reproduce this issue, at least with update-nix-fetchgit-0.1.0.0
>> (by using `cabal install` to install it). Can you give more detailed
>> instructions on how to trigger this error?
>>
>> Ryan S.
>>
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
>
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to