On Thu, Dec 29, 2005 at 10:35:12AM +0000, João Brázio wrote:
> On 12/29/05, Brian Harring <[EMAIL PROTECTED]> wrote:
> > On Thu, Dec 29, 2005 at 10:24:06AM +0000, Jo?o Br?zio wrote:
> > > Wel.. I've already tryed to chroot() into the grp-x86-20051228 and
> > > issued:
> > > # emerge portage
> > > Calculating dependencies
> > > 
> > > !!! Problem in sys-apps/portage dependencies.
> > > !!! [Errno 38] Function not implemented:
> > > '/var/cache/edb/dep//usr/portage/sys-apps/.update.23778.portaege-2.0.53
> > > ' exceptions
> > utime or rename offhand...
> Excuse me but what do you mean with "offhand" ?

That name for a file is only created with a flat_list cache backend, 
specifically when it's doing an update to an existing entry (kind of a 
duh there considering the name, I know).

The algo is roughly
f=open(tmp_update_entry)
write to it
close it
utime it (reset mtime)
rename(tmp_update_entry, update_entry) 

Hence the 'offhand'.  Don't know if it's rename or utime that's not 
defined- just know that those are the only two syscalls that could 
sanely trigger that (failed update will trigger an unlink, but I'd be 
amazed if that call was missing).

~harring

Attachment: pgpgxOBCNWQAW.pgp
Description: PGP signature

Reply via email to