View previous topic :: View next topic |
Author |
Message |
jmanko Tux's lil' helper
Joined: 11 Sep 2005 Posts: 139 Location: NEPA, USA
|
Posted: Thu Sep 21, 2006 2:09 pm Post subject: [BUG 148534] eselect profile list |
|
|
I was trying to eselect to manage the profile symlink (i know, i know, it only a symlink)
'show' works:
Code: | # eselect profile show
Current make.profile symlink:
/usr/portage/profiles/default-linux/x86/2006.0
|
but 'list' fails:
Code: | # eselect profile list
!!! Error: Failed to get a list of valid profiles
exiting.
|
I kinda feel that if eselect offers the option to manage the profile, then it should work, even if it's only a symlink.
Any1 get this working? _________________ "What stands in the way becomes the way." -- Marcus Aurelius
Last edited by jmanko on Thu Sep 21, 2006 4:22 pm; edited 1 time in total |
|
Back to top |
|
|
jcat Veteran
Joined: 26 May 2006 Posts: 1337
|
Posted: Thu Sep 21, 2006 3:22 pm Post subject: |
|
|
Works perfectely for me, always has.
Maybe try performing an followed by an . You never know..
Cheers,
jcat |
|
Back to top |
|
|
jmanko Tux's lil' helper
Joined: 11 Sep 2005 Posts: 139 Location: NEPA, USA
|
Posted: Thu Sep 21, 2006 3:33 pm Post subject: |
|
|
sadly, it did not work. _________________ "What stands in the way becomes the way." -- Marcus Aurelius |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Thu Sep 21, 2006 3:37 pm Post subject: |
|
|
jcat: Works perfectely for me
Version 1.0.5 â the latest, surprisingly marked unstable at http://packages.gentoo.org/search/?sstring=eselect â has Code: | describe_list() {
echo "List available profile symlink targets"
}
do_list() {
local active targets
targets=( $(find_targets) )
[[ -z "${targets}" ]] && die -q "Failed to get a list of valid profiles"
... | in /usr/share/eselect/modules/profile.eselect. So it should work.
But, then again Code: | # eselect profile list
!!! Error: Failed to get a list of valid profiles
exiting. |
_________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
|
jcat Veteran
Joined: 26 May 2006 Posts: 1337
|
Posted: Thu Sep 21, 2006 4:03 pm Post subject: |
|
|
Which version of eselect do you have?
Cheers,
jcat |
|
Back to top |
|
|
jmanko Tux's lil' helper
Joined: 11 Sep 2005 Posts: 139 Location: NEPA, USA
|
Posted: Thu Sep 21, 2006 4:04 pm Post subject: |
|
|
it appears that the problem is with "arch"
my arch is i686:
/usr/portage/profiles/profiles.desc does not contain entries for i686, only x86
Code: | # grep "86" /usr/portage/profiles/profiles.desc
# x86 Profiles
#x86 default-linux/x86/2005.0 stable
#x86 default-linux/x86/2005.1 stable
#x86 default-linux/x86/2006.0 stable
x86 default-linux/x86/2006.1 stable
x86 default-linux/x86/no-nptl stable
x86 default-linux/x86/no-nptl/2.4 stable
x86 default-linux/x86/2006.1/desktop stable
#x86 default-linux/x86/2006.1/server stable
x86-fbsd default-bsd/fbsd/6.1/x86 dev
x86 hardened/x86 stable
x86 hardened/x86/2.6 stable
#x86 uclibc/x86 dev
#x86 uclibc/x86/2.4 dev
#x86 uclibc/x86/2005.1 dev
#x86 uclibc/x86/2005.1/2.4 dev
#x86 uclibc/x86/hardened dev
#x86 uclibc/x86/hardened/2.4 dev
|
issuing the sed command (for x86) that's in the script:
Code: | sed -n -e "s|^x86[[:space:]]\+\([^[:space:]]\+\).*$|\1|p" //usr/portage/profiles/profiles.desc
default-linux/x86/2006.1
default-linux/x86/no-nptl
default-linux/x86/no-nptl/2.4
default-linux/x86/2006.1/desktop
hardened/x86
hardened/x86/2.6
|
issuing the sed command for i686 yeilds nothing. _________________ "What stands in the way becomes the way." -- Marcus Aurelius |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Thu Sep 21, 2006 4:07 pm Post subject: |
|
|
It looks as if you should post a bug report â you seem to have found a definite bug, searching based on arch which doesn't match the profile tag. _________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
|
jcat Veteran
Joined: 26 May 2006 Posts: 1337
|
Posted: Thu Sep 21, 2006 4:09 pm Post subject: |
|
|
Nope, I'm on arch i686 as well.
x86 part of the profile refers to the 32bit stable Gentoo portage tree you're using. Good suggestion though.
Cheers,
jcat |
|
Back to top |
|
|
jmanko Tux's lil' helper
Joined: 11 Sep 2005 Posts: 139 Location: NEPA, USA
|
Posted: Thu Sep 21, 2006 4:19 pm Post subject: |
|
|
This has been submitted to Gentoo Bugzilla:
https://bugs.gentoo.org/show_bug.cgi?id=148534
[EDIT]jcat: i already submitted before i saw your comments. it still looks like that is the issue though...[/EDIT] _________________ "What stands in the way becomes the way." -- Marcus Aurelius |
|
Back to top |
|
|
Polynomial-C Retired Dev
Joined: 01 Jun 2003 Posts: 1432 Location: Germany
|
Posted: Fri Sep 22, 2006 1:18 am Post subject: |
|
|
Hi,
quick (hackish?) fix until this is fixed in portage:
Code: | sed -e 's:arch=$(arch):arch=$(arch | sed "s|^i[3-6]|x|"):' -i /usr/share/eselect/modules/profile.eselect |
Explanation:
the above sed-commad replaces the line with Code: | arch=$(arch | sed "s|^i[3-6]|x|") | in /usr/share/eselect/modules/profile.eselect
Tested on two i686 machines; works like a charm
Cheers
Poly-C _________________ The manual said "Requires Windows10 or better" so I installed GNU/Linux...
my portage overlay
Need a stage1 tarball? (Unofficial builds) |
|
Back to top |
|
|
|