Skip to content

hls-eval-plugin test error in ubuntu related with interactive linking #2253

Closed
@jneira

Description

@jneira
  • there had been two builds failing in the eval plugin with:
Evaluation of expressions:                                                                          FAIL (1.55s)
    Test output was different from 'test/testdata/T1.expected.hs'. Output of ["git","-c","core.fileMode=false","diff","--no-index","--text","--exit-code","test/testdata/T1.expected.hs","/tmp/T1.expected84426-112.actual"]:
    diff --git a/test/testdata/T1.expected.hs b/tmp/T1.expected84426-112.actual
    index 622b9c1..8053d04 100644
    --- a/test/testdata/T1.expected.hs
    +++ b/tmp/T1.expected84426-112.actual
    @@ -3,6 +3,16 @@ module T1 where
     import Data.List (unwords)
     
     -- >>> unwords example
    --- "This is an example of evaluation"
    +-- <BLANKLINE>
    +-- ByteCodeLink.lookupCE
    +-- During interactive linking, GHCi couldn't find the following symbol:
    +--   interactive_Ghci1_evalPrint_closure
    +-- This may be due to you not asking GHCi to load extra object files,
    +-- archives or DLLs needed by your current session.  Restart GHCi, specifying
    +-- the missing library using the -L/path/to/object/dir and -lmissinglibname
    +-- flags, or simply by naming the relevant files on the GHCi command line.
    +-- Alternatively, this link failure might indicate a bug in GHCi.
    +-- If you suspect the latter, please send a bug report to:
    +--   [email protected]
     example :: [String]
     example = ["This","is","an","example","of","eva<truncated>
    Use --accept or increase --size-cutoff to see full output.
    Use -p '$0=="eval.Evaluation of expressions"' to rerun this test only.

for ghc-8.8.4

Maybe related with the recent update of github vms: https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F20210929.1

Haskell
    Cabal 3.6.0.0
    GHCup 0.1.17.1

Worths try updating the cache?

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous integrationcomponent: hls-eval-plugintype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions