Moessbauer Felix <felix.moessba...@siemens.com> writes:

> the krb5-config tool needs a C compiler to work at all:

> krb5-config
> /usr/bin/krb5-config: 1: cc: not found
> Failed to find installation architecture

> To reproduce, just install libkrb5-dev (e.g. in the debian:bookworm
> container) and call krb5-config. Once a cc is installed (e.g. gcc), the
> tool works properly.

> This bug affects at least bullseye and bookworm.

Technically, I suppose this could be represented with a dependency, but
I'm curious how you ended up wanting to run krb5-config on a system
without a compiler.  In general, all *-dev packages in Debian are only
useful with a compiler, since their whole purpose is to provide support
for linking new binaries with libraries.  We generally don't make that
dependency explicit, though, since it adds a lot of edges to the
dependency graph and it's not clear they serve much purpose.

One of the technical problems with trying to declare this dependency
explicitly is that Debian comes with multiple compilers and we don't
currently have a mechanism so far as I know to depend on a generic C
compiler.  (Build dependencies for Debian packages themselves depend on
build-essential, but build-essential forces installation of gcc,
specifically, as opposed to, say, clang.)

-- 
Russ Allbery (r...@debian.org)              <https://www.eyrie.org/~eagle/>

Reply via email to