1 |
Please test with this patch. If it works for you then I'll open a bug |
2 |
and request the dev-portage@ team cvs commit it. |
3 |
|
4 |
On Sat, 2004-06-26 at 18:21, Ned Ludd wrote: |
5 |
> On Sat, 2004-06-26 at 02:53, Peter S. Mazinger wrote: |
6 |
> > On 25 Jun 2004, Ned Ludd wrote: |
7 |
> > |
8 |
> > > On Fri, 2004-06-25 at 09:27, Peter S. Mazinger wrote: |
9 |
> > > > Hello! |
10 |
> > > > |
11 |
> > > > some corrections and/or missing changes for uclibc support |
12 |
> > > |
13 |
> > > tar updated |
14 |
> > > perl updated |
15 |
> > > openssl updated |
16 |
> > > |
17 |
> > > binutils-2.15.91.0.1-r2 - |
18 |
> > > binutils - 2.14.90.0.8-r2 |
19 |
> > > |
20 |
> > > This type of logic is not desired. |
21 |
> > > use uclibc && rm -f ${WORKDIR}/patch/*relro* && rm -rf |
22 |
> > > ${WORKDIR}/patch/*sparc1* || die |
23 |
> > > |
24 |
> > > Can you rewrite this one and repost it with 'if ; then ; else ; fi' |
25 |
> > |
26 |
> > I do not know what is not ok with my logic, so please change it as you |
27 |
> > please |
28 |
> > Now there are numbers that are used, I do not like it, because I want to |
29 |
> > know what I remove (in this case all the relro related patches, and a |
30 |
> > patch for sparc that could be ported) |
31 |
> > |
32 |
> > > gcc-3.4.0-r6 - I'll run this by somebody that works on 3.4.x |
33 |
> > > db-4.1.25_p1-r4 - I'll do this one in a few mins |
34 |
> > > catalyst-1.0.7 - Only zhen/releng can make cvs commits on this one. |
35 |
> > |
36 |
> > catalyst is not so important for now, because none of you gave me an idea |
37 |
> > how to produce a stage1/2/3 from tbz2 files, so I can't test stage building. |
38 |
> > |
39 |
> > > |
40 |
> > > Now assuming we get all the updates in where does this put us in your |
41 |
> > > minds eye? |
42 |
> > > I've got people asking me about uclibc by the boatload now. |
43 |
> > |
44 |
> > Due to the fact that not all patches were "accepted" you are missing |
45 |
> > following to really build an uclibc based system starting from buildroot + |
46 |
> > portage manually installed: |
47 |
> > |
48 |
> > config.sub/config.guess is updated by me all the time by econf, only |
49 |
> > those ebuilds got addition use uclibc && gnuconfig_update, that do not run |
50 |
> > econf, only use directly ./configure (the most of them should be corrected |
51 |
> > to use econf, but I wanted to hold my diffs at minimum, so that they are |
52 |
> > acceptable). There are also about 5-6 different versions of these files |
53 |
> > on the system, libtool and automakes, gnuconfig are delivering them, I |
54 |
> > have done patches for this, to use only one, but haven't seen them |
55 |
> > accepted (see my first patch related to gnuconfig-uclibc), If you do not |
56 |
> > remove all the diff. versions and use a "well known" one, updating lets |
57 |
> > say libtool brings a newer config.guess, but this one was forgotten to be |
58 |
> > patched for uclibc. |
59 |
> |
60 |
> |
61 |
> > After this step you can't build any libs for sure for |
62 |
> > uclibc (that's why I wanted the provide gnuconfig-uclibc, to be really |
63 |
> > sure about uclibc proper version) |
64 |
> |
65 |
> For this there is no solution. use uclibc && PROVIDE= is not valid and |
66 |
> till such a time as PROVIDES understand uclibc? ( stuff ) syntax we |
67 |
> can't really run with that gnuconfig-uclibc stuff. The gnuconfig package |
68 |
> has however been updated in stable, so all instances will get the proper |
69 |
> config.sub,guess |
70 |
> |
71 |
> For now we have to seriously forget about conditional provides ;/ |
72 |
> |
73 |
> > I can't accept an approach, to add use uclibc && gnuconfig_update to all |
74 |
> > ebuild that are used w/ uclibc. |
75 |
> |
76 |
> Thats fine we can do it via econf but we have to hook this with a |
77 |
> FEATURE so it may be disabled for any case where a problem could arise. |
78 |
> Something like this should do the trick and keep everything running |
79 |
> smooth. |
80 |
> |
81 |
> if ! hasq noautoeconf $FEATURES ; then |
82 |
> [ -e /usr/share/gnuconfig/ -a -x /bin/basename ] && \ |
83 |
> for x in $(find ${S} -name config.guess -o -name config.sub) ; do |
84 |
> cp /usr/share/gnuconfig/$(basename ${x}) ${x} |
85 |
> done |
86 |
> fi |
87 |
> |
88 |
> |
89 |
> > I have attached my "last bits" from the uclibc overlay directory, so |
90 |
> > you'll see what I am using (these were already sent earlier) |
91 |
> > |
92 |
> > Another problem that will surely arise, the uclibc patches are not |
93 |
> > everywhere in the newest releases, and also if they are there, some devs |
94 |
> > are ignoring them, leaving them out (see openssl), so who will check for each |
95 |
> > update, that someone didn't removed the known uclibc support from one |
96 |
> > package. Most of the uclibc patches are not influencing the normal |
97 |
> > functionality, so they could apply unconditionally, maybe if they won't |
98 |
> > get use uclibc, they will mostly remain in, so the devs will try to |
99 |
> > update/port them to newer versions. |
100 |
> |
101 |
> Then we need to get as many versions updated that we can so that uclibc |
102 |
> carries onto each new future version of an .ebuild. |
103 |
> |
104 |
> > On a side note: |
105 |
> > tar ~arch is faulty on uclibc (tar jtf does not work on the created tbz2 |
106 |
> > files), only the stable one (1.13.92-r3) works. How can it be done to use |
107 |
> > exclusively this version for uclibc? Should this be done in the profile |
108 |
> > enforcing some version? |
109 |
> |
110 |
> masked now in the profile using |
111 |
> <app-arch/tar-1.13.25-r3 |
112 |
> |
113 |
> > Peter |
114 |
> > |
115 |
> > ______________________________________________________________________ |
116 |
> > -- |
117 |
> > gentoo-embedded@g.o mailing list |
118 |
-- |
119 |
Ned Ludd <solar@g.o> |
120 |
Gentoo (hardened,security,infrastructure,embedded,toolchain) Developer |