[
https://issues.apache.org/jira/browse/DAEMON-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17845280#comment-17845280
]
Michael Osipov commented on DAEMON-463:
---------------------------------------
Temporary fix:
https://github.com/freebsd/freebsd-ports/blob/e8c3e827f61838b8bd8509e3d4a6d39dfbadfdd1/devel/apache-commons-daemon/Makefile#L32-L34
> Daemon fails to build on macOS with XCode 15.3
> ----------------------------------------------
>
> Key: DAEMON-463
> URL: https://issues.apache.org/jira/browse/DAEMON-463
> Project: Commons Daemon
> Issue Type: Bug
> Components: Jsvc
> Affects Versions: 1.3.4
> Environment:
> Clang: 15.0.0 build 1500
> macOS: 14.4.1-arm64
> CLT: 15.3.0.0.1.1708646388
> Xcode: 15.3
> Rosetta 2: false
> Reporter: Sean Molenaar
> Priority: Major
>
> When building jsvc on macOS with XCode 15.3 (for Homebrew), the build fails
> with the following error:
>
> {code:java}
> jsvc-unix.c:1311:20: error: incompatible function pointer types assigning to
> 'void (*)(int)' from 'void (int, siginfo_t *, void *)' (aka 'void (int,
> struct __siginfo *, void *)') [-Wincompatible-function-pointer-types] 90
> act.sa_handler = controller; 91 ^ ~~~~~~~~~~ {code}
>
> For more details see:
> https://github.com/Homebrew/homebrew-core/actions/runs/8967899390/job/24626304630
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)