Package: check
Version: 0.9.8-2
Severity: normal
Tags: patch

We are working on getting multiarch metadata correct throught the
archive. This package needs to be marked 'Multi-Arch: foreign' for
dependencies and build-depencies to work correctly in all cases.

Any package 'X' build-depending on check cannot be cross-built
because apt-get build-dep -a<arch> cannot satisfy X's
build-dependencies until

Multi-Arch: foreign

is added to check's control file, to indicate that check from
any available arch will satisfy the dependency. (Is is actually the
case that check will always work correctly across architectures - it
looked like it to me but I am not familiar with its operation, so
maybe there could be problems? It worked OK in local tests for the
arm64 bootstrap).

There are 114 packages which can't be cross-built until this change 
is made. 

-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.33-kvm-i386-20111128-dirty (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -u check-0.9.8/debian/control check-0.9.8/debian/control
--- check-0.9.8/debian/control
+++ check-0.9.8/debian/control
@@ -10,6 +10,7 @@
 Architecture: any
 Homepage: http://check.sourceforge.net/
 Depends: ${misc:Depends}, dpkg (>= 1.15.4) | install-info
+Multi-Arch: foreign
 Description: unit test framework for C
  Check features a simple interface for defining unit tests, putting 
  little in the way of the developer. Tests are run in a separate 
diff -u check-0.9.8/debian/changelog check-0.9.8/debian/changelog
--- check-0.9.8/debian/changelog
+++ check-0.9.8/debian/changelog
@@ -1,3 +1,9 @@
+check (0.9.8-2multiarch1) precise; urgency=low
+
+  * Set Multi-Arch:foreign for cross-building
+
+ -- Wookey <woo...@wookware.org>  Tue, 13 Nov 2012 04:08:54 +0000
+
 check (0.9.8-2) unstable; urgency=low
 
   * Revert stupid change to check.m4 (closes: #528047, #581354)
only in patch2:
unchanged:

Reply via email to