buildkernel with PORTS_MODULES fails: Variable OBJTOP is recursive
Vladimir Zakharov
zakharov.vv at gmail.com
Tue Feb 13 09:48:23 UTC 2018
On Mon, Feb 12, 2018, Bryan Drewery wrote:
> On 2/12/2018 6:54 AM, Vladimir Zakharov wrote:
> > Hello, Bryan!
> >
> > On Fri, Feb 09, 2018, Bryan Drewery wrote:
> >> On 2/1/2018 1:10 AM, Vladimir Zakharov 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.
> >>> ...
> >>
> >> For some reason I cannot recreate this issue.
> >
> > It seems, setting WITH_AUTO_OBJ in /etc/src-env.conf causes an error.
> > At least, removing it fixes build for me.
> >
> > Build successful with the following settings:
> > # cat /etc/src-env.conf
> > WITH_META_MODE=
> > #WITH_AUTO_OBJ=
> >
>
> Please try this patch (requires a buildkernel).
>
> https://people.freebsd.org/~bdrewery/patches/kernel-portsmodules.diff
>
Fixed partly:
| buildkernel | installkernel |
r329196 | OK | FAIL(*) |
r329169 + patch | OK | OK |
r329196 + WITH_AUTO_OBJ | FAIL | |
r329169 + WITH_AUTO_OBJ + patch | FAIL | |
(*) - same error "Variable OBJTOP is recursive".
--
Regards, | "In theory there is no difference between theory
Vladimir Zakharov | and practice. In practice there is."- Yogi Berra
More information about the freebsd-current
mailing list