Gentoo Archives: gentoo-alt

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

Replies

Subject Author
Re: [gentoo-alt] AIX: libiconv issues still ? Marshall McMullen <marshall.mcmullen@×××××.com>