[MacPorts] #60571: pandoc: ghc: could not execute: ccache /usr/bin/clang
MacPorts
noreply at macports.org
Fri May 29 12:44:47 UTC 2020
#60571: pandoc: ghc: could not execute: ccache /usr/bin/clang
------------------------+---------------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: pandoc, stack
------------------------+---------------------------
pandoc fails to compile. This might not be a pandoc-specific problem but
might be general to any port using stack or the haskell_stack portgroup
when `configureccache yes` is set in macports.conf. (The problem doesn't
happen if I remove `configureccache yes` from macports.conf.)
{{{
The GHC located at /opt/local/var/macports/build
/_Users_rschmidt_macports_macports-ports-svn-trunk-
new_textproc_pandoc/pandoc/work/.stack/programs/x86_64-osx/ghc-8.6.5/bin/ghc-8.6.5
failed to compile a sanity check. Please see:
http://docs.haskellstack.org/en/stable/install_and_upgrade/
for more information. Exception was:
Received ExitFailure 1 when running
Raw command: /opt/local/var/macports/build
/_Users_rschmidt_macports_macports-ports-svn-trunk-
new_textproc_pandoc/pandoc/work/.stack/programs/x86_64-osx/ghc-8.6.5/bin/ghc-8.6.5
/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-
trunk-new_textproc_pandoc/pandoc/work/.tmp/stack-sanity-check-
77926e2ed3692749/Main.hs -no-user-package-db
Run from: /opt/local/var/macports/build/_Users_rschmidt_macports_macports-
ports-svn-trunk-new_textproc_pandoc/pandoc/work/.tmp/stack-sanity-check-
77926e2ed3692749/
Standard output:
[1 of 1] Compiling Main ( /opt/local/var/macports/build
/_Users_rschmidt_macports_macports-ports-svn-trunk-
new_textproc_pandoc/pandoc/work/.tmp/stack-sanity-check-
77926e2ed3692749/Main.hs, /opt/local/var/macports/build
/_Users_rschmidt_macports_macports-ports-svn-trunk-
new_textproc_pandoc/pandoc/work/.tmp/stack-sanity-check-
77926e2ed3692749/Main.o )
Standard error:
<no location info>: error:
Warning: Couldn't figure out C compiler information!
Make sure you're using GNU gcc, or clang
ghc: could not execute: ccache /usr/bin/clang
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60571>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list