can't validate on Linux

Ben Gamari ben at smart-cactus.org
Mon Mar 13 14:07:38 UTC 2017


Richard Eisenberg <rae at cs.brynmawr.edu> writes:

> Hi devs,
>
> When I try validating my patch, validation fails with
>
>> ...
>> Registering library for ghc-prim-0.5.0.0..
>> ghc-cabal: '/home/rae/ghc/ghc-valid/bindisttest/install
>> dir/lib/ghc-8.3.20170312/bin/ghc-pkg' exited with an error:
>> ghc-pkg: Couldn't open database /home/rae/ghc/ghc-valid/bindisttest/install
>> dir/lib/ghc-8.3.20170312/package.conf.d for modification: {handle:
>> /home/rae/ghc/ghc-valid/bindisttest/install
>> dir/lib/ghc-8.3.20170312/package.conf.d/package.cache.lock}: hLock: invalid
>> argument (Bad file descriptor)
>> make[3]: *** [ghc.mk:990: install_packages] Error 1
>> make[2]: *** [Makefile:51: install] Error 2
>> make[1]: *** [bindisttest/ghc.mk:33: test_bindist] Error 2
>> make: *** [Makefile:127: test_bindist] Error 2
>
This is when I typically `make distclean`. That being said, this does
look a bit suspicious. Let me know if cleaning doesn't help.

Cheers,

- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170313/6e56a5f1/attachment.sig>


More information about the ghc-devs mailing list