diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-11-21 15:39:00 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-11-21 15:39:00 -0500 |
| commit | 18dc032f504e9f2c0e1ba73527817f078d90433f (patch) | |
| tree | 7b35a924d99632c1b34b2bf8ec7c1277f868af3d | |
| parent | cd3d19c7deccccfef83acdd77bff3def1e53fecb (diff) | |
| download | meta-virtualization-master-next.tar.gz | |
xen-tools: fix QA errormaster-next
Fixing:
ERROR: xen-tools-4.21+stable-r0 do_package_qa: QA Issue: File /usr/lib/xen/tests/.debug/test_vpci in package xen-tools-dbg contains reference to TMPDIR [buildpaths]
ERROR: xen-tools-4.21+stable-r0 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /poky/build/tmp/work/armv8a-poky-linux/xen-tools/4.21+stable/temp/log.do_package_qa.910059
ERROR: Task (/poky/meta-virtualization/recipes-extended/xen/xen-tools_4.21.bb:do_package_qa) failed with exit code '1'
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-extended/xen/files/0001-tests-vpci-drop-explicit-g-use.patch | 33 | ||||
| -rw-r--r-- | recipes-extended/xen/xen-tools_4.21.bb | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/recipes-extended/xen/files/0001-tests-vpci-drop-explicit-g-use.patch b/recipes-extended/xen/files/0001-tests-vpci-drop-explicit-g-use.patch new file mode 100644 index 00000000..43fb7dd6 --- /dev/null +++ b/recipes-extended/xen/files/0001-tests-vpci-drop-explicit-g-use.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | From 9530cdb2de5bc3da182b4273fa706f8354721e7c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 3 | Date: Fri, 21 Nov 2025 15:05:25 -0500 | ||
| 4 | Subject: [PATCH] tests/vpci: drop explicit -g use | ||
| 5 | |||
| 6 | The explicit use of -g is embedded debug information and paths | ||
| 7 | into the output files, which breaks QA. Investigating how to | ||
| 8 | mitigate this via prefix maps is a future TODO item. For now, | ||
| 9 | we just stop using -g | ||
| 10 | |||
| 11 | Upstream-Status: Inappropriate [oe specific] | ||
| 12 | |||
| 13 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 14 | --- | ||
| 15 | tools/tests/vpci/Makefile | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/tools/tests/vpci/Makefile b/tools/tests/vpci/Makefile | ||
| 19 | index 97359ff67f..39c582cded 100644 | ||
| 20 | --- a/tools/tests/vpci/Makefile | ||
| 21 | +++ b/tools/tests/vpci/Makefile | ||
| 22 | @@ -15,7 +15,7 @@ else | ||
| 23 | endif | ||
| 24 | |||
| 25 | $(TARGET): vpci.c vpci.h list.h main.c emul.h | ||
| 26 | - $(CC) $(CFLAGS_xeninclude) -g -o $@ vpci.c main.c | ||
| 27 | + $(CC) $(CFLAGS_xeninclude) -o $@ vpci.c main.c | ||
| 28 | |||
| 29 | .PHONY: clean | ||
| 30 | clean: | ||
| 31 | -- | ||
| 32 | 2.39.2 | ||
| 33 | |||
diff --git a/recipes-extended/xen/xen-tools_4.21.bb b/recipes-extended/xen/xen-tools_4.21.bb index 7f134280..1fe7704b 100644 --- a/recipes-extended/xen/xen-tools_4.21.bb +++ b/recipes-extended/xen/xen-tools_4.21.bb | |||
| @@ -8,6 +8,7 @@ SRC_URI = " \ | |||
| 8 | file://0001-python-pygrub-pass-DISTUTILS-xen-4.19.patch \ | 8 | file://0001-python-pygrub-pass-DISTUTILS-xen-4.19.patch \ |
| 9 | file://0001-libxl_nocpuid-fix-build-error.patch \ | 9 | file://0001-libxl_nocpuid-fix-build-error.patch \ |
| 10 | file://0001-tools-libxl-Fix-build-with-NOCPUID-and-json-c.patch \ | 10 | file://0001-tools-libxl-Fix-build-with-NOCPUID-and-json-c.patch \ |
| 11 | file://0001-tests-vpci-drop-explicit-g-use.patch \ | ||
| 11 | " | 12 | " |
| 12 | 13 | ||
| 13 | LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9" | 14 | LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9" |
