Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2024 06:10:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277345] [nanoBSD] fix parameter expansion for ${NANO_OBJ} to also unbreak ${PATH}
Message-ID:  <bug-277345-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277345

            Bug ID: 277345
           Summary: [nanoBSD] fix parameter expansion for ${NANO_OBJ} to
                    also unbreak ${PATH}
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: embhd@posteo.de

Created attachment 248779
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248779&action=
=3Dedit
Patch

Besides not actually expanding, the current line in defaults.sh

${NANO_OBJ:=3D/usr/obj/nanobsd.${NANO_NAME}${NANO_LAYOUT}:+.${NANO_LAYOUT}}

adds a colon to ${PATH} during the buildworld, which leads to make not find=
ing
clang-tblgen (and possible others as well). Instead, the line should read

${NANO_OBJ:=3D/usr/obj/nanobsd.${NANO_NAME}${NANO_LAYOUT:+.${NANO_LAYOUT}}}

see patch attached.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277345-227>