On Fri, Jun 13, 2025 at 4:10 PM GitBox <g...@apache.org> wrote:

>
> The GitHub Actions job "CMake" on subversion.git/trunk has failed.
> Run started by GitHub user asfgit (triggered by asfgit).
>
> Head commit for run:
> d510c071272942161ccaf298bd2aef9cdcaade62 / Timofei Zhakov <
> rin...@apache.org>
> * .github/workflows/cmake.yml: Add Mac OS workflow.
>   (matrix): Add simple configuration.
>   (Prepare Environment): Add path to where serf would be installed to
>    CMAKE_PREFIX_PATH.
>   (Install dependencies): Get Subversion from homebrew for Serf library.
>
> - Pre-tested in my GitHub fork.
>

It was working! Most likely I didn't properly pull new commits.


> - Most of the libraries should be pre-installed in the system due to
>   the dev-kit.
>
>
> git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1926389
> 13f79535-47bb-0310-9956-ffa450edef68
>
> Report URL: https://github.com/apache/subversion/actions/runs/15636085735
>
> With regards,
> GitHub Actions via GitBox
>
>
I see. Mac OS works badly with pkg-config.

I think we should change the default value of SVN_USE_PKG_CONFIG to be
enabled only on Linux (in cmake).

However, I think our autoconf script uses it on Mac as well. So maybe the
dependencies used are wrong.

The thing is the dev-kit provides non-working .pc files which say that
include dir is `/usr/include/apr-1`, which doesn't exist at all.

Maybe it's also better to use homebrew to download all libraries instead of
relying on those pre-installed packages.

-- 
Timofei Zhakov

Reply via email to