Skip to content

Fix the problem caused by the upgrading of SQLite 3.12.1#561

Closed
uuhan wants to merge 1 commit intoyesodweb:masterfrom
uuhan:master
Closed

Fix the problem caused by the upgrading of SQLite 3.12.1#561
uuhan wants to merge 1 commit intoyesodweb:masterfrom
uuhan:master

Conversation

@uuhan
Copy link

@uuhan uuhan commented May 16, 2016

ghc-mod failed to check haskell source file, which complains:

unknown symbol `stat64'

unknown symbol `fstat64'

unknown symbol `lstat64'

ghc-mod failed to check haskell source file, which complains:
    unknown symbol `stat64'
    unknown symbol `fstat64'
    unknown symbol `lstat64'
@snoyberg
Copy link
Member

This isn't the right way to fix this problem, we need ac45d80.

@snoyberg snoyberg closed this May 16, 2016
@snoyberg
Copy link
Member

BTW, the GHC issue is marked as resolved since GHC 7.8.1, so if you're still having an issue with this, I recommend commenting on:

https://ghc.haskell.org/trac/ghc/ticket/7072

There's no harm in reapplying the workaround, which I'm doing now.

snoyberg added a commit that referenced this pull request May 16, 2016
@snoyberg
Copy link
Member

Can you test out master before I make a release?

@uuhan
Copy link
Author

uuhan commented May 16, 2016

@snoyberg

I thested the master, and it worked well.

I have read the thread ahead, it seems not related to my circumstance. It works well when I run my program through runhaskell method.
However, the master solved my state64 missing problem. I just tested and do the fix with the persistent-sqlite-2.5 in hackage, not test the master before i pull this request.
persistent-sqlite-2.5.0.1 works well.

p.s. my ghc version is 7.10.3

@snoyberg
Copy link
Member

OK, new version 2.5.0.1 released.

On Mon, May 16, 2016 at 9:30 AM, uuhan [email protected] wrote:

@snoyberg https://github.com/snoyberg
I have read the thread https://ghc.haskell.org/trac/ghc/ticket/7072
ahead, it seems not related to my circumstance. It works well when I run my
program through runhaskell method.
However, the master solved my state64 missing problem. I just tested
and do the fix with the persistent-sqlite-2.5 in hackage, not test the
master.
persistent-sqlite-2.5.0.1 works well.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#561 (comment)

@borsboom
Copy link
Contributor

@snoyberg when Stack is built with persistent-sqlite-2.5.0.1 on OS X, it exits with this error when using Docker integration:

SQLite3 returned ErrorCan'tOpen while attempting to perform open "/Users/manny/.stack/docker.db".

persistent-sqlite-2.5 does not exhibit this behaviour.

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

Successfully merging this pull request may close these issues.

3 participants