[Bug 269223] devel/root: Need help understanding failed staging on arm64

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 06 Feb 2023 09:45:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269223

Nuno Teixeira <eduardo@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |eduardo@FreeBSD.org

--- Comment #1 from Nuno Teixeira <eduardo@FreeBSD.org> ---
(In reply to Erik Jensen from comment #0)

Should that sed error related to:
---
.if ${ARCH} == "aarch64"
NOT_INSTALLED_ON_AARCH64=       "@comment "
AARCH64_PCM_SUFFIX=     "_rdict"
.else
NOT_INSTALLED_ON_AARCH64=       ""
AARCH64_PCM_SUFFIX=     ""
.endif
---
?

You are using "tabs" in variables/value inside an .if condition. Porter's
handbook example is:
---
.if ${PORT_OPTIONS:MOPT1}
PLIST_SUB+=     OPT1="" NO_OPT1="@comment "
SUB_LIST+=      OPT1="" NO_OPT1="@comment "
.else
PLIST_SUB+=     OPT1="@comment " NO_OPT1=""
SUB_LIST+=      OPT1="@comment " NO_OPT1=""
.endif
---

Could you check it?
You can force a similar condition on amd64 to check if it is possible to
replicate the sed error.

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