[MacPorts] #70586: ocaml-bigstringaf does not build if ocaml was built with ccache

MacPorts noreply at macports.org
Tue Aug 20 19:42:28 UTC 2024


#70586: ocaml-bigstringaf does not build if ocaml was built with ccache
---------------------------------------+--------------------
  Reporter:  barracuda156              |      Owner:  (none)
      Type:  defect                    |     Status:  new
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:  2.10.1
Resolution:                            |   Keywords:
      Port:  ocaml-bigstringaf, ocaml  |
---------------------------------------+--------------------

Comment (by ryandesign):

 When you set `configureccache yes` in macports.conf, MacPorts tells ports
 to use ccache by modifying the value of `configure.cc` to be e.g. `ccache
 /usr/bin/clang` and of course passes that to the build system in the `CC`
 environment variable. A similar problem would arise using `configuredistcc
 yes`. ocaml is evidently baking the value of `CC` into itself somewhere
 and should not do that.

-- 
Ticket URL: <https://trac.macports.org/ticket/70586#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list