[build2] Kconfig support in build2

Boris Kolpackov boris at codesynthesis.com
Fri Jan 22 09:30:53 UTC 2021


Matthew Krupcale via users <users at build2.org> writes:
 
> Also, I am planning on packaging libbuild2-kconfig as a separate
> Fedora package from the main build2 package (which currently also
> provides libbuild2, libbutl, [lib]bpkg, and bdep subpackages), since
> it will keep the main package from becoming too unwieldy.

Yes, thanks for reminding, I meant to send a note on this, which I
now did:

https://lists.build2.org/archives/users/2021-January/000862.html


> However, updating build2 to e.g. v0.15.0 without also rebuilding
> libbuild2-kconfig would leave e.g. libbuild2-kconfig-0.14.0-0.1.so
> which cannot be loaded by the new build2 driver[1,2]. This can be
> handled in the Fedora build system using so-called side tags[3]. That
> is, so as long as both packages are submitted for the updates
> repository together under a side tag, everything should continue to
> work.

Yes, while I am not very familiar with RPM/Fedora packaging, the
overall idea is that libbuild2-kconfig should have a hard dependency
on build2 with a fairly tight version constraint (e.g., == X.Y.*).
And build2 should have a soft reverse-dependecy on libbuild2-kconfig
(e.g., "recommends" on Debian).


> Is libbuild2-kconfig only on GitHub right now, or is it available on
> git.build2.org somewhere?

It's currently only on GitHub.


> Not a big deal either way--I just need to know where the best place
> to get release tarballs is.

I think the best place is to get it as part of build2-toolchain (see
the above note for details).



More information about the users mailing list