Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591142 - java-utils-2 - java-pkg_die has incomplete error message of "emerge --info =${P}" when ${CATEGORY}/${PF} should be used
Summary: java-utils-2 - java-pkg_die has incomplete error message of "emerge --info =$...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2016-08-12 20:38 UTC by eroen
Modified: 2024-02-26 09:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch (0001-java-utils-2-Fix-command-in-error-message.patch,903 bytes, patch)
2016-08-12 20:42 UTC, eroen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2016-08-12 20:38:33 UTC
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
Comment 1 eroen 2016-08-12 20:42:29 UTC
Created attachment 443170 [details, diff]
Proposed patch

Replaces $P with $CATEGORY/$PF in the error message.