[Pbuilder-maint] Bug#332737: marked as done (cross-arch support for pbuilder; AMD64 and x86)

Debian Bug Tracking System owner at bugs.debian.org
Thu Nov 3 02:48:06 UTC 2005


Your message dated Wed, 02 Nov 2005 18:32:06 -0800
with message-id <E1EXUta-0003dg-00 at spohr.debian.org>
and subject line Bug#332737: fixed in pbuilder 0.137
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 8 Oct 2005 08:57:11 +0000
>From dancer at netfort.gr.jp Sat Oct 08 01:57:11 2005
Return-path: <dancer at netfort.gr.jp>
Received: from 68.105.138.210.bn.2iij.net (viper2.netfort.gr.jp) [210.138.105.68] 
	by spohr.debian.org with smtp (Exim 3.36 1 (Debian))
	id 1EOAVy-0001va-00; Sat, 08 Oct 2005 01:57:10 -0700
Received: (qmail 25813 invoked from network); 8 Oct 2005 08:57:08 -0000
Received: from unknown (HELO dancer64.netfort.gr.jp.netfort.gr.jp) (127.0.0.1)
  by viper2.netfort.gr.jp with SMTP; 8 Oct 2005 08:57:08 -0000
Date: Sat, 08 Oct 2005 17:57:16 +0900
Message-ID: <877jcowfmb.dancerj%dancer at netfort.gr.jp>
From: Junichi Uekawa <dancer at netfort.gr.jp>
To: submit at bugs.debian.org
Subject: cross-arch support for pbuilder; AMD64 and x86
User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7
 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/21.4 (x86_64-pc-linux-gnu)
 MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: multipart/signed;
 boundary="pgp-sign-Multipart_Sat_Oct__8_17:57:13_2005-1"; micalg=pgp-sha1;
 protocol="application/pgp-signature"
Content-Transfer-Encoding: 7bit
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

--pgp-sign-Multipart_Sat_Oct__8_17:57:13_2005-1
Content-Type: text/plain; charset=US-ASCII

Package: pbuilder
Version: 0.135

Apparently, it's possible to get a pbuilder chroot for x86 on
an amd64 box with the following command line (thanks to Mithrandir)

	pbuilder create --distribution sid --debootstrapopts "--arch=i386" --basetgz /var/cache/pbuilder/base-i386.tgz --mirror http://ftp.jp.debian.org/debian


This is actually enough to bootstrap a i386 chroot.
On building a package, there is one extra work to do.
uname will give architecture string for amd64 (x86_64)
instead of i386. The tool for changing 'personality'
in amd64 is 'linux32'.
sbuild invokes linux32 before dpkg-buildpackge.
(thanks to neuro)


The missing piece for pbuilder amd64->i386 cross build 
support is 

1. documentation on the procedure
2. support for linux32
3. regression testsuite to test that
  a. bootstrap is functional
  b. build is getting uname -a with correct values
  c. package gets built


regards,
	junichi

--pgp-sign-Multipart_Sat_Oct__8_17:57:13_2005-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDR4nr2Dd9TugeVcERArHtAJ9ml+9ztKD767FQ39im7ihys96IYQCfRLaW
7Pxjc7/+QpkGw0ZiD3kWYQU=
=WtNi
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Sat_Oct__8_17:57:13_2005-1--

---------------------------------------
Received: (at 332737-close) by bugs.debian.org; 3 Nov 2005 02:36:40 +0000
>From katie at spohr.debian.org Wed Nov 02 18:36:40 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EXUta-0003dg-00; Wed, 02 Nov 2005 18:32:06 -0800
From: Junichi Uekawa <dancer at debian.org>
To: 332737-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#332737: fixed in pbuilder 0.137
Message-Id: <E1EXUta-0003dg-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Wed, 02 Nov 2005 18:32:06 -0800
Delivered-To: 332737-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: pbuilder
Source-Version: 0.137

We believe that the bug you reported is fixed in the latest version of
pbuilder, which is due to be installed in the Debian FTP archive:

pbuilder_0.137.dsc
  to pool/main/p/pbuilder/pbuilder_0.137.dsc
pbuilder_0.137.tar.gz
  to pool/main/p/pbuilder/pbuilder_0.137.tar.gz
pbuilder_0.137_all.deb
  to pool/main/p/pbuilder/pbuilder_0.137_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 332737 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Junichi Uekawa <dancer at debian.org> (supplier of updated pbuilder package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu,  3 Nov 2005 10:06:58 +0900
Source: pbuilder
Binary: pbuilder
Architecture: source all
Version: 0.137
Distribution: unstable
Urgency: low
Maintainer: Debian pbuilder maintenance team <pbuilder-maint at lists.alioth.debian.org>
Changed-By: Junichi Uekawa <dancer at debian.org>
Description: 
 pbuilder   - personal package builder for Debian packages
Closes: 332737
Changes: 
 pbuilder (0.137) unstable; urgency=low
 .
   [Junichi Uekawa]
   * pbuilder-doc.xml
   - Document amd64-i386 usage in FAQ. (closes: #332737)
   - typo fix
   - document /etc/mtab inside chroot is a symbollic link.
 .
   * update TODO file.
 .
   * allow debootstrap or cdebootstrap as dependency.
   - check for debootstrap installation, and output meaningful error.
     This is a follow-up to (#323843, #324648)
     rationale: debootstrap has some more features and cdebootstrap, sometimes;
     and cdebootstrap is not ported to all architectures.
 .
   [Matt Kraai]
   * If /proc is mounted, create a symbolic link from /etc/mtab to
     /proc/mounts.
Files: 
 795717ec9e9916cd29b56e46300f9503 673 devel extra pbuilder_0.137.dsc
 1bd0940f555fc8e97a6c594194923366 271690 devel extra pbuilder_0.137.tar.gz
 c96ca0183e2a90de86735a9ff87b4cfc 72636 devel extra pbuilder_0.137_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDaXRm2Dd9TugeVcERArctAJoCnR/MU40rwZWdC8/9yGxzT/JNMgCfXwHS
YJY5Y4KwiU4KNgMDilVrvZ0=
=8YCw
-----END PGP SIGNATURE-----




More information about the Pbuilder-maint mailing list