LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-30-2008, 06:42 AM   #1
dannyk1
Member
 
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 188

Rep: Reputation: 31
broken gnome on gentoo


Hi. I have just done a fresh install of gentoo from 2007 live cd which went all ok.

Everything seemed to be working fine until I tried to bring the system up to date.

I went to a terminal and

emerge --sync

then emerge -avuND world.

After a 800M plus download (444 packages to update!) I rebooted to find gnome will no longer start.

From the console, I can manually startx, but just get a very blank X windows session with no windows manager working.

If I try to emerge -av gnome it lists all packages to update

Quote:
[ebuild U ] gnome-base/gnome-panel-2.20.3 [2.16.2] USE="eds -debug -doc" 0 kB
[ebuild U ] gnome-base/gdm-2.20.3 [2.16.4] USE="ipv6 pam tcpd -accessibility -afs% -branding% -debug -dmx% -remote% (-selinux) -xinerama" 0 kB
[ebuild U ] gnome-extra/gnome-media-2.20.1 [2.16.1] USE="esd%* ipv6 mad ogg vorbis -debug" 0 kB
[ebuild U ] gnome-base/gnome-applets-2.20.1 [2.16.2] USE="acpi gnome%* gstreamer hal ipv6 -apm -debug -doc% -test%" 0 kB
[ebuild U ] gnome-extra/deskbar-applet-2.20.3 [2.16.2-r1] USE="eds spell -debug" 0 kB
[ebuild U ] gnome-extra/gucharmap-1.10.2 [1.8.0] USE="gnome -cjk -debug" 0 kB
[ebuild U ] www-client/epiphany-2.20.3 [2.16.2] USE="python spell%* -debug -doc -networkmanager% -xulrunner%" 0 kB
[ebuild U ] app-editors/gedit-2.20.4-r1 [2.16.2-r1] USE="python spell -debug -doc -xattr%" 0 kB
[ebuild U ] media-gfx/eog-2.20.4 [2.16.2] USE="dbus%* jpeg python%* -debug -lcms" 0 kB
[ebuild U ] gnome-extra/gnome-games-2.20.3 [2.16.2] USE="X%* opengl%* -artworkextra -debug -guile" 0 kB
[ebuild U ] gnome-extra/gnome-user-docs-2.20.1 [2.16.1] USE="-debug" 0 kB
[ebuild U ] app-arch/file-roller-2.20.3 [2.16.2] USE="gnome -debug" 0 kB
[ebuild U ] gnome-base/gnome-desktop-2.20.3 [2.16.2] USE="-debug -doc" 0 kB
[ebuild N ] mail-client/evolution-2.12.3-r2 USE="crypt dbus hal ipv6 kerberos ldap spell ssl -debug -doc -krb4 -mono -networkmanager -nntp -pda -profile" 0 kB
[ebuild U ] x11-terms/gnome-terminal-2.18.4 [2.16.1] USE="-debug" 0 kB
[ebuild U ] app-text/evince-2.20.2 [0.6.1-r3] USE="dbus gnome tiff -debug -djvu -doc -dvi -t1lib" 0 kB
[ebuild U ] gnome-extra/gcalctool-5.20.2 [5.8.25] USE="-debug" 0 kB
[ebuild U ] gnome-extra/fast-user-switch-applet-2.20.0-r1 [2.16.0] USE="-debug" 0 kB
[ebuild U ] gnome-extra/gnome-power-manager-2.20.2 [2.16.2] USE="X%* -debug -doc -test% (-libnotify%)" 0 kB
[ebuild N ] gnome-base/gnome-2.20.3 USE="cdr cups dvdr esd ldap -accessibility -mono" 0 kB

Total: 20 packages (18 upgrades, 2 new), Size of downloads: 0 kB
but only gets about halfway through the 1st package then

Quote:
make: *** [all] Error 2
*
* ERROR: gnome-base/gnome-panel-2.20.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2729: Called gnome2_src_compile
* environment, line 2108: Called die
* The specific snippet of code:
* emake || die "compile failure"
* The die message:
* compile failure
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/gnome-base/gnome-panel-2.20.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-panel-2.20.3/temp/environment'.
*
If I try --skipfirst similar things happen, it will get so far then fail.

Can anyone help me as I am still new to gentoo and don't want to give up on it.
 
Old 07-30-2008, 07:32 AM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Compliments! So, you survived your first install
That's weird - gnome should be one of the apps that are really well tested - I don't think the problem has something to do with Gentoo itself, but you never know... .

So, the first thing you should do is to doublecheck again that everything is really up-to-date with "emerge --update --deep --newuse world".

If that says you everything should be ok, run "revdep-rebuild" (perhaps in order to get that utility you'll first have to "emerge gentoolkit") which will go through all your libraries and check if some of them have to be recompiled because of some dependencies you just upgraded and changed their behaviours. It will perform the check and eventually emerge automatically anything that is out-of-sync. (the check might take a few minutes - have a beer - and the emerge, if it happens, will take as long as emerging the stuff normally).

At this point, if the two previous actions did something, try again to re-emerge gnome. Once (if) it's done check in "/etc/rc.conf" (I think it is there - a file "rc.conf" somewhere under "/etc") which shows at its end the variable, I think, XSESSION - something like that. Change the assignment to that variable to your window manager - in my case it's "XSESSION=enlightenment" because I use Enlightenment instead of Gnome or KDE.

If re-emerging gnome still fails check first the architecture and the CFLAGS you have set in "/etc/make.conf". Are you really sure they're the correct ones for your CPU? Even the optimization option "-O3" instead of "-O2" can generate weird behaviours when some code is compiled. Eventually have a look in Google for "gentoo safe cflags" http.//gentoo-wiki.com/Safe_Cflags and compare them with what you have and change them accordingly, at least for the first install - you can do experiments once your system has been set up and is stable.

If all this fails, when you emerge gnome, search for the really first error message you see. What you pasted into this thread are only the boring messages that show up at the very end when the emerge fails, and you probably cannot see the previous lines because you don't have a graphical WM where you can scroll up in the shell, right? But do a "less /var/tmp/portage/gnome-base/gnome-panel-2.20.3/temp/build.log'" (as shown in what you pasted into this thread) to see the whole log, go to the bottom and slowly go back and search the very first line that says that something has gone bad - that line will show the real error you have - and at this point insert it into google and you should find a post with the reason/solution - this way it always worked for me.
 
Old 07-30-2008, 08:10 AM   #3
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
I'd also first do emerge -avuND world again to see if really everything was compiled.
But since you say you did this and then rebooted - I wonder if you paid attention to the messages reminding you to update your configuration-files.
run:
etc-update
(a more convenient alternative is dispatch-conf)
It is very likely that after updating that many packages some configuration-files changed and are no longer up to date or in the wrong place.

If you did not pay attention to that then you are lucky that you can even still boot
Running revdep-rebuild -p would be the next thing to do
 
Old 07-30-2008, 08:13 AM   #4
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
One more thing: here I always took note of some stuff I had to search - it's just a repository of keywords and small solutions, e.g. like the sandbox - might be handy as well to you.

And: "emerge eix" to do fast searches in the package repository (emerge -s might take ages depending on your HDD & CPU)
And: use genlop to time your compilations - that way when you do updates / recompilations you get a feeling of how long it might take. E.g. "genlop -t gnome" show all runtimes of the previous gnome-compilations. "genlop -c" shows the projected end of whatever you are currently compiling (you must of course have compiled it at least once before).
 
Old 07-30-2008, 08:17 AM   #5
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Oh, yes, jomen is fully right - I forgot that one.
And the rule of thumb for me is: I watch closely the differencies that etc-update shows me for the files that I know I modified, and I let the system update all the rest with the newest versions.
 
Old 07-30-2008, 01:02 PM   #6
dberkholz
LQ Newbie
 
Registered: Feb 2003
Location: Rochester, MN, USA
Distribution: Gentoo
Posts: 17

Rep: Reputation: 0
DannyK, you need to paste more of the error. The part you pasted is unfortunately the part with almost no information. The actual error should be in the 5-10 lines above that.
 
Old 07-31-2008, 03:36 AM   #7
dannyk1
Member
 
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 188

Original Poster
Rep: Reputation: 31
Thanks for all the replys.

I had done a etc-update and I think revdep-rebuild (but I am not sure about the -p).

after 444 packages to update, there is quite a bit of reading to do at the end!!!

the error (just above my last message I posted)

Quote:
ImportError: No module named libxml2
make[3]: *** [ca/clock.xml] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.20.3/work/gnome-panel-2.20.3/help/clock'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.20.3/work/gnome-panel-2.20.3/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.20.3/work/gnome-panel-2.20.3'
make: *** [all] Error 2
I tried emerge libxm12 (which reinstalled ok)

Now after emerge -av gnome, seems to be going great guns!!!
still building at the moment (3 of 20)

Its getting a lot further than before anyways. Will let you know how it goes.

BTW. I have been building this via screen (after gnome stopped working) so I can check up on things during the day at work and so I can log in from a computer with a graphical environment to read alot more of the screen.
 
Old 07-31-2008, 03:50 AM   #8
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Quote:
I had done a etc-update and I think revdep-rebuild (but I am not sure about the -p).
Yes - there is quite a lot of reading to do - that is one reason I recommended dispatch-conf.
You can configure the behaviour - but by default it will auto-merge config-files with only trivial changes or where the difference is only in the header of the config-file - this results in much less files you have to go through manually.

revdep-rebuild -p
The -p switch is simar to the -a switch - it means: pretend.
(-a means: ask for confirmation)
The message after running that command tells you that you can now remove "-p" from the command and run it again when you are willing to do what it tells you it would have done.

Last edited by jomen; 07-31-2008 at 03:52 AM.
 
Old 07-31-2008, 04:54 AM   #9
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Quote:
BTW. I have been building this via screen...
Waht's "screen"? Is it a remote desktop utility? Never heard about it until now ... .
 
Old 07-31-2008, 05:30 AM   #10
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Like a terminal - you start your application (text-based) in it but you can detach from it - and reattach from anywhere else, as long as the machine (and screen) is running.
 
Old 07-31-2008, 06:48 AM   #11
dannyk1
Member
 
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 188

Original Poster
Rep: Reputation: 31
All up and running again.

Updated gnome looks great and runs fast on this average machine.

proc p4 1.7Ghz
Mem 375.5M

Thanks again for the quick responses.
 
Old 07-31-2008, 08:48 AM   #12
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Thanks jomen
You're welcome, dannyk1.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unicode support broken on Gentoo/MySQL server streamkid Linux - Server 4 05-27-2007 02:32 AM
Broken Gnome noxious Ubuntu 1 05-20-2005 06:17 PM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
How to fix broken (Gentoo) initrd from (Knoppix) boot disk Mitchua Linux - General 4 07-10-2004 02:16 PM
Gnome is broken rdaves@earthlink.net Linux - General 3 06-25-2001 11:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration