haskell / haskell/cabal

Haddock failure with basement on 3.10.1.0, not with 3.8.1.0

Open
#9,266 11 comments 0 reactions 0 assignees View on GitHub
cabal-install: cmd/haddock regression in 3.10 type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

**Describe the bug**

basement-0.0.16 fails to build, and it seems to cascade down (or be a separate bug)

As far as what I can tell, this is related to withMetaData, but might be related to other factors.

see pastebin for logs:

https://pastebin.com/JrApskCS

**To Reproduce**
Steps to reproduce the behavior:

cabal haddock a library that uses crypton-0.33 under 3.10.1.0

```
$ cabal haddock -v
```

**Expected behavior**
That it doesn't fail to build haddock documentation.

**System information**
- Operating system -- ArchLinux
- `cabal`, `ghc` versions -- cabal 3.10.1.0; ghc 9.4.7, seems to have similar error on 9.6.2

**Additional context**
None, I can get it working on cabal 3.8.1.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with `cabal haddock -v` for a library using crypton-0.33 and basement-0.0.16 under cabal 3.10.1.0 with GHC 9.4.7 or 9.6.2. Compare the result with cabal 3.8.1.0 and inspect the linked logs, especially the reported withMetaData behavior. Done means Haddock builds successfully under the affected versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.