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: Thu, 19 Apr 2007 17:27:31
Message-Id: ecea57780704191027t791e4656s4f9c0ff5c16db19@mail.gmail.com
In Reply to: Re: [gentoo-alt] AIX: libiconv issues still ? by Marshall McMullen
1 Also, I was wondering why it shows the paths:
2
3 ecompressdir: bzip2 -9 home/mdmcmull/.overlay/usr/share/man
4 making executable: home/mdmcmull/.overlay/lib/libcharset.so.1.0.0
5 making executable: home/mdmcmull/.overlay/lib/libiconv.so.2.4.0
6
7 Notice the paths are not absoluste, they don't have a leading '/' at
8 the front. Is that expected?
9
10 Also, it says:
11
12 keeping aix runtime object '/usr/lib/libiconv.a(shr4.o)' in
13 '/home/mdmcmull/.overlay/usr/lib/libiconv.a' ...
14
15 But that file is not present.....Meaning:
16
17 $ ls -l /home/mdmcmull/.overlay/usr/lib/libiconv.a
18 ls: cannot access /home/mdmcmull/.overlay/usr/lib/libiconv.a: No such
19 file or directory
20
21
22 On 4/19/07, Marshall McMullen <marshall.mcmullen@×××××.com> wrote:
23 > Alright, with that patch applied, it didn't complain at the same spot,
24 > but it still ultimately fails:
25 >
26 > * Not creating fake dynamic library for libiconv.so;
27 > * making a symlink instead.
28 > * Not creating fake dynamic library for libcharset.so;
29 > * making a symlink instead.
30 > * keeping aix runtime object '/usr/lib/libiconv.a(shr4.o)' in
31 > '/home/mdmcmull/.overlay/usr/lib/libiconv.a' ...
32 > [ ok ]
33 > >>> Completed installing libiconv-1.11 into
34 > /home/mdmcmull/.overlay/var/tmp/portage/dev-libs/libiconv-1.11/image/home/mdmcmull/.overlay/
35 >
36 > ecompressdir: bzip2 -9 home/mdmcmull/.overlay/usr/share/man
37 > making executable: home/mdmcmull/.overlay/lib/libcharset.so.1.0.0
38 > making executable: home/mdmcmull/.overlay/lib/libiconv.so.2.4.0
39 >
40 > * QA Notice: Missing gen_usr_ldscript for libcharset.so
41 >
42 > * QA Notice: Missing gen_usr_ldscript for libiconv.so
43 >
44 > !!! ERROR: dev-libs/libiconv-1.11 failed.
45 > Call stack:
46 > misc-functions.sh, line 631: Called install_qa_check
47 > misc-functions.sh, line 320: Called die
48 >
49 > !!! add those ldscripts
50 > !!! If you need support, post the topmost build error, and the call
51 > stack if relevant.
52 > !!! A complete build log is located at
53 > '/home/mdmcmull/.overlay/var/tmp/portage/dev-libs/libiconv-1.11/temp/build.log'.
54 >
55 > !!! install_qa_check failed; exiting.
56 >
57 > On 4/19/07, Marshall McMullen <marshall.mcmullen@×××××.com> wrote:
58 > > never mind, I found the file to patch
59 > >
60 > > On 4/19/07, Marshall McMullen <marshall.mcmullen@×××××.com> wrote:
61 > > > sorry for my ignorance, but what do I need to apply this patch to ?
62 > > >
63 > > > On 4/19/07, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote:
64 > > > > On Thu, 2007-04-19 at 08:03 +0200, Michael Haubenwallner wrote:
65 > > > > > On Wed, 2007-04-18 at 16:09 -0500, Marshall McMullen wrote:
66 > > > > > > Here the info you asked for:
67 > > > > > >
68 > > > > > > > Which permission does that directory have ?
69 > > > > > >
70 > > > > > > $ ls -l /usr | grep lib
71 > > > > > > dr-xr-xr-x 38 bin bin 9728 Nov 3 17:49 lib
72 > > > > > > lrwxrwxrwx 1 root printq 12 Aug 16 2003 lpd -> /usr/lib/lpd
73 > > > > > >
74 > > > > > > $ ls -l /usr/lib/libiconv.a
75 > > > > > > -r--r--r-- 1 bin bin 374809 Nov 3 17:44 /usr/lib/libiconv.a
76 > > > > > >
77 > > > > > > $ ar -x /usr/lib/libiconv.a shr4.o
78 > > > > > > ar: Permission denied
79 > > > > > > ar: 0707-113 The fopen system call failed on file shr4.o.
80 > > > > >
81 > > > > > Hmm, when ar cannot open shr4.o, how can it be there afterwards ?
82 > > > >
83 > > > > Thinking of it, maybe you did that twice, and shr4.o already existed, so
84 > > > > this one ar-error is between screen and keyboard ?
85 > > > >
86 > > > > Maybe attached patch for eclass/toolchain-funcs.eclass can help you...
87 > > > >
88 > > > > /haubi/
89 > > > >
90 > > > > > What are the permissions of your current directory ?
91 > > > > > Maybe try this and have (or give me) a look at 'ar.truss.out':
92 > > > > > $ truss -o ar.truss.out -f ar -x /usr/lib/libiconv.a shr4.o
93 > > > > >
94 > > > > > >
95 > > > > > > > Which permission does shr4.o have ?
96 > > > > > >
97 > > > > > > $ ls -la shr4.o
98 > > > > > > -r--r--r-- 1 mdmcmull staff 111273 Apr 18 16:03 shr4.o
99 > > > > > >
100 > > > > > > > What is your umask set to ?
101 > > > > > >
102 > > > > > > $ umask
103 > > > > > > 022
104 > > > > > >
105 > > > > > > > $ strip -e shr4.o
106 > > > > > >
107 > > > > > > $ strip -e shr4.o
108 > > > > > > strip: shr4.o -- 0654-400 Cannot open file.
109 > > > > > > Permission denied
110 > > > > > >
111 > > > > > > So, doing a "chmod 777 shr4.o", I can then do:
112 > > > > > >
113 > > > > > > $ strip -e shr4.o
114 > > > > > > $ echo $?
115 > > > > > > 0
116 > > > > > >
117 > > > > > > ... Does this help ?
118 > > > > > >
119 > > > >
120 > > > >
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 > --
147 > Marshall McMullen
148 > marshall.mcmullen@×××××.com
149 > mjmcmullen@×××××.net
150 > mdmcmullen@××××××.com
151 >
152 > In France, there's a popular saying about Linux that essentially translates as:
153 > "Linux? You can get a less powerful system, but it will cost you more."
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