[asterisk-bugs] [JIRA] (ASTERISK-29905) OSX: bininstall launchd issue on cross-platfrom build
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Thu Jul 28 11:13:10 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-29905:
-------------------------------------
Target Release Version/s: 18.14.0
> OSX: bininstall launchd issue on cross-platfrom build
> -----------------------------------------------------
>
> Key: ASTERISK-29905
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29905
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: General
> Affects Versions: GIT
> Environment: Build host: macos bigsur arm64 (11.6)
> Target host: Linux (OpenWrt GCC Toolchain)
> Reporter: Sergey V. Lobanov
> Severity: Trivial
> Labels: patch
> Target Release: 16.28.0, 18.14.0
>
> Attachments: 0001-build-fix-bininstall-launchd-issue-on-cross-platfrom.patch
>
>
> I'm sorry but I can't send patch via gerrit.asterisk.org because asterisk legal team ignores my license agreement request (I've signed the license 9 days ago). Please review my very simple patch in this ticket. This patch can be applied to master branch (e1b050d8a3c0bf56f822e40a2c14cefc72ea50ef). I will attach the patch file in the first comment.
> ---
> configure script detects /sbin/launchd, but the result of this
> check is not used in Makefile (bininstall). Makefile also detects
> /sbin/launchd file to decide if it is required to install
> safe_asterisk.
> configure script correctly detects cross compile build and sets
> PBX_LAUNCHD=0
> In case of building asterisk on MacOS host for Linux target using
> external toolchain (e.g. OpenWrt toolchain), bininstall does not
> install safe_asterisk (due to /sbin/launchd detection in Makefile),
> but it is required on target (Linux).
> This patch adds HAVE_SBIN_LAUNCHD=@PBX_LAUNCHD@ to makeopts.in to
> use the result of /sbin/launchd detection from configure script in
> Makefile.
> Also this patch uses HAVE_SBIN_LAUNCHD in Makefile (bininstall) to
> decide if it is required to install safe_asterisk.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list