1 |
On Wed, 2007-01-03 at 14:08 -0500, Devon Miller wrote: |
2 |
> On 1/3/07, maillists <lists@×××××.net> wrote: |
3 |
> > On Wed, 2007-01-03 at 08:28 +0100, Praveen C wrote: |
4 |
> > > I think you first need to update to gcc4. |
5 |
> > > praveen |
6 |
> > |
7 |
> > |
8 |
> > Hi Thanks, but I do have sys-devel/gcc version 4.1.1-r1. |
9 |
> > |
10 |
> > Does anybody know what the problem could be? |
11 |
> |
12 |
> Check that you're actually using gcc4: |
13 |
> gcc-config -c |
14 |
> |
15 |
> Next, let's see what USE flags are in play |
16 |
> emerge -pv sys-devlgcc sys-libs/glibc |
17 |
> |
18 |
> dcm |
19 |
|
20 |
Thanks! I now am really using gcc4! but I am still not out of the hot |
21 |
water. |
22 |
|
23 |
Now I get what seems to be a permissions error... |
24 |
|
25 |
Here is my emerge... |
26 |
|
27 |
thor rbragg # emerge -auvDN system |
28 |
emergelog(): [Errno 30] Read-only file system: '/var/log/emerge.log' |
29 |
emergelog(): [Errno 30] Read-only file system: '/var/log/emerge.log' |
30 |
|
31 |
These are the packages that would be merged, in order: |
32 |
|
33 |
Calculating system dependencies... done! |
34 |
[ebuild U ] sys-libs/glibc-2.4-r4 [2.3.5-r3] USE="nls nptl nptlonly* |
35 |
-build -glibc-compat20 -glibc-omitfp -hardened (-multilib) -profile |
36 |
(-selinux) (-erandom%) (-linuxthreads-tls%) (-pic%) (-userlocales%)" 0 |
37 |
kB |
38 |
[ebuild U ] app-arch/bzip2-1.0.3-r6 [1.0.3-r5] USE="-build -static" |
39 |
653 kB |
40 |
[ebuild U ] app-arch/tar-1.16-r2 [1.15.1] USE="nls -static (-build%) |
41 |
(-bzip2%*)" 1,743 kB |
42 |
|
43 |
...bla-bla-bla... |
44 |
|
45 |
Total size of downloads: 18,542 kB |
46 |
|
47 |
Would you like to merge these packages? [Yes/No] y |
48 |
Traceback (most recent call last): |
49 |
File "/usr/bin/emerge", line 4049, in ? |
50 |
emerge_main() |
51 |
File "/usr/bin/emerge", line 4044, in emerge_main |
52 |
myopts, myaction, myfiles, spinner) |
53 |
File "/usr/bin/emerge", line 3584, in action_build |
54 |
mergetask.merge(pkglist, favorites, mtimedb) |
55 |
File "/usr/bin/emerge", line 1854, in merge |
56 |
"\n".join(myfavdict.values())) |
57 |
File "/usr/lib/portage/pym/portage_util.py", line 738, in write_atomic |
58 |
raise ReadOnlyFileSystem(func_call) |
59 |
portage_exception.ReadOnlyFileSystem: |
60 |
"write_atomic('/var/lib/portage/world')" |
61 |
emergelog(): [Errno 30] Read-only file system: '/var/log/emerge.log' |
62 |
|
63 |
|
64 |
The "/var/log/emerge.log" file is owned by portage.portage, and mode is |
65 |
ug+rw. |
66 |
and the "/var/lib/portage/world" file is owned by root.root with u+rw |
67 |
and go+r |
68 |
I am running my emerge as root of course... |
69 |
It seems that I can't even chown the would file. |
70 |
|
71 |
I tried this: |
72 |
thor rbragg # chown root.portage /var/lib/portage/world |
73 |
chown: changing ownership of `/var/lib/portage/world': Read-only file |
74 |
system |
75 |
|
76 |
|
77 |
thanks again! |
78 |
rick |
79 |
|
80 |
|
81 |
|
82 |
-- |
83 |
gentoo-laptop@g.o mailing list |