Another Gentoo (Open)Solaris implementation: little problem with emerge builpkg feature

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Another Gentoo (Open)Solaris implementation: little problem with emerge builpkg feature

Fabrizio Listello
I've this exception when emergeing things with the builpkg feature enable:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 3228, in ?
    mydepgraph.merge(pkglist)
  File "/usr/bin/emerge", line 1898, in merge
    retval= portage.pkgmerge(mytbz2,myroot,self.pkgsettings)
  File "/usr/lib/portage/pym/portage.py", line 7094, in pkgmerge
    cleanup_pkgmerge(mypkg,origdir)
  File "/usr/lib/portage/pym/portage.py", line 7036, in cleanup_pkgmerge
    shutil.rmtree(settings["PORTAGE_TMPDIR"]+"/portage-pkg/"+mypkg)
  File "/usr/lib/python2.4/shutil.py", line 163, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.4/shutil.py", line 172, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/usr/lib/python2.4/shutil.py", line 170, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/var/tmp/portage-pkg/neon-0.25.3-r9999/bin'

the problem seems to be related to the fact that the '/var/tmp/portage-pkg/neon- 0.25.3-r9999/bin' directory is owned by 'root' and portage is unable to delete it. Is it correct or I'm wrong? Can some one help-me in this python related stuff... ?

Thanks.



--
I can receive www.openoffice.org files... and you ?
--

FList
Reply | Threaded
Open this post in threaded view
|

Re: Another Gentoo (Open)Solaris implementation: little problem with emerge builpkg feature

Fabian Groffen-2
On 10-03-2006 16:43:35 +0100, Fabrizio Listello wrote:
> the problem seems to be related to the fact that the
> '/var/tmp/portage-pkg/neon-0.25.3-r9999/bin' directory is owned by 'root'
> and portage is unable to delete it. Is it correct or I'm wrong? Can some one
> help-me in this python related stuff... ?

Yes, that sounds (very) familiar to me.

Have you tried wiping /var/tmp/portage(/package) as root yet?


--
Fabian Groffen
Gentoo for Mac OS X Project
--
[hidden email] mailing list

Reply | Threaded
Open this post in threaded view
|

Re: Another Gentoo (Open)Solaris implementation: little problem with emerge builpkg feature

Fabrizio Listello
Yes, I've tryied to change ownership to portage:portage also. But at the end of the emerge of any package I've this error...
Uhm

On 3/10/06, Grobian < [hidden email]> wrote:
On 10-03-2006 16:43:35 +0100, Fabrizio Listello wrote:
> the problem seems to be related to the fact that the
> '/var/tmp/portage-pkg/neon-0.25.3-r9999/bin' directory is owned by 'root'
> and portage is unable to delete it. Is it correct or I'm wrong? Can some one
> help-me in this python related stuff... ?

Yes, that sounds (very) familiar to me.

Have you tried wiping /var/tmp/portage(/package) as root yet?


--
Fabian Groffen
Gentoo for Mac OS X Project
--
[hidden email] mailing list




--
I can receive www.openoffice.org files... and you ?
--

FList
Reply | Threaded
Open this post in threaded view
|

Re: Another Gentoo (Open)Solaris implementation: little problem with emerge builpkg feature

Kito-2
In reply to this post by Fabrizio Listello

On Mar 10, 2006, at 9:43 AM, Fabrizio Listello wrote:

> I've this exception when emergeing things with the builpkg feature  
> enable:
>
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 3228, in ?
>     mydepgraph.merge(pkglist)
>   File "/usr/bin/emerge", line 1898, in merge
>     retval= portage.pkgmerge(mytbz2,myroot,self.pkgsettings)
>   File "/usr/lib/portage/pym/portage.py", line 7094, in pkgmerge
>     cleanup_pkgmerge(mypkg,origdir)
>   File "/usr/lib/portage/pym/portage.py", line 7036, in  
> cleanup_pkgmerge
>     shutil.rmtree(settings["PORTAGE_TMPDIR"]+"/portage-pkg/"+mypkg)
>   File "/usr/lib/python2.4/shutil.py", line 163, in rmtree
>     rmtree(fullname, ignore_errors, onerror)
>   File "/usr/lib/python2.4/shutil.py", line 172, in rmtree
>     onerror(os.rmdir, path, sys.exc_info())
>   File "/usr/lib/python2.4/shutil.py", line 170, in rmtree
>     os.rmdir(path)
> OSError: [Errno 22] Invalid argument: '/var/tmp/portage-pkg/
> neon-0.25.3-r9999/bin'
>
> the problem seems to be related to the fact that the '/var/tmp/
> portage-pkg/neon- 0.25.3-r9999/bin' directory is owned by 'root'  
> and portage is unable to delete it. Is it correct or I'm wrong? Can  
> some one help-me in this python related stuff... ?

Hmm, have you tried usinf FEATURES="-userpriv -sfperms" ? That might  
fix it.

>
> Thanks.
>
>
>
> --
> I can receive www.openoffice.org files... and you ?
> --
>
> FList

--Kito




--
[hidden email] mailing list

Reply | Threaded
Open this post in threaded view
|

Re: Another Gentoo (Open)Solaris implementation: little problem with emerge builpkg feature

Fabrizio Listello
Tryied but it didn't worked...
I can't figure out where the problem is...


On 3/12/06, Kito <[hidden email] > wrote:

On Mar 10, 2006, at 9:43 AM, Fabrizio Listello wrote:

> I've this exception when emergeing things with the builpkg feature
> enable:
>
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 3228, in ?
>     mydepgraph.merge(pkglist)
>   File "/usr/bin/emerge", line 1898, in merge
>     retval= portage.pkgmerge(mytbz2,myroot,self.pkgsettings)
>   File "/usr/lib/portage/pym/portage.py", line 7094, in pkgmerge
>     cleanup_pkgmerge(mypkg,origdir)
>   File "/usr/lib/portage/pym/portage.py", line 7036, in
> cleanup_pkgmerge
>     shutil.rmtree(settings["PORTAGE_TMPDIR"]+"/portage-pkg/"+mypkg)
>   File "/usr/lib/python2.4/shutil.py", line 163, in rmtree
>     rmtree(fullname, ignore_errors, onerror)
>   File "/usr/lib/python2.4/shutil.py", line 172, in rmtree
>     onerror(os.rmdir, path, sys.exc_info())
>   File "/usr/lib/python2.4/shutil.py", line 170, in rmtree
>     os.rmdir (path)
> OSError: [Errno 22] Invalid argument: '/var/tmp/portage-pkg/
> neon-0.25.3-r9999/bin'
>
> the problem seems to be related to the fact that the '/var/tmp/
> portage-pkg/neon- 0.25.3-r9999 /bin' directory is owned by 'root'
> and portage is unable to delete it. Is it correct or I'm wrong? Can
> some one help-me in this python related stuff... ?

Hmm, have you tried usinf FEATURES="-userpriv -sfperms" ? That might
fix it.

>
> Thanks.
>
>
>
> --
> I can receive www.openoffice.org files... and you ?
> --
>
> FList

--Kito




--
[hidden email] mailing list




--
I can receive www.openoffice.org files... and you ?
--

FList