[Bug 283626] databases/tiledb: configure broken since update to 2.27.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 26 Dec 2024 13:57:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283626

            Bug ID: 283626
           Summary: databases/tiledb: configure broken since update to
                    2.27.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: rhurlin@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

Both with Poudriere and built in an unclean environment, I get the following
abort during the configure phase:


===>  Configuring for tiledb-2.27.0
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/databases/tiledb/work/.build
Using vcpkg features: serialization;tools
-- Not found clang-tidy
-- Not found clang-format
-- was unable to find clang-format
CMake Error at cmake/Modules/FindCcache.cmake:3 (find_program):
  Could not find CCACHE using the following names: sccache, ccache
Call Stack (most recent call first):
  CMakeLists.txt:109 (include)

-- Configuring incomplete, errors occurred!
*** Error code 1


I am not using devel/ccache or devel/sccache in Poudriere or outside. Therefore
CMAKE_ON=TILEDB_CCACHE should not be set in the Makefile. As soon as
CMAKE_OFF=TILEDB_CCACHE is set on such systems, the port builds and installs
correctly.

Perhaps it is possible to have cmake check whether devel/[s]ccache is present
and only set TILEDB_CCACHE in these cases? Or the port itself could do this?

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