[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Questions about packaging the 'googleapis' project



On Wed, Jun 14, 2023 at 11:27 AM David Given <dg@cowlark.com> wrote:
>
> The sad thing is that bazel, which is the least bad build system I've ever used, works in a way that's completely antithetical to how Debian wants to build things: it doesn't want to use host software for anything and will, e.g., download and recompile libraries you refer to at build time. So you end up with mostly static binaries containing embedded copies of any libraries you refer to. It even likes to download its own compiler rather than using the host one. This is all for perfectly good reasons, but those reasons don't work for Debian.
>

Indeed, the bazel files are not an option, unfortunately. Also, the
bazel build does not expose the dependency structure among the
produced libraries. So we still need to analyse the proto files anyway
to generate the correct dependencies in the control file (and while
we're at it also pkg-config files). And if we do that already, we can
as well extend this to generate the missing build description
(Makefile), which is really not that hard. (TBH: I would rather use
the Justbuild build system for compiling the proto files, but it's not
packaged yet and it has a build dependency on googleapis...)


Reply to: