Skip to content
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

default to gtk3; tests hang on server #9

Closed
juhp opened this issue Mar 27, 2016 · 5 comments
Closed

default to gtk3; tests hang on server #9

juhp opened this issue Mar 27, 2016 · 5 comments

Comments

@juhp
Copy link

juhp commented Mar 27, 2016

Preprocessing test suite 'test-tool' for jsaddle-0.3.0.1...
[1 of 1] Compiling Main             ( tests/DocTest.hs, dist/build/test-tool/test-tool-tmp/Main.o )
Linking dist/build/test-tool/test-tool ...
> /tmp/stackage-build8/jsaddle-0.3.0.1$ dist/build/test-tool/test-tool

src/Language/Javascript/JSaddle/Monad.hs:50:8:
    Ambiguous module name ‘Graphics.UI.Gtk.General.General’:
      it was found in multiple packages:
      gtk3-0.14.2@gtk3_LQL6kFfZwEeK6nO9fGGRs5 gtk-0.14.2@gtk_IthCkrmZyC49kGQu4HvvO2

src/Language/Javascript/JSaddle/Test.hs:22:8:
    Ambiguous module name ‘Graphics.UI.Gtk’:
      it was found in multiple packages:
      gtk3-0.14.2@gtk3_LQL6kFfZwEeK6nO9fGGRs5 gtk-0.14.2@gtk_IthCkrmZyC49kGQu4HvvO2

src/Language/Javascript/JSaddle/Test.hs:31:8:
    Ambiguous module name ‘Graphics.UI.Gtk.General.Enums’:
      it was found in multiple packages:
      gtk3-0.14.2@gtk3_LQL6kFfZwEeK6nO9fGGRs5 gtk-0.14.2@gtk_IthCkrmZyC49kGQu4HvvO2
juhp added a commit to commercialhaskell/stackage that referenced this issue Mar 27, 2016
juhp added a commit to commercialhaskell/stackage that referenced this issue Mar 27, 2016
@juhp
Copy link
Author

juhp commented Mar 28, 2016

"stack --resolver nightly build"s okay for me locally even with gtk3 and gtk installed, so I don't really understand why it failed in Stackage Nightly. (Even I tried to set the gtk3 flag in Stackage but that didn't seem to help either.)

@hamishmack
Copy link
Member

This along with some other problems with the cabal test for this package have been fixed in 0.3.0.2 (just uploaded to hackage). You may need to use xvfb-run to run cabal test though because it will hang trying to connect to X11 if it can't.

juhp added a commit to commercialhaskell/stackage that referenced this issue Mar 29, 2016
should be fixed in 0.3.0.2

This reverts commit 29fea2d.
@juhp
Copy link
Author

juhp commented Mar 29, 2016

Thanks Hamish - it built fine, but unfortunately the testsuite timed out:

jsaddle: Test suite timed out: jsaddle-0.3.0.2:test-tool

@juhp
Copy link
Author

juhp commented Mar 29, 2016

I'll open a separate ticket about the testsuite.

@juhp juhp closed this as completed Mar 29, 2016
juhp added a commit to commercialhaskell/stackage that referenced this issue Mar 30, 2016
they need an virtual framebuffer to run headless
@juhp
Copy link
Author

juhp commented Mar 30, 2016

Ah I see your comment now about xvfb-run - I guess that explains the timeout in Stackage.
We generally ignore tests that need a system service/program running to work.
So I think I will just skip the tests in Stackage for now.

@juhp juhp changed the title default to gtk3? default to gtk3; tests hang on server Mar 30, 2016
matthewbauer added a commit to obsidiansystems/stackage that referenced this issue Dec 2, 2019
- ghcjs/jsaddle#9 has been fixed
- dependent-sum and dependent-map now work with constraint-extra-0.3.
juhp added a commit to commercialhaskell/stackage that referenced this issue Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants