Ricardo Wurmus <rek...@elephly.net> writes:

> Mark H Weaver <m...@netris.org> writes:
>
>> So far, almost all of the new packages are building successfully on
>> Hydra, but I see one failure: ghc-resourcet, which in turn causes
>> r-bookdown to dep-fail:
>>
>>   https://hydra.gnu.org/build/2495799/nixlog/1/raw
>
> Hmm, how odd.  I did build ghc-resourcet before, but I may have broken
> it with later commits.
>
> Thanks for letting me know.  I’ll try to fix it.

I’m afraid I cannot reproduce this.  I removed the successfully built
ghc-resourcet from the store and rebuilt it successfully.

There are a bunch of warnings, but I end up with a successful build of
/gnu/store/y8rp418ynjb57hv824b7apih5bmpibba-ghc-resourcet-1.1.7.5.  Thoughout 
the build it mentions
/gnu/store/ngqrlni2iqs8lfbbjf1bd55bymc689d3-ghc-resourcet-1.1.7.5 as the output 
directory, which
matches the build log on hydra.

My local log looks rather different (see attached file).

For one, I don’t see these messages:

--8<---------------cut here---------------start------------->8---
Configuring resourcet-1.1.7.5...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package transformers-compat-0.5.1.4 requires transformers-0.5.2.0
package transformers-base-0.4.4 requires transformers-0.5.2.0
package primitive-0.6.3.0 requires transformers-0.5.2.0
package monad-control-1.0.1.0 requires transformers-0.5.2.0
package hspec-core-2.2.4 requires transformers-0.5.2.0
package hspec-2.2.4 requires transformers-0.5.2.0
package QuickCheck-2.10.1 requires transformers-0.5.2.0
package resourcet-1.1.7.5 requires transformers-0.5.2.0
package mtl-2.2.1 requires transformers-0.5.2.0
package mmorph-1.0.6 requires transformers-0.5.2.0
package exceptions-0.8.3 requires transformers-0.5.2.0
--8<---------------cut here---------------end--------------->8---

Nor do I see this message:

    ghc-pkg: unable to decommit memory: Invalid argument

I don’t know what this message means, but the messages about requiring a
different version of the transformers package probably describe the
problem on Hydra.  For some reason the build environment I have on my
machine is not the same as that on Hydra.  I guess that this is related
to ghc-pkg failing to set up the environment.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net



Reply via email to