https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288929
Bug ID: 288929
Summary: krb5 compile_et not functional
Product: Base System
Version: 15.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
We now build compile_et from krb5/util/compile_et. The compile_et make target
runs compile_et.sh through a preprocessor that does some substitution on the
script, in particular it defines the directory where compile_et can find
et_h.awk and et_c.awk.
We build compile_et as a bootstrap tool since it's used to build krb5. It also
gets installed by installworld, presumably because we did that with Heimdal
Kerberos too and there's some chance that third-party projects are using it.
There are two problems:
1. We don't actually install those awk scripts anywhere, so
/usr/sbin/compile_et isn't usable on an installed system.
2. compile_et is a bootstrap tool and gets installed into WORLDTMP during the
bootstrap phase of the build. At that point we preprocess it to set the
directory where it can find those awk scripts. That directory is currently set
with `KRB5_ETDIR?= ${DESTDIR}/usr/share/et`, but DESTDIR points into the object
directory.
The first problem seems straightforward to fix (I guess just install those
scripts to /usr/share/krb5-et or so?). The solution for the second one is not
so obvious to me. I think we want to avoid hard-coding the value of DESTDIR in
the installed system, so probably the directory should be a relative path like
`$(dirname $0)/../share/krb5-et`.
--
You are receiving this mail because:
You are the assignee for the bug.