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:08:27
Message-Id: ecea57780704191008w1bfdc5eeg2ab9c0f15d07697@mail.gmail.com
In Reply to: Re: [gentoo-alt] AIX: libiconv issues still ? by Marshall McMullen
1 never mind, I found the file to patch
2
3 On 4/19/07, Marshall McMullen <marshall.mcmullen@×××××.com> wrote:
4 > sorry for my ignorance, but what do I need to apply this patch to ?
5 >
6 > On 4/19/07, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote:
7 > > On Thu, 2007-04-19 at 08:03 +0200, Michael Haubenwallner wrote:
8 > > > On Wed, 2007-04-18 at 16:09 -0500, Marshall McMullen wrote:
9 > > > > Here the info you asked for:
10 > > > >
11 > > > > > Which permission does that directory have ?
12 > > > >
13 > > > > $ ls -l /usr | grep lib
14 > > > > dr-xr-xr-x 38 bin bin 9728 Nov 3 17:49 lib
15 > > > > lrwxrwxrwx 1 root printq 12 Aug 16 2003 lpd -> /usr/lib/lpd
16 > > > >
17 > > > > $ ls -l /usr/lib/libiconv.a
18 > > > > -r--r--r-- 1 bin bin 374809 Nov 3 17:44 /usr/lib/libiconv.a
19 > > > >
20 > > > > $ ar -x /usr/lib/libiconv.a shr4.o
21 > > > > ar: Permission denied
22 > > > > ar: 0707-113 The fopen system call failed on file shr4.o.
23 > > >
24 > > > Hmm, when ar cannot open shr4.o, how can it be there afterwards ?
25 > >
26 > > Thinking of it, maybe you did that twice, and shr4.o already existed, so
27 > > this one ar-error is between screen and keyboard ?
28 > >
29 > > Maybe attached patch for eclass/toolchain-funcs.eclass can help you...
30 > >
31 > > /haubi/
32 > >
33 > > > What are the permissions of your current directory ?
34 > > > Maybe try this and have (or give me) a look at 'ar.truss.out':
35 > > > $ truss -o ar.truss.out -f ar -x /usr/lib/libiconv.a shr4.o
36 > > >
37 > > > >
38 > > > > > Which permission does shr4.o have ?
39 > > > >
40 > > > > $ ls -la shr4.o
41 > > > > -r--r--r-- 1 mdmcmull staff 111273 Apr 18 16:03 shr4.o
42 > > > >
43 > > > > > What is your umask set to ?
44 > > > >
45 > > > > $ umask
46 > > > > 022
47 > > > >
48 > > > > > $ strip -e shr4.o
49 > > > >
50 > > > > $ strip -e shr4.o
51 > > > > strip: shr4.o -- 0654-400 Cannot open file.
52 > > > > Permission denied
53 > > > >
54 > > > > So, doing a "chmod 777 shr4.o", I can then do:
55 > > > >
56 > > > > $ strip -e shr4.o
57 > > > > $ echo $?
58 > > > > 0
59 > > > >
60 > > > > ... Does this help ?
61 > > > >
62 > >
63 > >
64 > >
65 >
66 >
67 > --
68 > Marshall McMullen
69 > marshall.mcmullen@×××××.com
70 > mjmcmullen@×××××.net
71 > mdmcmullen@××××××.com
72 >
73 > In France, there's a popular saying about Linux that essentially translates as:
74 > "Linux? You can get a less powerful system, but it will cost you more."
75 >
76
77
78 --
79 Marshall McMullen
80 marshall.mcmullen@×××××.com
81 mjmcmullen@×××××.net
82 mdmcmullen@××××××.com
83
84 In France, there's a popular saying about Linux that essentially translates as:
85 "Linux? You can get a less powerful system, but it will cost you more."
86 --
87 gentoo-alt@g.o mailing list

Replies

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