hackage-server
hackage-server copied to clipboard
Doc builder does not pick up `build-tool-depends`
https://hackage.haskell.org/package/toml-parser-2.0.1.2/reports/2
Error: cabal: The program 'alex' version >=3.2 is required but it could not be found.
https://hackage.haskell.org/package/toml-parser-2.0.1.2/toml-parser.cabal
build-tool-depends: alex:alex >= 3.2,
I'm running into the same issue with the installation of config-value. See: https://hackage.haskell.org/package/copilot-language-4.4/reports/2
Funny enough, the package config-value built just fine here: https://hackage.haskell.org/package/config-value-0.8.3/reports/
This is a pandemic: https://hackage.haskell.org/package/genvalidity-hspec-1.0.0.4/reports/2
Error: cabal: The program 'happy' is required but it could not be found.
@gbaz: Did anything go wrong with the latest deployment?
Could it be a fallout from the Big Migration? https://discourse.haskell.org/t/haskell-infrastructure-migration-update/11989/4
There are also failures like this:
Configuring network-3.2.7.0...
Error: cabal: The package has a './configure' script. If you are on Windows,
This requires a Unix compatibility toolchain such as MinGW+MSYS or Cygwin. If
you are not on Windows, ensure that an 'sh' command is discoverable in your
path.
Failed to install network-3.2.7.0
Thanks for all the reports. Indeed this is all migration fallout. @bgamari moved the builder to a new, nixified box. We made sure some core system libs were available to link against, but didn't make sure to also provide basic build tools such as alex and happy, and perhaps some other elementary things that a configure type script would accept. Investigating...
@gbaz Could you also perhaps make bnfc available?
@bgamari moved the builder to a new, nixified box.
That sounds like deployment could be a more automated process... Is the configuration that affects the doc builder hosted somewhere publicly? Maybe it could be part of this repo. Then more eyes could check that relevant tools and libraries are present, or folks could even submit PRs...
@andreasabel, @ivanperez-keera: my recent work was precisely intended to make the deployment more reproducible; it can be found in https://github.com/haskell-infra/hackage-doc-builder-config. Feel free to open MRs.
The doc builder's ignoring of build-tool-depends will be fixed by https://github.com/haskell/hackage-server/issues/1393.
@ivanperez-keera wrote:
@gbaz Could you also perhaps make bnfc available?
- https://github.com/haskell-infra/hackage-doc-builder-config/pull/14