Hi Sam,

On Mon, Mar 01, 2021 at 03:34:56PM -0500, Sam Hartman wrote:
> I definitely think your solution is fine and is the best bullseye
> solution.

I don't think that this bug has to be fixed for bullseye. There are
around 800 other FTCBFS patches filed in the bts. It seems very unlikely
that we even fix half of them in time for bullseye and this one is in no
way special.

> I'm a bit confused about your proposed change to krb5-config.
> People search for krb5-config by that name not with a multiarch tripple.

That is correct. My proposed change does not change the name of
krb5-config. Doing so would be an option of autoconf users though. Like
pkg-config, krb5-config could provide an additional, triplet-prefixed
version that would automatically be discovered by consumers using
AC_PATH_TOOL.

> If that became multi-arch dependent, how would you install more  than
> one set of krb5 libs at the same time?

That's precisely the tradeoff: You cannot.

Now the question is whether that is a reasonable tradeoff. There are two
features that are in conflict here:

 * krb5-config just works without exporting CC.
 * You can coinstall krb5-multidev for multiple architectures.

While it is certainly nice to be able to coinstall development packages
for multiple architectures, it is more of a convenience feature than an
enablement feature. Much of the time, you only need the -dev package for
the host architecture. Exceptions to this rule include zlib1g-dev, but
that is a little more central. For instance, libgpg-error-dev is not
M-A:same and thus far, this hasn't been a problem to cross building.

On the other hand, teaching each and every consumer to export CC in
order to use krb5-config is quite some work and not the "it just works"
experience we are aiming for.

It's not as clear (to me), which way is best here. That's why my patch
uses the simple an non-intrusive way. But long term, the option of
fixing this in krb5-config may be better (or not). For that reason, I
attempted to sketch all possible solutions.

I hope I could draw a clearer picture now.

Helmut

Reply via email to