Gentoo Archives: gentoo-embedded

From: Jude Pereira <judebpereira@×××××.com>
To: Ed W <lists@××××××××××.com>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] stages for x86 uclibc
Date: Thu, 01 Sep 2011 05:48:39
Message-Id: CAD00X5MYwNn8TkbDD1WrZYc2jBD5OTX-1SJ+FPnwvnON6Nuhnw@mail.gmail.com
In Reply to: Re: [gentoo-embedded] stages for x86 uclibc by Ed W
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@××××××××××.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 > > >