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

snap-0.13.2.7 build fail #112

Closed
dmjio opened this issue Jun 12, 2014 · 5 comments
Closed

snap-0.13.2.7 build fail #112

dmjio opened this issue Jun 12, 2014 · 5 comments

Comments

@dmjio
Copy link

dmjio commented Jun 12, 2014

Getting this on a fresh install of snap. Any ideas?

Failed to install snap-0.13.2.7
Last 10 lines of the build log ( /Users/dmj/Desktop/re/.cabal-sandbox/logs/snap-0.13.2.7.log ):
Loading package zlib-0.5.4.1 ... linking ... done.
Loading package zlib-bindings-0.1.1.5 ... linking ... done.
Loading package zlib-enum-0.2.3.1 ... linking ... done.
Loading package snap-core-0.9.6.3 ... linking ... done.
Loading package snap-server-0.9.4.5 ... linking ... done.
Loading package old-time-1.1.0.2 ... linking ... done.
Loading package directory-tree-0.12.0 ... linking ... done.
src/Snap/Starter.hs:1:1:
    cannot find normal object file ‘dist/dist-sandbox-7b037bf8/build/snap/snap-tmp/Snap/StarterTH.dyn_o’
    while linking an interpreted expression
cabal: Error: some packages failed to install:
snap-0.13.2.7 failed during the building phase. The exception was:
ExitFailure 1
@mightybyte
Copy link
Member

Blow away your sandbox and try again?

@dmjio
Copy link
Author

dmjio commented Jun 12, 2014

Same thing... :/

@ChristopherBiscardi
Copy link
Member

I was able to successfully build 0.13.2.7 in a clean sandbox yesterday on OSX. I think I saw this after forcing a re-install recently but can't be sure.

@dmjio
Copy link
Author

dmjio commented Jun 13, 2014

K got it. Just a theory, but I had enable-executable-profiling : True in my cabal file. I don't think snap-init liked it.

@mightybyte
Copy link
Member

Ahh, that could be it. If you are doing executable profiling, you need to have library profiling enabled. And it has to be done before you install any of the dependencies.

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

3 participants