Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100046 - euse readlink error
Summary: euse readlink error
Status: VERIFIED DUPLICATE of bug 75525
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-23 10:59 UTC by Maik Nijhuis
Modified: 2005-07-23 11:04 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 Maik Nijhuis 2005-07-23 10:59:10 UTC
When I simply type 'euse', I get several errors from readlink.

It caused by a typo in the euse script.

Reproducible: Always
Steps to Reproduce:
1.execute 'euse' at your favorite shell
2.
3.

Actual Results:  
readlink: too many arguments
Try `readlink --help' for more information.
/usr/bin/euse: line 199: /make.defaults: No such file or directory
readlink: too many arguments
Try `readlink --help' for more information.
/usr/bin/euse: line 199: /make.defaults: No such file or directory
readlink: too many arguments
Try `readlink --help' for more information.
readlink: too many arguments
Try `readlink --help' for more information.
ERROR: /make.defaults is not readable


Expected Results:  
euse v0.1

Syntax: euse <option> [suboptions] [useflaglist]

Options: -h, --help      - show this message
         -v, --version   - show version information
         -i, --info      - show descriptions for the given useflags
         -g, --global    - show only global use flags (suboption)
         -l, --local     - show only local use flags (suboption)
         -a, --active    - show currently active useflags and their origin
         -E, --enable    - enable the given useflags
         -D, --disable   - disable the given useflags
         -P, --prune     - remove all references to the given flags from
                           make.conf to revert to default settings

Notes: euse currently only works for global flags defined
       in make.globals, make.defaults or make.conf, it doesn't handle
       use.defaults, use.mask or package.use yet (see portage(5) for details on
       these files).
       If multiple options are specified only the last one will be used.


This bug is caused by a typo in the euse script:
In the function 'get_make_defaults' (line 157), 'grep' should be replaced by
'egrep'.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-23 11:04:06 UTC
Search...

*** This bug has been marked as a duplicate of 75525 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-23 11:04:23 UTC
CLOSED