The ebuild for qemu-kvm-0.13.0-r1 contains an incorrect variable declaration: the function "src_configure" declares a local variable softmmu_targets. As a result the variable will be visible only inside the function src_configure. The function src_install will also try to access the same variable name. Because the variable was first declared as local, the src_install function will actually use a global variable with the same name "softmmu_targets". This global variable is empty when src_install is trying to use it. The entire "if block" in the src_install will not be executed and the ebuild will not install qemu-kvm and kvm symbolic links. Suggested fix: declare softmmu_targets as a global variable and remove the local declaration form src_configure.
Created attachment 253015 [details] patched ebuild for softmmu_targets variable declaration Declare softmmu_targets as a global variable instead of local variable inside src_configure.
(In reply to comment #1) > Created an attachment (id=253015) [details] > patched ebuild for softmmu_targets variable declaration Mark, Can you please provide a patch file instead of the ebuild with the patch applied. Thanks.
This mistake was introduced by me.
Created attachment 253037 [details] ebuild patch
(In reply to comment #4) > Created an attachment (id=253037) [details] > ebuild patch Thanks.. sorry actually I spoke too soon. I was thinking you were patching an actual file inside the package and not the ebuild (even though I said ebuild).. but thanks anyway. Shouldn't review bugs so early in the morning.
This was fixed on qemu-kvm-0.13.0-r2.
*** Bug 343981 has been marked as a duplicate of this bug. ***
(In reply to comment #4) > Created an attachment (id=253037) [details] > ebuild patch Thanks for the patch. In the future, please generate patches with diff -urN <old> <new>.
Thanks for diff hint. I'll keep that in mind next time.