Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2019 09:39:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 238518] make buildkernel fails due to a symlink (and/or zfs)
Message-ID:  <bug-238518-227@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: phascolarctos@protonmail.ch

Created attachment 205004
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D205004&action=
=3Dedit
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..."

--=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-238518-227>