Bug#946375: pulseaudio: Please make autopkgtests cross-test-friendly
steve.langasek at canonical.com
Mon Dec 9 04:53:16 GMT 2019
On Sun, Dec 08, 2019 at 09:04:06AM -0300, Felipe Sateler wrote:
> Thanks for the patch, I have applied it. However, wouldn't it be better
> if autopkgtest provided CC and friends directly to the test? Or provide a
> tool that does? I have commented on the autopkgtest merge request.
This parallels the existing interface used for cross-compilation in dpkg.
We don't try to set CC directly for a couple of reasons:
- it's very difficult to be comprehensive about all the tools that will
need to be invoked differently for cross vs native builds. CC is one, but
LD, AS, CXX, FF, ... and there is no such standard variable for
pkg-config that's widely recognized by build systems.
- there are cases when cross-compiling that you need to build code for both
the host and build architectures, and in that case there is no universal
agreement which of these two targets "CC" points to.
So I've been relying on the tried and true dpkg interface here instead.
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...
Size: 833 bytes
Desc: not available
More information about the pkg-pulseaudio-devel