Opened 2 years ago

Closed 2 years ago

#63787 closed defect (duplicate)

ghc: Failed build with ccache

Reported by: judaew (Vadym-Valdis Yudaiev) Owned by: essandess (Steve Smith)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: ccache Cc: essandess (Steve Smith), judaew (Vadym-Valdis Yudaiev)
Port: ghc

Description

Pre-conditions:

  • installed ccache
  • enabled configureccache option in macports.conf

Error during build:

:info:configure Standard error:
:info:configure <no location info>: error:
:info:configure     Warning: Couldn't figure out C compiler information!
:info:configure              Make sure you're using GNU gcc, or clang
:info:configure ghc: could not execute: ccache /usr/bin/clang
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_judaew_macports-ports_devel_shellcheck/shellcheck/work/shellcheck-0.7.2" && /opt/local/bin/stack setup --with-gcc /usr/bin/clang --allow-different-user 
:info:configure Exit code: 1

Attachments (1)

shellcheck_trac63787.log (65.0 KB) - added by judaew (Vadym-Valdis Yudaiev) 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by judaew (Vadym-Valdis Yudaiev)

Attachment: shellcheck_trac63787.log added

comment:1 Changed 2 years ago by judaew (Vadym-Valdis Yudaiev)

The build succeeds with the configureccache option disabled.

comment:2 Changed 2 years ago by judaew (Vadym-Valdis Yudaiev)

Cc: essandess added; neverpanic removed
Owner: changed from neverpanic to essandess
Port: ghc added; shellcheck removed
Summary: shellcheck: Failed build with ccacheghc: Failed build with ccache

comment:3 Changed 2 years ago by judaew (Vadym-Valdis Yudaiev)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.