Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248133 - gnome-extra/yelp-2.24.0-r10 fails with message "Could not initialize gecko!"
Summary: gnome-extra/yelp-2.24.0-r10 fails with message "Could not initialize gecko!"
Status: RESOLVED DUPLICATE of bug 247040
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 234646
  Show dependency tree
 
Reported: 2008-11-22 10:02 UTC by Kirikaza
Modified: 2009-03-09 21:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
yelp strace log (yelp.strace.log,190.32 KB, text/plain)
2008-11-22 11:20 UTC, Kirikaza
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kirikaza 2008-11-22 10:02:11 UTC
`strace yelp` says:
----
open("/usr/lib/xulrunner-1.9/components/libembedcomponents.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/components/libpref.so", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Could not initialize gecko!\n"..., 28Could not initialize gecko!
----
There are not these files actually but `qlist xulrunner` doesn't contain them too, so I think there are broken dependencies.

Reproducible: Always

Steps to Reproduce:
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-22 10:12:29 UTC
emerge --info and emerge -pv yelp xulrunner please.
Comment 2 Kirikaza 2008-11-22 10:53:00 UTC
Oh, I'm sorry...

$ emerge --info
Portage 2.2_rc14 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo i686)
=================================================================
System uname: Linux-2.6.27-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-glibc2.0
Timestamp of tree: Thu, 20 Nov 2008 22:46:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -ftracer -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -ftracer -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://localhost/mirror/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ http://mirror.gentoo.no/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="X acl acpi alsa avahi bash-completion berkdb bzip2 cairo cli cracklib crypt cups dbus djvu doc dri dvdr esd espeak fortran gdbm gmp gnome gnome-print gphoto2 gpm gstreamer gtk hal iconv ipv6 isdnlog java java6 jpeg jpeg2k libnotify logitech-mouse mdnsresponder-compat midi mmx mudflap ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd python qt3 qt4 readline reflection session spell spl sse sse2 ssl svg sysfs tcpd tiff trayicon truetype unicode usb vim-syntax win32codecs x86 xcb xcomposite xorg xulrunner zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

$ emerge -pv yelp xulrunner
[ebuild   R   ] net-libs/xulrunner-1.9.0.4-r1  USE="dbus gnome ipv6 java -custom-optimization -startup-notification" 0 kB
[ebuild   R   ] gnome-extra/yelp-2.24.0-r10  USE="-beagle -debug -lzma" 0 kB
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-22 11:11:25 UTC
strange, I don't have these files either on my xul-1.9 box and yelp works well. Could you attach just the output of yelp and maybe a full strace run ?

Here is my emerge -pv output for reference:
[ebuild   R   ] net-libs/xulrunner-1.9.0.4-r1  USE="dbus gnome ipv6 -custom-optimization -java -startup-notification" 0 kB
[ebuild   R   ] gnome-extra/yelp-2.24.0-r10  USE="-beagle -debug -lzma" 0 kB
Comment 4 Kirikaza 2008-11-22 11:20:25 UTC
Created attachment 172819 [details]
yelp strace log
Comment 5 Kirikaza 2008-11-22 11:21:05 UTC
"Could not initialize gecko!" is only output string of `yelp`.
`yelp --help` works correctly of course. =)
The full strace output is attached.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-22 11:53:08 UTC
Here is what I have near the end of the similarish section of my log:

open("/usr/lib/xulrunner-1.9/components/xpti.dat.tmp", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = -1 EACCES (Permission denied)
brk(0x8b12000)                          = 0x8b12000
access("/usr/lib/xulrunner-1.9/.autoreg", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/components/compreg.dat", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xulrunner-1.9/components/xpti.dat", 0xbfc4c44c) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/xulrunner-1.9/components/xpti.dat", 0xbfc4c44c) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/components", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 15
fstat64(15, {st_mode=S_IFDIR|0755, st_size=5640, ...}) = 0
getdents(15, /* 147 entries */, 4096)   = 4076
stat64("/usr/lib/xulrunner-1.9/components/dom_base.xpt", {st_mode=S_IFREG|0644, st_size=9477, ...}) = 0
stat64("/usr/lib/xulrunner-1.9/components/layout_printing.xpt", {st_mode=S_IFREG|0644, st_size=911, ...}) = 0


So in my case there is no compreg.dat and the thing goes on. @mozilla, this is probably something you can help us shed some light on ?
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2008-11-25 14:55:04 UTC
Thats the same as bug 247040 , maybe?
Comment 8 Kirikaza 2008-11-25 18:52:27 UTC
Epiphany and Galeon work correctly with gecko engine.
Comment 9 Raúl Porcel (RETIRED) gentoo-dev 2008-12-05 12:04:39 UTC
Can you please reemerge yelp?
Comment 10 Kirikaza 2008-12-06 07:04:01 UTC
When I emerge 2.24.0 it works.
When I emerge 2.24.0-r10 it doesn't.
Comment 11 Raúl Porcel (RETIRED) gentoo-dev 2008-12-06 12:01:25 UTC
(In reply to comment #10)
> When I emerge 2.24.0 it works.
> When I emerge 2.24.0-r10 it doesn't.
> 

But you've rebuilt 2.24.0-r10, right? Can you please check if you have a file called compreg.dat and xpti.dat anywhere on your system?
Comment 12 Kirikaza 2008-12-06 20:29:03 UTC
(In reply to comment #11)
> But you've rebuilt 2.24.0-r10, right?
Yes, I have.

>Can you please check if you have a file
> called compreg.dat and xpti.dat anywhere on your system?
Yes, both of them are located as a pair here
~/.mozilla/firefox/*.default/
~/.mozilla/sunbird/*.default/
~/.wine/drive_c/windows/gecko/0.1.0/wine_gecko/components/
~/.thunderbird/*.default/
~/.VirtualBox/
/usr/lib/xulrunner-1.9/components/

I feel the last location is important.
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-09 21:35:40 UTC
According to comments, looks much similar to bug #247040. Thanks armin76.

*** This bug has been marked as a duplicate of bug 247040 ***