From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-embedded+bounces-4046-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Qz08l-00032v-7p
	for garchives@archives.gentoo.org; Thu, 01 Sep 2011 05:48:39 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C0C3121C06E;
	Thu,  1 Sep 2011 05:48:24 +0000 (UTC)
Received: from mail-iy0-f181.google.com (mail-iy0-f181.google.com [209.85.210.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id A963D21C046
	for <gentoo-embedded@lists.gentoo.org>; Thu,  1 Sep 2011 05:48:08 +0000 (UTC)
Received: by iabz21 with SMTP id z21so2108477iab.40
        for <gentoo-embedded@lists.gentoo.org>; Wed, 31 Aug 2011 22:48:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :cc:content-type;
        bh=A6ZrGYmHGn54KSxuKqzwAbb553ppjEAktmeN5B7fqFQ=;
        b=tRIk9NButnUabT0XHFB+gDwDF6jTGowJwVW1K7htkPOvqdKhL4vJj4nRjwoOmQanHd
         2i+z/cWW6nQ44peuAcNjllVYpIloFo3xDcK3XMlVQ5UqA3nsn+dKT77qOSWL0qoJIu7N
         cE1zMj63E5FcYO8Y2sBSjuXCwU9Ul4r90mNPY=
Received: by 10.42.159.201 with SMTP id m9mr1227266icx.10.1314856088149; Wed,
 31 Aug 2011 22:48:08 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@lists.gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.42.132.73 with HTTP; Wed, 31 Aug 2011 22:47:47 -0700 (PDT)
In-Reply-To: <4E5E5103.9060206@wildgooses.com>
References: <CAD00X5MxpcwhWpuK+P=A4nwOwz0pdHL=YUMOqM3vFFMvRHK60A@mail.gmail.com>
 <4E5E13B2.8090804@wildgooses.com> <CAD00X5Pe-H6vLzj14wBJqgeO9b6-LwoMOLd1dYEoN3kitZipuA@mail.gmail.com>
 <4E5E5103.9060206@wildgooses.com>
From: Jude Pereira <judebpereira@gmail.com>
Date: Thu, 1 Sep 2011 11:17:47 +0530
Message-ID: <CAD00X5MYwNn8TkbDD1WrZYc2jBD5OTX-1SJ+FPnwvnON6Nuhnw@mail.gmail.com>
Subject: Re: [gentoo-embedded] stages for x86 uclibc
To: Ed W <lists@wildgooses.com>
Cc: gentoo-embedded@lists.gentoo.org
Content-Type: multipart/alternative; boundary=90e6ba6e8ab8109d6304abdaca18
X-Archives-Salt: 
X-Archives-Hash: 715044ffeb28692915fe4f7b7b29be1e

--90e6ba6e8ab8109d6304abdaca18
Content-Type: text/plain; charset=ISO-8859-1

Hey Ed,
I bumped the ebuild to the snapshot of 20110831 last evening, I've
successfully compiled it, but then python goes crazy.

It says that it cant find libutil.so.0, but it is actually in the correct
lib dir. I'm going to look into this even more now.


--Jude Pereira
(http://judepereira.com/blog)


On Wed, Aug 31, 2011 at 8:49 PM, Ed W <lists@wildgooses.com> wrote:

> On 31/08/2011 13:16, Jude Pereira wrote:
> > I do have the time to give the uclibc profile in portage a good kick.
> > I'm very much into this as I'm working with uclibc toolchains under
> > the x86 mainly.
> >
> > I'll make an ebuild for the new one, and test it out.
>
> I didn't need to do much more than trim out all the old patches and bump
> the ebuild.  Just to give a heads up, here are my main changes for
> iconv/locales:
>
>
> --- /usr/portage/sys-libs/uclibc/uclibc-0.9.30.1-r1.ebuild
> 2011-04-20 19:31:26.000000000 +0100
> +++ /usr/local/portage/sys-libs/uclibc/uclibc-0.9.33_pre20110617.ebuild
> 2011-06-23 19:43:24.000000000 +0100
> @@ -170,6 +173,10 @@
>                epatch "${WORKDIR}"/patch
>        fi
>
> +       epatch "${FILESDIR}"/${PN}-${PV}-clean.patch
> +       epatch "${FILESDIR}"/gen_wc8bit.patch
> +       epatch "${FILESDIR}"/gen_wctype.patch
> +
>        sed -i 's:getline:get_line:' extra/scripts/unifdef.c #277186
>
>        ########## CPU SELECTION ##########
> @@ -305,6 +312,14 @@
>        cp .config myconfig
>
>        emake -s clean > /dev/null || die "could not clean"
> +
> +       # TODO: These should depend on some useflag, eg iconv
> +       # Run after make clean, otherwise files removed
> +       find ./extra/locale/charmaps -name "*.pairs" >
> extra/locale/codesets.txt
> +       #cp ./extra/locale/LOCALES ./extra/locale/locales.txt
> +       cp "${FILESDIR}"/locales.txt ./extra/locale/locales.txt
> +       # TODO: Now edit locales as appropriate...
> +       # FIXME: ...
>  }
>
>
> Also, not sure I remember why, but I have this change...
>
> -IUSE="build uclibc-compat debug hardened ssp ipv6 minimal wordexp
> crosscompile_opts_headers-only"
> +IUSE="build elibc_uclibc uclibc-compat debug hardened ssp ipv6 minimal
> wordexp crosscompile_opts_headers-only"
>
>
>
> The missing patch files are attached (note the _clean_ is not needed on
> recent git).  Note the gen_wc patches should be credited/copyrighted to
> the chap whos name I forget on the uclibc list who posted them about Feb
> this year?
>
> Bit of a mess, but hopefully helpful?
>
> Ed W
>
>
>

--90e6ba6e8ab8109d6304abdaca18
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8"><s=
pan class=3D"Apple-style-span" style=3D"border-collapse: collapse; font-fam=
ily: arial, sans-serif; font-size: 13px; ">Hey Ed,<div>I bumped the ebuild =
to the snapshot of 20110831 last evening, I&#39;ve successfully compiled it=
, but then python goes crazy.</div>

<div><br></div><div>It says that it cant find libutil.so.0, but it is actua=
lly in the correct lib dir. I&#39;m going to look into this even more now.<=
br clear=3D"all"><font color=3D"#888888"><div><br></div></font></div></span=
><br>

--Jude Pereira<br>(<a href=3D"http://judepereira.com/blog" target=3D"_blank=
">http://judepereira.com/blog</a>)<br>
<br><br><div class=3D"gmail_quote">On Wed, Aug 31, 2011 at 8:49 PM, Ed W <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:lists@wildgooses.com">lists@wildgoose=
s.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class=3D"im">On 31/08/2011 13:16, Jude Pereira wrote:<br>
&gt; I do have the time to give the uclibc profile in portage a good kick.<=
br>
&gt; I&#39;m very much into this as I&#39;m working with uclibc toolchains =
under<br>
&gt; the x86 mainly.<br>
&gt;<br>
&gt; I&#39;ll make an ebuild for the new one, and test it out.<br>
<br>
</div>I didn&#39;t need to do much more than trim out all the old patches a=
nd bump<br>
the ebuild. =A0Just to give a heads up, here are my main changes for<br>
iconv/locales:<br>
<br>
<br>
--- /usr/portage/sys-libs/uclibc/uclibc-0.9.30.1-r1.ebuild<br>
2011-04-20 19:31:26.000000000 +0100<br>
+++ /usr/local/portage/sys-libs/uclibc/uclibc-0.9.33_pre20110617.ebuild<br>
2011-06-23 19:43:24.000000000 +0100<br>
@@ -170,6 +173,10 @@<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0epatch &quot;${WORKDIR}&quot;/patch<br>
 =A0 =A0 =A0 =A0fi<br>
<br>
+ =A0 =A0 =A0 epatch &quot;${FILESDIR}&quot;/${PN}-${PV}-clean.patch<br>
+ =A0 =A0 =A0 epatch &quot;${FILESDIR}&quot;/gen_wc8bit.patch<br>
+ =A0 =A0 =A0 epatch &quot;${FILESDIR}&quot;/gen_wctype.patch<br>
+<br>
 =A0 =A0 =A0 =A0sed -i &#39;s:getline:get_line:&#39; extra/scripts/unifdef.=
c #277186<br>
<br>
 =A0 =A0 =A0 =A0########## CPU SELECTION ##########<br>
@@ -305,6 +312,14 @@<br>
 =A0 =A0 =A0 =A0cp .config myconfig<br>
<br>
 =A0 =A0 =A0 =A0emake -s clean &gt; /dev/null || die &quot;could not clean&=
quot;<br>
+<br>
+ =A0 =A0 =A0 # TODO: These should depend on some useflag, eg iconv<br>
+ =A0 =A0 =A0 # Run after make clean, otherwise files removed<br>
+ =A0 =A0 =A0 find ./extra/locale/charmaps -name &quot;*.pairs&quot; &gt;<b=
r>
extra/locale/codesets.txt<br>
+ =A0 =A0 =A0 #cp ./extra/locale/LOCALES ./extra/locale/locales.txt<br>
+ =A0 =A0 =A0 cp &quot;${FILESDIR}&quot;/locales.txt ./extra/locale/locales=
.txt<br>
+ =A0 =A0 =A0 # TODO: Now edit locales as appropriate...<br>
+ =A0 =A0 =A0 # FIXME: ...<br>
=A0}<br>
<br>
<br>
Also, not sure I remember why, but I have this change...<br>
<br>
-IUSE=3D&quot;build uclibc-compat debug hardened ssp ipv6 minimal wordexp<b=
r>
crosscompile_opts_headers-only&quot;<br>
+IUSE=3D&quot;build elibc_uclibc uclibc-compat debug hardened ssp ipv6 mini=
mal<br>
wordexp crosscompile_opts_headers-only&quot;<br>
<br>
<br>
<br>
The missing patch files are attached (note the _clean_ is not needed on<br>
recent git). =A0Note the gen_wc patches should be credited/copyrighted to<b=
r>
the chap whos name I forget on the uclibc list who posted them about Feb<br=
>
this year?<br>
<br>
Bit of a mess, but hopefully helpful?<br>
<font color=3D"#888888"><br>
Ed W<br>
<br>
<br>
</font></blockquote></div><br>

--90e6ba6e8ab8109d6304abdaca18--