Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2020 08:24:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243287] "make -C /usr/src/release OSRELEASE=something release" gives errors on stable/12 amd64
Message-ID:  <bug-243287-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: Trond.Endrestol@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.

help

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