nss-pam-ldapd cannot be cross built from source, because a number of
Build-Depends relating to Python cannot be satisfied in a cross build
setting. Instead of figuring out how to satisfy them, I recognize that
they are needed for building Architecture: all packages. In disabling
Python-related build steps in an arch-only build all those dependencies
can be avoided. Please find a patch implementing this attached. I used
reproducible builds to verify that a full build with all those steps
enabled reproduces the artifacts from a modified arch-only build.
Therefore, I do not anticipate any regressions from this transformation.
Besides speeding up arch-only builds, it is sufficient to make cross
Build-Depends satisfiable. It turns out that this is sufficient to fully
cross build nss-pam-ldapd without further modifications. Please consider
applying the attached patch.
This patch submission is compensated by Freexian SARL.
Helmut