On Fri, 06 Dec 2019 at 09:41:54 -0800, Steve Langasek wrote: > As far as I see, installing crossbuild-essential-i386 + pkg-config doesn't > set up an i386-linux-gnu-pkg-config symlink.
It's i686-etc. (GNU tuple, not multiarch tuple). It's helpful that your first attempts at cross-testing are for i386, because I think that's our only architecture where the difference between GNU and multiarch tuple matters in practice! As far as I can see, it is meant to be set up when you either add i386 as a foreign architecture, or install pkg-config, whichever one of those two actions is done second. If that isn't working for you, then I think there's a problem, because cross-compiling packages that rely on pkg-config using dpkg won't work. > Do you think autopkgtests > should be setting up such a symlink locally No, I think they should be relying on the OS getting it right, and failing if the OS got it wrong. smcv