From: Roger Pau Monne Date: Mon, 1 Mar 2021 09:57:14 +0000 (+0100) Subject: automation/alpine: add g++ to the list of build depends X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~830 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5ee8e367f26082fb02b40319a019c795571f3f8e;p=xen.git automation/alpine: add g++ to the list of build depends clang++ relies on the C++ headers installed by g++, or else a clang build will hit the following error: :3:10: fatal error: 'cstring' file not found #include "cstring" ^~~~~~~~~ 1 error generated. make[10]: *** [Makefile:120: headers++.chk] Error 1 Link: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12492 Reported-by: Stefano Stabellini Signed-off-by: Roger Pau Monné Reviewed-by: Stefano Stabellini Release-Acked-by: Ian Jackson --- 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 && \