| View previous topic :: View next topic |
| Author |
Message |
vitoriung Apprentice


Joined: 21 May 2007 Posts: 158 Location: Prague, Czech Republic
|
Posted: Mon Mar 15, 2010 7:50 pm Post subject: Firefox, Thunderbird and Chromium won't start [solved] |
|
|
Hi,
I've been fighting with this few days already. Cannot start any of these programs.
| Code: | $ firefox
Aborted
~ $ chromium
/usr/lib/chromium-browser/chrome: /opt/xulrunner/libnss3.so: version `NSS_3.12' not found (required by /usr/lib/chromium-browser/chrome)
~ $ thunderbird
Registering Enigmail account manager extension.
Enigmail account manager extension registered.
/usr/lib/mozilla-thunderbird/run-mozilla.sh: line 131: 31102 Aborted "$prog" ${1+"$@"}
|
I have tried re-emerge packages (include nss), downgrade xulrunner, revdep-rebuild, lafilefixer, nothing helps.
Only good thing is that firefox-bin works.
I have latest version of firefox-3.6.r4 and xulrunner-1.9.2-r4
Here is what line (#131) says in run-mozilla.sh
| Code: | moz_get_debugger()
{
debuggers="ddd gdb dbx bdb"
debugger="notfound"
done="no"
for d in $debuggers
do
moz_test_binary /bin/type
if [ $? -eq 1 ]
then
dpath=`LC_MESSAGES=C type ${d} | awk '{print $3;}' | sed -e 's/\.$//'`
else
dpath=`which ${d}`
fi
if [ -x "$dpath" ]
then
debugger=$dpath
break
fi
done
echo $debugger
return 0
}#128
#129##########################################################################
moz_run_program() #130
{ #131
prog=$MOZ_PROGRAM #132
##
## Make sure the program is executable
##
if [ ! -x "$prog" ]
then
moz_bail "Cannot execute $prog."
fi
##
## Run the program
##
"$prog" ${1+"$@"}
exitcode=$?
}
|
Thanks for any help
Last edited by vitoriung on Wed Mar 24, 2010 3:27 pm; edited 1 time in total |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon Mar 15, 2010 8:33 pm Post subject: |
|
|
Do you have this file: | Code: | # cat /etc/gre.d/1.9.2.system.conf
[1.9.2]
GRE_PATH=/usr/lib/xulrunner-1.9.2
xulrunner=true
abi=x86-gcc3 |  |
|
| Back to top |
|
 |
vitoriung Apprentice


Joined: 21 May 2007 Posts: 158 Location: Prague, Czech Republic
|
Posted: Mon Mar 15, 2010 8:35 pm Post subject: |
|
|
| Mike Hunt wrote: | Do you have this file: | Code: | # cat /etc/gre.d/1.9.2.system.conf
[1.9.2]
GRE_PATH=/usr/lib/xulrunner-1.9.2
xulrunner=true
abi=x86-gcc3 |  |
yep it's there, the same output |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon Mar 15, 2010 9:10 pm Post subject: |
|
|
| Post your emerge --info please. |
|
| Back to top |
|
 |
vitoriung Apprentice


Joined: 21 May 2007 Posts: 158 Location: Prague, Czech Republic
|
Posted: Mon Mar 15, 2010 9:13 pm Post subject: |
|
|
Here -
| Code: |
# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.31-gentoo i686)
=================================================================
System uname: Linux-2.6.31-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 15 Mar 2010 00:30:02 +0000
app-shells/bash: 4.1_p2
dev-java/java-config: 1.3.7, 2.1.10
dev-lang/python: 2.5.4-r3, 2.6.4-r1, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake: 2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.0-r1
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.65
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1
sys-devel/gcc: 4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://gentoo.blueyonder.co.uk http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/thelinux /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa audiofile bash-completion berkdb bluetooth bzip2 cdb cddb cdr cli cracklib crypt ctype cups cxx dri dv dvb dvd dvdr dvdread encode exif fastcgi ffmpeg firefox flac fortran gdbm gif gnome gpm gtk hal iconv imap ipod java javascript jpeg jpeg2k kde ldap libwww lirc mad maildir matroska midi mime mmx modules mozilla mp3 mpeg mplayer msn mudflap musicbrainz nas ncurses nls nptl nptlonly ogg opengl openmp osc oss pam pcre pdf perl php png ppds pppd profile python qt3support qt4 quicktime readline reflection samba sasl session sndfile snmp sockets spell spl ssl svga sysfs tcpd theora tidy tiff truetype type1 unicode usb v4l vcd vim-syntax vorbis wifi win32codecs wmf x86 xcb xine xml xorg xscreensaver xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" LIRC_DEVICES="serial sir" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
|
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon Mar 15, 2010 11:24 pm Post subject: |
|
|
Could be dbus is missing in your USE flags.
It should be in there and world updated with --newuse --deep, which will also rebuild both firefox and xulrunner, then dbus added to the default runlevel and started.
A run through revdep-rebuild afterwards couldn't hurt. |
|
| Back to top |
|
 |
vitoriung Apprentice


Joined: 21 May 2007 Posts: 158 Location: Prague, Czech Republic
|
Posted: Wed Mar 17, 2010 6:52 pm Post subject: |
|
|
ok added the dbus, firefox anf thunderbird has re-merged but still don't work.
Any other idea? |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Wed Mar 17, 2010 7:39 pm Post subject: |
|
|
What if you try creating a temporary testuser, put it in the video group, login an X session and start firefox? | Code: | ~ # adduser -g users -G lp,wheel,audio,cdrom,portage,cron,video -m testuser
~ # passwd testuser |
|
|
| Back to top |
|
 |
vitoriung Apprentice


Joined: 21 May 2007 Posts: 158 Location: Prague, Czech Republic
|
Posted: Wed Mar 17, 2010 8:06 pm Post subject: |
|
|
| Mike Hunt wrote: | What if you try creating a temporary testuser, put it in the video group, login an X session and start firefox? | Code: | ~ # adduser -g users -G lp,wheel,audio,cdrom,portage,cron,video -m testuser
~ # passwd testuser |
|
That didn't help either, only thunderbird showed up the welcome window where you can setup your accounts, but crashed after less than second and I saw that error "line 131: 31102 Aborted" |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Wed Mar 17, 2010 9:20 pm Post subject: |
|
|
Have you also tried rebuilding dev-libs/nspr-4.8.4 followed by revdep-rebuild ?
If I run a command to emerge firefox and all the depends, this is the output. I suppose that in theory the problem could be with any one of them - maybe. Have a look: | Code: | ~ # emerge -pq $(qdepends -C mozilla-firefox | tr ' ' '\n' | sed -e 's/[-\.:][0-9\*].*$//g;s/[=>]//g' | sed 's/^[~!<].*//g')
[ebuild R ] sys-libs/zlib-1.2.3-r1
[ebuild R ] dev-libs/expat-2.0.1-r3
[ebuild R ] media-libs/jpeg-8a
[ebuild R ] dev-libs/nspr-4.8.4
[ebuild R ] dev-util/pkgconfig-0.23
[ebuild R ] app-arch/unzip-6.0-r1
[ebuild R ] app-arch/zip-3.0
[ebuild R ] dev-libs/nss-3.12.5-r1
[ebuild R ] sys-devel/autoconf-2.65
[ebuild R ] sys-devel/automake-1.11.1
[ebuild R ] sys-devel/libtool-2.2.6b
[ebuild R ] x11-libs/libXt-1.0.8
[ebuild R ] x11-libs/startup-notification-0.10
[ebuild R ] sys-devel/binutils-2.19.1-r1
[ebuild R ] app-text/hunspell-1.2.8
[ebuild R ] x11-libs/libXrender-0.9.5
[ebuild R ] x11-libs/libXmu-1.0.5
[ebuild R ] x11-libs/cairo-1.8.8
[ebuild R ] media-libs/alsa-lib-1.0.22-r1
[ebuild R ] dev-java/java-config-2.1.10
[ebuild R ] dev-libs/glib-2.22.4
[ebuild R ] x11-libs/pango-1.26.2
[ebuild R ] dev-libs/libIDL-0.8.13
[ebuild R ] x11-libs/gtk+-2.18.7-r1
[ebuild R ] dev-libs/dbus-glib-0.82-r1
[ebuild R ] virtual/jdk-1.6.0
[ebuild R ] gnome-base/gconf-2.28.0-r1
[ebuild R ] x11-libs/libnotify-0.4.5
[ebuild R ] gnome-base/gnome-vfs-2.24.2
[ebuild R ] gnome-base/libgnome-2.28.0
[ebuild R ] gnome-base/libgnomeui-2.24.2
[ebuild R ] www-client/mozilla-firefox-3.6-r4 |
|
|
| Back to top |
|
 |
vitoriung Apprentice


Joined: 21 May 2007 Posts: 158 Location: Prague, Czech Republic
|
Posted: Wed Mar 17, 2010 10:37 pm Post subject: |
|
|
that one dev-libs/nspr didn't help either,
I actually wanted to ask how to figure out all dependencies before i came to report the result, nice command lol,
I will try to re-emerge all of them as well.
Thanks |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3172 Location: Saint Amant, Acadiana
|
Posted: Wed Mar 17, 2010 10:49 pm Post subject: |
|
|
| Have you run python-updater? |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Mar 18, 2010 12:30 pm Post subject: |
|
|
Ya, good idea, also make sure that eselect python show = python2.6 first.
And if you do re-emerge all the depends, run revdep-rebuild as well after.  |
|
| Back to top |
|
 |
vitoriung Apprentice


Joined: 21 May 2007 Posts: 158 Location: Prague, Czech Republic
|
Posted: Thu Mar 18, 2010 9:04 pm Post subject: |
|
|
So,
I have re-emerged all the packages && rev-deprebuild, din't help
python updater didn't help either:
| Code: |
# python-updater
* Starting Python Updater...
* Main active version of Python: 2.6
* Active version of Python 2: 2.6
* Active version of Python 3: 3.1
* Adding to list: app-office/openoffice-bin:0
* Adding to list: app-pda/libopensync:0
* Adding to list: app-pda/libopensync:0
* Adding to list: dev-java/antlr:0
* Adding to list: dev-java/java-config:0
* Adding to list: dev-libs/boost:1.39
* check: manual [Added to list manually, see CHECKS in manpage for more information.]
* Adding to list: dev-libs/boost:1.41
* check: manual [Added to list manually, see CHECKS in manpage for more information.]
* Adding to list: dev-libs/boost:1.42
* check: manual [Added to list manually, see CHECKS in manpage for more information.]
* Adding to list: dev-libs/libgamin:0
* Adding to list: dev-python/dnspython:0
* Adding to list: dev-python/gnome-media-python:0
* Adding to list: dev-python/gtksourceview-python:0
* Adding to list: dev-python/libgtop-python:0
* Adding to list: dev-python/librsvg-python:0
* Adding to list: dev-python/metacity-python:0
* Adding to list: dev-python/nautilus-cd-burner-python:0
* Adding to list: dev-python/numeric:0
* Adding to list: dev-python/pygtkglext:0
* Adding to list: dev-python/pyopenssl:0
* Adding to list: dev-python/PyQt:0
* Adding to list: dev-python/pyxf86config:0
* Adding to list: dev-python/pyxml:0
* Adding to list: dev-python/totem-python:0
* Adding to list: dev-python/twisted-web:0
* Adding to list: dev-python/wxpython:2.6
* Adding to list: net-zope/zope-interface:0
* Adding to list: x11-libs/vte:0
* check: manual [Added to list manually, see CHECKS in manpage for more information.]
* emerge -Dv1 --keep-going app-office/openoffice-bin:0 app-pda/libopensync:0 app-pda/libopensync:0 dev-java/antlr:0 dev-java/java-config:0 dev-libs/boost:1.39 dev-libs/boost:1.41 dev-libs/boost:1.42 dev-libs/libgamin:0 dev-python/dnspython:0 dev-python/gnome-media-python:0 dev-python/gtksourceview-python:0 dev-python/libgtop-python:0 dev-python/librsvg-python:0 dev-python/metacity-python:0 dev-python/nautilus-cd-burner-python:0 dev-python/numeric:0 dev-python/pygtkglext:0 dev-python/pyopenssl:0 dev-python/PyQt:0 dev-python/pyxf86config:0 dev-python/pyxml:0 dev-python/totem-python:0 dev-python/twisted-web:0 dev-python/wxpython:2.6 net-zope/zope-interface:0 x11-libs/vte:0
These are the packages that would be merged, in order:
Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "dev-python/PyQt:0".
|
it looks like PyQt:0 doesn't exist |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Mar 18, 2010 10:07 pm Post subject: |
|
|
No, there is dev-python/PyQt4
Maybe your /var/lib/portage/world file needs cleaning up?
I think there used to be a dev-python/PyQt in portage, but no longer, so if you have one emerged, you should unmerge it.
Try emerge --depclean -av carefully, maybe there is old stuff on your system that's causing problems. |
|
| Back to top |
|
 |
vitoriung Apprentice


Joined: 21 May 2007 Posts: 158 Location: Prague, Czech Republic
|
Posted: Sun Mar 21, 2010 8:34 pm Post subject: |
|
|
python-updater got to the re-emerge process finally after cleaning PyQt-3.17.4 and pyxf86config-0.3.34-r1:
| Code: | emerge --deep --oneshot --keep-going --verbose app-office/openoffice-bin:0 app-pda/libopensync:0 app-pda/libopensyn
c:0 dev-java/antlr:0 dev-java/java-config:0 dev-libs/boost:1.39 dev-libs/boost:1.41 dev-libs/boost:1.42 dev-libs/libgamin:0 dev-pyth
on/dnspython:0 dev-python/gnome-media-python:0 dev-python/gtksourceview-python:0 dev-python/libgtop-python:0 dev-python/librsvg-pyth
on:0 dev-python/metacity-python:0 dev-python/nautilus-cd-burner-python:0 dev-python/numeric:0 dev-python/pygtkglext:0 dev-python/pyo
penssl:0 dev-python/pyxml:0 dev-python/totem-python:0 dev-python/twisted-web:0 dev-python/wxpython:2.6 net-zope/zope-interface:0 x11
-libs/vte:0
|
Even after revdep-rebuild none of the issues has been resolved.
So you'd suggest run emerge --depclean, there is lot of junk when I run it with -pv option,
274 packages is marked for delete, so I will go through them as I will need to keep some of them and will see if that would help to resolve this... |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sun Mar 21, 2010 11:42 pm Post subject: |
|
|
| vitoriung wrote: | So you'd suggest run emerge --depclean, there is lot of junk when I run it with -pv option,
274 packages is marked for delete, so I will go through them as I will need to keep some of them and will see if that would help to resolve this... |
Oh man, that's way too much junk on there. Run emerge --depclean -pv only if your box is completely up-to-date. Just be careful, maybe emerge -C a few at a time and revdep-rebuild after each batch.
Also look at your /var/lib/portage/world file and clean out whatever is a dependency - again carefully. If you are unsure, run equery d on the package, and if there are no deps, then keep it in the world file.
You will also want to run perl-cleaner all
And if there are issues with libxcb or libjpeg, or anything else, just post again. |
|
| Back to top |
|
 |
vitoriung Apprentice


Joined: 21 May 2007 Posts: 158 Location: Prague, Czech Republic
|
Posted: Wed Mar 24, 2010 3:26 pm Post subject: |
|
|
EUREKA!!!
depclean resolved the issue for all 3 of them
I didn't have idea that cleaning of old packages is so important, I tended to rather not touch packages I don't know when running emerge --depclean and delete ones I am sure I don't need.
That was a bit of a hassle to get there on the end, but at least I know my system is cleaner and more stable and that's always good feeling and reason why to use Gentoo, because it's (almost)always fun with it
Thanks for your help mate! |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Mar 25, 2010 10:45 am Post subject: |
|
|
Nice.
Keeping the system nice and clean and up-to-date is so important for smooth running.
I do it after every update, and I update often like this every time: | Code: | eix-sync
emerge -aDNuv world
emerge --depclean -av
revdep-rebuild |
Doing this averts 99% of the problems that so many users run into.
One more important point is to keep the /var/lib/portage/world file as clean as possible. Going through it regularly just to make sure is always a good idea. |
|
| Back to top |
|
 |
|