From: Ian Campbell Subject: Re: [PATCH OSSTEST RFC 3/5] Debian: install libc6-dev-i386 for Wheezy amd64 Date: Thu, 19 Sep 2013 18:16:15 +0100 Message-ID: <1379610975.11304.339.camel@hastur.hellion.org.uk> References: <1379606541-12364-1-git-send-email-wei.liu2@citrix.com> <1379606541-12364-4-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1379606541-12364-4-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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? I wonder why it apparently isn't need for a Squeeze build though. What 32-bit stuff is getting built? > > 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]