Package: debhelper
Version: 7.4.15ubuntu1
Severity: normal
Tags: patch

When using debuild to cross compile a package that is built with cmake (e.g., 
debuild -aarmel), the build directory is named obj-i686-linux-gnu, which is the 
same name that is used when doing a native debuild.   

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 
'lucid-backports'), (500, 'lucid')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-33-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils               2.20.1-3ubuntu7.1 The GNU assembler, linker and bina
ii  dpkg-dev               1.15.5.6ubuntu4.5 Debian package development tools
ii  file                   5.03-5ubuntu1     Determines file type using "magic"
ii  html2text              1.3.2a-14build1   advanced HTML to text converter
ii  man-db                 2.5.7-2ubuntu1    on-line manual pager
ii  perl                   5.10.1-8ubuntu2.1 Larry Wall's Practical Extraction 
ii  perl-base              5.10.1-8ubuntu2.1 minimal Perl system
ii  po-debconf             1.0.16            tool for managing templates file t

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make                       0.50       tool that converts source archives

-- no debconf information
>From 5ad7d17d7a77f64cb5f72ae90b60f2d8b2c1a1ca Mon Sep 17 00:00:00 2001
From: Tom Hughes <tom.hug...@palm.com>
Date: Thu, 6 Oct 2011 11:55:39 -0700
Subject: [PATCH] Use target architecture for build directory name.

---
 Debian/Debhelper/Buildsystem.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Debian/Debhelper/Buildsystem.pm b/Debian/Debhelper/Buildsystem.pm
index 763baa9..c1a10e5 100644
--- a/Debian/Debhelper/Buildsystem.pm
+++ b/Debian/Debhelper/Buildsystem.pm
@@ -34,7 +34,7 @@ sub DESCRIPTION {
 # Default build directory. Can be overriden in the derived
 # class if really needed.
 sub DEFAULT_BUILD_DIRECTORY {
-       "obj-" . dpkg_architecture_value("DEB_BUILD_GNU_TYPE");
+       "obj-" . dpkg_architecture_value("DEB_HOST_GNU_TYPE");
 }
 
 # Constructs a new build system object. Named parameters:
-- 
1.7.7

Reply via email to