Re: Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package
On Mon, Aug 03, 2020 at 05:39:23AM +0900, Mike Hommey wrote:
> I'd rather replace nss-config with upstream's.
Please don't. That makes nss-config subtly buggy. The upstream
nss-config simply calls into pkg-config. In particular, it uses the
unqualified pkg-config. So the behaviour of nss-config becomes dependent
on the architecture you install pkg-config. In practice that means that
means when you install libnss3-dev for a foreign architecture, it will
be broken. And that amounts to breaking cross builds.
Really, using upstream's is the worst of choices here. Even removing
nss-config entirely would be better as that'd force dependent packages
(of which there are about 12) to properly use pkg-config instead.
So no, please don't use upstream's nss-config.