[MacPorts] #67543: qgis3 @3.28.6: ccache: command not found (was: Processing of port qgis3 failed)

MacPorts noreply at macports.org
Fri Jun 2 02:26:12 UTC 2023


#67543: qgis3 @3.28.6: ccache: command not found
-----------------------+----------------------
  Reporter:  swaxolez  |      Owner:  Veence
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:
      Port:  qgis3     |
-----------------------+----------------------

Comment (by ryandesign):

 Thanks. The log documents eight attempts to install qgis3.

 The first through fifth attempts failed due to:
 {{{
 :info:build /bin/sh: ccache: command not found
 }}}
 This is curious; ports should only use ccache if MacPorts instructs them
 to, which it should only do if you have set `configureccache yes` in
 macports.conf and the ccache port is installed. Have you set that, and do
 you have that port installed? I recommend either installing ccache and
 setting that config value to yes, or else uninstalling ccache and setting
 that config value to no. If you install ccache but leave the config value
 set to no, some ports will detect the presence of ccache and try to use it
 on their own which can fail (and is a bug which we should fix, if that's
 what's going on here).

 The sixth through eighth attempts failed due to:
 {{{
 :info:build CMake Error at stageinstall.cmake:2 (file):
 :info:build   file COPY cannot set permissions on
 :info:build
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work/build/output/python/plugins/MetaSearch/./__init__.py":
 :info:build   Operation not permitted.
 }}}
 I'm not quite sure why this operation would now suddenly not be permitted,
 but the usual advice, before trying to troubleshoot further, is to clean
 the port (`sudo port clean qgis3`) before trying again, since sometimes a
 reattempt without cleaning after a previous failure can lead to new and
 different failures.

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


More information about the macports-tickets mailing list