Re: buildkernel with PORTS_MODULES fails: Variable OBJTOP is recursive

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Tue, 13 Feb 2018 09:51:31 -0800
On 2/13/2018 1:48 AM, Vladimir Zakharov wrote:
> 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".
> 

Thanks, r329232 should fix it.

-- 
Regards,
Bryan Drewery


Received on Tue Feb 13 2018 - 16:51:34 UTC

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