Gentoo Archives: gentoo-alt

From: Marshall McMullen <marshall.mcmullen@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] AIX: libiconv issues still ?
Date: Fri, 20 Apr 2007 15:44:10
Message-Id: ecea57780704200843q4e9f25cewe922326fb3548647@mail.gmail.com
In Reply to: Re: [gentoo-alt] AIX: libiconv issues still ? by Michael Haubenwallner
1 WOO HOO , that worked! You ROCK Haubi !
2
3 On 4/20/07, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote:
4 > On Thu, 2007-04-19 at 12:25 -0500, Marshall McMullen wrote:
5 > > Alright, with that patch applied, it didn't complain at the same spot,
6 > > but it still ultimately fails:
7 > >
8 > > * Not creating fake dynamic library for libiconv.so;
9 > > * making a symlink instead.
10 > > * Not creating fake dynamic library for libcharset.so;
11 > > * making a symlink instead.
12 > > * keeping aix runtime object '/usr/lib/libiconv.a(shr4.o)' in
13 > > '/home/mdmcmull/.overlay/usr/lib/libiconv.a' ...
14 > > [ ok ]
15 > > >>> Completed installing libiconv-1.11 into
16 > > /home/mdmcmull/.overlay/var/tmp/portage/dev-libs/libiconv-1.11/image/home/mdmcmull/.overlay/
17 > >
18 > > ecompressdir: bzip2 -9 home/mdmcmull/.overlay/usr/share/man
19 > > making executable: home/mdmcmull/.overlay/lib/libcharset.so.1.0.0
20 > > making executable: home/mdmcmull/.overlay/lib/libiconv.so.2.4.0
21 > >
22 > > * QA Notice: Missing gen_usr_ldscript for libcharset.so
23 > >
24 > > * QA Notice: Missing gen_usr_ldscript for libiconv.so
25 > >
26 > > !!! ERROR: dev-libs/libiconv-1.11 failed.
27 > > Call stack:
28 > > misc-functions.sh, line 631: Called install_qa_check
29 > > misc-functions.sh, line 320: Called die
30 > >
31 > > !!! add those ldscripts
32 > > !!! If you need support, post the topmost build error, and the call
33 > > stack if relevant.
34 > > !!! A complete build log is located at
35 > > '/home/mdmcmull/.overlay/var/tmp/portage/dev-libs/libiconv-1.11/temp/build.log'.
36 > >
37 > > !!! install_qa_check failed; exiting.
38 >
39 > You need to add the three lines found in the second patch in [1] to
40 > your /home/mdmcmull/.overlay/usr/lib/portage/bin/misc-functions.sh
41 >
42 > [1] http://thread.gmane.org/gmane.linux.gentoo.alt/2281
43 >
44 > /haubi/
45 > >
46 > > On 4/19/07, Marshall McMullen <marshall.mcmullen@×××××.com> wrote:
47 > > > never mind, I found the file to patch
48 > > >
49 > > > On 4/19/07, Marshall McMullen <marshall.mcmullen@×××××.com> wrote:
50 > > > > sorry for my ignorance, but what do I need to apply this patch to ?
51 > > > >
52 > > > > On 4/19/07, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote:
53 > > > > > On Thu, 2007-04-19 at 08:03 +0200, Michael Haubenwallner wrote:
54 > > > > > > On Wed, 2007-04-18 at 16:09 -0500, Marshall McMullen wrote:
55 > > > > > > > Here the info you asked for:
56 > > > > > > >
57 > > > > > > > > Which permission does that directory have ?
58 > > > > > > >
59 > > > > > > > $ ls -l /usr | grep lib
60 > > > > > > > dr-xr-xr-x 38 bin bin 9728 Nov 3 17:49 lib
61 > > > > > > > lrwxrwxrwx 1 root printq 12 Aug 16 2003 lpd -> /usr/lib/lpd
62 > > > > > > >
63 > > > > > > > $ ls -l /usr/lib/libiconv.a
64 > > > > > > > -r--r--r-- 1 bin bin 374809 Nov 3 17:44 /usr/lib/libiconv.a
65 > > > > > > >
66 > > > > > > > $ ar -x /usr/lib/libiconv.a shr4.o
67 > > > > > > > ar: Permission denied
68 > > > > > > > ar: 0707-113 The fopen system call failed on file shr4.o.
69 > > > > > >
70 > > > > > > Hmm, when ar cannot open shr4.o, how can it be there afterwards ?
71 > > > > >
72 > > > > > Thinking of it, maybe you did that twice, and shr4.o already existed, so
73 > > > > > this one ar-error is between screen and keyboard ?
74 > > > > >
75 > > > > > Maybe attached patch for eclass/toolchain-funcs.eclass can help you...
76 > > > > >
77 > > > > > /haubi/
78 > > > > >
79 > > > > > > What are the permissions of your current directory ?
80 > > > > > > Maybe try this and have (or give me) a look at 'ar.truss.out':
81 > > > > > > $ truss -o ar.truss.out -f ar -x /usr/lib/libiconv.a shr4.o
82 > > > > > >
83 > > > > > > >
84 > > > > > > > > Which permission does shr4.o have ?
85 > > > > > > >
86 > > > > > > > $ ls -la shr4.o
87 > > > > > > > -r--r--r-- 1 mdmcmull staff 111273 Apr 18 16:03 shr4.o
88 > > > > > > >
89 > > > > > > > > What is your umask set to ?
90 > > > > > > >
91 > > > > > > > $ umask
92 > > > > > > > 022
93 > > > > > > >
94 > > > > > > > > $ strip -e shr4.o
95 > > > > > > >
96 > > > > > > > $ strip -e shr4.o
97 > > > > > > > strip: shr4.o -- 0654-400 Cannot open file.
98 > > > > > > > Permission denied
99 > > > > > > >
100 > > > > > > > So, doing a "chmod 777 shr4.o", I can then do:
101 > > > > > > >
102 > > > > > > > $ strip -e shr4.o
103 > > > > > > > $ echo $?
104 > > > > > > > 0
105 > > > > > > >
106 > > > > > > > ... Does this help ?
107 > > > > > > >
108 > > > > >
109 > > > > >
110 > > > > >
111 > > > >
112 > > > >
113 > > > > --
114 > > > > Marshall McMullen
115 > > > > marshall.mcmullen@×××××.com
116 > > > > mjmcmullen@×××××.net
117 > > > > mdmcmullen@××××××.com
118 > > > >
119 > > > > In France, there's a popular saying about Linux that essentially translates as:
120 > > > > "Linux? You can get a less powerful system, but it will cost you more."
121 > > > >
122 > > >
123 > > >
124 > > > --
125 > > > Marshall McMullen
126 > > > marshall.mcmullen@×××××.com
127 > > > mjmcmullen@×××××.net
128 > > > mdmcmullen@××××××.com
129 > > >
130 > > > In France, there's a popular saying about Linux that essentially translates as:
131 > > > "Linux? You can get a less powerful system, but it will cost you more."
132 > > >
133 > >
134 > >
135 > > --
136 > > Marshall McMullen
137 > > marshall.mcmullen@×××××.com
138 > > mjmcmullen@×××××.net
139 > > mdmcmullen@××××××.com
140 > >
141 > > In France, there's a popular saying about Linux that essentially translates as:
142 > > "Linux? You can get a less powerful system, but it will cost you more."
143 >
144 >
145 > --
146 > Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
147 > Sitz der Gesellschaft: Friesach bei Graz
148 > UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
149 > Firmenbuchgericht: Landesgericht für Zivilrechtssachen Graz
150 >
151 > --
152 > gentoo-alt@g.o mailing list
153 >
154 >
155
156
157 --
158 Marshall McMullen
159 marshall.mcmullen@×××××.com
160 mjmcmullen@×××××.net
161 mdmcmullen@××××××.com
162
163 In France, there's a popular saying about Linux that essentially translates as:
164 "Linux? You can get a less powerful system, but it will cost you more."
165 --
166 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] AIX: libiconv issues still ? Fabian Groffen <grobian@g.o>