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.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a065e86dbe3e86803ae1f656b86ee0278ab4b835 commit a065e86dbe3e86803ae1f656b86ee0278ab4b835 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2024-02-13 07:32:45 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-06-14 10:00:10 +0000 java-utils-2.eclass: improve message of java-pkg_die Closes: https://bugs.gentoo.org/591142 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> eclass/java-utils-2.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)