-
Notifications
You must be signed in to change notification settings - Fork 77
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
Unable to install using cabal #132
Comments
Barring a possibility that something's horribly broken, I would guess that it's some sort of mismatch in GHC verisons, so check that. Only GHC 8.0 is supported at the moment (and I probably should reflect that in version constraints) |
I do seem to have ghc 8 installed, and a bunch of other stuff too: rpm -qa \*ghc\*
ghc-mmorph-1.0.9-1.fc26.x86_64
ghc-old-locale-1.0.0.7-3.fc26.x86_64
ghc-unix-devel-2.7.2.1-57.fc26.x86_64
ghc-bytestring-0.10.8.1-57.fc26.x86_64
ghc-random-1.1-3.fc26.x86_64
ghc-texmath-0.9.1-1.fc26.x86_64
ghc-containers-devel-0.5.7.1-57.fc26.x86_64
ghc-base-4.9.1.0-57.fc26.x86_64
ghc-aeson-1.0.2.1-5.fc26.x86_64
ghc-yaml-0.8.21.2-1.fc26.x86_64
ghc-pretty-devel-1.1.3.3-57.fc26.x86_64
ghc-base-compat-0.9.1-4.fc26.x86_64
ghc-semigroups-0.18.2-1.fc26.x86_64
ghc-attoparsec-0.13.1.0-1.fc26.x86_64
ghc-digest-0.0.1.2-9.fc26.x86_64
ghc-ghci-8.0.2-57.fc26.x86_64
ghc-ghc-boot-devel-8.0.2-57.fc26.x86_64
ghc-filepath-1.4.1.1-57.fc26.x86_64
ghc-network-2.6.3.1-1.fc26.x86_64
ghc-terminfo-0.4.0.2-57.fc26.x86_64
ghc-hpc-devel-0.6.0.3-57.fc26.x86_64
ghc-integer-logarithms-1.0.1-1.fc26.x86_64
ghc-data-default-instances-dlist-0.0.1-1.fc26.x86_64
ghc-tar-0.5.0.3-3.fc26.x86_64
ghc-ghci-devel-8.0.2-57.fc26.x86_64
ghc-vector-0.11.0.0-3.fc26.x86_64
ghc-data-default-instances-old-locale-0.0.1-1.fc26.x86_64
ghc-pandoc-1.19.1-1.fc26.x86_64
ghc-ghc-8.0.2-57.fc26.x86_64
ghc-libraries-8.0.2-57.fc26.x86_64
ghc-template-haskell-2.11.1.0-57.fc26.x86_64
ghc-syb-0.6-3.fc26.x86_64
ghc-base64-bytestring-1.0.0.1-10.fc26.x86_64
ghc-unix-2.7.2.1-57.fc26.x86_64
ghc-QuickCheck-2.9.2-1.fc26.x86_64
ghc-tagsoup-0.14-1.fc26.x86_64
ghc-base-devel-4.9.1.0-57.fc26.x86_64
ghc-time-1.6.0.1-57.fc26.x86_64
ghc-tf-random-0.5-6.fc26.x86_64
ghc-doctemplates-0.1.0.2-1.fc26.x86_64
ghc-bytestring-devel-0.10.8.1-57.fc26.x86_64
ghc-containers-0.5.7.1-57.fc26.x86_64
ghc-data-default-class-0.1.2.0-1.fc26.x86_64
ghc-HTTP-4000.3.5-1.fc26.x86_64
ghc-filepath-devel-1.4.1.1-57.fc26.x86_64
ghc-deepseq-1.4.2.0-57.fc26.x86_64
ghc-exceptions-0.8.3-1.fc26.x86_64
ghc-zip-archive-0.3.0.5-1.fc26.x86_64
ghc-binary-devel-0.8.3.0-57.fc26.x86_64
ghc-time-locale-compat-0.1.1.3-5.fc26.x86_64
ghc-cmark-0.5.5-1.fc26.x86_64
ghc-srpm-macros-1.4.2-5.fc26.noarch
ghc-Cabal-devel-1.24.2.0-57.fc26.x86_64
ghc-tagged-0.8.5-1.fc26.x86_64
ghc-utf8-string-1.0.1.1-3.fc26.x86_64
ghc-Cabal-1.24.2.0-57.fc26.x86_64
ghc-transformers-devel-0.5.2.0-57.fc26.x86_64
ghc-monad-control-1.0.1.0-3.fc26.x86_64
ghc-xml-1.3.14-4.fc26.x86_64
ghc-ed25519-0.0.5.0-3.fc26.x86_64
ghc-template-haskell-devel-2.11.1.0-57.fc26.x86_64
ghc-transformers-base-0.4.4-5.fc26.x86_64
ghc-network-uri-2.6.1.0-4.fc26.x86_64
ghc-hpc-0.6.0.3-57.fc26.x86_64
ghc-hoopl-devel-3.10.2.1-57.fc26.x86_64
ghc-dlist-0.8.0.2-1.fc26.x86_64
ghc-data-default-instances-containers-0.0.1-1.fc26.x86_64
ghc-base16-bytestring-0.1.1.6-6.fc26.x86_64
ghc-ghc-devel-8.0.2-57.fc26.x86_64
ghc-stm-2.4.4.1-1.fc26.x86_64
ghc-conduit-1.2.9-1.fc26.x86_64
ghc-extensible-exceptions-0.1.1.4-20.fc26.x86_64
ghc-haskeline-0.7.3.0-57.fc26.x86_64
ghc-doc-index-8.0.2-57.fc26.x86_64
ghc-ghc-boot-th-8.0.2-57.fc26.x86_64
ghc-zlib-0.6.1.2-1.fc26.x86_64
ghc-haddock-library-1.4.2-1.fc26.x86_64
ghc-xhtml-3000.2.1-57.fc26.x86_64
ghc-transformers-compat-0.5.1.4-1.fc26.x86_64
ghc-resourcet-1.1.9-1.fc26.x86_64
ghc-process-1.4.3.0-57.fc26.x86_64
ghc-array-devel-0.5.1.1-57.fc26.x86_64
ghc-text-1.2.2.1-3.fc26.x86_64
ghc-blaze-markup-0.7.1.1-1.fc26.x86_64
ghc-JuicyPixels-3.2.8-1.fc26.x86_64
ghc-time-devel-1.6.0.1-57.fc26.x86_64
ghc-transformers-0.5.2.0-57.fc26.x86_64
ghc-blaze-builder-0.4.0.2-1.fc26.x86_64
ghc-filemanip-0.3.6.3-4.fc26.x86_64
ghc-directory-devel-1.3.0.0-57.fc26.x86_64
ghc-array-0.5.1.1-57.fc26.x86_64
ghc-lifted-base-0.2.3.10-1.fc26.x86_64
ghc-highlighting-kate-0.6.4-1.fc26.x86_64
ghc-process-devel-1.4.3.0-57.fc26.x86_64
ghc-parsec-3.1.11-3.fc26.x86_64
ghc-async-2.1.1-1.fc26.x86_64
ghc-unordered-containers-0.2.7.2-1.fc26.x86_64
ghc-pcre-light-0.4.0.4-3.fc26.x86_64
ghc-ghc-boot-8.0.2-57.fc26.x86_64
ghc-ghc-boot-th-devel-8.0.2-57.fc26.x86_64
ghc-directory-1.3.0.0-57.fc26.x86_64
ghc-unix-compat-0.4.3.1-1.fc26.x86_64
ghc-cryptohash-sha256-0.11.100.1-3.fc26.x86_64
ghc-terminfo-devel-0.4.0.2-57.fc26.x86_64
ghc-scientific-0.3.4.10-1.fc26.x86_64
ghc-enclosed-exceptions-1.0.2-5.fc26.x86_64
ghc-hoopl-3.10.2.1-57.fc26.x86_64
ghc-haskeline-devel-0.7.3.0-57.fc26.x86_64
ghc-hashable-1.2.5.0-1.fc26.x86_64
ghc-old-time-1.1.0.3-3.fc26.x86_64
ghc-hackage-security-0.5.2.2-3.fc26.x86_64
ghc-xhtml-devel-3000.2.1-57.fc26.x86_64
ghc-primitive-0.6.1.0-3.fc26.x86_64
ghc-pandoc-types-1.17.0.5-1.fc26.x86_64
ghc-hslua-0.4.1-3.fc26.x86_64
ghc-8.0.2-57.fc26.x86_64
ghc-pretty-1.1.3.3-57.fc26.x86_64
ghc-blaze-html-0.8.1.3-1.fc26.x86_64
ghc-SHA-1.6.4.2-3.fc26.x86_64
ghc-compiler-8.0.2-57.fc26.x86_64
ghc-mtl-2.2.1-3.fc26.x86_64
ghc-temporary-1.2.0.4-3.fc26.x86_64
ghc-deepseq-devel-1.4.2.0-57.fc26.x86_64
ghc-binary-0.8.3.0-57.fc26.x86_64
ghc-data-default-0.7.1.1-1.fc26.x86_64
Maybe the system ghc-packages are causing it somehow? |
Not sure, most of those look reasonable. Well, I'm pretty sure it builds with 8.0.2 with cabal 1.24.x: https://gitlab.livid.pp.ru/lierdakil/pandoc-crossref/-/jobs/210 Also just built from Hackage on my machine:
So, no idea of what's going wrong for you. Try sandboxing if you aren't already ( You might consider giving prebuilt executable a try. https://github.com/lierdakil/pandoc-crossref/releases/tag/v0.2.6.0 -- linux-ghc8-pandoc-1-19.tar.gz would contain a linux (x64) binary. It's built on Travis, which uses Ubuntu, so there might be some problems in terms of dynamic libraries, but it might be worth a try. |
Same issue on my machine (Fedora 26)
|
Still no idea why that happens, but try building from git clone -b generic-th https://github.com/lierdakil/pandoc-crossref
cd pandoc-crossref
cabal update
cabal sandbox init
cabal install --only-dependencies --enable-tests
cabal configure --enable-tests
cabal build
cabal test Running tests is kinda mandatory, assuming it builds, since I have no idea what's going wrong, so no guarantees it works as intended if it builds. |
Just wanted to report -- no time to invest in running the tests, since I have alternative filters that work on my machine for the same task. |
Well, bollocks. Suit yourself. |
@lierdakil - I gave it a go on F27 now. Here's what I got: [asinha@cs-as14aho-2-herts-ac-uk pandoc-crossref(generic-th=)]$ cabal update; cabal sandbox init; cabal install --only-dependencies --enable-tests; cabal configure --enable-tests; cabal build
Config file path source is default config file.
Config file /home/asinha/.cabal/config not found.
Writing default configuration to /home/asinha/.cabal/config
Downloading the latest package list from hackage.haskell.org
Writing a default package environment file to
/home/asinha/dump/pandoc-crossref/cabal.sandbox.config
Creating a new sandbox at /home/asinha/dump/pandoc-crossref/.cabal-sandbox
Resolving dependencies...
Notice: installing into a sandbox located at
/home/asinha/dump/pandoc-crossref/.cabal-sandbox
Downloading SHA-1.6.4.2...
Downloading base-compat-0.9.3...
Downloading base-unicode-symbols-0.2.2.4...
Configuring base-compat-0.9.3...
Downloading base64-bytestring-1.0.0.1...
Configuring SHA-1.6.4.2...
Building base-compat-0.9.3...
Downloading basement-0.0.3...
Configuring base-unicode-symbols-0.2.2.4...
Building SHA-1.6.4.2...
Building base-unicode-symbols-0.2.2.4...
Downloading byteable-0.1.1...
Configuring base64-bytestring-1.0.0.1...
Downloading call-stack-0.1.0...
Configuring byteable-0.1.1...
Downloading cereal-0.5.4.0...
Configuring basement-0.0.3...
Building base64-bytestring-1.0.0.1...
Building byteable-0.1.1...
Downloading colour-2.3.3...
Configuring call-stack-0.1.0...
Installed base-unicode-symbols-0.2.2.4
Building basement-0.0.3...
Downloading data-default-class-0.1.2.0...
Configuring cereal-0.5.4.0...
Downloading digest-0.0.1.2...
Configuring colour-2.3.3...
Downloading dlist-0.8.0.3...
Configuring data-default-class-0.1.2.0...
Installed base-compat-0.9.3
Downloading extensible-exceptions-0.1.1.4...
Downloading ghc-boot-th-8.2.1...
Building call-stack-0.1.0...
Downloading hourglass-0.2.10...
Building cereal-0.5.4.0...
Building colour-2.3.3...
Downloading hslua-0.4.1...
Building data-default-class-0.1.2.0...
Downloading hspec-discover-2.4.4...
Installed byteable-0.1.1
Configuring digest-0.0.1.2...
Downloading hxt-charproperties-9.2.0.1...
Downloading integer-logarithms-1.0.2...
Downloading network-2.6.3.2...
Downloading old-locale-1.0.0.7...
Configuring ghc-boot-th-8.2.1...
Installed call-stack-0.1.0
Downloading random-1.1...
Building digest-0.0.1.2...
Downloading safe-0.3.15...
Downloading semigroups-0.18.3...
Configuring dlist-0.8.0.3...
Installed base64-bytestring-1.0.0.1
Building ghc-boot-th-8.2.1...
Downloading setenv-0.1.1.3...
Downloading stm-2.4.4.1...
Downloading syb-0.7...
Configuring extensible-exceptions-0.1.1.4...
Installed data-default-class-0.1.2.0
Downloading text-1.2.2.2...
Building dlist-0.8.0.3...
Downloading time-locale-compat-0.1.1.3...
Downloading transformers-0.5.5.0...
Building extensible-exceptions-0.1.1.4...
Downloading unix-compat-0.4.3.1...
Downloading utf8-string-1.0.1.1...
Configuring hourglass-0.2.10...
Installed digest-0.0.1.2
Downloading utility-ht-0.0.14...
Downloading zlib-0.6.1.2...
Downloading HUnit-1.6.0.0...
Downloading data-default-instances-containers-0.0.1...
Building hourglass-0.2.10...
Installed extensible-exceptions-0.1.1.4
Configuring hslua-0.4.1...
Building hslua-0.4.1...
Configuring integer-logarithms-1.0.2...
Installed dlist-0.8.0.3
Downloading data-default-instances-dlist-0.0.1...
Building integer-logarithms-1.0.2...
Configuring hspec-discover-2.4.4...
Installed ghc-boot-th-8.2.1
Downloading template-haskell-2.12.0.0...
Building hspec-discover-2.4.4...
Configuring network-2.6.3.2...
Installed integer-logarithms-1.0.2
Configuring random-1.1...
Installed colour-2.3.3
Downloading ansi-terminal-0.7.1.1...
Building random-1.1...
Configuring hxt-charproperties-9.2.0.1...
Installed hspec-discover-2.4.4
Building hxt-charproperties-9.2.0.1...
Building network-2.6.3.2...
Configuring old-locale-1.0.0.7...
Installed random-1.1
Building old-locale-1.0.0.7...
Configuring safe-0.3.15...
Installed cereal-0.5.4.0
Building safe-0.3.15...
Configuring semigroups-0.18.3...
Installed old-locale-1.0.0.7
Downloading data-default-instances-old-locale-0.0.1...
Downloading old-time-1.1.0.3...
Building semigroups-0.18.3...
Configuring setenv-0.1.1.3...
Installed hourglass-0.2.10
Configuring stm-2.4.4.1...
Installed semigroups-0.18.3
Building setenv-0.1.1.3...
Building stm-2.4.4.1...
Configuring syb-0.7...
Installed safe-0.3.15
Configuring time-locale-compat-0.1.1.3...
Installed setenv-0.1.1.3
Building syb-0.7...
Building time-locale-compat-0.1.1.3...
Configuring text-1.2.2.2...
Installed time-locale-compat-0.1.1.3
Configuring utf8-string-1.0.1.1...
Installed stm-2.4.4.1
Downloading async-2.1.1.1...
Building text-1.2.2.2...
Configuring HUnit-1.6.0.0...
Installed network-2.6.3.2
Downloading socks-0.5.5...
Building utf8-string-1.0.1.1...
Configuring zlib-0.6.1.2...
Installed hslua-0.4.1
Building HUnit-1.6.0.0...
Building zlib-0.6.1.2...
Configuring data-default-instances-containers-0.0.1...
Installed hxt-charproperties-9.2.0.1
Downloading hxt-unicode-9.0.2.4...
Building data-default-instances-containers-0.0.1...
Configuring utility-ht-0.0.14...
Installed syb-0.7
Building utility-ht-0.0.14...
Configuring transformers-0.5.5.0...
Installed data-default-instances-containers-0.0.1
Configuring unix-compat-0.4.3.1...
Installed HUnit-1.6.0.0
Downloading hspec-expectations-0.8.2...
Building transformers-0.5.5.0...
Building unix-compat-0.4.3.1...
Installed utf8-string-1.0.1.1
Configuring data-default-instances-dlist-0.0.1...
Building data-default-instances-dlist-0.0.1...
Configuring template-haskell-2.12.0.0...
Installed unix-compat-0.4.3.1
Configuring ansi-terminal-0.7.1.1...
Installed data-default-instances-dlist-0.0.1
Building template-haskell-2.12.0.0...
Building ansi-terminal-0.7.1.1...
Configuring data-default-instances-old-locale-0.0.1...
Installed zlib-0.6.1.2
Configuring old-time-1.1.0.3...
Installed utility-ht-0.0.14
Building data-default-instances-old-locale-0.0.1...
Configuring async-2.1.1.1...
Installed data-default-instances-old-locale-0.0.1
Downloading data-default-0.7.1.1...
Building async-2.1.1.1...
Building old-time-1.1.0.3...
Configuring socks-0.5.5...
Installed basement-0.0.3
Downloading foundation-0.0.16...
Configuring hxt-unicode-9.0.2.4...
Installed ansi-terminal-0.7.1.1
Building socks-0.5.5...
Configuring hspec-expectations-0.8.2...
Installed async-2.1.1.1
Building hxt-unicode-9.0.2.4...
Building hspec-expectations-0.8.2...
Installed hspec-expectations-0.8.2
Configuring data-default-0.7.1.1...
Building data-default-0.7.1.1...
Configuring foundation-0.0.16...
Installed old-time-1.1.0.3
Building foundation-0.0.16...
Installed data-default-0.7.1.1
Installed hxt-unicode-9.0.2.4
Installed transformers-0.5.5.0
Downloading data-accessor-0.2.2.7...
Downloading haddock-library-1.4.3...
Downloading mtl-2.2.1...
Configuring data-accessor-0.2.2.7...
Downloading primitive-0.6.2.0...
Configuring haddock-library-1.4.3...
Downloading transformers-compat-0.5.1.4...
Configuring mtl-2.2.1...
Building data-accessor-0.2.2.7...
Building haddock-library-1.4.3...
Building mtl-2.2.1...
Installed socks-0.5.5
Configuring transformers-compat-0.5.1.4...
Configuring primitive-0.6.2.0...
Installed data-accessor-0.2.2.7
Downloading data-accessor-transformers-0.2.1.7...
Building transformers-compat-0.5.1.4...
Building primitive-0.6.2.0...
Configuring data-accessor-transformers-0.2.1.7...
Installed mtl-2.2.1
Downloading filemanip-0.3.6.3...
Downloading pem-0.2.2...
Downloading regex-base-0.93.2...
Building data-accessor-transformers-0.2.1.7...
Installed transformers-compat-0.5.1.4
Downloading mmorph-1.1.0...
Downloading transformers-base-0.4.4...
Configuring filemanip-0.3.6.3...
Building filemanip-0.3.6.3...
Configuring regex-base-0.93.2...
Installed data-accessor-transformers-0.2.1.7
Building regex-base-0.93.2...
Configuring pem-0.2.2...
Installed filemanip-0.3.6.3
Installed regex-base-0.93.2
Downloading regex-pcre-builtin-0.94.4.8.8.35...
Configuring transformers-base-0.4.4...
Building pem-0.2.2...
Building transformers-base-0.4.4...
Configuring mmorph-1.1.0...
Installed pem-0.2.2
Installed primitive-0.6.2.0
Downloading tf-random-0.5...
Downloading vector-0.12.0.1...
Configuring regex-pcre-builtin-0.94.4.8.8.35...
Building mmorph-1.1.0...
Configuring tf-random-0.5...
Installed transformers-base-0.4.4
Downloading monad-control-1.0.2.2...
Building regex-pcre-builtin-0.94.4.8.8.35...
Building tf-random-0.5...
Installed mmorph-1.1.0
Configuring vector-0.12.0.1...
Building vector-0.12.0.1...
Configuring monad-control-1.0.2.2...
Installed haddock-library-1.4.3
Building monad-control-1.0.2.2...
Installed tf-random-0.5
Installed monad-control-1.0.2.2
Downloading lifted-base-0.2.3.11...
Configuring lifted-base-0.2.3.11...
Building lifted-base-0.2.3.11...
Installed lifted-base-0.2.3.11
Installed SHA-1.6.4.2
Installed foundation-0.0.16
Downloading memory-0.14.8...
Configuring memory-0.14.8...
Building memory-0.14.8...
Installed template-haskell-2.12.0.0
Downloading QuickCheck-2.10.1...
Downloading data-accessor-template-0.2.1.14...
Downloading exceptions-0.8.3...
Configuring data-accessor-template-0.2.1.14...
Downloading tagged-0.8.5...
Configuring QuickCheck-2.10.1...
Downloading th-abstraction-0.2.6.0...
Configuring exceptions-0.8.3...
Configuring th-abstraction-0.2.6.0...
Building data-accessor-template-0.2.1.14...
Configuring tagged-0.8.5...
Installed text-1.2.2.2
Downloading blaze-builder-0.4.0.2...
Downloading cmark-0.5.6...
Building QuickCheck-2.10.1...
Building exceptions-0.8.3...
Downloading hashable-1.2.6.1...
Building th-abstraction-0.2.6.0...
Downloading mime-types-0.1.0.7...
Downloading parsec-3.1.11...
Building tagged-0.8.5...
Downloading roman-numerals-0.5.1.5...
Downloading tagsoup-0.14.1...
Downloading xml-1.3.14...
Downloading zip-archive-0.3.1.1...
Installed data-accessor-template-0.2.1.14
Configuring blaze-builder-0.4.0.2...
Building blaze-builder-0.4.0.2...
Configuring cmark-0.5.6...
Installed exceptions-0.8.3
Downloading resourcet-1.1.9...
Downloading temporary-1.2.1.1...
Configuring hashable-1.2.6.1...
Installed tagged-0.8.5
Building cmark-0.5.6...
Building hashable-1.2.6.1...
Configuring mime-types-0.1.0.7...
Installed regex-pcre-builtin-0.94.4.8.8.35
Building mime-types-0.1.0.7...
Configuring parsec-3.1.11...
Installed memory-0.14.8
Downloading asn1-types-0.3.2...
Downloading cryptonite-0.24...
Configuring xml-1.3.14...
Installed blaze-builder-0.4.0.2
Downloading blaze-markup-0.8.0.0...
Downloading cookie-0.4.2.1...
Building parsec-3.1.11...
Downloading streaming-commons-0.1.18...
Building xml-1.3.14...
Configuring tagsoup-0.14.1...
Installed th-abstraction-0.2.6.0
Configuring roman-numerals-0.5.1.5...
Installed hashable-1.2.6.1
Downloading case-insensitive-1.2.0.10...
Downloading scientific-0.3.5.2...
Downloading unordered-containers-0.2.8.0...
Building tagsoup-0.14.1...
Downloading uuid-types-1.0.3...
Building roman-numerals-0.5.1.5...
Configuring zip-archive-0.3.1.1...
Installed roman-numerals-0.5.1.5
Building zip-archive-0.3.1.1...
Installed xml-1.3.14
Configuring temporary-1.2.1.1...
Building temporary-1.2.1.1...
Configuring resourcet-1.1.9...
Installed mime-types-0.1.0.7
Building resourcet-1.1.9...
Configuring asn1-types-0.3.2...
Installed temporary-1.2.1.1
Building asn1-types-0.3.2...
Configuring blaze-markup-0.8.0.0...
Installed parsec-3.1.11
Downloading hxt-regex-xmlschema-9.2.0.3...
Downloading network-uri-2.6.1.0...
Building blaze-markup-0.8.0.0...
Configuring cookie-0.4.2.1...
Installed zip-archive-0.3.1.1
Configuring streaming-commons-0.1.18...
Installed resourcet-1.1.9
Downloading conduit-1.2.12.1...
Building cookie-0.4.2.1...
Building streaming-commons-0.1.18...
Configuring cryptonite-0.24...
Installed asn1-types-0.3.2
Downloading asn1-encoding-0.9.5...
Building cryptonite-0.24...
Configuring unordered-containers-0.2.8.0...
Installed QuickCheck-2.10.1
Downloading quickcheck-io-0.2.0...
Building unordered-containers-0.2.8.0...
Configuring uuid-types-1.0.3...
Installed cookie-0.4.2.1
Building uuid-types-1.0.3...
Configuring case-insensitive-1.2.0.10...
Installed tagsoup-0.14.1
Building case-insensitive-1.2.0.10...
Configuring scientific-0.3.5.2...
Installed blaze-markup-0.8.0.0
Downloading blaze-html-0.9.0.1...
Installed cmark-0.5.6
Configuring hxt-regex-xmlschema-9.2.0.3...
Building scientific-0.3.5.2...
Configuring asn1-encoding-0.9.5...
Installed case-insensitive-1.2.0.10
Downloading http-types-0.9.1...
Building hxt-regex-xmlschema-9.2.0.3...
Configuring quickcheck-io-0.2.0...
Installed uuid-types-1.0.3
Building asn1-encoding-0.9.5...
Building quickcheck-io-0.2.0...
Configuring conduit-1.2.12.1...
Installed quickcheck-io-0.2.0
Downloading hspec-core-2.4.4...
Configuring network-uri-2.6.1.0...
Installed streaming-commons-0.1.18
Building conduit-1.2.12.1...
Building network-uri-2.6.1.0...
Configuring blaze-html-0.9.0.1...
Installed asn1-encoding-0.9.5
Downloading asn1-parse-0.9.4...
Building blaze-html-0.9.0.1...
Installed scientific-0.3.5.2
Downloading attoparsec-0.13.2.0...
Configuring http-types-0.9.1...
Building http-types-0.9.1...
Configuring hspec-core-2.4.4...
Installed hxt-regex-xmlschema-9.2.0.3
Building hspec-core-2.4.4...
Configuring asn1-parse-0.9.4...
Installed unordered-containers-0.2.8.0
Building asn1-parse-0.9.4...
Installed network-uri-2.6.1.0
Downloading HTTP-4000.3.7...
Downloading hxt-9.3.1.16...
Configuring attoparsec-0.13.2.0...
Building attoparsec-0.13.2.0...
Installed asn1-parse-0.9.4
Configuring HTTP-4000.3.7...
Building HTTP-4000.3.7...
Configuring hxt-9.3.1.16...
Installed http-types-0.9.1
Downloading http-client-0.5.7.0...
Installed conduit-1.2.12.1
Configuring http-client-0.5.7.0...
Building hxt-9.3.1.16...
Building http-client-0.5.7.0...
Installed hspec-core-2.4.4
Downloading hspec-2.4.4...
Configuring hspec-2.4.4...
Building hspec-2.4.4...
Installed hspec-2.4.4
Installed HTTP-4000.3.7
Installed vector-0.12.0.1
Downloading JuicyPixels-3.2.8.3...
Configuring JuicyPixels-3.2.8.3...
Installed http-client-0.5.7.0
Building JuicyPixels-3.2.8.3...
Installed blaze-html-0.9.0.1
Installed attoparsec-0.13.2.0
Downloading aeson-1.2.2.0...
Configuring aeson-1.2.2.0...
Building aeson-1.2.2.0...
Installed cryptonite-0.24
Downloading x509-1.7.2...
Configuring x509-1.7.2...
Building x509-1.7.2...
Installed x509-1.7.2
Downloading x509-store-1.6.5...
Configuring x509-store-1.6.5...
Building x509-store-1.6.5...
Installed x509-store-1.6.5
Downloading x509-system-1.6.6...
Downloading x509-validation-1.6.9...
Configuring x509-system-1.6.6...
Configuring x509-validation-1.6.9...
Building x509-system-1.6.6...
Building x509-validation-1.6.9...
Installed x509-system-1.6.6
Installed x509-validation-1.6.9
Downloading tls-1.4.0...
Configuring tls-1.4.0...
Installed hxt-9.3.1.16
Building tls-1.4.0...
Installed tls-1.4.0
Downloading connection-0.2.8...
Configuring connection-0.2.8...
Building connection-0.2.8...
Installed connection-0.2.8
Downloading http-client-tls-0.3.5.1...
Configuring http-client-tls-0.3.5.1...
Building http-client-tls-0.3.5.1...
Installed http-client-tls-0.3.5.1
Installed JuicyPixels-3.2.8.3
Installed aeson-1.2.2.0
Downloading doctemplates-0.1.0.2...
Downloading pandoc-types-1.17.2...
Configuring doctemplates-0.1.0.2...
Downloading skylighting-0.1.1.5...
Configuring pandoc-types-1.17.2...
Downloading yaml-0.8.23.3...
Building doctemplates-0.1.0.2...
Building pandoc-types-1.17.2...
Configuring yaml-0.8.23.3...
Building yaml-0.8.23.3...
Configuring skylighting-0.1.1.5...
Building skylighting-0.1.1.5...
Installed doctemplates-0.1.0.2
Installed yaml-0.8.23.3
Installed pandoc-types-1.17.2
Downloading texmath-0.9.4.4...
Configuring texmath-0.9.4.4...
Building texmath-0.9.4.4...
Installed texmath-0.9.4.4
Installed skylighting-0.1.1.5
Downloading pandoc-1.19.2.1...
Configuring pandoc-1.19.2.1...
Building pandoc-1.19.2.1...
Installed pandoc-1.19.2.1
Resolving dependencies...
Configuring pandoc-crossref-0.2.6.0...
Building pandoc-crossref-0.2.6.0...
Preprocessing library pandoc-crossref-0.2.6.0...
[ 1 of 18] Compiling Text.Pandoc.CrossRef.Util.PandocOrphans ( lib/Text/Pandoc/CrossRef/Util/PandocOrphans.hs, dist/build/Text/Pandoc/CrossRef/Util/PandocOrphans.o )
[ 2 of 18] Compiling Text.Pandoc.CrossRef.Util.Gap ( lib/Text/Pandoc/CrossRef/Util/Gap.hs, dist/build/Text/Pandoc/CrossRef/Util/Gap.o )
[ 3 of 18] Compiling Text.Pandoc.CrossRef.References.Types ( lib/Text/Pandoc/CrossRef/References/Types.hs, dist/build/Text/Pandoc/CrossRef/References/Types.o )
[ 4 of 18] Compiling Text.Pandoc.CrossRef.Util.Util ( lib/Text/Pandoc/CrossRef/Util/Util.hs, dist/build/Text/Pandoc/CrossRef/Util/Util.o )
[ 5 of 18] Compiling Text.Pandoc.CrossRef.Util.Meta ( lib/Text/Pandoc/CrossRef/Util/Meta.hs, dist/build/Text/Pandoc/CrossRef/Util/Meta.o )
[ 6 of 18] Compiling Text.Pandoc.CrossRef.Util.CustomLabels ( lib/Text/Pandoc/CrossRef/Util/CustomLabels.hs, dist/build/Text/Pandoc/CrossRef/Util/CustomLabels.o )
[ 7 of 18] Compiling Text.Pandoc.CrossRef.Util.Template ( lib/Text/Pandoc/CrossRef/Util/Template.hs, dist/build/Text/Pandoc/CrossRef/Util/Template.o )
[ 8 of 18] Compiling Text.Pandoc.CrossRef.Util.Options ( lib/Text/Pandoc/CrossRef/Util/Options.hs, dist/build/Text/Pandoc/CrossRef/Util/Options.o )
[ 9 of 18] Compiling Text.Pandoc.CrossRef.Util.CodeBlockCaptions ( lib/Text/Pandoc/CrossRef/Util/CodeBlockCaptions.hs, dist/build/Text/Pandoc/CrossRef/Util/CodeBlockCaptions.o )
[10 of 18] Compiling Text.Pandoc.CrossRef.Util.Settings.Template ( lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs, dist/build/Text/Pandoc/CrossRef/Util/Settings/Template.o )
[11 of 18] Compiling Text.Pandoc.CrossRef.Util.Settings.Gen ( lib/Text/Pandoc/CrossRef/Util/Settings/Gen.hs, dist/build/Text/Pandoc/CrossRef/Util/Settings/Gen.o )
Segmentation fault (core dumped)
|
What the hell, GHC segfaults now? How in the world does it manage to do that I wonder? Well, that's concerning. Regarding if Haskell is something you want to do on Fedora at all that is. I wonder if that happens with stack when using it's own GHC installation? I might want investigate that myself. |
Well, I've grabbed myself the first Fedora distribution I could find, that apparently being FC26, and stuck it inside a VirtualBox VM. And I had no problems building pandoc-crossref either from Hackage or from source. I think one major difference is I installed yum install git
yum install ghc-pandoc-devel
yum install cabal-install
git clone http://github.com/lierdakil/pandoc-crossref
cd pandoc-crossref
cabal update
cabal sandbox init # because I refuse to build anything without sandbox
cabal install --only-dependencies
cabal configure
cabal build
# Then I did the same with --enable-tests
# Then I did the same for generic-th branch
# And now I test if it installs from Hackage
cd
mkdir pd
cd pd
cabal sandbox init # Again, because I refuse to build anything without sandbox
cabal install pandoc-crossref
ls .cabal-sandbox/bin/pandoc-crossref Will try building without |
Gah! You got it! Looks like the Thanks for all the help! |
Further investigation shows you don't have to get The root of the problem is, apparently, installing just So, to summarize. On Fedora, you need I guess I'll add a paragraph or two to Readme. |
Hi, I am not able to compile on Debian Stretch (stable) where is GHC 8.0 distributed with haskell-platform. But in sid, where is GHC 8.4 it is building fine. Jiří. |
The last version to build with GHC 8.0.2 is pandoc-crossref-0.3.1.0-r2. This is deliberate. So if building from source, checkout the corresponding tag. If building from Hackage, post full build log, otherwise it's impossible to debug. Also please don't hijack old closed issues. |
Thank you for reply. I was not able to compile from the source, so I created #205. J. |
I tried to install pandoc-crossref using cabal and got this:
This is on a Fedora 26 system:
Any hints?
The text was updated successfully, but these errors were encountered: