+++ 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/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1101069 Title: Add multiarch metadata for check To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/check/+bug/1101069/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs