Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507356 - euse -p incorrectly guesses package atom when package name ends with a number
Summary: euse -p incorrectly guesses package atom when package name ends with a number
Status: RESOLVED DUPLICATE of bug 497912
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-11 00:34 UTC by Leonardo
Modified: 2014-05-25 14:38 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 Leonardo 2014-04-11 00:34:38 UTC
euse -p gives the following message if you pass an atom that ends with a number: 

ERROR: Invalid package atom. Did you forget the leading '='?

It seems to think that the trailing number is the package version, but it is not.

The issue happened while I was trying to enable useflags 'bittorrent' and 'metalink' to net-misc/aria2.

Reproducible: Always

Steps to Reproduce:
1. Have gentoolkit installed
2. Execute euse -p net-misc/aria2 -E 'metalink'
Actual Results:  
euse thinks I'm trying to pass an atom with a version and does not set asked use flags

Expected Results:  
euse correctly guesses the package atom and sets the asked use flags

# euse --version
euse (0.3.0.8-r2)
Written by Marius Mauch

Copyright (C) 2004-2009 Gentoo Foundation, Inc.
This is free software; see the source for copying conditions.
Comment 1 Pacho Ramos gentoo-dev 2014-05-25 14:38:41 UTC

*** This bug has been marked as a duplicate of bug 497912 ***