-
Notifications
You must be signed in to change notification settings - Fork 11
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
GHCi runtime linker: duplicate definition for symbol _getProcessExitCode #34
Comments
I don't think you're using buildWrapper in a different way than supposed, no, but I think you must be the only one using BuildWrapper directly and not as support forEclipseFP. Anyway, do you have several versions of process installed? Or, run the full test suite that comes with BuildWrapper. This of course I launch after every change, so it would tell you if everything is ok with buildwrapper. All tests in the test suite should pass. |
I had two versions of process installed. Not sure how I got the second, but I removed that and the
Is the test suite expected to take 10+ minutes? |
Yes, probably, the test suite takes a little while because to test, we have to go through the buildwrapper executable, we can't test the API directly (because of the way the GHC API works: you can only set some static flags once). |
I started a sandbox for buildwrapper and ran individual parts of the test suite. ImportsTests work and run quickly. CabalDevTests fail pretty quickly on both tests and the reason is that I don't have cabal-dev installed. I ran CMDTests for 3 hours and after that I aborted. There is no active process and no visible CPU-usage, and no error message. This is all I see on my screen until I abort:
Running cabal -v3 test gives a lot of output, but that output is relating to the compilation happening before the actual test runs, not the tests themselves. The output file is apparently only written after I abort, so there's no obvious way to snoop on the test process. A random idea is that |
All the tests use htfpp, so if some tests run quickly, it's not the culprit. 3 hours seem excessive, yes (-:. |
Sorry for all the bug reports but here's what I get on a clean checkout of latest BulidWrapper:
Ok, so build everything did not work for some reason. Let's try a single file:
Same thing happens with
--file=.../Src.hs
,--file=.../Packages.hs
and so on.After this happened I removed my installed version of buildwrapper and dynamic-cabal and installed the latest dynamic-cabal from hackage. After that I ran cabal clean in the tree of buildwrapper and installed a new version. After that I ran
cabal clean
andrm -rf .dist-buildwrapper
before reproducing the problem again.Am I using buildwrapper in ways that it wasn't designed to be used, or is it my system that is acting up? I have a standard installation of GHC 7.6.3 through Homebrew and after that I've run cabal install for getting my Haskell dependencies.
The text was updated successfully, but these errors were encountered: