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 1ErzOs-0002Qh-No for garchives@archives.gentoo.org; Thu, 29 Dec 2005 15:09:07 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBTF8FFF023276; Thu, 29 Dec 2005 15:08:15 GMT Received: from mail44.e.nsc.no (mail44.e.nsc.no [193.213.115.44]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBTF8FYP025007 for ; Thu, 29 Dec 2005 15:08:15 GMT Received: from mail.nor.wtbts.org ([213.234.126.131]) by mail44.nsc.no (8.13.5/8.13.5) with ESMTP id jBTF8DP9011724 for ; Thu, 29 Dec 2005 16:08:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.nor.wtbts.org (Postfix) with ESMTP id CD6BC3FA06 for ; Thu, 29 Dec 2005 16:08:13 +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 11995-01 for ; Thu, 29 Dec 2005 16:08:13 +0100 (CET) Received: from nc (unknown [192.168.65.211]) by mail.nor.wtbts.org (Postfix) with ESMTP id A28933FA03 for ; Thu, 29 Dec 2005 16:08:13 +0100 (CET) Subject: Re: [gentoo-embedded] GNAP+VPN=PROBLEMS From: Natanael Copa To: gentoo-embedded@lists.gentoo.org In-Reply-To: <7399af0a0512290655s29ea09fdge97209424dbe395@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> <1135867206.12838.163.camel@nc> <7399af0a0512290655s29ea09fdge97209424dbe395@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Date: Thu, 29 Dec 2005 16:08:13 +0100 Message-Id: <1135868893.12838.166.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 jBTF8FG3023276 X-Archives-Salt: bf32d6e0-313f-4a10-acd9-a7a9fd2829f7 X-Archives-Hash: d953c16ba0794cd103c6dc4dd9b6b920 On tor, 2005-12-29 at 14:55 +0000, Jo=E3o Br=E1zio wrote: > Nice catch ! > How do I update them according to my running kernel ? (A little bit > offtopic..) probably by pointing /etc/make.profile to a 2.4 profile. emerge kernel-headers emerge uclibc I believe that should be enough. =20 > 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 >=20 > =20 > On 12/29/05, Natanael Copa wrote:=20 > 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 ?=20 > =20 > 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()))) > > > > # 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"=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"=20 > > 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=20 > > userland_GNU kernel_linux elibc_uclibc" > > Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, > MAKEOPTS, > > PORTDIR_OVERLAY > > > > > > > > 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:=20 > > > > 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.=20 > > > > > !!! [Errno 38] Function not implemented: > > > > > > > > '/var/cache/edb/dep//usr/portage/sys-apps/.update.23778.portaeg= e-2.0.53 > > > > > ' exceptions=20 > > > > 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,=20 > > 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)=20 > > 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=20 > > 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=20 > > amazed if that call was missing). > > > > ~harring > > > > > > > > > > > > -- > > > > Cumprimentos, > > Jo=E3o Br=E1zio. > =20 > -- > gentoo-embedded@gentoo.org mailing list > =20 >=20 >=20 >=20 > --=20 >=20 > Cumprimentos, > Jo=E3o Br=E1zio.=20 --=20 gentoo-embedded@gentoo.org mailing list