Portage error, oh noes! [Solved]

Anything that pertains to Portage

Moderator: Moderators

Portage error, oh noes! [Solved]

Postby chickpea » Tue Jun 24, 2008 19:13

After a recent world update (and a revdep-rebuild) I am now getting this error:

Code: Select all
bichinh0@HPLaptop /usr/portage/local/layman/myebuilds/media-tv/miro $ sudo emerge -av =media-tv/miro-1.2.1
Password:

These are the packages that would be merged, in order:

Calculating dependencies |Traceback (most recent call last):
  File "/usr/bin/emerge", line 9277, in <module>
    retval = emerge_main()
  File "/usr/bin/emerge", line 9271, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 8528, in action_build
    mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
  File "/usr/bin/emerge", line 2069, in __init__
    vardb.aux_get(pkg.cpv, [])
  File "/usr/bin/emerge", line 1247, in _aux_get_wrapper
    self._portdb.aux_get(pkg, self._portdb_keys)))
  File "/usr/lib64/portage/pym/portage.py", line 8074, in aux_get
    dbkey=mydata, tree="porttree", mydbapi=self)
  File "/usr/lib64/portage/pym/portage.py", line 4927, in doebuild
    fd_pipes=fd_pipes, returnpid=True, droppriv=droppriv)
  File "/usr/lib64/portage/pym/portage.py", line 3050, in spawn
    mypids.extend(spawn_func(mystring, env=env, **keywords))
  File "/usr/lib64/portage/pym/portage_exec.py", line 64, in spawn_sandbox
    return spawn(args, opt_name=opt_name, **keywords)
  File "/usr/lib64/portage/pym/portage_exec.py", line 215, in spawn
    pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
bichinh0@HPLaptop /usr/portage/local/layman/myebuilds/media-tv/miro $ cd
bichinh0@HPLaptop ~ $ eix -v portage
* app-portage/portage-mod_jabber
     Available versions:  (~)0.0.2 (~)0.0.3
     Best versions/slot:  (~)0.0.3
     Homepage:            http://usrportage.de/
     Description:         A notification module for the portage elog-system to notify via the XMPP (Jabber) protocoll
     License:             GPL-2

* app-portage/portage-utils
     Available versions:  0.1.28 0.1.29
     Installed versions:  Version: 0.1.29
                          Date:    08:41:21 PM 01/25/2008
     Best versions/slot:  0.1.29
     Homepage:            http://www.gentoo.org/
     Description:         small and fast portage helper tools written in C
     License:             GPL-2

* dev-perl/PortageXS
     Available versions:  0.02.05 0.02.06 0.02.07 (~)0.02.08 {minimal}
     Best versions/slot:  (~)0.02.08
     Homepage:            http://download.mpsna.de/opensource/PortageXS/
     Description:         Portage abstraction layer for perl
     License:             GPL-2

* dev-python/yolk-portage
     Available versions:  (~)0.1
     Best versions/slot:  (~)0.1
     Homepage:            http://cheeseshop.python.org/pypi/yolk
     Description:         Gentoo Portage plugin for yolk
     License:             GPL-2

* sys-apps/portage
     Available versions:  [P]2.0.51.22-r3 [P]2.1.1-r2 2.1.4.4 (~)2.1.5.5 (~)2.1.5.6 (~)2.2_rc1 {build doc elibc_FreeBSD elibc_glibc elibc_uclibc epydoc linguas_pl selinux userland_Darwin userland_GNU}
     Installed versions:  Version: 2.1.5.6
                          Date:    07:23:07 PM 06/18/2008
                          USE:     -build -doc -epydoc -linguas_pl -selinux
     Best versions/slot:  (~)2.2_rc1
     Recommendation:      Upgrade
     Homepage:            http://www.gentoo.org/proj/en/portage/index.xml
     Description:         Portage is the package management and distribution system for Gentoo
     Provides:            virtual/portage
     License:             GPL-2

Found 5 matches.
bichinh0@HPLaptop ~ $ su
Password:
HPLaptop bichinh0 # emerge portage
Calculating dependencies |Traceback (most recent call last):
  File "/usr/bin/emerge", line 9277, in <module>
    retval = emerge_main()
  File "/usr/bin/emerge", line 9271, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 8528, in action_build
    mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
  File "/usr/bin/emerge", line 2069, in __init__
    vardb.aux_get(pkg.cpv, [])
  File "/usr/bin/emerge", line 1247, in _aux_get_wrapper
    self._portdb.aux_get(pkg, self._portdb_keys)))
  File "/usr/lib64/portage/pym/portage.py", line 8074, in aux_get
    dbkey=mydata, tree="porttree", mydbapi=self)
  File "/usr/lib64/portage/pym/portage.py", line 4927, in doebuild
    fd_pipes=fd_pipes, returnpid=True, droppriv=droppriv)
  File "/usr/lib64/portage/pym/portage.py", line 3050, in spawn
    mypids.extend(spawn_func(mystring, env=env, **keywords))
  File "/usr/lib64/portage/pym/portage_exec.py", line 64, in spawn_sandbox
    return spawn(args, opt_name=opt_name, **keywords)
  File "/usr/lib64/portage/pym/portage_exec.py", line 215, in spawn
    pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
HPLaptop bichinh0 #


Errm, help! :shock:
Last edited by chickpea on Wed Jun 25, 2008 3:14, edited 1 time in total.
chickpea
Sagely Hen
 
Posts: 1084
Joined: Fri Jan 05, 2007 15:08
Location: Washington, DC

Re: Portage error [oh noes!]

Postby chickpea » Tue Jun 24, 2008 19:18

should I just qkpkg in portage off the latest loop? Would that just be easier than trying to futz with getting this back to working state?
chickpea
Sagely Hen
 
Posts: 1084
Joined: Fri Jan 05, 2007 15:08
Location: Washington, DC

Re: Portage error, oh noes!

Postby chickpea » Wed Jun 25, 2008 3:14

That was really weird, a simple restart was all that it needed to work. Oh well, better than having to mess with it.
chickpea
Sagely Hen
 
Posts: 1084
Joined: Fri Jan 05, 2007 15:08
Location: Washington, DC


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests