Comment 4 for bug 1101069

Revision history for this message
Wookey (wookey) wrote : Re: [Bug 1101069] Re: Add multiarch metadata for check

+++ Dmitrijs Ledkovs [2013-01-18 10:49 -0000]:
> also I'm not sure about check, it's a C unit-test framework, and one compiles tests for the --host-arch & then executes them. But in the case of cross-compilation, one will not be able to execute them. Hence the following should be done:
> - check properly multiarch (m-a: same)
> or
> cross-compile with DEB_BUILD_OPTIONS=nocheck and in this case package should be modified not to search for check nor try to statically link it in.

This already seems to work fine in practice (so long as the built
package supports nocheck, which most do).

One we have BUILD PROFILE support we could annotate the dependency not
to be needed at all, but in the meantime not having this marked
foreign means lots of packages can't have their cross- build-deps
installed.

Hmm. I had assumed check was a utility but in fact it's a
library so probably should be MA: same. at which point things will
'just work'. OK. Well spotted.

Wookey
--
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/