FS#24003 - [chmsee] doesn't start after the last xulrunner update

Attached to Project: Community Packages
Opened by Ermanno Scaglione (erm67) - Saturday, 30 April 2011, 20:26 GMT
Last edited by Laurent Carlier (lordheavy) - Tuesday, 17 May 2011, 19:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Funny bug, possibly due to xulrunner:

[ermanno@dellD610 ~]$ chmsee

** (chmsee:5770): WARNING **: GECKO_UTILS >>> Couldn't find a compatible GRE!


** ERROR **: Initialize html render engine failed!
aborting...

strace shows that chmsee looks for files in /usr/lib/xulrunner-devel-2.0/ and
setting the GRE_HOME variable to /usr/lib/xulrunner-2.0/ make chmsee work again:

[ermanno@dellD610 ~]$ GRE_HOME=/usr/lib/xulrunner-2.0/ chmsee

As expected using GRE_HOME=/usr/lib/xulrunner-devel-2.0/ doesn't work:

[ermanno@dellD610 ~]$ GRE_HOME=/usr/lib/xulrunner-devel-2.0 chmsee

** (chmsee:5849): WARNING **: GECKO_UTILS >>> Couldn't start XPCOM!


** ERROR **: Initialize html render engine failed!
aborting...

The two directories /usr/lib/xulrunner-devel-2.0 and /usr/lib/xulrunner-2.0 look differently:
[ermanno@dellD610 ~]$ ls /usr/lib/xulrunner-2.0/
chrome libmozalloc.so omni.jar xpidl
chrome.manifest libmozjs.so platform.ini xpt_dump
components libxpcom.so plugin-container xpt_link
dependentlibs.list libxul.so README.txt xulrunner
dictionaries LICENSE run-mozilla.sh xulrunner-bin
icons mozilla-xremote-client xpcshell xulrunner-stub
[ermanno@dellD610 ~]$ ls /usr/lib/xulrunner-devel-2.0/
bin idl include lib sdk xpcom-config.h

The funniest thing is that by using GRE_HOME=/usr/lib/xulrunner-devel-2.0/bin chmsee works again and uses xulrunner-devel.

[ermanno@dellD610 ~]$ GRE_HOME=/usr/lib/xulrunner-devel-2.0/bin chmsee

Recompiling chmsee from abs doesn't help





Additional info:
* package version(s)
[ermanno@dellD610 ~]$ pacman -Q chmsee
chmsee 1.3.0-2
[ermanno@dellD610 ~]$ pacman -Q xulrunner
xulrunner 2.0.1-1


* config and/or log files etc.


Steps to reproduce:

start chmsee
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Tuesday, 17 May 2011, 19:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  chmsee-1.3.1.1-1
Comment by Ionut Biru (wonder) - Saturday, 30 April 2011, 20:54 GMT
LD_DEBUG=files chmsee > log 2>&1 and paste the log file created
Comment by Ermanno Scaglione (erm67) - Sunday, 01 May 2011, 06:35 GMT
log.1 is generated by
LD_DEBUG=files chmsee > log.1 2>&1
log is generated by
LD_DEBUG=files GRE_HOME=/usr/lib/xulrunner-2.0/ chmsee > log 2>&1

Setting GRE_HOME chmsee works and all libraries are found ....
   log.1 (55.5 KiB)
   log (46.5 KiB)

Loading...