[gentoo-user] sudden portage error "list index out of range"

2006-06-09 Thread Alan
Wanted to do some installs today and suddenly my portage is puking out
with 

Traceback (most recent call last):
  File "/usr/bin/emerge", line 10, in ?
import portage
  File "/usr/lib/portage/pym/portage.py", line 7187, in ?

settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
  File "/usr/lib/portage/pym/portage.py", line 946, in __init__
mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
IndexError: list index out of range

This happens with any emerge command.  I'm going to guess that something
got currupted somewhere along the way, any suggestions on how to unbreak
it (without downloading a binary hopefully :)?

The last things in my emerge.log are installing the man-pages package,
and a couple of these:

1149810120: Started emerge on: Jun 08, 2006 16:42:00
1149810120:  *** emerge --ask --verbose jabberd jabber-base yahoo-transport 
twisted-words twisted-web twisted
1149810121:  *** terminating.

(nothing actually installed).

Any ideas?

TIA


Thanks.

-- 
Alan <[EMAIL PROTECTED]> - http://arcterex.net

"Backups are for people who don't pray." -- big Mike
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudden portage error "list index out of range"

2006-06-09 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan wrote:
> Wanted to do some installs today and suddenly my portage is puking out
> with 
> 
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 10, in ?
> import portage
>   File "/usr/lib/portage/pym/portage.py", line 7187, in ?
> 
> settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
>   File "/usr/lib/portage/pym/portage.py", line 946, in __init__
> mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
> IndexError: list index out of range
> 

That's bug 136209.  Here's the fix:

echo '..' > /usr/portage/profiles/default-linux/amd64/parent

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEibZd/ejvha5XGaMRAj3DAJ0fNqVNjZYPrFMHHyLP2+zA3e7aEACgzDyK
BMM616uI/cqCKiW7WaiIyy0=
=xwgL
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudden portage error "list index out of range"

2006-06-09 Thread Alan
On Fri, Jun 09, 2006 at 10:56:47AM -0700, Zac Medico wrote:
> Alan wrote:
> > Wanted to do some installs today and suddenly my portage is puking out
> > with 
> > 
> > Traceback (most recent call last):
> >   File "/usr/bin/emerge", line 10, in ?
> > import portage
> >   File "/usr/lib/portage/pym/portage.py", line 7187, in ?
> > 
> > settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
> >   File "/usr/lib/portage/pym/portage.py", line 946, in __init__
> > mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
> > IndexError: list index out of range
> > 
> 
> That's bug 136209.  Here's the fix:
> 
> echo '..' > /usr/portage/profiles/default-linux/amd64/parent

Perfect, thanks Zac. 

-- 
Alan <[EMAIL PROTECTED]> - http://arcterex.net

"Backups are for people who don't pray." -- big Mike


pgp8cS9fPuFR0.pgp
Description: PGP signature


Re: [gentoo-user] sudden portage error "list index out of range"

2006-06-09 Thread Mark Knecht

On 6/9/06, Zac Medico <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan wrote:
> Wanted to do some installs today and suddenly my portage is puking out
> with
>
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 10, in ?
> import portage
>   File "/usr/lib/portage/pym/portage.py", line 7187, in ?
> 
settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
>   File "/usr/lib/portage/pym/portage.py", line 946, in __init__
> mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
> IndexError: list index out of range
>

That's bug 136209.  Here's the fix:

echo '..' > /usr/portage/profiles/default-linux/amd64/parent

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEibZd/ejvha5XGaMRAj3DAJ0fNqVNjZYPrFMHHyLP2+zA3e7aEACgzDyK
BMM616uI/cqCKiW7WaiIyy0=
=xwgL
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


Thanks Zac,
  I had the same problem and this fix worked great. (Thanks to the
AMD64 list for pointing me here.)

  At the same time the previous error started I also got this second
error with layman:

lightning ~ # layman -s pro-audio
* Running command "/usr/bin/svn update /usr/portage/local/layman/pro-audio"...
/usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
undefined symbol: gdbm_errno
* Successfully synchronized overlay "pro-audio".
lightning ~ #

  Any ideas on this one? It was not fixed using the echo command, but
it seems similar to me. I don't know what libaprutil is. I don't see
it using eix.

Cheers,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudden portage error "list index out of range"

2006-06-09 Thread James Ausmus

On 6/9/06, Mark Knecht <[EMAIL PROTECTED]> wrote:

On 6/9/06, Zac Medico <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Alan wrote:
> > Wanted to do some installs today and suddenly my portage is puking out
> > with
> >
> > Traceback (most recent call last):
> >   File "/usr/bin/emerge", line 10, in ?
> > import portage
> >   File "/usr/lib/portage/pym/portage.py", line 7187, in ?
> > 
settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
> >   File "/usr/lib/portage/pym/portage.py", line 946, in __init__
> > mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
> > IndexError: list index out of range
> >
>
> That's bug 136209.  Here's the fix:
>
> echo '..' > /usr/portage/profiles/default-linux/amd64/parent
>
> Zac
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQFEibZd/ejvha5XGaMRAj3DAJ0fNqVNjZYPrFMHHyLP2+zA3e7aEACgzDyK
> BMM616uI/cqCKiW7WaiIyy0=
> =xwgL
> -END PGP SIGNATURE-
> --
> gentoo-user@gentoo.org mailing list

Thanks Zac,
   I had the same problem and this fix worked great. (Thanks to the
AMD64 list for pointing me here.)

   At the same time the previous error started I also got this second
error with layman:

lightning ~ # layman -s pro-audio
* Running command "/usr/bin/svn update /usr/portage/local/layman/pro-audio"...
/usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
undefined symbol: gdbm_errno
* Successfully synchronized overlay "pro-audio".
lightning ~ #



Run revdep-rebuild, you have some applications of out sync with
updated versions of shared libraries.

-James



   Any ideas on this one? It was not fixed using the echo command, but
it seems similar to me. I don't know what libaprutil is. I don't see
it using eix.

Cheers,
Mark
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudden portage error "list index out of range"

2006-06-09 Thread Mark Knecht

On 6/9/06, James Ausmus <[EMAIL PROTECTED]> wrote:

On 6/9/06, Mark Knecht <[EMAIL PROTECTED]> wrote:
> On 6/9/06, Zac Medico <[EMAIL PROTECTED]> wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > Alan wrote:
> > > Wanted to do some installs today and suddenly my portage is puking out
> > > with
> > >
> > > Traceback (most recent call last):
> > >   File "/usr/bin/emerge", line 10, in ?
> > > import portage
> > >   File "/usr/lib/portage/pym/portage.py", line 7187, in ?
> > > 
settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
> > >   File "/usr/lib/portage/pym/portage.py", line 946, in __init__
> > > mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
> > > IndexError: list index out of range
> > >
> >
> > That's bug 136209.  Here's the fix:
> >
> > echo '..' > /usr/portage/profiles/default-linux/amd64/parent
> >
> > Zac
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.3 (GNU/Linux)
> >
> > iD8DBQFEibZd/ejvha5XGaMRAj3DAJ0fNqVNjZYPrFMHHyLP2+zA3e7aEACgzDyK
> > BMM616uI/cqCKiW7WaiIyy0=
> > =xwgL
> > -END PGP SIGNATURE-
> > --
> > gentoo-user@gentoo.org mailing list
>
> Thanks Zac,
>I had the same problem and this fix worked great. (Thanks to the
> AMD64 list for pointing me here.)
>
>At the same time the previous error started I also got this second
> error with layman:
>
> lightning ~ # layman -s pro-audio
> * Running command "/usr/bin/svn update /usr/portage/local/layman/pro-audio"...
> /usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
> undefined symbol: gdbm_errno
> * Successfully synchronized overlay "pro-audio".
> lightning ~ #
>

Run revdep-rebuild, you have some applications of out sync with
updated versions of shared libraries.

-James


James,
  Sorry. Should have said that I had done that already. Seemed
obvious that some library was missing but revdep-rebuild didn't find
one to install. It says the machine is clean.

  I also did a number of emerge --deep --update --newuse world
operations trying to find things that might be neede dor updatable but
nothing turned up.

Stumped,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudden portage error "list index out of range"

2006-06-09 Thread Paul Varner
On Fri, 2006-06-09 at 17:40 -0700, Mark Knecht wrote:
> > >At the same time the previous error started I also got this second
> > > error with layman:
> > >
> > > lightning ~ # layman -s pro-audio
> > > * Running command "/usr/bin/svn update 
> > > /usr/portage/local/layman/pro-audio"...
> > > /usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
> > > undefined symbol: gdbm_errno
> > > * Successfully synchronized overlay "pro-audio".
> > > lightning ~ #
>Sorry. Should have said that I had done that already. Seemed
> obvious that some library was missing but revdep-rebuild didn't find
> one to install. It says the machine is clean.
> 

Mark,

unfortunately, you've hit one of the cases that revdep-rebuild can't
detect.  Run 'equery belongs /usr/lib64/libaprutil-0.so.0' and rebuild
the identified package.

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudden portage error "list index out of range"

2006-06-09 Thread Mark Knecht

On 6/9/06, Paul Varner <[EMAIL PROTECTED]> wrote:

On Fri, 2006-06-09 at 17:40 -0700, Mark Knecht wrote:
> > >At the same time the previous error started I also got this second
> > > error with layman:
> > >
> > > lightning ~ # layman -s pro-audio
> > > * Running command "/usr/bin/svn update 
/usr/portage/local/layman/pro-audio"...
> > > /usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
> > > undefined symbol: gdbm_errno
> > > * Successfully synchronized overlay "pro-audio".
> > > lightning ~ #
>Sorry. Should have said that I had done that already. Seemed
> obvious that some library was missing but revdep-rebuild didn't find
> one to install. It says the machine is clean.
>

Mark,

unfortunately, you've hit one of the cases that revdep-rebuild can't
detect.  Run 'equery belongs /usr/lib64/libaprutil-0.so.0' and rebuild
the identified package.

Regards,
Paul
--
gentoo-user@gentoo.org mailing list




Indeed Paul, that's essentially what I did but since it was
/usr/bin/svn that was complaining I did equery on it:

lightning ~ # equery belongs /usr/bin/svn
[ Searching for file(s) /usr/bin/svn in *... ]
dev-util/subversion-1.2.3-r2 (/usr/bin/svn)
lightning ~ #

After emerging subversion the problem went away. However your
suggestion might have worked also:

lightning ~ # equery belongs /usr/lib64/libaprutil-0.so
[ Searching for file(s) /usr/lib64/libaprutil-0.so in *... ]
dev-libs/apr-util-0.9.7 (/usr/lib64/libaprutil-0.so -> libaprutil-0.so.0.9.7)
lightning ~ #

Anyway, it's fixed and I appreciate the ideas.

Thanks,
Mark
--
gentoo-user@gentoo.org mailing list



SOLVED - Re: [gentoo-user] sudden portage error "list index out of range"

2006-06-09 Thread Mark Knecht

emerge subversion took care of it. Whatever was wrong was not caught
by revdep-rebuild. I'm not sure if this is a bug. should it be
submitted to bugzilla?

Thanks for your help.

Cheers,
Mark

On 6/9/06, Mark Knecht <[EMAIL PROTECTED]> wrote:

On 6/9/06, James Ausmus <[EMAIL PROTECTED]> wrote:
> On 6/9/06, Mark Knecht <[EMAIL PROTECTED]> wrote:
> > On 6/9/06, Zac Medico <[EMAIL PROTECTED]> wrote:
> > > -BEGIN PGP SIGNED MESSAGE-
> > > Hash: SHA1
> > >
> > > Alan wrote:
> > > > Wanted to do some installs today and suddenly my portage is puking out
> > > > with
> > > >
> > > > Traceback (most recent call last):
> > > >   File "/usr/bin/emerge", line 10, in ?
> > > > import portage
> > > >   File "/usr/lib/portage/pym/portage.py", line 7187, in ?
> > > > 
settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
> > > >   File "/usr/lib/portage/pym/portage.py", line 946, in __init__
> > > > mypath = 
os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
> > > > IndexError: list index out of range
> > > >
> > >
> > > That's bug 136209.  Here's the fix:
> > >
> > > echo '..' > /usr/portage/profiles/default-linux/amd64/parent
> > >
> > > Zac
> > > -BEGIN PGP SIGNATURE-
> > > Version: GnuPG v1.4.3 (GNU/Linux)
> > >
> > > iD8DBQFEibZd/ejvha5XGaMRAj3DAJ0fNqVNjZYPrFMHHyLP2+zA3e7aEACgzDyK
> > > BMM616uI/cqCKiW7WaiIyy0=
> > > =xwgL
> > > -END PGP SIGNATURE-
> > > --
> > > gentoo-user@gentoo.org mailing list
> >
> > Thanks Zac,
> >I had the same problem and this fix worked great. (Thanks to the
> > AMD64 list for pointing me here.)
> >
> >At the same time the previous error started I also got this second
> > error with layman:
> >
> > lightning ~ # layman -s pro-audio
> > * Running command "/usr/bin/svn update 
/usr/portage/local/layman/pro-audio"...
> > /usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
> > undefined symbol: gdbm_errno
> > * Successfully synchronized overlay "pro-audio".
> > lightning ~ #
> >
>
> Run revdep-rebuild, you have some applications of out sync with
> updated versions of shared libraries.
>
> -James
>
James,
   Sorry. Should have said that I had done that already. Seemed
obvious that some library was missing but revdep-rebuild didn't find
one to install. It says the machine is clean.

   I also did a number of emerge --deep --update --newuse world
operations trying to find things that might be neede dor updatable but
nothing turned up.

Stumped,
Mark


--
gentoo-user@gentoo.org mailing list