-
Notifications
You must be signed in to change notification settings - Fork 15
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
Update to the resolver needed to run yesodweb.com on GHC 8.0.2 #21
Comments
seanwestfall
changed the title
Update for the resolver need to run yesodweb.com on Ghc 8.0.2
Update to the resolver needed to run yesodweb.com on GHC 8.0.2
May 13, 2017
Are you on Sierra? Building the site works fine for me with stack build.
(And building with cabal is not supported.)
…On Sat, May 13, 2017 at 5:13 AM, Sean Westfall ***@***.***> wrote:
Hey @snoyberg <https://github.com/snoyberg>,
Just wanted to mention that in order to build/run yesodweb.com on Ghc
8.0.2 you need to update the resolver property to lts-8.13 in the
stack.yaml file from lts-6.11.
cabal install produces this error:
cabal install
Warning: Constraint refers to an unknown package: bin-package-db installed
(user config /Users/Sean/misc/yesodweb.com/cabal.config)
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: base-4.9.1.0/installed-4.9... (dependency of yesodweb-0.1.0)
next goal: classy-prelude (dependency of yesodweb-0.1.0)
rejecting: classy-prelude-1.2.0.1, classy-prelude-1.2.0, classy-prelude-1.0.2,
classy-prelude-1.0.1, classy-prelude-1.0.0.2, classy-prelude-1.0.0.1,
classy-prelude-1.0.0, classy-prelude-0.12.8, classy-prelude-0.12.7,
classy-prelude-0.12.6, classy-prelude-0.12.5.1, classy-prelude-0.12.5,
classy-prelude-0.12.4, classy-prelude-0.12.3, classy-prelude-0.12.1.1,
classy-prelude-0.12.1, classy-prelude-0.12.0.1, classy-prelude-0.12.0,
classy-prelude-0.11.1.1 (constraint from user config
/Users/Sean/misc/yesodweb.com/cabal.config requires ==0.11.1)
trying: classy-prelude-0.11.1
next goal: primitive (dependency of classy-prelude-0.11.1)
rejecting: primitive-0.6.2.0/installed-457..., primitive-0.6.2.0,
primitive-0.6.1.0, primitive-0.5.4.0, primitive-0.5.3.0, primitive-0.5.2.1,
primitive-0.5.1.0, primitive-0.5.0.1, primitive-0.5, primitive-0.4.1,
primitive-0.4.0.1, primitive-0.4, primitive-0.3.1, primitive-0.3,
primitive-0.2.1, primitive-0.2, primitive-0.1 (constraint from user config
/Users/Sean/misc/yesodweb.com/cabal.config requires ==0.6)
rejecting: primitive-0.6 (conflict: base==4.9.1.0/installed-4.9..., primitive
=> base>=4.3 && <4.9)
Dependency tree exhaustively searched.
and building with stack with the old resolver property leads to this error:
[ 4 of 12] Compiling Yesod.Auth ( Yesod/Auth.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Yesod/Auth.o )
ghc: panic! (the 'impossible' happened)
(GHC version 7.10.3 for x86_64-apple-darwin):
Loading temp shared object failed: dlopen(/var/folders/6n/t563zg9s3v78qtnjndr5f5gh0000gn/T/ghc29344_0/libghc_21.dylib, 5): no suitable image found. Did find:
/var/folders/6n/t563zg9s3v78qtnjndr5f5gh0000gn/T/ghc29344_0/libghc_21.dylib: malformed mach-o: load commands size (35488) > 32768
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBBwkD-nLhzzp0AWfEIUx2tlgAKC6Fks5r5RHCgaJpZM4NZ7oy>
.
|
@snoyberg Sorry, finally getting back to this. I'm using both OpenBSD 6.0 and macOS Sierra version 10.12.3. I needed to update to resolver to build on both. For OpenBSD 6.0 $ uname -a
OpenBSD *** 6.0 GENERIC.MP#2319 amd64 for macOS Sierra $ uname -a
Darwin Seans-MacBook-Pro.local 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64 maybe it's not that important, but it might be worthwhile to leave a note, like, update the resolver if you see stack build errors, some where incase someone else runs into this problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @snoyberg,
Just wanted to mention that in order to build/run yesodweb.com on Ghc 8.0.2 you need to update the resolver property to
lts-8.13
in the stack.yaml file fromlts-6.11
.cabal install
produces this error:and building with stack with the old resolver property leads to this error:
The text was updated successfully, but these errors were encountered: