Skip to content

build: attempt to "fix" GitLab CI job "debian-unstable-gcc-arm64"

Anthony PERARD xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2build: set policy filename on make command linexen/xsm/flask/Makefile+1 -11 reply
2/2build: add --full to version.sh to guess $(XEN_FULLVERSION)tools/flask/policy/Makefile.common version.sh+15 -23 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [XEN PATCH 0/2] build: attempt to "fix" GitLab CI job "debian-unstable-gcc-arm64"

Patch series available in this git branch:
https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.fix-flask-policy.mk-v1

Well, that job fails with weird failure:
make[6]: Entering directory '/builds/xen-project/xen/tools/flask/policy'
make[6]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. /builds/xen-project/xen/tools/flask/policy/Makefile.common:115: *** target pattern contains no '%'. Stop. make[6]: Leaving directory '/builds/xen-project/xen/tools/flask/policy'

This is because we do $(shell $(MAKE) xenversion) and that sometime produce more than just "4.16-unstable", which lead to makefile parsing failure. Maybe make -j80 is too much.

But you can have the same kind of failure when running make --debug=a or remake --trace with flask policy generation enabled.

This patch series fixes build of "xen" (first patch), but only workaround with a probably not good enough patch for build of the "tools".

Anthony PERARD (2):
build: set policy filename on make command line
build: add --full to version.sh to guess $(XEN_FULLVERSION)

 tools/flask/policy/Makefile.common |  2 +-
 version.sh                         | 15 ++++++++++++++-
 xen/xsm/flask/Makefile             |  2 +-
 3 files changed, 16 insertions(+), 3 deletions(-)
Signature · 1 line
Anthony PERARD