Gentoo Archives: gentoo-alt

From: Marshall McMullen <marshall.mcmullen@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Re: AIX: gettext fails
Date: Fri, 04 May 2007 19:38:35
Message-Id: ecea57780705041237k4d678ccay7217d868c9e5c989@mail.gmail.com
In Reply to: Re: [gentoo-alt] Re: AIX: gettext fails by Michael Haubenwallner
1 *sigh*. Yeah, this is a real mess. I wish I understood more about it
2 so I could help figure things out. About all I can do at this point is
3 test out anything you come up with. Please let me know if there is
4 anything else I can do to help out.
5
6 Thanks!
7
8 On 5/4/07, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote:
9 > On Thu, 2007-05-03 at 13:45 -0500, Marshall McMullen wrote:
10 > > I'm sure I'm missing some other patches and some other details here,
11 > > but I tried applying the patch provided above, and then emerging
12 > > gettext, and it still fails with:
13 >
14 > Even if you had the patch to get it installed without errors, it will
15 > not work, because the binaries will not find their installed sharedlibs
16 > correctly.
17 >
18 > This is a libtool problem, probably fixed with vanilla libtool-1.5.23b,
19 > but definitively not with vanilla libtool-1.5.22, although there are
20 > patches out (and applied in gentoo) for 1.5.22 IIRC.
21 >
22 > Now there are two ways to fix gettext:
23 >
24 > 1) completely re-libtoolize gettext with libtool-1.5.23b (currently it
25 > uses libtool-1.5.22), or fixed libtool-1.5.22. But this may be tricky.
26 >
27 > 2) create more patches like 'aixrtl' and 'instprefixlink' for
28 > 'elibtoolize', to fix gettext-shipped libtool-things (ltmain.sh,
29 > configure) directly.
30 > This also will be useful for other packages with similar problems.
31 >
32 > So we really want 2), and 1) _may_ be of some help to gain 2).
33 >
34 > This is what I call "aix libtool hell"...
35 >
36 > /haubi/
37 > >
38 > > powerpc-ibm-aix5.2.0.0-gcc:
39 > > /home/mdmcmull/.overlay/usr/lib/libgettextlib.a: No such file or
40 > > directory
41 > > libtool: install: error: relink `libgettextsrc.la' with the above
42 > > command before installing it
43 > > make[4]: *** [install-libLTLIBRARIES] Error 1
44 > > make[4]: Leaving directory
45 > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src'
46 > > make[3]: *** [install-am] Error 2
47 > > make[3]: Leaving directory
48 > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src'
49 > > make[2]: *** [install] Error 2
50 > > make[2]: Leaving directory
51 > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src'
52 > > make[1]: *** [install-recursive] Error 1
53 > > make[1]: Leaving directory
54 > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools'
55 > > make: *** [install-recursive] Error 1
56 > >
57 > > Are there other patches I need to have applied perhaps ?
58 > >
59 > > On 5/3/07, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote:
60 > > > On Wed, 2007-05-02 at 10:06 -0500, Marshall McMullen wrote:
61 > > > > Ah, I figured that was what was going on. I'll have to go back and
62 > > > > re-read your email about aix-libtool hell :-).
63 > > >
64 > > > Err, the previous was "aix dll hell", this one is "aix libtool hell",
65 > > > what I meant to repeat was "aix ... hell" ;)
66 > > >
67 > > > Grobian, attached is a patch for things like that:
68 > > >
69 > > > eclass/ELT-patches/instprefixlink/1.5.20:
70 > > > The patch to fix package-shipped libtool.
71 > > >
72 > > > eclass/toolchain-funcs.eclass
73 > > > This one is still not in svn yet.
74 > > >
75 > > > eclass/libtool.eclass
76 > > > Hunk#1: use above libtool-patch
77 > > > Hunk#2: still not in svn yet, required for aixrtl.
78 > > >
79 > > > sys-devel/gettext/gettext-0.16.1.ebuild
80 > > > Need to elibtoolize the package.
81 > > >
82 > > > Package with the same problem might be fixed with 'elibtoolize' now.
83 > > >
84 > > >
85 > > > >
86 > > > > Thanks for taking the time to reply and update me on it, I aprpeciate it.
87 > > >
88 > > > Sooner or later I'd have done it anyway - was in hope that someone else
89 > > > might have done it before me ;). I was just focused on linux recently,
90 > > > where our first packages are done so far to give prefix to my first
91 > > > colleagues :)
92 > > >
93 > > > /haubi/
94 > > >
95 > > > >
96 > > > > I'm just glad I was able to get the new vim installed finally,
97 > > > > vertical split is really cool :-).
98 > > > >
99 > > > > Thanks!
100 > > > >
101 > > > > On 5/2/07, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote:
102 > > > > > On Mon, 2007-04-30 at 14:42 -0500, Marshall McMullen wrote:
103 > > > > > > Anyone else making any progress on this yet? I think this is the last
104 > > > > > > package I am unable to install on AIX from system.
105 > > > > > >
106 > > > > > > Any thoughts appreciated.
107 > > > > >
108 > > > > > In danger of repeating myself: "Welcome to aix-libtool hell"
109 > > > > >
110 > > > > > This is the main reason why I do not use DESTDIR on aix in
111 > > > > > prefix-launcher (aka. toolsbox).
112 > > > > >
113 > > > > > We will see many packages having this problem, the next one will be
114 > > > > > dev-libs/libxml2, a prerequisite of subversion.
115 > > > > >
116 > > > > > They all have the same libtool problem, but I'm unsure if there is
117 > > > > > already a fix out there - maybe libtool-1.5.23b ?
118 > > > > >
119 > > > > > Grobian: while trying to 'elibtoolize' gettext, I had to apply attached
120 > > > > > patch to eclass/libtool.eclass, based on my previous patch for
121 > > > > > aix-dllhell.
122 > > > > >
123 > > > > > This does not fix the gettext-problem, but a bug in libtool.eclass only.
124 > > > > >
125 > > > > > /haubi/
126 > > > > >
127 > > > > >
128 > > > > > >
129 > > > > > > Thanks!
130 > > > > > >
131 > > > > > >
132 > > > > > > On 4/20/07, Marshall McMullen <marshall.mcmullen@×××××.com> wrote:
133 > > > > > > > I've emerged libiconv now, but when trying to emerge gettext I get:
134 > > > > > > >
135 > > > > > > > powerpc-ibm-aix5.2.0.0-gcc:
136 > > > > > > > /home/mdmcmull/.overlay/usr/lib/libgettextlib.a: No such file or
137 > > > > > > > directory
138 > > > > > > > libtool: install: error: relink `libgettextsrc.la' with the above
139 > > > > > > > command before installing it
140 > > > > > > > make[4]: *** [install-libLTLIBRARIES] Error 1
141 > > > > > > > make[4]: Leaving directory
142 > > > > > > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src'
143 > > > > > > > make[3]: *** [install-am] Error 2
144 > > > > > > > make[3]: Leaving directory
145 > > > > > > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src'
146 > > > > > > > make[2]: *** [install] Error 2
147 > > > > > > > make[2]: Leaving directory
148 > > > > > > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src'
149 > > > > > > > make[1]: *** [install-recursive] Error 1
150 > > > > > > > make[1]: Leaving directory
151 > > > > > > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools'
152 > > > > > > > make: *** [install-recursive] Error 1
153 > > > > > > >
154 > > > > > > >
155 > > > > > > > --
156 > > > > > > > Marshall McMullen
157 > > > > > > > marshall.mcmullen@×××××.com
158 > > > > > > > mjmcmullen@×××××.net
159 > > > > > > > mdmcmullen@××××××.com
160 > > > > > > >
161 > > > > > > > In France, there's a popular saying about Linux that essentially translates as:
162 > > > > > > > "Linux? You can get a less powerful system, but it will cost you more."
163 > > > > > > >
164 > > > > > >
165 > > > > > >
166 > > > > > > --
167 > > > > > > Marshall McMullen
168 > > > > > > marshall.mcmullen@×××××.com
169 > > > > > > mjmcmullen@×××××.net
170 > > > > > > mdmcmullen@××××××.com
171 > > > > > >
172 > > > > > > In France, there's a popular saying about Linux that essentially translates as:
173 > > > > > > "Linux? You can get a less powerful system, but it will cost you more."
174 > > > > >
175 > > > > > --
176 > > > > > Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
177 > > > > > Sitz der Gesellschaft: Friesach bei Graz
178 > > > > > UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
179 > > > > > Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz
180 > > > > >
181 > > > > >
182 > > > > >
183 > > > >
184 > > > >
185 > > > > --
186 > > > > Marshall McMullen
187 > > > > marshall.mcmullen@×××××.com
188 > > > > mjmcmullen@×××××.net
189 > > > > mdmcmullen@××××××.com
190 > > > >
191 > > > > In France, there's a popular saying about Linux that essentially translates as:
192 > > > > "Linux? You can get a less powerful system, but it will cost you more."
193 > > >
194 > > >
195 > >
196 > >
197 > > --
198 > > Marshall McMullen
199 > > marshall.mcmullen@×××××.com
200 > > mjmcmullen@×××××.net
201 > > mdmcmullen@××××××.com
202 > >
203 > > In France, there's a popular saying about Linux that essentially translates as:
204 > > "Linux? You can get a less powerful system, but it will cost you more."
205 >
206 >
207 > --
208 > Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
209 > Sitz der Gesellschaft: Friesach bei Graz
210 > UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
211 > Firmenbuchgericht: Landesgericht für Zivilrechtssachen Graz
212 >
213 > --
214 > gentoo-alt@g.o mailing list
215 >
216 >
217
218
219 --
220 Marshall McMullen
221 marshall.mcmullen@×××××.com
222 mjmcmullen@×××××.net
223 mdmcmullen@××××××.com
224
225 In France, there's a popular saying about Linux that essentially translates as:
226 "Linux? You can get a less powerful system, but it will cost you more."
227 --
228 gentoo-alt@g.o mailing list