control.m4 change breaks cross builds:

-----
Package: libgcc1-dbg-armhf-cross
Architecture: all
Section: debug
Priority: extra
Depends: gcc-4.7-arm-linux-gnueabihf-base (= ${gcc:Version}),
libgcc1-armhf-cross (= ${gcc:EpochVersion}), ${misc:Depends}
dnldnl
Description: GCC support library (debug symbols)
 Debug symbols for the GCC support library.
 .
 This package contains files for armhf architecture, for use in
cross-compile
 environment.
-----

Notice "dnldnl". But I see what the problem you had:

-----
Package: libgcc1-dbg
Architecture: any
Section: debug
Priority: extra
Depends: gcc-4.7-base (= ${gcc:Version}), libgcc1 (=
${gcc:EpochVersion}), ${misc:Depends}

Provides: libgcc1-dbg-armel [armel], libgcc1-dbg-armhf [armhf]
Description: GCC support library (debug symbols)
 Debug symbols for the GCC support library.
-----

This change should satisfy all situations:

diff --git a/debian/control.m4 b/debian/control.m4
index 42714b1..e22374e 100644
--- a/debian/control.m4
+++ b/debian/control.m4
@@ -185,7 +185,7 @@ Architecture: ifdef(`TARGET',`all',`any')
 Section: debug
 Priority: extra
 Depends: BASEDEP, libgcc1`'LS (= ${gcc:EpochVersion}), ${misc:Depends}
-ifdef(`TARGET',`dnl',`dnl
+ifdef(`TARGET',`',`dnl
 ifdef(`MULTIARCH',`Multi-Arch: same
 ')dnl
 Provides: libgcc1-dbg-armel [armel], libgcc1-dbg-armhf [armhf]


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5006d249.4070...@linaro.org

Reply via email to