[Bug 238518] make buildkernel fails due to a symlink (and/or zfs)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 12 09:39:36 UTC 2019


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

            Bug ID: 238518
           Summary: make buildkernel fails due to a symlink (and/or zfs)
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: phascolarctos at protonmail.ch

Created attachment 205004
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205004&action=edit
log of make buildkernel

Here is the setting:

- a ZFS filesystem zroot/usr/src-stable is mounted at /usr/src and contains
sources for 12-STABLE r348980;
- a ZFS filesystem /zroot/usr/obj/usr/src-stable is mounted at
/usr/obj/usr/src-stable;
- the file /usr/obj/usr/src is a symlink to /usr/obj/usr/src-stable.

make buildkernel fails with the error message reported in the attachement.

It might be useful to know that this setting is the result of the following old
setting:

- a ZFS filesystem zroot/usr/src-stable is mounted at /usr/src-stable and
contains sources for 12-STABLE, whatever revision;
- a ZFS filesystem /zroot/usr/obj/usr/src-stable is mounted at
/usr/obj/usr/src-stable.

Getting back to the old setting solves the problem, but of course we should try
to get the new setting to work too.
Moreover, using the old setting, if a softlink /usr/src to /usr/src-stable is
created, I can execute make buildkernel successfully both from /usr/src and
/usr/src-stable. If I execute it from /usr/src, I can read lines such as
"Building /usr/obj/usr/src-stable..."

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


More information about the freebsd-bugs mailing list