Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2016 10:11:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 208856] usr.sbin/bhyve: fails to build after r297778 with user-defined SYSDIR
Message-ID:  <bug-208856-8@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: grehan@FreeBSD.org

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

According to /usr/share/mk/bsd.kmod.mk SYSDIR is supposed to point to kerne=
l,
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=3D/path/to/freebsd # only used by ports
$ export SYSDIR=3D$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

--=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-208856-8>