Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113313 - euse not correctly parse "parent" files in get_make_defaults function
Summary: euse not correctly parse "parent" files in get_make_defaults function
Status: RESOLVED DUPLICATE of bug 75525
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 23:20 UTC by Sokoloff
Modified: 2005-11-23 02:07 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 Sokoloff 2005-11-22 23:20:37 UTC
When I start euse I receive the following error message:
readlink: too many arguments                                      
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                             

The fix is to change in euse a line 
parent="$(grep -v '(^#|^ *$)' ${curdir}/parent)
on line
parent="$(egrep -v '(^#|^ *$)' ${curdir}/parent)"
or on line
parent="$(grep -v '^#' ${curdir}/parent | grep -v '^ *$')"

Reproducible: Always
Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-23 02:07:12 UTC

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