haskell / haskell/cabal

Test failures on 32bit linux (alpine/musl)

Open
#11,049 2 comments 0 reactions 0 assignees View on GitHub
needs triage type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

The following tests fail with a static cabal 32bit musl linked binary on Alpine:

- cabal-testsuite/PackageTests/Init/init-interactive.test.hs
- cabal-testsuite/PackageTests/Init/init-interactive-legacy.test.hs
- cabal-testsuite/PackageTests/Init/init.test.hs
- cabal-testsuite/PackageTests/Init/init-without-git.test.hs
- cabal-testsuite/PackageTests/Init/init-legacy.test.hs
- cabal-testsuite/PackageTests/Init/init-interactive-ghc2021.test.hs
- cabal-testsuite/PackageTests/Init/init-backup.test.hs
- cabal-testsuite/PackageTests/Init/init-interactive-empty-folder.test.hs

The test failure from https://github.com/haskell/cabal/issues/11041 also applies, but is not related to 32bit, so I omitted it.

Looking at the logs, the failures seem to be mostly:

```
Error: cabal: localtime_r failed
```

* CI: https://github.com/stable-haskell/cabal/actions/runs/16116452258/job/45471984344
* logs: https://gist.github.com/hasufell/6d8003254e1d098a68ee6c95e727c92d

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.