Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403957 - can't see profile list with app-admin/eselect-1.3.1
Summary: can't see profile list with app-admin/eselect-1.3.1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-15 21:05 UTC by Dmitri Bogomolov
Modified: 2012-02-28 18:43 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 Dmitri Bogomolov 2012-02-15 21:05:48 UTC
Another problem with sed like in bug 370935.

Reproducible: Always

Steps to Reproduce:
1. emerge -v1 eselect
2. eselect profile list
Actual Results:  
/usr/share/eselect/libs/core.bash: line 108: /var/tmp/portage/._portage_reinstall_.OK6LNf/bin/ebuild-helpers/sed: No such file or directory
!!! Error: get_repos failed
!!! Error: Failed to get a list of valid profiles
exiting

Expected Results:  
Available profile symlink targets:
  [1]   default/bsd/fbsd/x86/7.2
  [2]   default/bsd/fbsd/x86/8.0
  [3]   default/bsd/fbsd/x86/8.2 *

OK with app-admin/eselect-1.3
Comment 1 Naohiro Aota gentoo-dev 2012-02-28 13:23:40 UTC
I don't get such error with eselect-1.3.1 and that's not sed problem,
I think.

> /usr/share/eselect/libs/core.bash: line 108: /var/tmp/portage/._portage_reinstall_.OK6LNf/bin/ebuild-helpers/sed: No such file or directory

It seems something broken on your system during some package
install/delete process (e.g.  power cut-off, kernel hung or
something). What do you get with "ls -l /usr/lib/portage/bin/ebuild-helpers/sed"?

If it show (dead) symlink to
/var/tmp/portage/._portage_reinstall_.OK6LNf/bin/ebuild-helpers/sed,
could you re-emerge portage and try eselect again?
Comment 2 Naohiro Aota gentoo-dev 2012-02-28 13:28:14 UTC
aha, one more comment

Could you check if line 108 of /usr/share/eselect/libs/core.bash is properly set as below?

> # GNU sed wrapper (real path to GNU sed determined by configure)
> sed() {
> 	/usr/lib/portage/bin/ebuild-helpers/sed "$@"
> }

if it doesn't, remove /var/tmp/.../ebuild-helpers/sed and re-emerge eselect would help.
Comment 3 Dmitri Bogomolov 2012-02-28 18:43:18 UTC
(In reply to comment #1)
> I don't get such error with eselect-1.3.1 and that's not sed problem,
> I think.
> 
> > /usr/share/eselect/libs/core.bash: line 108: /var/tmp/portage/._portage_reinstall_.OK6LNf/bin/ebuild-helpers/sed: No such file or directory
> 
> It seems something broken on your system during some package
> install/delete process (e.g.  power cut-off, kernel hung or
> something). What do you get with "ls -l
> /usr/lib/portage/bin/ebuild-helpers/sed"?
> 
> If it show (dead) symlink to
> /var/tmp/portage/._portage_reinstall_.OK6LNf/bin/ebuild-helpers/sed,
> could you re-emerge portage and try eselect again?

Hmm, after cleaning /var/tmp/portage, reboot and emerging eselect-1.3.1 again it shows profile list properly.

Excuse me, please.