Skip to content

Doc builder does not pick up build-tool-depends #1388

Open

Activity

  1. added
    re: build-tools
    on May 4, 2025
  2. andreasabel commented on May 9, 2025

    @andreasabel
    MemberAuthor

    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?

  3. Bodigrim commented on May 9, 2025

    @Bodigrim
    Contributor

    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
    
  4. gbaz commented on May 9, 2025

    @gbaz
    Contributor

    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...

  5. ivanperez-keera commented on May 9, 2025

    @ivanperez-keera

    @gbaz Could you also perhaps make bnfc available?

  6. andreasabel commented on May 10, 2025

    @andreasabel
    MemberAuthor

    @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...

  7. bgamari commented on May 12, 2025

    @bgamari
    Contributor

    @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.

  8. bgamari commented on May 12, 2025

    @bgamari
    Contributor

    The doc builder's ignoring of build-tool-depends will be fixed by #1393.

  9. changed the title [-]Doc builder: `alex` not found even though it is in the `build-tool-depends`[/-] [+]Doc builder does not pick up `build-tool-depends`[/+] on May 13, 2025
  10. andreasabel commented on May 13, 2025

    @andreasabel
    MemberAuthor
  11. m4lvin commented on Jan 27, 2026

    @m4lvin

    I am not sure if I have the same problem, but should make be available for building on Hackage?
    https://hackage.haskell.org/package/HasCacBDD-0.3.0.1/reports/2

  12. andreasabel commented on Jan 28, 2026

    @andreasabel
    MemberAuthor

    @m4lvin Try opening a MR as detailed above.
    (I am not a nixer, but I think dependency management with nix is very fine grained, and nothing is installed on the machine that is not explicitly mentioned in the nix description, not even make.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: doc builderre: build-tools

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions