From: Wei Liu Subject: Re: [PATCH OSSTEST RFC 3/5] Debian: install libc6-dev-i386 for Wheezy amd64 Date: Thu, 19 Sep 2013 19:31:57 +0100 Message-ID: <20130919183157.GA26370@zion.uk.xensource.com> References: <1379606541-12364-1-git-send-email-wei.liu2@citrix.com> <1379606541-12364-4-git-send-email-wei.liu2@citrix.com> <1379610975.11304.339.camel@hastur.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1379610975.11304.339.camel@hastur.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: ian.jackson@eu.citrix.com, Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, Sep 19, 2013 at 06:16:15PM +0100, Ian Campbell wrote: > On Thu, 2013-09-19 at 17:02 +0100, Wei Liu wrote: > > Otherwise build-amd64 fails with missing header predefs.h. > > This package exists in Squeeze too, it might simplify things to make it > unconditional? > No, it doesn't exist in Lenny -- I see there's branches conditional on Lenny, do we still use that? > I wonder why it apparently isn't need for a Squeeze build though. What > 32-bit stuff is getting built? > I guess that's because Wheezy introduces multiarch? The thing being built is QEMU. Wei. > > > > Signed-off-by: Wei Liu > > --- > > ts-xen-build-prep | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/ts-xen-build-prep b/ts-xen-build-prep > > index b1e6a6c..66ba000 100755 > > --- a/ts-xen-build-prep > > +++ b/ts-xen-build-prep > > @@ -175,6 +175,10 @@ sub prep () { > > target_cmd_root($ho, "chmod -R a+r /usr/share/git-core/templates"); > > # workaround for Debian #595728 > > > > + if ($r{arch} eq 'amd64' && $ho->{Suite} =~ m/wheezy/) { > > + target_install_packages($ho, 'libc6-dev-i386'); > > + } > > + > > if ($ho->{Suite} !~ m/lenny/) { > > target_putfilecontents_stash($ho,60,<<'END','/home/osstest/.hgrc'); > > [extensions] >