From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1ErwnX-0005Do-7d for garchives@archives.gentoo.org; Thu, 29 Dec 2005 12:22:23 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBTCLVcU017541; Thu, 29 Dec 2005 12:21:31 GMT Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBTCLT6Q027159 for ; Thu, 29 Dec 2005 12:21:30 GMT Received: by xproxy.gmail.com with SMTP id s6so1192527wxc for ; Thu, 29 Dec 2005 04:21:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references; b=Up+JqVijxw8AGONG1+mPN9dB2IRJhbmT/XCFWgfwuNijJSF7HU6cr9apA4SEeHNx+KnMKCxBDSxA4ljJRXWnlHUwlIxeinrg0VMimRsS17yQSrRhrVu1PT01LntqhJQ3+ru3e/CM9xRbwzh4Qi0jUWs/jUSvuxdJrclZbzWro1Q= Received: by 10.70.21.18 with SMTP id 18mr8791660wxu; Thu, 29 Dec 2005 04:21:29 -0800 (PST) Received: by 10.70.26.13 with HTTP; Thu, 29 Dec 2005 04:21:29 -0800 (PST) Message-ID: <7399af0a0512290421i37139259jc92f5accc0a2ae6@mail.gmail.com> Date: Thu, 29 Dec 2005 12:21:29 +0000 From: =?ISO-8859-1?Q?Jo=E3o_Br=E1zio?= Sender: jbrazio@gmail.com To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] GNAP+VPN=PROBLEMS In-Reply-To: <20051229105331.GD10459@nightcrawler.e-centre.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17914_30550478.1135858889325" References: <7399af0a0512280345g442fe576n8f3df66267f353fb@mail.gmail.com> <43B29454.8050701@gentoo.org> <7399af0a0512281109u17c21de3rfc69c73285245b@mail.gmail.com> <43B3B400.1080207@gentoo.org> <7399af0a0512290224y45c663ffyd8e16850da677d1c@mail.gmail.com> <20051229103029.GC10459@nightcrawler.e-centre.net> <7399af0a0512290235m68ffd25h3ee4c5ea51196127@mail.gmail.com> <20051229105331.GD10459@nightcrawler.e-centre.net> X-Archives-Salt: e7cb9e83-16fa-4500-bf3b-5f0f71b603de X-Archives-Hash: 8bbb5a825386fbf455268d33013f7c0c ------=_Part_17914_30550478.1135858889325 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline OK.. I'm getting out of ideias. Now I've got the same error with a different file.. # chroot (...) # emerge portage [...] Traceback (most recent call last): File "/usr/bin/emerge", line 3200, in ? mydepgraph.merge(mydepgraph.altlist()) File "/usr/bin/emerge", line 1912, in merge retval=3Dportage.doebuild(y,"merge",myroot,self.pkgsettings,edebug) File "/usr/lib/portage/pym/portage.py", line 2724, in doebuild return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],mysettings["B= UILDDIR"]+"/build-info",myroot,mysettings,myebuild=3Dmysettings["EBUILD"]) File "/usr/lib/portage/pym/portage.py", line 2896, in merge return mylink.merge(pkgloc,infloc,myroot,myebuild) File "/usr/lib/portage/pym/portage.py", line 6893, in merge return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=3Dclean= up) File "/usr/lib/portage/pym/portage.py", line 6502, in treewalk if self.mergeme (srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime): File "/usr/lib/portage/pym/portage.py", line 6758, in mergeme if self.mergeme (srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime): File "/usr/lib/portage/pym/portage.py", line 6791, in mergeme os.utime(mydest,(thismtime,thismtime)) OSError: [Errno 38] Function not implemented: '/etc/make.globals' On 12/29/05, Brian Harring wrote: > > On Thu, Dec 29, 2005 at 10:35:12AM +0000, Jo=E3o Br=E1zio wrote: > > On 12/29/05, Brian Harring <[1]ferringb@gentoo.org> 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=3Dopen(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 > > > -- Cumprimentos, Jo=E3o Br=E1zio. ------=_Part_17914_30550478.1135858889325 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
OK.. I'm getting out of ideias.
 
Now I've got the same error with a different file..
 
# chroot (...)
# emerge portage
[...]
Traceback (most recent call last):
  File "/usr/bin/emerg= e", line 3200, in ?
    mydepgraph.merge(mydepgraph.= altlist())
  File "/usr/bin/emerge", line 1912, in merge<= br>    retval=3Dportage.doebuild (y,"merge",myroot,self.pkgsettings,edebug)
  File "/= usr/lib/portage/pym/portage.py", line 2724, in doebuild
  = ;  return merge(mysettings["CATEGORY"],mysettings["PF&q= uot;],mysettings["D"],mysettings["BUILDDIR"]+"/bui= ld-info",myroot,mysettings,myebuild=3Dmysettings["EBUILD"])
  File "/usr/lib/portage/pym/portage.py", line 2896, in = merge
    return mylink.merge(pkgloc,infloc,myroot,myebui= ld)
  File "/usr/lib/portage/pym/portage.py", line 6893, = in merge
    return=20 self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=3Dcleanup)
&nbs= p; File "/usr/lib/portage/pym/portage.py", line 6502, in treewalk=
    if self.mergeme(srcroot,destroot,outfile,secondhand,= "",cfgfiledict,mymtime):
  File "/usr/lib/portage/pym/portage.py", line 6758, in = mergeme
    if self.mergeme(srcroot,destroot,outfile,seco= ndhand,offset+x+"/",cfgfiledict,thismtime):
  File "= /usr/lib/portage/pym/portage.py", line 6791, in mergeme
    os.utime(mydest,(thismtime,thismtime))
OSError: [= Errno 38] Function not implemented: '/etc/make.globals'


 
On 12/29/05, Brian Harring <ferringb@gent= oo.org> wrote:
On Thu, Dec 29, 2005 at 10:35:12= AM +0000, Jo=E3o Br=E1zio wrote:
> On 12/29/05, Brian Harring <[1]= ferringb@ gentoo.org> wrote:
> > On Thu= , Dec 29, 2005 at 10:24:06AM +0000, Jo?o Br?zio wrote:
> > > We= l.. I've already tryed to chroot() into the grp-x86-20051228 and
> &g= t; > issued:
> > > # emerge portage
> > > Calculating dependenc= ies
> > >
> > > !!! Problem in sys-apps/portage dep= endencies.
> > > !!! [Errno 38] Function not implemented:
> > > '/var/cache/edb/dep//usr/portage/sys-apps/.update.23778.port= aege-2.0.53
> > > ' exceptions
> > utime or rename off= hand...
> 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=3Dopen(tmp_update_entry)
write to it
close it
utime it (rese= t mtime)
rename(tmp_update_entry, update_entry)

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

~harring





--

Cumprimentos,
Jo=E3o Br=E1zi= o.=20 ------=_Part_17914_30550478.1135858889325-- -- gentoo-embedded@gentoo.org mailing list