Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2018 11:05:52 +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:  <20180205080552.3zkghfcc3j3sibbk@vzakharov>
In-Reply-To: <20180204133636.763674ee@thor.intern.walstatt.dynvpn.de>
References:  <20180201091030.qmq4boyzvvvqkug6@vzakharov> <20180202063755.02aa231a@freyja.zeit4.iv.bundesimmobilien.de> <20180203081053.rxyog5iewqrjezp6@vzakharov> <20180203111733.7d64a066@thor.intern.walstatt.dynvpn.de> <20180204133636.763674ee@thor.intern.walstatt.dynvpn.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 04, 2018, O. Hartmann wrote:
> Am Sat, 3 Feb 2018 11:17:06 +0100
> "O. Hartmann" <o.hartmann@walstatt.org> schrieb:
> 
> > Am Sat, 3 Feb 2018 11:10:53 +0300
> > Vladimir Zakharov <zakharov.vv@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@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!
> > 
> 
> This problem has been introduced with
> 
> svn commit: r328489 - head/sys/conf
> 
> The the appropriate list for reference.
> 

Indeed, reverting r328489 fixes the problem.


-- 
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?20180205080552.3zkghfcc3j3sibbk>