From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: [PATCH OSSTEST 4/6] Debian: install libc6-dev-i386 for Wheezy amd64 Date: Fri, 20 Sep 2013 10:15:44 +0100 Message-ID: <1379668546-5267-5-git-send-email-wei.liu2@citrix.com> References: <1379668546-5267-1-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: <1379668546-5267-1-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: xen-devel@lists.xen.org Cc: Wei Liu , ian.jackson@eu.citrix.com, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Wheezy introduces multilib, which makes i386 headers not available on amd64 by default. We need to install libc6-dev-i386, otherwise the test code for 32bit instruction decoder/emulator fails. 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 bc436b8..f7ef5bf 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep @@ -174,6 +174,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'); + } } sub cacheing_git_mount () { -- 1.7.10.4