Hi there! I've found a bug in Qemu-4 Makefile (?) that makes it impossible to install it, when `systemtap` USE-flag is enabled. Reproducible: Always
Created attachment 577348 [details] build.log
Created attachment 577350 [details] emerge --info
Additional info: build error says that buildsystem can't create $D/usr/bin, since it's already exists. It is true: it is a Pyhton script. Further manual checks shows, that it is `scripts/qemu-trace-stap` script. Corrwsponding Makefile rule is: ``` L804 ifdef CONFIG_TRACE_SYSTEMTAP L805 $(INSTALL_PROG) "scripts/qemu-trace-stap" $(DESTDIR)$(bindir) L806 endif ``` My guess is that it doesn't check for existence of "bindir" before installing this script, so in conjunction with that syntax it leads to installing the script to the /usr with a name of "bin". Maybe, it can be somehow related to multi-jobs (I didn't tested with MAKEOPTS=-j1)
Created attachment 577414 [details, diff] Patch for qemu-4.0.0-r3 Patch fixes problem for me.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbedf5e1f9b2591cdd337a5fa915d76210e96cdf commit cbedf5e1f9b2591cdd337a5fa915d76210e96cdf Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2019-05-20 16:27:04 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2019-05-20 16:27:28 +0000 app-emulation/qemu: fix systemtap patch Thanks to hangglider@gmx.de for pointing this out! Closes: https://bugs.gentoo.org/686370 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Matthias Maier <tamiko@gentoo.org> app-emulation/qemu/files/qemu-4.0.0-mkdir_systemtap.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)