Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2020 08:33:41 -0700
From:      John Baldwin <jhb@FreeBSD.org>
To:        Eugene Grosbein <eugen@grosbein.net>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   Re: svn commit: r365281 - in stable: 11/sys/conf 11/sys/modules 11/sys/modules/tcp 12/sys/conf 12/sys/modules 12/sys/modules/tcp
Message-ID:  <bc09c5ce-59b4-17df-620a-d5aad757ac39@FreeBSD.org>
In-Reply-To: <7795ab88-6220-150b-38e9-0ffae40a6093@grosbein.net>
References:  <202009022136.082LatjO029946@repo.freebsd.org> <dfcf21e8-eb24-ec14-9b62-40eeaaf4a3bd@FreeBSD.org> <edac74ab-2210-e0f7-1026-0ed07f0ef54e@grosbein.net> <7795ab88-6220-150b-38e9-0ffae40a6093@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/3/20 11:39 AM, Eugene Grosbein wrote:
> 04.09.2020 1:16, Eugene Grosbein wrote:
> 
>>> This should fix the build breakage from r365270 (sorry).
>>
>> buildworld is still broken for me at stable/11 amd64 r365304.
>> Specifically, I build stable/11 for my PPPoE servers that use no IPSec as module nor have it in the kernel in any way.
>>
>> /etc/make.conf contains:
>>
>> MODULES_WITH_WORLD=
>> KERNCONF?=              PPPOE
>> WITHOUT_LLVM_TARGET_ALL=
>> WITH_LLVM_TARGET_X86=
>> WITHOUT_CLANG_FULL=
>> WITHOUT_LLDB=
>> WITHOUT_KERNEL_SYMBOLS=
>> WITHOUT_DEBUG_FILES=
>> WITHOUT_TESTS=
>> WITHOUT_INET6=
>>
>> It fails early:
>>
>> ...
>> --------------------------------------------------------------
>>>>> stage 2.2: rebuilding the object tree
>> --------------------------------------------------------------
>> ...
>> ===> sys/modules/sysvipc/sysvmsg (obj)
>> --- obj_subdir_sys/modules/tcp ---
>> make[6]: "/home/src/sys/modules/tcp/Makefile" line 18: Malformed conditional (${KERN_OPTS:MIPSEC_SUPPORT} && !${KERN_OPTS:MIPSEC})
>> make[6]: Fatal errors encountered -- cannot continue
>>
>>
>> Rollback for both of r365270 and r365281 fixes this.
> 
> Oops, I was too quick. Rollback of these allows it running OK until >>> stage 4.3: building everything
> but then it fails there:
> 
> ===> sys/modules/if_enc (all)
> Building /usr/local/obj/home/src/sys/modules/if_enc/if_enc.o
> --- if_enc.o ---
> /home/src/sys/net/if_enc.c:33:10: fatal error: 'opt_ipsec.h' file not found
> #include "opt_ipsec.h"
>          ^~~~~~~~~~~~~
> 
> Additional rollback of r365277 gave me successfull buildworld.

Ah, it is MODULES_WITH_WORLD that is tripping you up.  What is probably
needed to fix this is merging kmod.opts.mk.  I can work on that.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bc09c5ce-59b4-17df-620a-d5aad757ac39>