most likely a side effect of the use of a broken patch for configure as detailed in BUG231930 which will leave libkvm.a and libkvm.h installed under /usr/local/lib and /usr/local/include respectively, as setting prefix was broken with that patch. Reproducible: Always Steps to Reproduce: 1.emerge -DNvu kvm 2.equery files kvm | grep libkvm Actual Results: in an amd64 system : /usr/local/include/libkvm.h /usr/local/lib64/libkvm.a Expected Results: in an amd64 system : /usr/include/libkvm.h /usr/lib64/libkvm.a an alternative patch for configure which wouldn't break this way was already proposed upstream to replace the broken patch and is attached in the referred bug. linked the download address to the URL for this bug for simplicity and to avoid uploading the same patch twice
Please upgrade to -r2. It has had all this stuff fixed for a day now.