Your message dated Fri, 24 May 2013 09:44:15 +0200
with message-id <[email protected]>
and subject line Re: Bug#695135: dosfstools: fails to cross-build: uses wrong 
compiler
has caused the Debian Bug report #695135,
regarding dosfstools: fails to cross-build: uses wrong compiler
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
695135: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695135
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dosfstools
Version: 3.0.13-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: cross

dosfstools fails to cross-build because it uses the native compiler
rather than the appropriate cross-compiler.  The fix is trivial, and
follows.

  * Use correct compiler when cross-building.

diff -Nru dosfstools-3.0.13/debian/rules dosfstools-3.0.13/debian/rules
--- dosfstools-3.0.13/debian/rules      2012-06-30 18:13:01.000000000 +0100
+++ dosfstools-3.0.13/debian/rules      2012-12-04 14:26:13.000000000 +0000
@@ -1,8 +1,16 @@
 #!/usr/bin/make -f
 
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+
 %:
        dh ${@}
 
+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+override_dh_auto_build:
+       dh_auto_build -- CC=$(DEB_HOST_GNU_TYPE)-gcc
+endif
+
 override_dh_auto_install:
        dh_auto_install -- DESTDIR=$(CURDIR)/debian/dosfstools PREFIX=/usr 
SBINDIR=/sbin
 

Thanks,

-- 
Colin Watson                                       [[email protected]]

--- End Message ---
--- Begin Message ---
Version: 3.0.15-1

Colin Watson [2012-12-04 14:36 +0000]:
> dosfstools fails to cross-build because it uses the native compiler
> rather than the appropriate cross-compiler.  The fix is trivial, and
> follows.

This was fixed in

dosfstools (3.0.15-1) unstable; urgency=low

  [ Colin Watson ]
  * Using correct compiler when cross-building.

  [ Daniel Baumann ]
  * Merging upstream version 3.0.15:
    - Bugfix root directory allocation (Closes: #639393).
    - Bugfix messages about unicode filenames (Closes: #596336).

 -- Daniel Baumann <[email protected]>  Thu, 21 Feb 2013 15:20:07 +0100

without a bug reference. Closing manually.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to