Re: NetworkManager ftbfs without libbpf

Xi Ruoyao ([email protected] via blfs-dev Mailing List) <[email protected]> Sun, 26 Jul 2026 04:01:09 +0800
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1785009680-3622161-5936
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, 2026-07-22 at 14:04 -0400, Joe Locash wrote:
> On 7/22/26 1:23 PM, sicarine ([email protected]=C2=A0via blfs-dev Mailing Li=
st)=20
> wrote:
> > On Wednesday, 22 July 2026 13:08:01 EDT sicarine wrote:
> > > Hey folks,
> > >=20
> > > I was testing the latest commit from today, and I found that NetworkM=
anager
> > > 1.58.0 would error out with
> > >=20
> > > ERROR: Assert failed: you must have libbpf >=3D 1.3.0 installed to bu=
ild. Use
> > > -Dclat=3Dfalse to disable use of it.
> > >=20
> > > Using the switch suggested by the build system allows the package to =
build
> > > normally. BLFS does not list libbpf as a dependency, optional or othe=
rwise,
> > > so perhaps the -D clat=3Dfalse switch should be documented in that ch=
apter,
> > > and libbpf added as an optional dependency.
> > >=20
> > > Regards,
> > > Sicarine.
> > >=20
> > >=20
> > >=20
> > > --
> > > 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 mang=
led
> > somewhere in the merge history??? How odd.
>=20
> Thanks Sicarine. I fixed the book at a83588b790.
>=20
> The reason I didn't add libbpf as an optional dependency it needs other=20
> things which are not mentioned and clat is supposed to be disabled by=20
> default.

Actually -D clat=3Dtrue would also need a Clang compiled with BPF target
support, but BLFS LLVM is compiled with only x86 and AMDGPU targets
enabled.

I'm pushing a change to mention this shortly.

--=20
Xi Ruoyao <[email protected]>

------------=_1785009680-3622161-5936
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
------------=_1785009680-3622161-5936--