Source: krb5
Version: 1.22.1-2
Tags: patch ftbfs
User: [email protected]
Usertags: rebootstrap

Hi,

krb5 fails to build from source on musl-linux-any. The musl C library
does not support nss libraries. Therefore, they'll be disabled in
systemd, see
https://salsa.debian.org/systemd-team/systemd/-/merge_requests/305.
Then, there will be no libnss-myhostname for musl-linux-any
architectures. As a result, krb5 has unsatisfiable Build-Depends and
that prevents us from bootstrapping the port.

The use of libnss-myhostname is for running tests. As such, the
dependency can be annotated <!nocheck>. This will resolve the situation
for the cross bootstrap. I don't expect musl-based Debian to become
self-hosting anytime soon. Please find a patch attached.

Helmut
diff -Nru krb5-1.22.1/debian/changelog krb5-1.22.1/debian/changelog
--- krb5-1.22.1/debian/changelog        2025-11-14 16:18:38.000000000 +0100
+++ krb5-1.22.1/debian/changelog        2026-03-03 21:59:25.000000000 +0100
@@ -1,3 +1,10 @@
+krb5 (1.22.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Annotate libnss-myhostname dependency <!nocheck>. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Tue, 03 Mar 2026 21:59:25 +0100
+
 krb5 (1.22.1-2) unstable; urgency=medium
 
   * Release to unstable
diff -Nru krb5-1.22.1/debian/control krb5-1.22.1/debian/control
--- krb5-1.22.1/debian/control  2025-10-07 21:58:36.000000000 +0200
+++ krb5-1.22.1/debian/control  2026-03-03 21:59:23.000000000 +0100
@@ -9,7 +9,7 @@
                libkeyutils-dev [linux-any],
                libldap2-dev <!stage1>,
                liblmdb-dev, 
-               libnss-myhostname, 
+               libnss-myhostname <!nocheck>,
                libsasl2-dev <!stage1>,
                libssl-dev,
                libverto-dev,

Reply via email to