When failing compile, packages using java-utils-2.eclass print messages like the one below, which lists an incorrect (or at least suboptimal) `emerge --info ...` command. * ERROR: app-emulation/virtualbox-5.0.16-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-5.0.16-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-5.0.16-r1::gentoo'`. * The complete build log is located at '/var/log/portage/build/app-emulation/virtualbox-5.0.16-r1:20160812-202337.log'. * For convenience, a symlink to the build log is located at '/tmp/portage/app-emulation/virtualbox-5.0.16-r1/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/app-emulation/virtualbox-5.0.16-r1/temp/environment'. * Working directory: '/tmp/portage/app-emulation/virtualbox-5.0.16-r1/work/VirtualBox-5.0.16' * S: '/tmp/portage/app-emulation/virtualbox-5.0.16-r1/work/VirtualBox-5.0.16' !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =virtualbox-5.0.16
Created attachment 443170 [details, diff] Proposed patch Replaces $P with $CATEGORY/$PF in the error message.