1 |
On 11/01/2014 21:31, Alan Mackenzie wrote: |
2 |
> Hello, Alan. |
3 |
> |
4 |
> On Sat, Jan 11, 2014 at 07:16:20PM +0200, Alan McKinnon wrote: |
5 |
>> On 11/01/2014 19:02, Alan Mackenzie wrote: |
6 |
>>> Hi, Gentoo. |
7 |
> |
8 |
>>> I finally got round to emerging my post-gnome system, triggered by the |
9 |
>>> stabilisation of gnome-3, and the consequent shift to systemd, and what |
10 |
>>> not. I last synched my /usr/portage 34 days ago. I had been putting |
11 |
>>> this change off, it turns out, with good reason. |
12 |
> |
13 |
>>> Now when I attempt to start xfce (which I'd been using fine for a long |
14 |
>>> time) with "startx", it appears at first to be OK: the desktop is |
15 |
>>> displayed on the screen and the mouse works. However, after a few |
16 |
>>> seconds of waiting, X crashes out, returning to the tty. On a second |
17 |
>>> attempt to start X (without rebooting), it doesn't get as far as |
18 |
>>> displaying the desktop - it just crashes. |
19 |
> |
20 |
>>> To eradicate gnome, I changed my profile from |
21 |
>>> default/linux/amd64/13.0/desktop/gnome to |
22 |
>>> default/linux/amd64/13.0/desktop, and removed the gnome USE flag from my |
23 |
>>> /etc/make.conf (and maybe one or two other things I can't remember). My |
24 |
>>> box then spend 6 hours rebuilding software. |
25 |
> |
26 |
>>> On the screen of the tty, after X crashes, appear the following error |
27 |
>>> messages which might be relevant: |
28 |
> |
29 |
>>> xfce4-session: GNOME compatibility is enabled and gnome-keyring-daemon is found on the system. Skipping gpg/ssh-agent startup. |
30 |
>>> env: kdeinit4: No such file or directory |
31 |
>>> Cannot find '.setLaunchEnv' in object /KLauncher at org.kde.klauncher |
32 |
> |
33 |
>>> (xfce4-session:3112): GLib-WARNING **: GChildWatchSource: Exit status of a |
34 |
>>> child process was requested but ECHILD was received by waitpid(). Most likely |
35 |
>>> the process is ignoring SIGCHLD, or some other thread is invoking waitpid() |
36 |
>>> with a nonpositive first argument; either behavior can break applications |
37 |
>>> that use g_child_watch_add()/g_spawn_sync() either directly or indirectly. |
38 |
>>> xfce4-panel: Restarting... |
39 |
> |
40 |
>>> (xfwm4:3125): libxfce4ui-WARNING **: ICE I/O Error |
41 |
> |
42 |
>>> (xfwm4:3125): libxfce4ui-WARNING **: Disconnected from session manager. |
43 |
> |
44 |
>>> (xfsettingsd:3136): libxfce4ui-WARNING **: ICE I/O Error |
45 |
> |
46 |
>>> (xfsettingsd:3136): libxfce4ui-WARNING **: Disconnected from session manager. |
47 |
>>> /etc/xdg/xfce4/xinitrc: line 107: 3112 Segmentation fault xfce4-session |
48 |
> |
49 |
> |
50 |
>> This is the worrisome line. |
51 |
> |
52 |
>> First, could you confirm if you did the full complete portage steps |
53 |
>> while migrating: |
54 |
> |
55 |
>> - tweak USE, profile etc etc |
56 |
> DONE |
57 |
>> - emerge -avUND world |
58 |
> emerge -uND DONE. |
59 |
> |
60 |
>> - emerge -av @preserved-rebuild |
61 |
> Not done. When I do this with -p, I get wierdnesses. emerge wants |
62 |
> to install cifs-utils and samba (why, I can't fathom) and says they |
63 |
> have mutual dependencies. It also wants to update |
64 |
> gnome-control-center to gnome-3. |
65 |
> |
66 |
> Then it complains about (mainly) gnome stuff, alleging it should be |
67 |
> updated to gnome-3.8 versions. Hmm. |
68 |
> |
69 |
>> - emerge --depclean |
70 |
> Not done in a million years. I do this with -p, then I see 289 |
71 |
> packages need removing. How important is this? (or is my last post |
72 |
> the answer to this question?) |
73 |
> |
74 |
>> - revdep-rebuild [seldom necessary these days, I usually do it out of |
75 |
>> habit...] |
76 |
> I tried this, and it reported "everything up to date". |
77 |
> |
78 |
>> Let's first establish if portage reckons the system is consistent before |
79 |
>> trying to track down why your session segfaults |
80 |
|
81 |
|
82 |
We should keep in mind that you are doing a rather substantial |
83 |
migration, gnome-3 is in the works and you want to get rid of it. Best |
84 |
approach is to really get rid of it, not just tell portage to not use it |
85 |
anymore. |
86 |
|
87 |
First, @preserved-rebuild: |
88 |
You have packages built against other packages that have changed or been |
89 |
removed, so portage needs to rebuild them to get everything consistent |
90 |
again. This is important (however cifs-utils and samba is not relevant |
91 |
to this thread) |
92 |
|
93 |
@depclean: |
94 |
You must remove old clutter after every emerge world. If you remove |
95 |
"gnome" from USE, portage won't use that flag, but your gnome stuff |
96 |
stays installed. Normally, portage only unmerges packages that cause |
97 |
blocks, leaving you to do the real work with depclean. |
98 |
|
99 |
|
100 |
I recommend you do these steps in this order |
101 |
|
102 |
1. emerge -at --depclean |
103 |
Inspect the list carefully, 289 packages is a lot. Take your time; |
104 |
quickpkg anything you aren't sure of. When you are happy the list only |
105 |
contains stuff you want rid of, let it do it's thing |
106 |
|
107 |
2. emerge -avuND world |
108 |
Let portage figure out what it needs to add and rebuild |
109 |
|
110 |
3. emerge -av1 @preserved-rebuild |
111 |
Fix up any inconsistencies left from emerging world |
112 |
|
113 |
|
114 |
That should get you a consistent system. Now run xfce. |
115 |
|
116 |
With luck, it will work as it should. |
117 |
If not, we can then start the real debugging |
118 |
|
119 |
|
120 |
|
121 |
-- |
122 |
Alan McKinnon |
123 |
alan.mckinnon@×××××.com |