[Bug 243287] "make -C /usr/src/release OSRELEASE=something release" gives errors on stable/12 amd64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 12 08:24:03 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243287

            Bug ID: 243287
           Summary: "make -C /usr/src/release OSRELEASE=something release"
                    gives errors on stable/12 amd64
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: Trond.Endrestol at ximalas.info

Setting a value for OSRELEASE when making a release on stable/12 amd64 gives
errors:

make -C /usr/src/release -D NO_INSTALLEXTRAKERNELS NODOC=1 NOPORTS=1 NOSRC=1
OSRELEASE=FSI-`uname -s`-`uname -r`-`uname -p` release

make: "/usr/src/release/Makefile.ec2" line 32: Malformed conditional (${BRANCH}
== "CURRENT" || ${BRANCH} == "STABLE" || ${BRANCH} == "PRERELEASE")
make: "/usr/src/release/Makefile.azure" line 19: Malformed conditional
(${BRANCH} == "STABLE" || ${BRANCH} == "CURRENT" || ${BRANCH} == "PRERELEASE")
make: "/usr/src/release/Makefile.gce" line 26: Malformed conditional (${BRANCH}
== "STABLE" || ${BRANCH} == "CURRENT" || ${BRANCH} == "PRERELEASE")
make: "/usr/src/release/Makefile.vagrant" line 31: Malformed conditional
(${BRANCH} == "STABLE" || ${BRANCH} == "CURRENT" || ${BRANCH} == "PRERELEASE")
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/src/release

Source tree is at r356645.

Omitting OSRELEASE works as intended.

If the variable OSRELEASE now serves a different role, then release(7) should
reflect this, and maybe a new variable should be created to serve the original
purpose of OSRELEASE when making a release.

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


More information about the freebsd-bugs mailing list