1 |
On Wed, 2007-04-18 at 16:09 -0500, Marshall McMullen wrote: |
2 |
> Here the info you asked for: |
3 |
> |
4 |
> > Which permission does that directory have ? |
5 |
> |
6 |
> $ ls -l /usr | grep lib |
7 |
> dr-xr-xr-x 38 bin bin 9728 Nov 3 17:49 lib |
8 |
> lrwxrwxrwx 1 root printq 12 Aug 16 2003 lpd -> /usr/lib/lpd |
9 |
> |
10 |
> $ ls -l /usr/lib/libiconv.a |
11 |
> -r--r--r-- 1 bin bin 374809 Nov 3 17:44 /usr/lib/libiconv.a |
12 |
> |
13 |
> $ ar -x /usr/lib/libiconv.a shr4.o |
14 |
> ar: Permission denied |
15 |
> ar: 0707-113 The fopen system call failed on file shr4.o. |
16 |
|
17 |
Hmm, when ar cannot open shr4.o, how can it be there afterwards ? |
18 |
What are the permissions of your current directory ? |
19 |
Maybe try this and have (or give me) a look at 'ar.truss.out': |
20 |
$ truss -o ar.truss.out -f ar -x /usr/lib/libiconv.a shr4.o |
21 |
|
22 |
> |
23 |
> > Which permission does shr4.o have ? |
24 |
> |
25 |
> $ ls -la shr4.o |
26 |
> -r--r--r-- 1 mdmcmull staff 111273 Apr 18 16:03 shr4.o |
27 |
> |
28 |
> > What is your umask set to ? |
29 |
> |
30 |
> $ umask |
31 |
> 022 |
32 |
> |
33 |
> > $ strip -e shr4.o |
34 |
> |
35 |
> $ strip -e shr4.o |
36 |
> strip: shr4.o -- 0654-400 Cannot open file. |
37 |
> Permission denied |
38 |
> |
39 |
> So, doing a "chmod 777 shr4.o", I can then do: |
40 |
> |
41 |
> $ strip -e shr4.o |
42 |
> $ echo $? |
43 |
> 0 |
44 |
> |
45 |
> ... Does this help ? |
46 |
> |
47 |
> |
48 |
> |
49 |
> > |
50 |
> > > [ |
51 |
> > > !! ] |
52 |
> > > >>> Completed installing libiconv-1.11 into |
53 |
> > > /home/mdmcmull/.overlay/var/tmp/portage/dev-libs/libiconv-1.11/image/home/mdmcmull/.overlay/ |
54 |
> > > |
55 |
> > > ecompressdir: bzip2 -9 home/mdmcmull/.overlay/usr/share/man |
56 |
> > > making executable: home/mdmcmull/.overlay/lib/libcharset.so.1.0.0 |
57 |
> > > making executable: home/mdmcmull/.overlay/lib/libiconv.so.2.4.0 |
58 |
> > > |
59 |
> > > * QA Notice: Missing gen_usr_ldscript for libcharset.so |
60 |
> > > |
61 |
> > > * QA Notice: Missing gen_usr_ldscript for libiconv.so |
62 |
> > > |
63 |
> > > !!! ERROR: dev-libs/libiconv-1.11 failed. |
64 |
> > > Call stack: |
65 |
> > > misc-functions.sh, line 631: Called install_qa_check |
66 |
> > > misc-functions.sh, line 320: Called die |
67 |
> > > |
68 |
> > > !!! add those ldscripts |
69 |
> > > !!! If you need support, post the topmost build error, and the call |
70 |
> > > stack if relevant. |
71 |
> > > !!! A complete build log is located at |
72 |
> > > '/home/mdmcmull/.overlay/var/tmp/portage/dev-libs/libiconv-1.11/temp/build.log'. |
73 |
> > > |
74 |
> > > !!! install_qa_check failed; exiting. |
75 |
> > |
76 |
> > That portage-patch[1] seems to be not yet in portage. |
77 |
> > Grobian, is it because it is too much a hack (but keeps diffs small) ? |
78 |
> > [1] http://thread.gmane.org/gmane.linux.gentoo.alt/2281 |
79 |
> > |
80 |
> > /haubi/ |
81 |
> > |
82 |
> > -- |
83 |
> > gentoo-alt@g.o mailing list |
84 |
> > |
85 |
> > |
86 |
> |
87 |
> |
88 |
> -- |
89 |
> Marshall McMullen |
90 |
> marshall.mcmullen@×××××.com |
91 |
> mjmcmullen@×××××.net |
92 |
> mdmcmullen@××××××.com |
93 |
> |
94 |
> In France, there's a popular saying about Linux that essentially translates as: |
95 |
> "Linux? You can get a less powerful system, but it will cost you more." |
96 |
|
97 |
-- |
98 |
gentoo-alt@g.o mailing list |