-
Notifications
You must be signed in to change notification settings - Fork 704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty package: cabal-hash.txt: Does not exist #4130
Comments
|
@hvr showed me an example where a (conditionally) empty tl;dr: when you want reexported-modules, but want to support old |
Since hashing is only done for packages from a repository, it will be difficult to construct a test case (all our test cases rely on inplace builds); so from a tooling perspective, this is blocking on #4016. |
@23Skidoo here's another canonical one btw: http://hackage.haskell.org/package/fail-4.9.0.0/fail.cabal |
#4016 is solved so we should be able to make a test case for this. |
Just in case there was any doubt, this is a regression relative to old-build (which handles the weirdo-case simple repro-case:
|
I have a similar problem, but on |
@hasufell, installing |
With
|
Note, this doesn't happen for |
It's probably silent assumption that `setup Cabal.copyCommand` would create directory structure. Who said it would do that. For empty packages, sometimes it doesn't. It's easier to be defensive here
3.4.0.0 Oleg Grenrus <oleg.grenrus@iki.fi> February 2021 * See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.4.0.0.md 3.2.0.0 Herbert Valerio Riedel <hvr@gnu.org> April 2020 * `v2-build` (and other `v2-`prefixed commands) now accept the `--benchmark-option(s)` flags, which pass options to benchmark executables (analogous to how `--test-option(s)` works). (#6209) * Add solver optimization to skip a version of a package if it does not resolve any conflicts encountered in the last version, controlled by flag '--fine-grained-conflicts'. (#5918) * `cabal v2-exec` doesn't fail in clean package (#6479) * Show full ABI hash for installed packages in solver log (#5892) * Create incoming directory even for empty packages (#4130) * Start GHCi with `main-is` module in scope (#6311) * Implement `--benchmark-options` for `v2-bench` (#6224) * Fix store-dir in ghc env files generated by `cabal install --lib --package-env` (#6298) * `cabal v2-run` works with `.lhs` files (#6134) * `subdir` in source-repository-package accepts multiple entries (#5472) 3.0.1.0 Herbert Valerio Riedel <hvr@gnu.org> April 2020 * Create store incoming directory ([#4130](haskell/cabal#4130)) * `fetchRepoTarball` output is not marked ([#6385](haskell/cabal#6385)) * Update `setupMinCabalVersionConstraint` for GHC-8.8 ([#6217](haskell/cabal#6217)) * Implement `cabal install --ignore-project` ([#5919](haskell/cabal#5919)) * `cabal install executable` solver isn't affected by default environment contents ([#6410](haskell/cabal#6410)) * Use `lukko` for file locking ([#6345](haskell/cabal#6345)) * Use `hackage-security-0.6` ([#6388](haskell/cabal#6388)) * Other dependency upgrades
Got this while trying to build
ircbrowse
with a recent snapshot ofcabal-install
HEAD:The
/home/refold/.cabal/store/ghc-8.0.1/snap-app-0.7.0-e7ebb350f8c439e859941200457b8734ec0e234e736ed19e834da281aa9c8440/
directory doesn't seem to exist.The text was updated successfully, but these errors were encountered: