Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706384 - emerge: Consider ALL non-option arguments before terminating
Summary: emerge: Consider ALL non-option arguments before terminating
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-26 04:22 UTC by Robin Johnson
Modified: 2020-01-28 18:26 UTC (History)
1 user (show)

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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-01-26 04:22:26 UTC
This is an ease of use request.

Presently, Portage evaluates all non-option arguments in order, and terminates at the first problem. E.g. a mis-spelt package, or an ambigious package.

It would be MUCH better if it printed problems with all arguments before exiting

Present output:
-----
# emerge ebtales fetchmail dev-php/pecl-imagick:0

These are the packages that would be merged, in order:


emerge: there are no ebuilds to satisfy "ebtales".

emerge: searching for similar names...
emerge: Maybe you meant any of these: net-firewall/ebtables, dev-python/webtest, x11-misc/xsetleds?

# emerge -1v ebtables fetchmail dev-php/pecl-imagick:0

These are the packages that would be merged, in order:

Calculating dependencies \
                                                                                                                     
[ Results for search key : fetchmail ]
*  acct-group/fetchmail
      Latest version available: 0
      Latest version installed: 0
      Size of files: 0 KiB
      Homepage:      
      Description:   Group for net-mail/fetchmail
      License:       

*  acct-user/fetchmail
      Latest version available: 0
      Latest version installed: 0
      Size of files: 0 KiB
      Homepage:      
      Description:   User for net-mail/fetchmail
      License:       

*  net-mail/fetchmail
      Latest version available: 6.4.1-r3
      Latest version installed: 6.4.1-r3
      Size of files: 1,229 KiB
      Homepage:      http://www.fetchmail.info/
      Description:   the legendary remote-mail retrieval and forwarding utility
      License:       GPL-2 public-domain

[ Applications found : 6 ]

!!! The short ebuild name "fetchmail" is ambiguous. Please specify
!!! one of the above fully-qualified ebuild names instead.
                                                                                                                   ... done!

# emerge -1v ebtables net-mail/fetchmail dev-php/pecl-imagick:0

These are the packages that would be merged, in order:

Calculating dependencies -

!!! Problem resolving dependencies for dev-php/pecl-imagick:0                                                      ... done!

!!! The ebuild selected to satisfy "dev-php/pecl-imagick:0" has unmet requirements.
- dev-php/pecl-imagick-3.4.4::gentoo USE="-examples -test" ABI_X86="(64)" PHP_TARGETS="(-php5-6) (-php7-1) -php7-2 -php7-3 -php7-4"

...
----

Desired output:
----
# emerge ebtales fetchmail dev-php/pecl-imagick:0

These are the packages that would be merged, in order:

emerge: there are no ebuilds to satisfy "ebtales".

emerge: searching for similar names...
emerge: Maybe you meant any of these: net-firewall/ebtables, dev-python/webtest, x11-misc/xsetleds?
                                                                                                                     
[ Results for search key : fetchmail ]
*  acct-group/fetchmail
      Latest version available: 0
      Latest version installed: 0
      Size of files: 0 KiB
      Homepage:      
      Description:   Group for net-mail/fetchmail
      License:       

*  acct-user/fetchmail
      Latest version available: 0
      Latest version installed: 0
      Size of files: 0 KiB
      Homepage:      
      Description:   User for net-mail/fetchmail
      License:       

*  net-mail/fetchmail
      Latest version available: 6.4.1-r3
      Latest version installed: 6.4.1-r3
      Size of files: 1,229 KiB
      Homepage:      http://www.fetchmail.info/
      Description:   the legendary remote-mail retrieval and forwarding utility
      License:       GPL-2 public-domain

[ Applications found : 6 ]

!!! The short ebuild name "fetchmail" is ambiguous. Please specify
!!! one of the above fully-qualified ebuild names instead.

!!! Problem resolving dependencies for dev-php/pecl-imagick:0                                                      ... done!

!!! The ebuild selected to satisfy "dev-php/pecl-imagick:0" has unmet requirements.
- dev-php/pecl-imagick-3.4.4::gentoo USE="-examples -test" ABI_X86="(64)" PHP_TARGETS="(-php5-6) (-php7-1) -php7-2 -php7-3 -php7-4"

...
----