pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48750: firefox has problems when compiled with clang



>Number:         48750
>Category:       pkg
>Synopsis:       firefox has problems when compiled with clang
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 16 17:35:00 +0000 2014
>Originator:     Thomas Klausner
>Release:        NetBSD 6.99.40
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:
        
        
Architecture: x86_64
Machine: amd64
>Description:
I'm not sure if to file this as toolchain or pkg bug. Please reassign
if you have a strong different opinion

When using firefox from a pkgsrc completely compiled with clang from
the NetBSD base system as of April 8, firefox has the following problems:

1. the search box doesn't work
I can type stuff there, but when I press enter or click the 'search' icon,
nothing happens

2. some plugins don't work (in my case Selfdestructing Cookies and
Ghostery).
During startup, firefox reports:
Bootstrap error: Boolean is not defined                                         
                                                                                
                                                    
merge@resource://gre/modules/commonjs/toolkit/loader.js -> 
resource://gre/modules/commonjs/sdk/util/object.js:38                           
                                                                         
readURI@resource://gre/modules/XPIProvider.jsm -> 
jar:file:///home/wiz/.mozilla/firefox/6mr9duv5.default/extensions/firefox%ghostery.com.xpi@localhost!/bootstrap.js
 -> resource://gre/modules/commonjs/toolkit/loader.js ->  
+resource://gre/modules/commonjs/sdk/net/url.js:83                              
                                                                                
                                                    
parseJsonURI@resource://gre/modules/XPIProvider.jsm -> 
jar:file:///home/wiz/.mozilla/firefox/6mr9duv5.default/extensions/firefox%ghostery.com.xpi@localhost!/bootstrap.js
 -> resource://gre/modules/commonjs/toolkit/loader.js
+-> resource://gre/modules/commonjs/sdk/l10n/loader.js:17                       
                                                                                
                                                    
getAvailableLocales@resource://gre/modules/XPIProvider.jsm -> 
jar:file:///home/wiz/.mozilla/firefox/6mr9duv5.default/extensions/firefox%ghostery.com.xpi@localhost!/bootstrap.js
 ->                                           
+resource://gre/modules/commonjs/toolkit/loader.js -> 
resource://gre/modules/commonjs/sdk/l10n/loader.js:28                           
                                                                              
getBestLocale@resource://gre/modules/XPIProvider.jsm -> 
jar:file:///home/wiz/.mozilla/firefox/6mr9duv5.default/extensions/firefox%ghostery.com.xpi@localhost!/bootstrap.js
 ->                                                 
+resource://gre/modules/commonjs/toolkit/loader.js -> 
resource://gre/modules/commonjs/sdk/l10n/loader.js:38                           
                                                                              
load@resource://gre/modules/XPIProvider.jsm -> 
jar:file:///home/wiz/.mozilla/firefox/6mr9duv5.default/extensions/firefox%ghostery.com.xpi@localhost!/bootstrap.js
 -> resource://gre/modules/commonjs/toolkit/loader.js ->     
+resource://gre/modules/commonjs/sdk/l10n/loader.js:53                          
                                                                                
                                                    
startup@resource://gre/modules/XPIProvider.jsm -> 
jar:file:///home/wiz/.mozilla/firefox/6mr9duv5.default/extensions/firefox%ghostery.com.xpi@localhost!/bootstrap.js
 -> resource://gre/modules/commonjs/toolkit/loader.js ->  
+resource://gre/modules/commonjs/sdk/addon/runner.js:103                        
                                                                                
                                                    
startup@resource://gre/modules/XPIProvider.jsm -> 
jar:file:///home/wiz/.mozilla/firefox/6mr9duv5.default/extensions/firefox%ghostery.com.xpi@localhost!/bootstrap.js:253
                                                      
XPI_callBootstrapMethod@resource://gre/modules/XPIProvider.jsm:4287             
                                                                                
                                                    
AI_startInstall/<@resource://gre/modules/XPIProvider.jsm:5658                   
                                                                                
                                                    
TaskImpl_run@resource://gre/modules/Task.jsm:233                                
                                                                                
                                                    
Handler.prototype.process@resource://gre/modules/Promise.jsm:767                
                                                                                
                                                    
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm:531            
                                                                                
                                                    
 
The whole paragraph twice, once for each of the two plugins.

For both problem, starting without a .mozilla directory doesn't
change anything, the problems happen anyway.
>How-To-Repeat:
Build firefox with clang from the NetBSD base system.
It didn't happen in February, but I'm not sure when in March
it started happening.
>Fix:
Using gcc to compile firefox makes the problems disappear.
But that's a workaround...

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index