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: Thu, 19 Apr 2007 07:09:11
Message-Id: 1176966716.7328.17.camel@localhost
In Reply to: Re: [gentoo-alt] AIX: libiconv issues still ? by Michael Haubenwallner
1 On Thu, 2007-04-19 at 08:03 +0200, Michael Haubenwallner wrote:
2 > On Wed, 2007-04-18 at 16:09 -0500, Marshall McMullen wrote:
3 > > Here the info you asked for:
4 > >
5 > > > Which permission does that directory have ?
6 > >
7 > > $ ls -l /usr | grep lib
8 > > dr-xr-xr-x 38 bin bin 9728 Nov 3 17:49 lib
9 > > lrwxrwxrwx 1 root printq 12 Aug 16 2003 lpd -> /usr/lib/lpd
10 > >
11 > > $ ls -l /usr/lib/libiconv.a
12 > > -r--r--r-- 1 bin bin 374809 Nov 3 17:44 /usr/lib/libiconv.a
13 > >
14 > > $ ar -x /usr/lib/libiconv.a shr4.o
15 > > ar: Permission denied
16 > > ar: 0707-113 The fopen system call failed on file shr4.o.
17 >
18 > Hmm, when ar cannot open shr4.o, how can it be there afterwards ?
19
20 Thinking of it, maybe you did that twice, and shr4.o already existed, so
21 this one ar-error is between screen and keyboard ?
22
23 Maybe attached patch for eclass/toolchain-funcs.eclass can help you...
24
25 /haubi/
26
27 > What are the permissions of your current directory ?
28 > Maybe try this and have (or give me) a look at 'ar.truss.out':
29 > $ truss -o ar.truss.out -f ar -x /usr/lib/libiconv.a shr4.o
30 >
31 > >
32 > > > Which permission does shr4.o have ?
33 > >
34 > > $ ls -la shr4.o
35 > > -r--r--r-- 1 mdmcmull staff 111273 Apr 18 16:03 shr4.o
36 > >
37 > > > What is your umask set to ?
38 > >
39 > > $ umask
40 > > 022
41 > >
42 > > > $ strip -e shr4.o
43 > >
44 > > $ strip -e shr4.o
45 > > strip: shr4.o -- 0654-400 Cannot open file.
46 > > Permission denied
47 > >
48 > > So, doing a "chmod 777 shr4.o", I can then do:
49 > >
50 > > $ strip -e shr4.o
51 > > $ echo $?
52 > > 0
53 > >
54 > > ... Does this help ?
55 > >

Attachments

File name MIME type
aixkeep-chmod.patch text/x-patch

Replies

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