Skip to content

unexpected failure for PackageTests/ProfShared/setup.test.hs on GHC 9.0.2 #11387

Open

Description

@ulysses4ever

e.g. https://github.com/haskell/cabal/actions/runs/20713911643/job/59460473727?pr=11369

2026-01-05T11:48:28.3498758Z Running: /home/runner/.ghcup/bin/ghc '-package-env=-' --make -fbuilding-cabal-package -O -prof -fprof-auto-exported -osuf p_o -hisuf p_hi -outputdir setup.dist/work/dist/build -odir setup.dist/work/dist/build -hidir setup.dist/work/dist/build -hiedir setup.dist/work/dist/build/extra-compilation-artifacts/hie -stubdir setup.dist/work/dist/build -i -i. -isetup.dist/work/dist/build -isetup.dist/work/dist/build/autogen -isetup.dist/work/dist/build/global-autogen -Isetup.dist/work/dist/build/autogen -Isetup.dist/work/dist/build/global-autogen -Isetup.dist/work/dist/build -optP-include -optPsetup.dist/work/dist/build/autogen/cabal_macros.h -this-unit-id prof-shared-0.1 -hide-all-packages -Wmissing-home-modules -no-user-package-db -package-db setup.dist/work/dist/package.conf.inplace -package-id base-4.15.1.0 -XHaskell98 Lib
2026-01-05T11:48:28.3503607Z [1 of 1] Compiling Lib              ( Lib.hs, setup.dist/work/dist/build/Lib.p_o )
2026-01-05T11:48:28.3503998Z 
2026-01-05T11:48:28.3504283Z Lib.hs:1:8: error:
2026-01-05T11:48:28.3505920Z ##[error]    Could not find module ‘Prelude’
2026-01-05T11:48:28.3507496Z     Perhaps you haven't installed the profiling libraries for package ‘base-4.15.1.0’?
2026-01-05T11:48:28.3508201Z     Use -v (or `:set -v` in ghci) to see a list of the files searched for.
2026-01-05T11:48:28.3508655Z   |
2026-01-05T11:48:28.3508884Z 1 | module Lib where
2026-01-05T11:48:28.3509153Z   |        ^^^

something have changed about how GHC is supplied (haskell-actions maybe?) and we don't get a profiling base for free now?..

Activity

  1. ulysses4ever commented on Jan 7, 2026

    @ulysses4ever
    CollaboratorAuthor

    I'll reopen because it's not really fixed.

  2. ulysses4ever commented on Jan 7, 2026

    @ulysses4ever
    CollaboratorAuthor

    The test in question was contributed by @mpickering not so long ago, so he may be interested to take a look.

  3. mpickering commented on Jan 9, 2026

    @mpickering
    Collaborator

    I have tracked down the failure to this haskell-actions commit

    haskell-actions/setup@eb29c23

    Which comes from this issue:

    haskell-actions/setup#78

    cc @andreasabel

  4. andreasabel commented on Jan 11, 2026

    @andreasabel
    Member

    I'll release a fix to the setup action, removing the vanilla channel again.

  5. mpickering commented on Jan 12, 2026

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions