[Bug 284996] graphics/qgis: fix build with portmaster if ccache is installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 Feb 2025 18:24:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284996

            Bug ID: 284996
           Summary: graphics/qgis: fix build with portmaster if ccache is
                    installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rhurlin@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
          Assignee: rhurlin@FreeBSD.org
             Flags: maintainer-feedback?(rhurlin@FreeBSD.org)

Scenario:
- FreeBSD stable/14 as of ca. Feb. 1
- ports latest
- using portmaster to update ports
- qgis being updated to 3.42.0

Result:
- The build fails at the beginning with the following:

-- ccache found
ccache: error: unknown configuration option "compiler_type"
CMake Error at CMakeLists.txt:159 (message):
  The use of precompiled headers only works if the ccache 'sloppiness'
  settings contains 'pch_defines' and 'time_macros'.  Consider running
  'ccache --set-config sloppiness=pch_defines,time_macros' to define them


-- Configuring incomplete, errors occurred!

Expected result:
- As with earlier versions of qgis, the build should succeed.

Fix:
- Add "USE_CCACHE" to CMAKE_OFF

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.