build-sys: Move the print-variable rule to rules.mak
PATCH 1/1 build-sys: Move the print-variable rule to rules.mak
Currently the print-variable rule can only be used in the root directory:
$ make print-vhost-user-json-y vhost-user-json-y= contrib/vhost-user-gpu/50-qemu-gpu.json tools/virtiofsd/50-qemu-virtiofsd.json
$ make -C i386-softmmu print-obj-y make: Entering directory 'build/i386-softmmu' make: *** No rule to make target 'print-obj-y'. Stop. make: Leaving directory 'build/i386-softmmu'
Move it to rules.mak so we can use it from other directories:
$ make -C i386-softmmu print-obj-y make: Entering directory 'build/i386-softmmu' obj-y=qapi-introspect.o qapi-types-machine-target.o qapi-types-misc-target.o qapi-types.o qapi-visit-machine-target.o qapi-visit-misc-target.o qapi-visit.o qapi-events-machine-target.o qapi-events-misc-target.o qapi-events.o qapi-commands-machine-target.o qapi-commands-misc-target.o qapi-commands.o qapi-init-commands.o make: Leaving directory 'build/i386-softmmu'
--- Makefile | 3 --- rules.mak | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-)
Makefile +0 -3
@@ -15,9 +15,6 @@ UNCHECKED_GOALS := %clean TAGS cscope ctags dist \ help check-help print-% \ docker docker-% vm-help vm-test vm-build-% -print-%: - @echo '$*=$($*)' - # All following code might depend on configuration variables ifneq ($(wildcard config-host.mak),) # Put the all: rule here so that config-host.mak can contain dependencies.
rules.mak +3 -0
@@ -435,3 +435,6 @@ sentinel = .$(subst $(SPACE),_,$(subst /,_,$1)).sentinel. atomic = $(eval $1: $(call sentinel,$1) ; @:) \ $(call sentinel,$1) : $2 ; @touch $$@ \ $(foreach t,$1,$(if $(wildcard $t),,$(shell rm -f $(call sentinel,$1)))) + +print-%: + @echo '$*=$($*)'
Signature · 1 line
2.21.1
Patchew URL: https://patchew.org/QEMU/[email protected]/
Patchew URL: https://patchew.org/QEMU/[email protected]/
Hi,
This series failed the docker-clang@ubuntu build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally.
=== TEST SCRIPT BEGIN ===
#!/bin/bash
make docker-image-ubuntu V=1 NETWORK=1
time make docker-test-clang@ubuntu SHOW_ENV=1 J=14 NETWORK=1 === TEST SCRIPT END ===
LINK qemu-bridge-helper LINK virtiofsd LINK vhost-user-input /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `/usr/bin/ldrpc_createerr@@GLIBC_2.2.5' overridden by definition from : /lib/x86_64-linux-gnu/libc.so.6/lib/x86_64-linux-gnu/libtirpc.so.3 : warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 GEN cris-softmmu/hmp-commands.h GEN m68k-softmmu/hmp-commands.h GEN microblazeel-softmmu/hmp-commands.h --- CC mips64-softmmu/target/mips/translate.o CC mips-softmmu/softmmu/vl.o CC mips64el-softmmu/qapi/qapi-commands.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3rpc_createerr@@GLIBC_2.2.5: warning: common of ' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
CC alpha-softmmu/target/alpha/helper.o CC aarch64-softmmu/hw/arm/exynos4_boards.o CC arm-softmmu/hw/arm/exynos4_boards.o --- CC arm-softmmu/qapi/qapi-types.o CC ppc-softmmu/memory.o CC moxie-softmmu/accel/tcg/cpu-exec.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
CC i386-softmmu/trace/generated-helpers.o/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
CC moxie-softmmu/accel/tcg/cpu-exec-common.o/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
CC nios2-softmmu/accel/tcg/translate-all.o CC mipsel-softmmu/dump/dump.o CC arm-softmmu/qapi/qapi-visit-machine-target.o --- CC nios2-softmmu/target/nios2/mmu.o CC arm-softmmu/target/arm/iwmmxt_helper.o CC mipsel-softmmu/hw/virtio/vhost-backend.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC ppc-softmmu/hw/scsi/vhost-scsi-common.o CC aarch64-softmmu/target/arm/debug_helper.o CC nios2-softmmu/target/nios2/nios2-semi.o --- CC mipsel-softmmu/hw/virtio/vhost-vsock.o CC ppc64-softmmu/arch_init.o CC ppc-softmmu/hw/vfio/display.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC ppc64-softmmu/cpus.o CC mipsel-softmmu/hw/virtio/vhost-vsock-pci.o GEN riscv32-softmmu/hmp-commands.h --- CC ppc-softmmu/hw/vfio/calxeda-xgmac.o CC ppc-softmmu/hw/vfio/amd-xgbe.o CC ppc-softmmu/hw/virtio/virtio.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC aarch64-softmmu/target/arm/translate-a64.o CC mipsel-softmmu/hw/virtio/vhost-user-scsi-pci.o CC mipsel-softmmu/hw/virtio/vhost-scsi-pci.o --- CC s390x-softmmu/gdbstub.o CC sh4-softmmu/accel/tcg/tcg-runtime-gvec.o CC sh4eb-softmmu/accel/tcg/tcg-runtime.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC riscv32-softmmu/hw/virtio/vhost-backend.o CC ppc-softmmu/hw/ppc/ppce500_spin.o CC sparc64-softmmu/accel/stubs/hvf-stub.o --- CC riscv32-softmmu/target/riscv/fpu_helper.o CC s390x-softmmu/hw/virtio/vhost-user-blk-pci.o CC tricore-softmmu/target/tricore/op_helper.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC tricore-softmmu/target/tricore/fpu_helper.o CC s390x-softmmu/hw/virtio/vhost-user-input-pci.o CC sparc64-softmmu/hw/virtio/virtio-serial-pci.o --- CC ppc64-softmmu/hw/ppc/spapr_nvdimm.o CC unicore32-softmmu/accel/tcg/cpu-exec.o CC s390x-softmmu/hw/virtio/virtio-net-pci.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC s390x-softmmu/hw/virtio/virtio-serial-pci.o CC sh4eb-softmmu/qapi/qapi-commands-machine-target.o CC sparc64-softmmu/qapi/qapi-types.o --- CC sh4-softmmu/qapi/qapi-events-misc-target.o CC unicore32-softmmu/monitor/misc.o CC s390x-softmmu/hw/s390x/sclpquiesce.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC sparc64-softmmu/qapi/qapi-events.o CC sparc64-softmmu/qapi/qapi-commands-machine-target.o CC ppc64-softmmu/hw/ppc/spapr_pci_nvlink2.o --- GEN trace/generated-helpers.c CC ppc64-softmmu/hw/ppc/pnv_psi.o CC sh4eb-softmmu/trace/control-target.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC unicore32-softmmu/qapi/qapi-visit-machine-target.o CC sh4-softmmu/target/sh4/translate.o CC unicore32-softmmu/qapi/qapi-visit-misc-target.o --- GEN xtensa-softmmu/hmp-commands-info.h GEN xtensa-softmmu/config-devices.h GEN xtensa-softmmu/config-target.h /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC x86_64-softmmu/tcg/tcg.o CC x86_64-softmmu/tcg/tcg-op.o CC xtensa-softmmu/exec.o --- CC unicore32-softmmu/target/unicore32/softmmu.o CC ppc64-softmmu/hw/ppc/ppc4xx_pci.o CC sparc64-softmmu/trace/generated-helpers.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 GEN trace/generated-helpers.c CC xtensa-softmmu/exec-vary.o CC ppc64-softmmu/hw/ppc/ppc4xx_devs.o --- CC s390x-softmmu/hw/s390x/s390-skeys.o CC xtensa-softmmu/tcg/tcg-common.o CC xtensaeb-softmmu/exec-vary.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC xtensaeb-softmmu/tcg/tcg.o CC s390x-softmmu/hw/s390x/s390-stattrib.o CC s390x-softmmu/hw/s390x/tod.o --- GEN aarch64_be-linux-user/config-target.h CC xtensaeb-softmmu/ioport.o CC aarch64_be-linux-user/exec.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC aarch64_be-linux-user/exec-vary.o CC xtensaeb-softmmu/qtest.o CC s390x-softmmu/qapi/qapi-commands-misc-target.o --- CC xtensa-softmmu/hw/virtio/vhost-backend.o CC xtensaeb-softmmu/hw/virtio/virtio.o CC armeb-linux-user/fpu/softfloat.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC xtensa-softmmu/hw/virtio/vhost-user.o CC cris-linux-user/tcg/tcg-op-vec.o CC x86_64-softmmu/hw/display/virtio-vga.o --- CC cris-linux-user/tcg/tcg-op-gvec.o CC xtensaeb-softmmu/hw/virtio/vhost-backend.o GEN arm-linux-user/gdbstub-xml.c /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC arm-linux-user/gdbstub.o CC xtensa-softmmu/hw/virtio/virtio-crypto.o CC x86_64-softmmu/hw/display/vhost-user-vga.o --- CC xtensaeb-softmmu/hw/virtio/vhost-user-fs.o CC x86_64-softmmu/hw/intc/apic.o CC armeb-linux-user/accel/stubs/hax-stub.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC xtensa-softmmu/hw/virtio/virtio-iommu.o CC cris-linux-user/disas.o CC armeb-linux-user/accel/stubs/hvf-stub.o --- CC xtensa-softmmu/hw/virtio/virtio-balloon-pci.o CC x86_64-softmmu/hw/scsi/vhost-scsi.o CC armeb-linux-user/accel/tcg/translator.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC armeb-linux-user/accel/tcg/user-exec.o CC cris-linux-user/accel/tcg/translator.o CC xtensa-softmmu/hw/virtio/virtio-iommu-pci.o --- CC m68k-linux-user/tcg/tcg-op-vec.o CC m68k-linux-user/tcg/tcg-op-gvec.o CC i386-linux-user/tcg/tcg-op-vec.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 GEN trace/generated-helpers.c CC microblaze-linux-user/tcg/tcg-op-gvec.o CC microblazeel-linux-user/tcg/tcg-common.o --- CC or1k-linux-user/target/openrisc/translate.o CC ppc64-linux-user/linux-user/ppc/signal.o CC ppc-linux-user/target/ppc/dfp_helper.o /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 CC ppc64abi32-linux-user/accel/tcg/user-exec.o CC nios2-linux-user/linux-user/fd-trans.o CC nios2-linux-user/target/nios2/translate.o --- LINK fp-test LINK tests/test-bitmap LINK tests/test-aio /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 LINK tests/test-aio-multithread LINK tests/test-throttle LINK tests/test-thread-pool
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-hbitmap/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-bdrv-drain
LINK tests/test-bdrv-graph-mod/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-blockjob
LINK tests/test-blockjob-txn/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-block-backend/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-block-iothread LINK tests/test-image-locking LINK tests/test-x86-cpuid
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-xbzrle
LINK tests/test-vmstate/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-cutils/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-shift128/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-mul64 LINK tests/test-int128 LINK tests/rcutorture --- LINK tests/test-crypto-hash LINK tests/test-crypto-hmac LINK tests/test-crypto-cipher /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 LINK tests/test-crypto-secret LINK tests/test-crypto-tlscredsx509 LINK tests/test-crypto-tlssession --- LINK tests/ptimer-test LINK tests/test-qapi-util LINK tests/test-qgraph
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
FLOAT TEST int-to-float
FLOAT TEST eq_signaling
FLOAT TEST eq
---
dbus-daemon[7861]: Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry
**
ERROR:/tmp/qemu-test/src/tests/qtest/dbus-vmstate-test.c:114:get_connection: assertion failed (err == NULL): The connection is closed (g-io-error-quark, 18) ERROR - Bail out! ERROR:/tmp/qemu-test/src/tests/qtest/dbus-vmstate-test.c:114:get_connection: assertion failed (err == NULL): The connection is closed (g-io-error-quark, 18) Aborted (core dumped)
cleaning up pid 7861
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: -accel kvm: failed to initialize kvm: No such file or directory
qemu-system-x86_64: falling back to tcg
make: *** [/tmp/qemu-test/src/tests/Makefile.include:632: check-qtest-i386] Error 1
make: *** Waiting for unfinished jobs....
Looking for expected file 'tests/data/acpi/pc/FACP.acpihmat'
---
dbus-daemon[9192]: Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry
**
ERROR:/tmp/qemu-test/src/tests/qtest/dbus-vmstate-test.c:114:get_connection: assertion failed (err == NULL): The connection is closed (g-io-error-quark, 18) Aborted (core dumped)
cleaning up pid 9192
ERROR - Bail out! ERROR:/tmp/qemu-test/src/tests/qtest/dbus-vmstate-test.c:114:get_connection: assertion failed (err == NULL): The connection is closed (g-io-error-quark, 18)
make: *** [/tmp/qemu-test/src/tests/Makefile.include:632: check-qtest-x86_64] Error 1
TEST check-qtest-arm: tests/qtest/test-hmp TEST check-qtest-arm: tests/qtest/qos-test TEST check-qtest-aarch64: tests/qtest/test-hmp
---
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run', '--label', 'com.qemu.instance.uuid=6f9df9c691764a07a85355a05e31c8a2', '-u', '1003', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e', 'SHOW_ENV=1', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', '/home/patchew2/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', '/var/tmp/patchew-tester-tmp-8ggs4mk4/src/docker-src.2020-03-06-13.24.52.1452:/var/tmp/qemu:z,ro', 'qemu:ubuntu', '/var/tmp/qemu/run', 'test-clang']' returned non-zero exit status 2. filter=--filter=label=com.qemu.instance.uuid=6f9df9c691764a07a85355a05e31c8a2
make[1]: *** [docker-run] Error 1
make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-8ggs4mk4/src'
make: *** [docker-run-test-clang@ubuntu] Error 2
real 19m11.694s
user 0m8.793s
The full log is available at
http://patchew.org/logs/[email protected]/testing.docker-clang@ubuntu/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]
Quoted 12 lines · Philippe Mathieu-Daudé
Currently the print-variable rule can only be used in the root directory:
$ make print-vhost-user-json-y vhost-user-json-y= contrib/vhost-user-gpu/50-qemu-gpu.json tools/virtiofsd/50-qemu-virtiofsd.json$ make -C i386-softmmu print-obj-y make: Entering directory 'build/i386-softmmu' make: *** No rule to make target 'print-obj-y'. Stop. make: Leaving directory 'build/i386-softmmu'
Quoted 8 lines
Move it to rules.mak so we can use it from other directories:
$ make -C i386-softmmu print-obj-y make: Entering directory 'build/i386-softmmu' obj-y=qapi-introspect.o qapi-types-machine-target.o qapi-types-misc-target.o qapi-types.o qapi-visit-machine-target.o qapi-visit-misc-target.o qapi-visit.o qapi-events-machine-target.o qapi-events-misc-target.o qapi-events.o qapi-commands-machine-target.o qapi-commands-misc-target.o qapi-commands.o qapi-init-commands.o make: Leaving directory 'build/i386-softmmu'Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Quoted 34 lines
--- Makefile | 3 --- rules.mak | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-)Makefile +0
-3@@ -15,9 +15,6 @@ UNCHECKED_GOALS := %clean TAGS cscope ctags dist \ help check-help print-% \ docker docker-% vm-help vm-test vm-build-% -print-%: - @echo '$*=$($*)' - # All following code might depend on configuration variables ifneq ($(wildcard config-host.mak),) # Put the all: rule here so that config-host.mak can contain dependencies.rules.mak +3
-1@@ -435,3 +435,6 @@ sentinel = .$(subst $(SPACE),_,$(subst /,_,$1)).sentinel. atomic = $(eval $1: $(call sentinel,$1) ; @:) \ $(call sentinel,$1) : $2 ; @touch $$@ \ $(foreach t,$1,$(if $(wildcard $t),,$(shell rm -f $(call sentinel,$1)))) + +print-%: + @echo '$*=$($*)' --2.21.1
Signature · 1 line
Marc-André Lureau
Laurent Vivier
AppliedLe 06/03/2020 à 18:04, Philippe Mathieu-Daudé a écrit :
Quoted 44 lines
Currently the print-variable rule can only be used in the root directory:
$ make print-vhost-user-json-y vhost-user-json-y= contrib/vhost-user-gpu/50-qemu-gpu.json tools/virtiofsd/50-qemu-virtiofsd.json$ make -C i386-softmmu print-obj-y make: Entering directory 'build/i386-softmmu' make: *** No rule to make target 'print-obj-y'. Stop. make: Leaving directory 'build/i386-softmmu'Move it to rules.mak so we can use it from other directories:
$ make -C i386-softmmu print-obj-y make: Entering directory 'build/i386-softmmu' obj-y=qapi-introspect.o qapi-types-machine-target.o qapi-types-misc-target.o qapi-types.o qapi-visit-machine-target.o qapi-visit-misc-target.o qapi-visit.o qapi-events-machine-target.o qapi-events-misc-target.o qapi-events.o qapi-commands-machine-target.o qapi-commands-misc-target.o qapi-commands.o qapi-init-commands.o make: Leaving directory 'build/i386-softmmu'Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- Makefile | 3 --- rules.mak | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-)Makefile +0
-3@@ -15,9 +15,6 @@ UNCHECKED_GOALS := %clean TAGS cscope ctags dist \ help check-help print-% \ docker docker-% vm-help vm-test vm-build-% -print-%: - @echo '$*=$($*)' - # All following code might depend on configuration variables ifneq ($(wildcard config-host.mak),) # Put the all: rule here so that config-host.mak can contain dependencies.rules.mak +0
-0
rules.mak sentinel = .$(subst $(SPACE),_,$(subst /,_,$1)).sentinel. · line 440
Quoted 6 lines
rules.mak +3
-0@@ -435,3 +435,6 @@ sentinel = .$(subst $(SPACE),_,$(subst /,_,$1)).sentinel. atomic = $(eval $1: $(call sentinel,$1) ; @:) \ $(call sentinel,$1) : $2 ; @touch $$@ \ $(foreach t,$1,$(if $(wildcard $t),,$(shell rm -f $(call sentinel,$1)))) + +print-%: + @echo '$*=$($*)'
Applied to my trivial-patches branch.
Thanks,
Laurent