Skip to content

CI: cabal-testsuite tests fail with "double directory" #8883

Closed
@ulysses4ever

Description

@ulysses4ever

It was observed earlier on Windows:

but since GHC 9.6.1 it plagues the other platforms too. Here's one recent CI run.

PackageTests/NewBuild/CmdRun/Terminate/cabal.test.hs:4:1: error:
Error:     Ambiguous module name ‘System.Directory’:
      it was found in multiple packages:
      directory-1.3.8.1 directory-1.3.8.1
  |
4 | import System.Directory (removeFile)
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Due to this error I had to disable cabal-testsuite altogether for 9.6.1 in #8840.

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