Bug#946235: atk1.0: please make autopkgtests cross-test-friendly

Steve Langasek steve.langasek at canonical.com
Fri Dec 6 19:32:26 GMT 2019

On Fri, Dec 06, 2019 at 07:18:22PM +0000, Simon McVittie wrote:
> 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.

Ok, sure enough, it's there.  So ${CROSS_COMPILE}pkg-config should DTRT!

> > 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

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-a11y-devel/attachments/20191206/92fbdb48/attachment.sig>

More information about the Pkg-a11y-devel mailing list