Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573070 - emerge error message w/missing binary packages is misleading
Summary: emerge error message w/missing binary packages is misleading
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: portage-2.3.0
  Show dependency tree
 
Reported: 2016-01-27 03:52 UTC by SpanKY
Modified: 2016-03-14 03:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2016-01-27 03:52:20 UTC
this looks fine:
$ emerge -pq --nodeps laskdjfasdf
emerge: there are no ebuilds to satisfy "laskdjfasdf".

and this is fine:
$ emerge -pq --nodeps nano
[ebuild   R   ] app-editors/nano-2.5.0  USE="magic ncurses nls spell unicode -debug -justify -minimal -slang -static" 

but this is misleading:
$ emerge -pq --nodeps nano -K
emerge: there are no ebuilds to satisfy "nano".

it should say "binary packages" instead of "ebuilds", and probably make a better suggestion
Comment 1 Alexander Berntsen (RETIRED) gentoo-dev 2016-01-27 07:53:40 UTC
I can look into changing the message when usepkgonly is active. But what do you mean by "make a better suggestion"?
Comment 2 Alexander Berntsen (RETIRED) gentoo-dev 2016-01-27 08:58:37 UTC
Patch posted for review here: https://archives.gentoo.org/gentoo-portage-dev/message/17a4ec233f16a520e30c8cef65c1b640
Comment 3 SpanKY gentoo-dev 2016-01-27 16:03:03 UTC
(In reply to Alexander Berntsen from comment #1)

if the info is readily available, it could mention whether there's an ebuild available (to build from source) or it's a completely unknown package
Comment 4 Alexander Berntsen (RETIRED) gentoo-dev 2016-01-28 11:54:38 UTC
(In reply to SpanKY from comment #3)
> (In reply to Alexander Berntsen from comment #1)
> 
> if the info is readily available, it could mention whether there's an ebuild
> available (to build from source) or it's a completely unknown package

I'll add a different bug for that.
Comment 5 Alexander Berntsen (RETIRED) gentoo-dev 2016-01-28 11:56:06 UTC
Patch is now in git: https://gitweb.gentoo.org/proj/portage.git/commit/?id=9c9165fb9420a285e8e2c62cb9ba8eb91120cb66

(I keep forgetting that hitting return when selecting a keyword makes bugzilla send the entire form...)
Comment 6 Zac Medico gentoo-dev 2016-03-14 03:44:13 UTC
Fixed in 2.2.28.

Commit hash changed:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=8c9b1d6a7c115344cdc5bd8e7d122ab721aeb53a