Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2018 11:10:53 +0300
From:      Vladimir Zakharov <zakharov.vv@gmail.com>
To:        "O. Hartmann" <ohartmann@walstatt.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: buildkernel with PORTS_MODULES fails: Variable OBJTOP is recursive
Message-ID:  <20180203081053.rxyog5iewqrjezp6@vzakharov>
In-Reply-To: <20180202063755.02aa231a@freyja.zeit4.iv.bundesimmobilien.de>
References:  <20180201091030.qmq4boyzvvvqkug6@vzakharov> <20180202063755.02aa231a@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Oliver!

On Fri, Feb 02, 2018, O. Hartmann wrote:
> On Thu, 1 Feb 2018 12:10:30 +0300
> Vladimir Zakharov <zakharov.vv@gmail.com> wrote:
> 
> > Hello!
> > 
> > For some time (about a week) building and installing kernel fails with
> > the error "Variable OBJTOP is recursive." when going to build/install
> > module from ports.
> > 
> > Last successful build was at r328426. Next build at r328527 failed and
> > still broken at r328649.
> > 
> > Without PORTS_MODULES building and installing kernel succeeds. Another
> > workaround: ignore error and build/install module directly from ports.
> > 
> 
> I have had the very same issue!
> 
> You need to perform a "installworld" first (just comment out the PORTS_MODULES=
> parts of /etc/src.conf or /etc/make.conf, buildworld and buildkernel (maybe not
> a full buildworld, but I do not know the state of your source tree) and perform
> a regular installation of the world.  It could be something easier by direkctly
> install-only the mk-portions, but recently, some changes to world (LLVM) made
> it worth anyway to buildworld.
> 
> As recommended by others earlier on this list according to this subject, this
> procedure makes the problem go away.

Thanks for your answer. Unfortunately, this didn't help.

-- 
Regards,                 | "In theory there is no difference between theory
  Vladimir Zakharov      | and practice. In practice there is."- Yogi Berra



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