[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:58:06 +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=FxnUDfnA1JCw3Vo8l99dfHW8RyAEk5OJssZEnQ2vSko=; b=Lzp9Cj8NGqe3YxXRafZ/LaNEF+eCaHPC0gc+Y8Cbj6zbXtCD9kE3rtmIYtVbDuS4PwXRDpbgYNnlsmpLkPtXbQIERULrlUJbLVIF8vcAjbiBlF1VCxBn02D7eECA5SkHRC+v/zTsaAECDv41l3lJkylLxq/DzVpbIFNwLcppEw860EQXei7/aWW2lF9jIBsx0z24Epl9FVfZG87vVi2hEokGACRQp/6iCGz1CAESgR4lFEN1BLetFgpkO2GMiRzhnKdW20vFBX87RPSqA/lnBlA9Q74oBtQK1lLtD3zWVEfHj2Sql5g/rcmEfplvaT0AdUyPfKv+6g+4pREpyihwNg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vvh7pKhwkq1oNbXVuQTyirYHOkdnKPpW3XDlMBvz/BqtOhbYoalZ26YzxTybU75/lFZWc2GwmQWgS4tSi4Mz30/f4r+VI/wOCRW8/0su70RnsygFodI+8Gq30MtXzuA09kj3IQYluOsQNOkr+jZq+r4GRNrGbYWkpLQwKWslQIL7xUZEyCGvFVIu4lIwWU/6CcO2W5BoTaJtXLpY+QIsH2Hu7aCCkQQej1fjem71T0kbzKDtJejMUx20yTzZ/8NAuuSnu1fte1Uvz8rzkrDgTiRcrrbcpA5hv2XB84R8J9fMTR3GtcXr3GjiAAg90X5mOOW81T4gMzUCJtYaMcoL2w==
  • Authentication-results: esa3.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>, Ian Jackson <iwj@xxxxxxxxxxxxxx>
  • Delivery-date: Mon, 01 Mar 2021 09:58:21 +0000
  • Ironport-sdr: 436USzCtW2QipQtEDdyTz4HfFrTV62tvnanfAhUkTHBHF6cWTQjuuHlw2e918TYJVSuY3D+Cqe AM+u3FSV+n2o5o+x13aUxyf8jIRyLLdFDIikXPOzFZDh/8lLIExA2xDQFnbqY+1hQ/ZJ+MZDtH +c1aUJ6XweZ9gcoeEegdCqZDlslaKWK04JkIZeyqcMo5sFbVf7enGt75vv/R9tirz6kQQ+Oitq MgVwUELjFJMDDnd2eUpwkmPgXyTiLxXARBnZwjo2I4xk+aHzDUFB/6+5KpeJ1XAKQJk+0eubum SaQ=
  • 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>
---
Cc: Ian Jackson <iwj@xxxxxxxxxxxxxx>
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®.