Bug#699294: iceweasel: Iceweasel cannot install OpenWebApp

Gabriel Corona gabriel.corona at enst-bretagne.fr
Sat Mar 16 10:59:10 UTC 2013


Hello,



I strace-d iceweasel while trying to install my dummy webapp and
found this:

stat64("/usr/lib/iceweasel/xulrunner/webapprt-stub", 0x9578b70c) = -1
ENOENT (No such file or directory)
lstat64("/usr/lib/iceweasel/xulrunner/webapprt-stub", 0x9578b70c) = -1
ENOENT (No such file or directory)

Indeed this file in not installed in this path by the package but in:

/usr/lib/iceweasel/webapprt-stub



1) Copying the file:

#cp /usr/lib/iceweasel/webapprt-stub /usr/lib/iceweasel/xulrunner
/webapprt-stub

Then the installation (kind of) succeeds but the application fails to
start with:

"This app requires that Firefox version 16 or above is
installed. Firefox 16+ has not been detected."

Strace:

open("/usr/lib/iceweasel/xulrunner/application.ini", O_RDONLY) = -1
ENOENT (No such file or directory)




3) I fix this:

#cp /usr/lib/iceweasel/application.ini
/usr/lib/iceweasel/xulrunner/application.ini

but I still have:

"Couldn't load the runtime INI"

Strace:

lstat64("/usr/lib/xulrunner-19.0/libmozjs.so.19d", 0xbfe15aa8) = -1
ENOENT (No such file or directory)
open("/usr/lib/xulrunner-19.0/libmozjs.so.19d", O_RDONLY) = -1 ENOENT
(No such file or directory)



4) Fix it:

#/usr/lib/libmozjs.so.19d /usr/lib/xulrunner-19.0/libmozjs.so.19d

I still get:

"Couldn't load the runtime INI

Strace:

lstat64("/usr/lib/xulrunner-19.0/webapprt", 0xbf9c3198) = -1 ENOENT (No
such file or directory)



5) One last thing missing:

#ln -s /usr/lib/iceweasel/webapprt /usr/lib/xulrunner-19.0/webapprt

And it works!



So there are some path resolution problems to fix to make the thing
work.

-- 
Gabriel



More information about the pkg-mozilla-maintainers mailing list