GrammaticalFramework / gf-core

Grammatical Framework core: compiler, shell & runtimes
https://www.grammaticalframework.org
Other
131 stars 35 forks source link

Build fails since e4b2f281 (but works on my computer) #137

Closed inariksit closed 2 years ago

inariksit commented 2 years ago

The latest commit, e4b2f281d97f97317df37b5e296cea371c334f3, seems to have broken something according to GitHub Actions build checks:

Screenshot 2022-03-05 at 07 37 40

It goes through building Ubuntu and macOS binaries and building the Python package, but fails at the stack check, which is "Build with stack and cabal / stack / ghc 7.10.3". It skips the other tests, so it's unclear whether this is a stack issue, or specifically ghc 7.10.3 issue.

On my computer, I tested with several ghc versions and all work. Also, the pull request #135 , which builds on top of the latest master, compiles on my computer with ghc 7.10.3. So it would be good to figure out the issue on the build server.

anka-213 commented 2 years ago

This seems to be the issue: https://github.com/commercialhaskell/stack/blob/255cd830627870cdef34b5e54d670ef07882523e/doc/faq.md#i-get-strange-ld-errors-about-recompiling-with--fpic