You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test passes and you can see the linker complaining.
Linking setup.dist/work/dist/build/exe/exe ...
+ /Users/andrea/code/cabal/cabal-testsuite/PackageTests/Regression/T4025/setup.dist/work/./dist/build/exe/exe
dyld[39050]: Library not loaded: @rpath/libHST4025-1.0-ghc8.8.4.dylib
Referenced from: /Users/andrea/code/cabal/cabal-testsuite/PackageTests/Regression/T4025/setup.dist/work/dist/build/exe/exe
Reason: tried: '/Users/andrea/code/cabal/cabal-testsuite/PackageTests/Regression/T4025/setup.dist/usr/lib/x86_64-osx-ghc-8.8.4/libHST4025-1.0-ghc8.8.4.dylib' (no such file), '/Users/andrea/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/base-4.13.0.0/libHST4025-1.0-ghc8.8.4.dylib' (no such file), '/Users/andrea/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/ghc-prim-0.5.3/libHST4025-1.0-ghc8.8.4.dylib' (no such file), '/Users/andrea/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/integer-gmp-1.0.2.0/libHST4025-1.0-ghc8.8.4.dylib' (no such file), '/Users/andrea/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/rts/libHST4025-1.0-ghc8.8.4.dylib' (no such file), '/Users/andrea/code/cabal/cabal-testsuite/PackageTests/Regression/T4025/setup.dist/usr/lib/x86_64-osx-ghc-8.8.4/libHST4025-1.0-ghc8.8.4.dylib' (no such file), '/Users/andrea/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/base-4.13.0.0/libHST4025-1.0-ghc8.8.4.dylib' (no such file), '/Users/andrea/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/ghc-prim-0.5.3/libHST4025-1.0-ghc8.8.4.dylib' (no such file), '/Users/andrea/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/integer-gmp-1.0.2.0/libHST4025-1.0-ghc8.8.4.dylib' (no such file), '/Users/andrea/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/rts/libHST4025-1.0-ghc8.8.4.dylib' (no such file), '/usr/local/lib/libHST4025-1.0-ghc8.8.4.dylib' (no such file), '/usr/lib/libHST4025-1.0-ghc8.8.4.dylib' (no such file)
The text was updated successfully, but these errors were encountered:
The test
PackageTests/Regression/T4025/setup.test.hs
fails on MacOS with some GHC versions.GHC versions known to fail
GHC versions known to pass
The test cases checks makes sure we do not set the RPATH accidentally. Therefore the test crafts an executable and expects it to fail to run.
cabal/cabal-testsuite/PackageTests/Regression/T4025/setup.test.hs
Lines 9 to 13 in dd7a18d
Comparing these two locally, the RPATH is not set with GHC 8.8.4 but it is set with GHC 8.10.7
With GHC 8.10.7
The test fails and the RPATH is set
With GHC 8.8.4
The test passes and you can see the linker complaining.
The text was updated successfully, but these errors were encountered: