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

Build failure with GHC 8 #7

Closed
snoyberg opened this issue May 26, 2016 · 2 comments
Closed

Build failure with GHC 8 #7

snoyberg opened this issue May 26, 2016 · 2 comments

Comments

@snoyberg
Copy link
Contributor

> /tmp/stackage-build8$ stack unpack data-lens-light-0.1.2.1
Unpacked data-lens-light-0.1.2.1 to /tmp/stackage-build8/data-lens-light-0.1.2.1/
> /tmp/stackage-build8/data-lens-light-0.1.2.1$ runghc -clear-package-db -global-package-db -package-db=/home/stackage/work/builds/nightly/pkgdb Setup configure --package-db=clear --package-db=global --package-db=/home/stackage/work/builds/nightly/pkgdb --libdir=/home/stackage/work/builds/nightly/lib --bindir=/home/stackage/work/builds/nightly/bin --datadir=/home/stackage/work/builds/nightly/share --libexecdir=/home/stackage/work/builds/nightly/libexec --sysconfdir=/home/stackage/work/builds/nightly/etc --docdir=/home/stackage/work/builds/nightly/doc/data-lens-light-0.1.2.1 --htmldir=/home/stackage/work/builds/nightly/doc/data-lens-light-0.1.2.1 --haddockdir=/home/stackage/work/builds/nightly/doc/data-lens-light-0.1.2.1 --flags=
Configuring data-lens-light-0.1.2.1...
> /tmp/stackage-build8/data-lens-light-0.1.2.1$ runghc -clear-package-db -global-package-db -package-db=/home/stackage/work/builds/nightly/pkgdb Setup build
Building data-lens-light-0.1.2.1...
Preprocessing library data-lens-light-0.1.2.1...
[1 of 4] Compiling Data.Lens.Light.Core ( src/Data/Lens/Light/Core.hs, dist/build/Data/Lens/Light/Core.o )
[2 of 4] Compiling Data.Lens.Light.Template ( src/Data/Lens/Light/Template.hs, dist/build/Data/Lens/Light/Template.o )

src/Data/Lens/Light/Template.hs:87:18: error:
    • The constructor ‘DataD’ should have 6 arguments, but has been given 5
    • In the pattern: DataD _ _ params cons' _
      In a case alternative:
          DataD _ _ params cons' _ -> return (params, cons')
      In a stmt of a 'do' block:
        (params, cons) <- case dec of {
                            DataD _ _ params cons' _ -> return (params, cons')
                            NewtypeD _ _ params con' _ -> return (params, [con'])
                            _ -> fail $ errmsg t }
@UnkindPartition
Copy link
Owner

Thanks!

Btw, here's what I saw during stack upload:

% stack upload .
Warning (added by new or init): Specified resolver could not satisfy all dependencies. Some external packages have been added as dependencies.
You can suppress this message by removing it from stack.yaml

Getting file list for /home/feuerbach/prog/data-lens-light/
Building sdist tarball for /home/feuerbach/prog/data-lens-light/
Checking package 'data-lens-light' for common mistakes
Uploading data-lens-light-0.1.2.2.tar.gz... done!
Signing /tmp/stack4725/data-lens-light-0.1.2.2.tar.gz
Error signing with GPG 
gpg: signing failed: Operation cancelled
gpg: signing failed: Operation cancelled

I'm reluctant to file a bug on stack, since this is probably not the latest version of it, but I thought I'd let you know anyway.

% stack --version              
Version 1.0.5, Git revision de853a887699c99180946e8992900b74d860985c (dirty) (3458 commits) x86_64 hpack-0.12.0

@snoyberg
Copy link
Contributor Author

Awesome, I'll add it back to Stackage Nightly.

There were some bugs with the GPG signing in the first release, which should be fixed now (it's working at least for me).

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