[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH for-4.15] automation/alpine: add g++ to the list of build depends


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Date: Mon, 1 Mar 2021 10:57:14 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k4RoEXHGAbtddftviS5x58yhBnv9NpZ0rEaiIIfG260=; b=i1H44w0JBu9EcABKIJNfLIrhXS+n7Fbbq7o0q9Z12VJRBpI6Mj+ME5hkFwa55MFNHLHikAVUluOsHY5BWPxdgXyhP5jnFAhDNVgmewENBGNW9BRW3uwqukWHD0i/W0kFVqeaKLajZCXwBFFbFGVzBH/iLfsgaW/VRBTK/OqIHJG3xTRUD36U4YAYshi/Psapp8zRE/YMBIOLjc5fj6UlnDwPmQv4+haGub5/4sgmoqgAURfX/qFk+FUqCo9+K36l12YPUJle+vBOfiTWoJ+7Yu/I7au0/nTl8PMd616KhtpxlQOYeCi80l4JA2IIzk43kv2EFi9OoI4mF4IuwFBulQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=deStf3yh4mMNYcUalizCX3qAJYOBeqVZ85x/sqbLZln8hMNu5Q6JTSPUpy9+PFvU9dRXLJWepY/UvTRc4ER4b9PDt3+WWPWOYt9+NwRo8zmRDriMCtjdjmy/6IqVSmc/kuXR7yVawVyUnGiKOdxCaWyl2oHOeYFBJE6IKS/ATQBiVhLVxh1iDrzFzeESUevT/ZjoLJGX/3GJQdobXQCpb1ZQrdeoY5ibra4R6xaxScZS5MkgwZsut7KV2ad1dIiUpUVspZ/knsd3SkSwCM1Dpy0trWeoPu7z3Lt7f1dAPA0feHECPT8Tg0wscwWWUGNhlOkQuvCyy5umHiNf5EfsGg==
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 01 Mar 2021 09:57:33 +0000
  • Ironport-sdr: Bbo9kRyiHSoJtM++yqRGYyUuGHmjW4LC7vXMRLXCeX1GL4256elhCpvcOz9BQajiaTKUN8hUhv DLzYH198gzkRZtw7Z0q22h7bBhC08x1VhVE66yLzO0s3aSErDZfE7n9+8MCLq53E6bKpSA3hoj 8UPEfn257FVU54D3QLH1G+aSdmPw/XPTI9v1KDklj1GrTDzHz7I4OuDGrg5Z1YHppPoVluQdag Dh1ZplPtv26Ts6d0whtwxiPIXlZKQ+5A2RL08QvIpWPflur2uocgXr3qZN32/2qDb0vsvihjXo 3jw=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

clang++ relies on the C++ headers installed by g++, or else a clang
build will hit the following error:

<built-in>:3:10: fatal error: 'cstring' file not found
#include "cstring"
         ^~~~~~~~~
1 error generated.
make[10]: *** [Makefile:120: headers++.chk] Error 1

Reported-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
No real risk here from a release PoV, it's just pulling a package
required for the Alpine clang build. Worse that cold happen is that
the Alpine clang build broke, but it's already broken.
---
 automation/build/alpine/3.12.dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/automation/build/alpine/3.12.dockerfile 
b/automation/build/alpine/3.12.dockerfile
index 2c02417ee6..94557e239b 100644
--- a/automation/build/alpine/3.12.dockerfile
+++ b/automation/build/alpine/3.12.dockerfile
@@ -21,6 +21,7 @@ RUN \
   apk add curl-dev && \
   apk add dev86 && \
   apk add gcc  && \
+  apk add g++ && \
   apk add clang  && \
   apk add gettext && \
   apk add git && \
-- 
2.30.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.