Re: NetworkManager ftbfs without libbpf

Joe Locash ([email protected] via blfs-dev Mailing List) <[email protected]> Wed, 22 Jul 2026 14:04:04 -0400
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1784743453-1024790-5281
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 7/22/26 1:23 PM, sicarine ([email protected] via blfs-dev Mailing List) 
wrote:
> On Wednesday, 22 July 2026 13:08:01 EDT sicarine wrote:
>> Hey folks,
>>
>> I was testing the latest commit from today, and I found that NetworkManager
>> 1.58.0 would error out with
>>
>> ERROR: Assert failed: you must have libbpf >= 1.3.0 installed to build. Use
>> -Dclat=false to disable use of it.
>>
>> Using the switch suggested by the build system allows the package to build
>> normally. BLFS does not list libbpf as a dependency, optional or otherwise,
>> so perhaps the -D clat=false switch should be documented in that chapter,
>> and libbpf added as an optional dependency.
>>
>> Regards,
>> Sicarine.
>>
>>
>>
>> --
>> http://lists.linuxfromscratch.org/sympa/info/blfs-dev
>> Unsubscribe: See the above information page
> Actually, looking further at the commit messages, it looks like Joe did
> include the clat switch in his original commit, but I guess it got mangled
> somewhere in the merge history??? How odd.

Thanks Sicarine. I fixed the book at a83588b790.

The reason I didn't add libbpf as an optional dependency it needs other 
things which are not mentioned and clat is supposed to be disabled by 
default.



------------=_1784743453-1024790-5281
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
------------=_1784743453-1024790-5281--