Skip to content

cabal haddock failure: out of FDs due to tar #11131

@hsyl20

Description

@hsyl20

Describe the bug

Cabal packs the documentation generated by haddock with the tar package. tar keeps too many file descriptors open in some circumstance: see haskell/tar#100

We should wait for the fix and update our dependency. Or switch to another packing library.

To Reproduce
See https://gitlab.haskell.org/ghc/ghc/-/issues/25172

Expected behavior
Don't crash because of FD starvation

System information

  • Linux with ulimit -n 256
  • GHC 9.12 and head

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions