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

Cannot build on Linux #66

Open
l1x opened this issue Dec 25, 2021 · 1 comment
Open

Cannot build on Linux #66

l1x opened this issue Dec 25, 2021 · 1 comment

Comments

@l1x
Copy link

l1x commented Dec 25, 2021

Hi,

Not sure how to debug this further:

2021-12-25 09:10:31.523860: [debug] DELETE FROM "config_cache_dep" WHERE ("config_cache_id"=?) AND (1=2); [PersistInt64 72]
2021-12-25 09:10:31.524114: [debug] INSERT INTO "config_cache_dep"("config_cache_id","ghc_pkg_id") VALUES (?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?),(?,?); [PersistInt64 72,PersistText "attoparsec-0.13.2.5-8izDPW0DwnMA1uBRNCYnOn",PersistInt64 72,PersistText "base-4.14.3.0",PersistInt64 72,PersistText "base-compat-batteries-0.11.2-HPR8QMODFI5Gebhw95qXlx",PersistInt64 72,PersistText "bytestring-0.10.12.0",PersistInt64 72,PersistText "containers-0.6.5.1",PersistInt64 72,PersistText "data-fix-0.3.2-76ZOVqlzfd36ysdLOvsMiH",PersistInt64 72,PersistText "deepseq-1.4.4.0",PersistInt64 72,PersistText "dlist-1.0-Q0EloVGbxo56qRCXLrvwb",PersistInt64 72,PersistText "ghc-prim-0.6.1",PersistInt64 72,PersistText "hashable-1.3.0.0-48nQGhB14xmEiMcOs1PHxb",PersistInt64 72,PersistText "primitive-0.7.3.0-HMedJdQUTCQ79SiIUfisnA",PersistInt64 72,PersistText "scientific-0.3.7.0-EUZZqwADHqZGCpstxNmUR7",PersistInt64 72,PersistText "strict-0.4.0.1-1aHAlXNc3zpJLTL7d8gALJ",PersistInt64 72,PersistText "tagged-0.8.6.1-HAjNeIkiYpIE28bnkAmrHX",PersistInt64 72,PersistText "template-haskell-2.16.0.0",PersistInt64 72,PersistText "text-1.2.4.1",PersistInt64 72,PersistText "th-abstraction-0.4.3.0-FMje8SMcvo6Ej3bhfOvFnc",PersistInt64 72,PersistText "these-1.1.1.1-KEl34bEIDAEbPk5nietj6",PersistInt64 72,PersistText "time-1.9.3",PersistInt64 72,PersistText "time-compat-1.9.5-Es4ydaKWBKl95RJnH6F0cM",PersistInt64 72,PersistText "unordered-containers-0.2.15.0-EZ2TLJpsEZLJvcZXANTMWq",PersistInt64 72,PersistText "uuid-types-1.0.5-7ZQexJPxNWwLPUlSo11fm",PersistInt64 72,PersistText "vector-0.12.3.1-2QhxFayEJrmJ3PNYTgAmQ3"]
2021-12-25 09:10:31.543750: [error]
--  While building package mono-traversable-1.0.15.3 using:
      /home/l1x/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_3.2.1.0_ghc-8.10.7 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-3.2.1.0 build --ghc-options " -fdiagnostics-color=always"
    Process exited with code: ExitFailure (-4)
Progress 46/55
2021-12-25 10:10:31.657030: [debug] Run process: /usr/bin/docker rm -f 0a04d179d304d5a59db46100969e3510b411e8c206435cc2c1c1c6420087c2a0
2021-12-25 10:10:31.709661: [debug] Process finished in 52ms: /usr/bin/docker rm -f 0a04d179d304d5a59db46100969e3510b411e8c206435cc2c1c1c6420087c2a0

[error]
-- While building package mono-traversable-1.0.15.3 using

ghc/stable,now 8.8.4-2 amd64 [installed]
haskell-stack/stable,now 2.3.3-1 amd64 [installed]

@l1x
Copy link
Author

l1x commented Dec 25, 2021

The following makes it possible to build the project on Linux (Debian 11):

cabal build --minimize-conflict-set --allow-newer=base --allow-newer=yaml

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

1 participant