[Bug 208856] usr.sbin/bhyve: fails to build after r297778 with user-defined SYSDIR

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 17 10:11:50 UTC 2016


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

            Bug ID: 208856
           Summary: usr.sbin/bhyve: fails to build after r297778 with
                    user-defined SYSDIR
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: grehan at FreeBSD.org

Created attachment 169395
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169395&action=edit
v1

According to /usr/share/mk/bsd.kmod.mk SYSDIR is supposed to point to kernel,
not toplevel source directory. However, base r297778 confused SYSDIR with
SRCDIR or SRC_BASE (ports) which leads to the following error if SYSDIR is
defined in environment, make.conf, etc.

$ export SRC_BASE=/path/to/freebsd # only used by ports
$ export SYSDIR=$SRC_BASE/sys
$ make -C $SRC_BASE/usr.sbin/bhyve
make: don't know how to make vmm_instruction_emul.c. Stop
make: stopped in /a/freebsd/usr.sbin/bhyve

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


More information about the freebsd-bugs mailing list