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