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
1 Hey Ed,
2 I bumped the ebuild to the snapshot of 20110831 last evening, I've
3 successfully compiled it, but then python goes crazy.
4
5 It says that it cant find libutil.so.0, but it is actually in the correct
6 lib dir. I'm going to look into this even more now.
7
8
9 --Jude Pereira
10 (http://judepereira.com/blog)
11
12
13 On Wed, Aug 31, 2011 at 8:49 PM, Ed W <lists@××××××××××.com> wrote:
14
15 > On 31/08/2011 13:16, Jude Pereira wrote:
16 > > I do have the time to give the uclibc profile in portage a good kick.
17 > > I'm very much into this as I'm working with uclibc toolchains under
18 > > the x86 mainly.
19 > >
20 > > I'll make an ebuild for the new one, and test it out.
21 >
22 > I didn't need to do much more than trim out all the old patches and bump
23 > the ebuild. Just to give a heads up, here are my main changes for
24 > iconv/locales:
25 >
26 >
27 > --- /usr/portage/sys-libs/uclibc/uclibc-0.9.30.1-r1.ebuild
28 > 2011-04-20 19:31:26.000000000 +0100
29 > +++ /usr/local/portage/sys-libs/uclibc/uclibc-0.9.33_pre20110617.ebuild
30 > 2011-06-23 19:43:24.000000000 +0100
31 > @@ -170,6 +173,10 @@
32 > epatch "${WORKDIR}"/patch
33 > fi
34 >
35 > + epatch "${FILESDIR}"/${PN}-${PV}-clean.patch
36 > + epatch "${FILESDIR}"/gen_wc8bit.patch
37 > + epatch "${FILESDIR}"/gen_wctype.patch
38 > +
39 > sed -i 's:getline:get_line:' extra/scripts/unifdef.c #277186
40 >
41 > ########## CPU SELECTION ##########
42 > @@ -305,6 +312,14 @@
43 > cp .config myconfig
44 >
45 > emake -s clean > /dev/null || die "could not clean"
46 > +
47 > + # TODO: These should depend on some useflag, eg iconv
48 > + # Run after make clean, otherwise files removed
49 > + find ./extra/locale/charmaps -name "*.pairs" >
50 > extra/locale/codesets.txt
51 > + #cp ./extra/locale/LOCALES ./extra/locale/locales.txt
52 > + cp "${FILESDIR}"/locales.txt ./extra/locale/locales.txt
53 > + # TODO: Now edit locales as appropriate...
54 > + # FIXME: ...
55 > }
56 >
57 >
58 > Also, not sure I remember why, but I have this change...
59 >
60 > -IUSE="build uclibc-compat debug hardened ssp ipv6 minimal wordexp
61 > crosscompile_opts_headers-only"
62 > +IUSE="build elibc_uclibc uclibc-compat debug hardened ssp ipv6 minimal
63 > wordexp crosscompile_opts_headers-only"
64 >
65 >
66 >
67 > The missing patch files are attached (note the _clean_ is not needed on
68 > recent git). Note the gen_wc patches should be credited/copyrighted to
69 > the chap whos name I forget on the uclibc list who posted them about Feb
70 > this year?
71 >
72 > Bit of a mess, but hopefully helpful?
73 >
74 > Ed W
75 >
76 >
77 >