-
Notifications
You must be signed in to change notification settings - Fork 710
Regression test T4025 fails (macOS) #7610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
At this PR, I didn't find anything I could recognize as connected to the OP. Should T4025 be retired then, or do I have to configure my machine in a special way to get it passed? |
Uh, apologies, github is auto-suggesting when I press '#' and changing the number. The ticket is #7236. I guess it would be great to get to the bottom of that and open a ticket [edit: doh, this is the ticket :)]. In particular, it would help understand why it passes in OSX CIs, but not on your machine. |
#6688 could be related. |
I wonder if it has to do with the OS on the builders vs user machines. Just ran into this myself (big sur) |
The last call to
I wonder whether
should be exactly not passed to the linker in this testcase, so that local dynlibs are not found. |
More information in #7988. |
Failures are tracked in issues haskell#7610 haskell#7987 haskell#7989
Failures are tracked in issues haskell#7610 haskell#7987 haskell#7989 haskell#8028
Failures are tracked in issues haskell#7610 haskell#7987 haskell#7989 haskell#8028 haskell#8032
Failures are tracked in issues haskell#7610 haskell#7987 haskell#7989 haskell#8028 haskell#8032
Failures are tracked in issues haskell#7610 haskell#7987 haskell#7989 haskell#8028 haskell#8032
Failures are tracked in issues haskell#7610 haskell#7987 haskell#7989 haskell#8028 haskell#8032
The reason why this test succeeds on macOS is that there exists some special logic in GHC ( I also mentioned it here: #9784 (comment), where I am investigating an Agda build failure caused by the inplace dir not being in the RPATH. Regarding previous comments about flags being ignored: those issues have been fixed by #9697 |
The regression test for #4025 fails for me (macOS Mojave). The report is:
The intention of the test is to build an executable using
--enable-executable-dynamic
that is then not supposed to run because it is not supposed to find a dynamic component.However, on my system the executable does run successfully and prints its output
23
.(The rest of the
cabal-testsuite
passes...)The test script explains the purpose of the test:
cabal/cabal-testsuite/PackageTests/Regression/T4025/setup.test.hs
Lines 2 to 13 in 95a9241
Just to make sure, the generated exe does depend on the dylib:
I am however puzzled why such an innocent looking project should not just work with
--enable-executable-dynamic
:cabal/cabal-testsuite/PackageTests/Regression/T4025/T4025.cabal
Lines 1 to 15 in 95a9241
The text was updated successfully, but these errors were encountered: