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 1ErzC4-0005yt-Q8 for garchives@archives.gentoo.org; Thu, 29 Dec 2005 14:55:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBTEt6oF023948; Thu, 29 Dec 2005 14:55:06 GMT Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.204]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBTEt4R6021384 for <gentoo-embedded@lists.gentoo.org>; Thu, 29 Dec 2005 14:55:05 GMT Received: by xproxy.gmail.com with SMTP id s6so1210569wxc for <gentoo-embedded@lists.gentoo.org>; Thu, 29 Dec 2005 06:55:04 -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=dVtG/DCDu8gZWrj3UffgGYW73T6kHSflxW6dvs4aR3c/uHQoWZqaNTmbgzYCUeSqF3fmSRm5vtRJMeriTzYI35s6OTd7SDVgLrh5WwALbGbGgjtLtZ7mAQs3fwmg844EDjp5Mfx/UsuLMgZkdp0FCYkbF0EKjgbBGRQ7VRc7gVU= Received: by 10.70.22.19 with SMTP id 19mr8955366wxv; Thu, 29 Dec 2005 06:55:03 -0800 (PST) Received: by 10.70.26.13 with HTTP; Thu, 29 Dec 2005 06:55:03 -0800 (PST) Message-ID: <7399af0a0512290655s29ea09fdge97209424dbe395@mail.gmail.com> Date: Thu, 29 Dec 2005 14:55:03 +0000 From: =?ISO-8859-1?Q?Jo=E3o_Br=E1zio?= <jbrazio@stinkfist.org> Sender: jbrazio@gmail.com To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] GNAP+VPN=PROBLEMS In-Reply-To: <1135867206.12838.163.camel@nc> Precedence: bulk List-Post: <mailto:gentoo-embedded@lists.gentoo.org> List-Help: <mailto:gentoo-embedded+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-embedded+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org> X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19295_7330552.1135868103771" 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> <7399af0a0512290618l33ffe95bu11383d3af09b4535@mail.gmail.com> <1135867206.12838.163.camel@nc> X-Archives-Salt: 89f754c5-0586-4e79-a347-fc2b52ff78fa X-Archives-Hash: 5eabbd5f456dff5f527e7374045202bf ------=_Part_19295_7330552.1135868103771 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Nice catch ! How do I update them according to my running kernel ? (A little bit offtopic..) Closest match: linux-headers/linux-headers-2.4.26.ebuild Kernel: 2.4.28-gentoo-r8 #1 Mon Mar 14 10:57:18 GMT 2005 i686 On 12/29/05, Natanael Copa <mlists@tanael.org> wrote: > > On tor, 2005-12-29 at 14:18 +0000, Jo=E3o Br=E1zio wrote: > > Dear Brian, > > > > The function not implemented is "utime", is this a known bug ? > > You run on a 2.4 kernel with uclibc compiled agains 2.6 headers. > > > # cat test.py > > import os,time > > f =3D 'foobar' > > a =3D file(f, "w") > > a.write("a") > > a.close() > > os.utime(f, (long(time.time()), long(time.time()))) > > > > # python test.py > > Traceback (most recent call last): > > File "test.py", line 7, in ? > > os.utime(f, (long(time.time()), long(time.time()))) > > OSError: [Errno 38] Function not implemented: 'foobar' > > > > > > [OUTPUT FROM THE GNAP CHROOT() SYSTEM] > > > > # emerge --info > > Portage 2.0.51.22-r3 (uclibc/x86/hardened, gcc-3.3.6, > > uclibc-0.9.27-r0, 2.4.28-gentoo-r8 i686) > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > System uname: 2.4.28-gentoo-r8 i686 > > Gentoo Base System version 1.6.13 > > dev-lang/python: 2.3.4-r1, 2.4.2 > > sys-apps/sandbox: 1.2.12 > > sys-devel/autoconf: 2.13, 2.59-r6 > > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 > > sys-devel/binutils: 2.15.92.0.2-r10 > > sys-devel/libtool: 1.5.20 > > virtual/os-headers: 2.6.11-r2 > > ACCEPT_KEYWORDS=3D"x86" > > AUTOCLEAN=3D"yes" > > CBUILD=3D"i386-gentoo-linux-uclibc" > > CFLAGS=3D"-Os -pipe" > > CHOST=3D"i386-gentoo-linux-uclibc" > > CONFIG_PROTECT=3D"/etc /usr/kde/2/share/config /usr/kde/3/share/config > /usr/lib/X11/xkb /usr/share/config /var/qmail/control" > > CONFIG_PROTECT_MASK=3D"/etc/gconf /etc/terminfo /etc/env.d" > > CXXFLAGS=3D"-Os -pipe" > > DISTDIR=3D"/usr/portage/distfiles" > > FEATURES=3D"autoconfig distlocks nodoc noinfo noman sandbox sfperms > > strict" > > GENTOO_MIRRORS=3D"http://distfiles.gentoo.org > > http://distro.ibiblio.org/pub/Linux/distributions/gentoo" > > PKGDIR=3D"/usr/portage/packages" > > PORTAGE_TMPDIR=3D"/var/tmp" > > PORTDIR=3D"/usr/portage" > > SYNC=3D"rsync://rsync.gentoo.org/gentoo-portage" > > USE=3D"x86 hardened ncurses perl pic python readline uclibc zlib > > userland_GNU kernel_linux elibc_uclibc" > > Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, > > PORTDIR_OVERLAY > > > > > > > > On 12/29/05, Brian Harring <ferringb@gentoo.org> 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. > > -- > gentoo-embedded@gentoo.org mailing list > > -- Cumprimentos, Jo=E3o Br=E1zio. ------=_Part_19295_7330552.1135868103771 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <div>Nice catch !</div> <div>How do I update them according to my running kernel ? (A little bit of= ftopic..)</div> <div> </div> <div>Closest match: linux-headers/linux-headers-2.4.26.ebuild</div> <div>Kernel: 2.4.28-gentoo-r8 #1 Mon Mar 14 10:57:18 GMT 2005 i686<br>= <br> </div> <div><span class=3D"gmail_quote">On 12/29/05, <b class=3D"gmail_sendername"= >Natanael Copa</b> <<a href=3D"mailto:mlists@tanael.org">mlists@tanael.o= rg</a>> wrote:</span> <blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0= px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On tor, 2005-12-29 at 14:18 +000= 0, Jo=E3o Br=E1zio wrote:<br>> Dear Brian,<br>><br>> The function = not implemented is "utime", is this a known bug ? <br><br>You run on a 2.4 kernel with uclibc compiled agains 2.6 headers.<br= ><br>> # cat test.py<br>> import os,time<br>> f =3D 'foobar'<br>&g= t; a =3D file(f, "w")<br>> a.write("a")<br>> a.cl= ose ()<br>> os.utime(f, (long(time.time()), long(time.time())))<br>><br>&= gt; # python test.py<br>> Traceback (most recent call last):<br>>&nbs= p; File "test.py", line 7, in ?<br>> &n= bsp; os.utime(f, (long(time.time ()), long(time.time())))<br>> OSError: [Errno 38] Function not implement= ed: 'foobar'<br>><br>><br>> [OUTPUT FROM THE GNAP CHROOT() SYSTEM]= <br>><br>> # emerge --info<br>> Portage 2.0.51.22-r3 (uclibc/x86/h= ardened,=20 gcc-3.3.6,<br>> uclibc-0.9.27-r0, 2.4.28-gentoo-r8 i686)<br>> =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>> System uname: 2.4.28-gentoo= -r8 i686<br>> Gentoo Base System version 1.6.13<br> > dev-lang/python: 2.3.4-r1, 2.4.2<br>> sys-a= pps/sandbox: 1.2.12<br>> sys-devel/autoconf: = ; 2.13, 2.59-r6<br>> sys-devel/automake: 1.4_p6, 1.5, 1.= 6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1<br>> sys-devel/binutils: 2.15.92.0.2-r10<br>> sys-devel/libtool: 1.5.20<br>> virtu= al/os-headers: 2.6.11-r2<br>> ACCEPT_KEYWORDS=3D"x86&quo= t;<br>> AUTOCLEAN=3D"yes"<br>> CBUILD=3D"i386-gentoo-l= inux-uclibc"<br>> CFLAGS=3D"-Os -pipe" <br>> CHOST=3D"i386-gentoo-linux-uclibc"<br>> CONFIG_PROTEC= T=3D"/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11= /xkb /usr/share/config /var/qmail/control"<br>> CONFIG_PROTECT_MASK= =3D"/etc/gconf /etc/terminfo /etc/env.d" <br>> CXXFLAGS=3D"-Os -pipe"<br>> DISTDIR=3D"/usr/port= age/distfiles"<br>> FEATURES=3D"autoconfig distlocks nodoc noi= nfo noman sandbox sfperms<br>> strict"<br>> GENTOO_MIRRORS=3D&qu= ot;<a href=3D"http://distfiles.gentoo.org"> http://distfiles.gentoo.org</a><br>> <a href=3D"http://distro.ibiblio.or= g/pub/Linux/distributions/gentoo"">http://distro.ibiblio.org/pub/Linux= /distributions/gentoo"</a><br>> PKGDIR=3D"/usr/portage/package= s" <br>> PORTAGE_TMPDIR=3D"/var/tmp"<br>> PORTDIR=3D"/usr= /portage"<br>> SYNC=3D"<a href=3D"rsync://rsync.gentoo.org/gen= too-portage">rsync://rsync.gentoo.org/gentoo-portage</a>"<br>> USE= =3D"x86 hardened ncurses perl pic python readline uclibc zlib <br>> userland_GNU kernel_linux elibc_uclibc"<br>> Unset: &= nbsp;ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,<br>> PO= RTDIR_OVERLAY<br>><br>><br>><br>> On 12/29/05, Brian Harring &l= t;<a href=3D"mailto:ferringb@gentoo.org"> ferringb@gentoo.org</a>> wrote:<br>> &nb= sp; On Thu, Dec 29, 2005 at 10:35:12AM +0000, Jo=E3o Br=E1zio w= rote:<br>> > On 12/29= /05, Brian Harring <[1]ferringb@ <a href=3D"http://gentoo.org">gentoo.or= g</a>> wrote: <br>> > > On Thu, = Dec 29, 2005 at 10:24:06AM +0000, Jo?o Br?zio<br>> &nbs= p; wrote:<br>> &nbs= p; > > > Wel.. I've already tryed to chroot() into the= <br>> grp-x86-20051228 a= nd<br> > > > > issued:= <br>> > > > # e= merge portage<br>> > = > > Calculating dependencies<br>> &nb= sp; > > ><br>> &= nbsp; > > > !!! Problem in sys-apps/portage dependencies. <br>> > > > !!!= [Errno 38] Function not implemented:<br>> = > > ><br>> &nbs= p; '/var/cache/edb/dep//usr/portage/sys-apps/.update.23778.port= aege-2.0.53<br>> > &g= t; > ' exceptions <br>> > > utime or= rename offhand...<br>> = > Excuse me but what do you mean with "offhand" ?<br>><br>&= gt; That name for a file is= only created with a flat_list cache<br>> &= nbsp; backend, <br>> specifically when = it's doing an update to an existing entry<br>> &n= bsp; (kind of a<br>> &nbs= p; duh there considering the name, I know).<br>><br>>&nbs= p; The algo is roughly<br>>&nb= sp; f=3Dopen(tmp_update_entry) <br>> write to it<br>>= ; close it<br>> &nb= sp; utime it (reset mtime)<br>> = ; rename(tmp_update_entry, update= _entry)<br>><br>> Hen= ce the 'offhand'. Don't know if it's rename or utime <br>> that's not<br>>= defined- just know that th= ose are the only two syscalls that<br>> &nb= sp; could<br>> &nbs= p; sanely trigger that (failed update will trigger an unlink, but<br>>&n= bsp; I'd be <br>> amazed if that cal= l was missing).<br>><br>> &n= bsp; ~harring<br>><br>><br>><br>><br>><br>> --<br>><br= >> Cumprimentos,<br>> Jo=E3o Br=E1zio.<br><br>--<br><a href=3D"mailto= :gentoo-embedded@gentoo.org"> gentoo-embedded@gentoo.org</a> mailing list<br><br></blockquote></div><br><= br clear=3D"all"><br>-- <br><br>Cumprimentos,<br>Jo=E3o Br=E1zio.=20 ------=_Part_19295_7330552.1135868103771-- -- gentoo-embedded@gentoo.org mailing list