Re: buildkernel with PORTS_MODULES fails: Variable OBJTOP is recursive

From: O. Hartmann <o.hartmann_at_walstatt.org>
Date: Sat, 3 Feb 2018 11:17:06 +0100
Am Sat, 3 Feb 2018 11:10:53 +0300
Vladimir Zakharov <zakharov.vv_at_gmail.com> schrieb:

> Hello, Oliver!
> 
> On Fri, Feb 02, 2018, O. Hartmann wrote:
> > On Thu, 1 Feb 2018 12:10:30 +0300
> > Vladimir Zakharov <zakharov.vv_at_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.
> 

You are correct! I made a mistake and had the portions still commented out. I'm very
sorry.

This remains a bug!

-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).

Received on Sat Feb 03 2018 - 09:17:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC