Closed juhp closed 7 years ago
I think the problem is that, in the hide
section, we've hidden cryptohash instead of cryptohash-sha1. If we switch that around and force both packages to recompile, it should work.
Ugh, it's worse than this, because cyrptohash conflicts with cryptonite too. This would work as a short-term solution, but longer-term we need custom-setup support in stackage-curator.
Sorry, hide both?
Short term: hide cryptohash-sha1, expose cryptohash.
Longer term: add custom-setup support to avoid this problem entirely, and then probably hide cryptohash as well.
Hopefully fixed by fpco/stackage#2181, thanks!
On the latest nightly build, I see:
WARNING: Package executable-hash marked as build success, but not registered (pending: 421, failures: 12)
executable-hash: /tmp/stackage-build12/executable-hash-0.2.0.4/dist/doc/html/executable-hash: openDirStream: does not exist (No such file or directory) (pending: 421, failures: 12)
With nightly/executable-hash-0.2.0.4/build.out
reporting:
> /tmp/stackage-build12$ stack unpack executable-hash-0.2.0.4
Unpacked executable-hash-0.2.0.4 to /tmp/stackage-build12/executable-hash-0.2.0.4/
> /tmp/stackage-build12/executable-hash-0.2.0.4$ runghc -clear-package-db -global-package-db -package-db=/var/stackage/work/builds/nightly/pkgdb Setup configure --package-db=clear --package-db=global --package-db=/var/stackage/work/builds/nightly/pkgdb --libdir=/var/stackage/work/builds/nightly/lib --bindir=/var/stackage/work/builds/nightly/bin --datadir=/var/stackage/work/builds/nightly/share --libexecdir=/var/stackage/work/builds/nightly/libexec --sysconfdir=/var/stackage/work/builds/nightly/etc --docdir=/var/stackage/work/builds/nightly/doc/executable-hash-0.2.0.4 --htmldir=/var/stackage/work/builds/nightly/doc/executable-hash-0.2.0.4 --haddockdir=/var/stackage/work/builds/nightly/doc/executable-hash-0.2.0.4 --flags= -hide-all-packages --package=Cabal --package=base --package=bytestring --package=cryptohash --package=directory --package=file-embed --package=filepath --package=template-haskell
Prepare to build the package.
Usage: Setup configure [FLAGS]
Configure how the package is built by setting package (and other) flags.
The configuration affects several other commands, including build, test,
bench, run, repl.
... [cut output for brevity]
Bug on my part in stackage-curator, just pushed a commit.
Hopefully fixed by fpco/stackage#2181, thanks!
executable-hash-0.2.0.{2,3} seem to fail to configure in Stackage Nightly