Package: pbuilder
Version: 0.210
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)

The severity may be a bit inflated here, so feel free to mod it down. When
building pbuilder on my armhf box it unfortunately fails, patches attached to
fix that

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

Kernel: Linux 3.3.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  cdebootstrap           0.5.8+b1
ii  coreutils              8.13-3.1
ii  debconf [debconf-2.0]  1.5.42
ii  debianutils            4.3
ii  debootstrap            1.0.40
ii  dpkg-dev               1.16.3
ii  wget                   1.13.4-3

Versions of packages pbuilder recommends:
ii  devscripts  2.11.6
ii  fakeroot    1.18.3-1
ii  sudo        1.8.3p2-1

Versions of packages pbuilder suggests:
pn  cowdancer     0.69
pn  gdebi-core    0.8.5
pn  pbuilder-uml  <none>

-- debconf information excluded
>From acf014c42eb9702272d63cbf7086e8a0b4dc32f7 Mon Sep 17 00:00:00 2001
From: Sjoerd Simons <sjoerd.sim...@collabora.co.uk>
Date: Tue, 1 May 2012 10:11:26 +0200
Subject: [PATCH 1/2] Recognize armhf as an architecture on ubuntu-ports

---
 pbuilder-apt-config |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbuilder-apt-config b/pbuilder-apt-config
index 8953c82..7f93088 100755
--- a/pbuilder-apt-config
+++ b/pbuilder-apt-config
@@ -67,7 +67,7 @@ guess_dist_arch_archive() {
           amd64|i386)
             echo "ubuntu"
           ;;
-          armel|hppa|ia64|lpia|powerpc|sparc)
+          armel|armhf|hppa|ia64|lpia|powerpc|sparc)
             echo "ubuntu-ports"
           ;;
           *)
-- 
1.7.10

>From 2423d7d625da63e5767a6f8d721d08e8d003f9f9 Mon Sep 17 00:00:00 2001
From: Sjoerd Simons <sjoerd.sim...@collabora.co.uk>
Date: Tue, 1 May 2012 10:11:56 +0200
Subject: [PATCH 2/2] When testing mirror selection, force an architecture
 that we know is on that mirror

---
 test_pbuilder-apt-config |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test_pbuilder-apt-config b/test_pbuilder-apt-config
index 6d1d71b..9db4c4e 100755
--- a/test_pbuilder-apt-config
+++ b/test_pbuilder-apt-config
@@ -185,7 +185,7 @@ expect_output "mirror" debootstrap_mirror --suite sid --mirror mirror
 
 expect_output "sid" debootstrap_suite --profile sid
 expect_output "sid" debootstrap_suite --profile unstable
-expect_output "ubuntu-mirror" debootstrap_mirror --profile lucid
+expect_output "ubuntu-mirror" debootstrap_mirror --profile lucid --arch amd64
 expect_output "ubuntu-ports-mirror" debootstrap_mirror --profile lucid --arch armel
 
 testlib_summary
-- 
1.7.10

Reply via email to