Summary: | euse can't read make.defaults (readlink: too many arguments) 2005.0 profile | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Martin Vuk <martin> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | amax, asokol, bash83, david.morgan, dju, dushistov, garo, gdrasny, gentoo.20.calle2003, harrisl, henning, horakm, joerg.schaible, kalium, karol.jurak, n.schlumberger, phajdan.jr, rockoo, skyleach, tacvbo, tech31842, verby, xero |
Priority: | Highest | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | the trivial patch |
Description
Martin Vuk
2004-12-24 03:18:23 UTC
I can't reproduce that here even after switching to the x86/2004.2 profile. There is a bug with the sanity check, but that's not the main issue here. Can you run the following bash code: curdir="$(readlink -f ${MAKE_PROFILE_PATH})" while [ ! -f "${curdir}/make.defaults" -a -f "${curdir}/parent" ]; do parent="$(grep -v '(^#|^ *$)' ${curdir}/parent)" curdir="$(readlink -f ${curdir}/${parent})" echo "${curdir}" done echo "${curdir}/make.defaults" Try delete your make.defaults and the error comes. You should just do an emerge sync and the whole thing will work. You just sync'ed when all make.defaults was deleted. Also one thing. What does euse do know when make.defaults is empty in profiledir? Shouldn't it look in the parent? Thanks, After emerge sync euse works. I'm having this problem and it's because of a problem with the euse script and grep. On line 157 of the script there's this line: parent="$(grep -v '(^#|^ *$)' ${curdir}/parent)" this is failing because it's using an extended regex and it needs grep to be ran with egrep or grep -E. I changed -v to -Ev and the problem was solved. Yep, I solved the problem too using `egrep` (same as `grep -E`)... I think its a typo bug, cos' genone use also egrep inside the script, (It's easy to forget an e letter like sufix)... Its important (and trivial) to solve this bug. 2005.0 profile do not have make.profile (and there is needed to use the parent one.. ) so must be fixed before 2005.0 release. :-) 2005.0 has been released now, and euse (well, euse -i is all I've tested) doesn't work with the profile (/usr/portage/profiles/default-linux/x86/2005.0) Bug #87183 and Bug #84521 are duplicates. Why hasn't this been fixed yet? *** Bug 87720 has been marked as a duplicate of this bug. *** *** Bug 87183 has been marked as a duplicate of this bug. *** *** Bug 87480 has been marked as a duplicate of this bug. *** This is annoying and 2004.3 is now deprecated. Could some please commit this trivial patch? Huum? cat /usr/portage/profiles/default-linux/x86/2004.3/deprecated cat: /usr/portage/profiles/default-linux/x86/2004.3/deprecated: No such file or directory 2004.3 is no depecrated in any way. Comment #13: Maybe you should emerge sync at least before writing. Thx. Created attachment 55750 [details, diff]
the trivial patch
hopefully someone will fix that problem
I guess this tool is not developed anymore. equery is the new tool. ok, but then how can you use equery to display USE flags description? i didnt find the option to replace euse usage. - euse is in app-portage/gentoolkit which is a stable-pkg - 2004.3 is depr. and 2005.0 is "stable" - euse does not work w/ 2005.0 -> plz fix it btw. what is happening to the stables - in the last 2 months i had many probs with have-to-work-out-of-the-box stables :( - it is a lot of addional work at the moment for me to use gentoo for production, if stables dont work ... *** Bug 88679 has been marked as a duplicate of this bug. *** change '(^#|^ *$)' to '^#\|^ *$' works for me. "patch" works fine - plz fix i've synced tokday and the bug is still not fixed... the patch is very simple... you only have to write "egrep" in place of "grep" at line 157... Is there any reason for this kind of behaviour Is there any developer? Is Gentoo still mantained at all? Comment #22: Sorry, emerge sync won Comment #22: Sorry, emerge sync won´t fix this, gentoolkit needs version bump ;-) *** Bug 83327 has been marked as a duplicate of this bug. *** fixed in 0.2.1_pre1. Sorry for the long delay. marius - what's about the broken-stable issue 2005.0/gentoolkit? *** Bug 92108 has been marked as a duplicate of this bug. *** *** Bug 94356 has been marked as a duplicate of this bug. *** I filed duplicate bug 94356 when I encountered, and found the trivial fix for, this bug. I did a search in Bugzilla first but found no open bugs on this issue. It turns out that this bug is marked "RESOLVED FIXED" when it's obviously not. Can somebody please reopen this until the new development version gets to stable? Otherwise I suspect you're going to get a rash of additional dupe bugs until it is. *** Bug 95643 has been marked as a duplicate of this bug. *** euse --help Notes: (...) It also might have issues with cascaded profiles. (...) I think it's no longer actual (I'm using gentoolkit-0.2.1_pre2). *** Bug 99108 has been marked as a duplicate of this bug. *** *** Bug 99359 has been marked as a duplicate of this bug. *** *** Bug 100046 has been marked as a duplicate of this bug. *** *** Bug 101649 has been marked as a duplicate of this bug. *** *** Bug 102527 has been marked as a duplicate of this bug. *** *** Bug 104290 has been marked as a duplicate of this bug. *** could someone please commit this one line fix to the stable gentoolkit package (0.2.0) or stabilize a version that works? *** Bug 113313 has been marked as a duplicate of this bug. *** |