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 1Eryxd-0000Zm-Ul for garchives@archives.gentoo.org; Thu, 29 Dec 2005 14:40:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBTEeA5L009594; Thu, 29 Dec 2005 14:40:10 GMT Received: from mail49.e.nsc.no (mail49.e.nsc.no [193.213.115.49]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBTEe9uv006201 for ; Thu, 29 Dec 2005 14:40:10 GMT Received: from mail.nor.wtbts.org ([213.234.126.131]) by mail49.nsc.no (8.13.5/8.13.5) with ESMTP id jBTEe7te020629 for ; Thu, 29 Dec 2005 15:40:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.nor.wtbts.org (Postfix) with ESMTP id F38F33FA36 for ; Thu, 29 Dec 2005 15:40:06 +0100 (CET) Received: from mail.nor.wtbts.org ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07675-07 for ; Thu, 29 Dec 2005 15:40:06 +0100 (CET) Received: from nc (unknown [192.168.65.211]) by mail.nor.wtbts.org (Postfix) with ESMTP id CC2BE3FA30 for ; Thu, 29 Dec 2005 15:40:06 +0100 (CET) Subject: Re: [gentoo-embedded] GNAP+VPN=PROBLEMS From: Natanael Copa To: gentoo-embedded@lists.gentoo.org In-Reply-To: <7399af0a0512290618l33ffe95bu11383d3af09b4535@mail.gmail.com> 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> Content-Type: text/plain; charset=ISO-8859-1 Date: Thu, 29 Dec 2005 15:40:06 +0100 Message-Id: <1135867206.12838.163.camel@nc> 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 X-Mailer: Evolution 2.4.2.1 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at wtbts.no Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id jBTEeA69009594 X-Archives-Salt: ebcdf7bc-54a3-4d4b-bf1c-a07f99328711 X-Archives-Hash: 4934b320160234ed641c4324bbc21e52 On tor, 2005-12-29 at 14:18 +0000, Jo=E3o Br=E1zio wrote: > Dear Brian, > =20 > 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. =20 > # 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()))) > =20 > # 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' > =20 > =20 > [OUTPUT FROM THE GNAP CHROOT() SYSTEM] > =20 > # 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=20 > 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"=20 > 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"=20 > 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"=20 > 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"=20 > Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, > PORTDIR_OVERLAY >=20 >=20 > =20 > On 12/29/05, Brian Harring wrote:=20 > 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:=20 > > > > # 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.portaeg= e-2.0.53 > > > > ' exceptions > > > utime or rename offhand... > > Excuse me but what do you mean with "offhand" ?=20 > =20 > 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). > =20 > The algo is roughly=20 > f=3Dopen(tmp_update_entry) > write to it > close it > utime it (reset mtime) > rename(tmp_update_entry, update_entry) > =20 > 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=20 > sanely trigger that (failed update will trigger an unlink, but > I'd be > amazed if that call was missing). > =20 > ~harring > =20 > =20 >=20 >=20 >=20 > --=20 >=20 > Cumprimentos, > Jo=E3o Br=E1zio.=20 --=20 gentoo-embedded@gentoo.org mailing list