Package: hello
Version: 2.6-1
Severity: normal

Hello,

  Your package fails to cross build without binutils-multiarch, as strip command
needs a triplet prefix. Please consider a proposed patch:

=======8<===================================>8=========

diff -Naur hello-2.6/debian/changelog hello-2.6.fix//debian/changelog
--- hello-2.6/debian/changelog  2010-08-06 21:04:11.000000000 +0100
+++ hello-2.6.fix//debian/changelog     2011-03-04 15:40:30.000000000 +0000
@@ -1,3 +1,10 @@
+hello (2.6-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Make strip to work without binutils-multiarch, by adding proper prefix. 
+
+ -- Hector Oron <zu...@debian.org>  Fri, 04 Mar 2011 15:39:38 +0000
+
 hello (2.6-1) unstable; urgency=low
 
   * New upstream release.
diff -Naur hello-2.6/debian/rules hello-2.6.fix//debian/rules
--- hello-2.6/debian/rules      2010-02-21 22:28:48.000000000 +0000
+++ hello-2.6.fix//debian/rules 2011-03-04 15:35:46.000000000 +0000
@@ -16,9 +16,6 @@
 ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
   CFLAGS += -O2
 endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-  STRIP = strip --remove-section=.comment --remove-section=.note
-endif
 
 export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
@@ -26,8 +23,14 @@
 # Recommended snippet for Autoconf 2.52 or later
 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
   confflags += --build $(DEB_HOST_GNU_TYPE)
+  stripcmd = strip
 else
   confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+  stripcmd = $(DEB_HOST_GNU_TYPE)-strip
+endif
+
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+    STRIP = $(stripcmd) --remove-section=.comment --remove-section=.note
 endif
 
 build:

=======8<===================================>8=========

Best regards,
  -- Hector Oron

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hello depends on:
ii  dpkg                      1.15.8.10      Debian package management system
ii  install-info              4.13a.dfsg.1-6 Manage installed documentation in 
ii  libc6                     2.11.2-11      Embedded GNU C Library: Shared lib

hello recommends no packages.

hello suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to