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

test suite not building for stackage #153

Open
cdornan opened this issue Jun 27, 2020 · 0 comments
Open

test suite not building for stackage #153

cdornan opened this issue Jun 27, 2020 · 0 comments

Comments

@cdornan
Copy link

cdornan commented Jun 27, 2020

The tests are failing to build for stackage nightly (GHC 8.10.1) and we have marked the dns tests as failing. If you fix this and want to reenable tests on stackage drop us a line.

Test suite failure for package dns-4.0.1
    doctests:  exited with: ExitFailure 1
Full log available at /var/stackage/work/unpack-dir/.stack-work/logs/dns-4.0.1-test.log



    internal/Network/DNS/Base32Hex.hs:3:1: error:
        Could not load module ‘Data.Array.MArray’
        It is a member of the hidden package ‘array-0.5.4.0’.
        You can run ‘:set -package array’ to expose it.
        (Note: this unloads all the modules in the current scope.)
        Use -v (or `:set -v` in ghci) to see a list of the files searched for.

    internal/Network/DNS/Base32Hex.hs:4:1: error:
        Could not load module ‘Data.Array.IArray’
        It is a member of the hidden package ‘array-0.5.4.0’.
        You can run ‘:set -package array’ to expose it.
        (Note: this unloads all the modules in the current scope.)
        Use -v (or `:set -v` in ghci) to see a list of the files searched for.

    internal/Network/DNS/Base32Hex.hs:5:1: error:
        Could not load module ‘Data.Array.ST’
        It is a member of the hidden package ‘array-0.5.4.0’.
        You can run ‘:set -package array’ to expose it.
        (Note: this unloads all the modules in the current scope.)
        Use -v (or `:set -v` in ghci) to see a list of the files searched for.
    Network/DNS.hs:11: failure in expression `rs <- makeResolvSeed defaultResolvConf'
    expected:
     but got:
              ^
              <interactive>:23:7: error:
                  Variable not in scope: makeResolvSeed :: t0 -> IO a0

              <interactive>:23:22: error:
                  Variable not in scope: defaultResolvConf

    ./Network/DNS/Utils.hs:21: failure in expression `let domain1 = BS.pack "ExAmPlE.COM"'
    expected:
     but got:
              ^
              <interactive>:29:15: error:
                  Not in scope: ‘BS.pack’
                  No module named ‘BS’ is imported.

    ./Network/DNS/Utils.hs:54: failure in expression `let domain1 = BS.pack "ExAmPlE.COM"'
    expected:
     but got:
              ^
              <interactive>:35:15: error:
                  Not in scope: ‘BS.pack’
                  No module named ‘BS’ is imported.
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

1 participant