This package appears to include a private copy of valgrind.h. In the latest relase of valgrind 3.10.0 a bug was fixed for ppc32 and support was added for aarch64 and ppc64le. Please either update the private copy of valgrind.h (memcheck.h, callgrind.h, etc) or (better) make your package BuildRequires: valgrind-devel and use the system installed headers.
It actually comes from ipxe, not qemu, reassigning.
$ git clone git://git.ipxe.org/ipxe.git Cloning into 'ipxe'... remote: Counting objects: 42765, done. remote: Compressing objects: 100% (13949/13949), done. remote: Total 42765 (delta 31995), reused 36718 (delta 27223) Receiving objects: 100% (42765/42765), 10.25 MiB | 213.00 KiB/s, done. Resolving deltas: 100% (31995/31995), done. Checking connectivity... done. $ cd ipxe/ $ find -name valgrind.h ./src/arch/x86/include/valgrind/valgrind.h
*** This bug has been marked as a duplicate of bug 1141576 ***