Bug 69445

Summary: Cannot build firefox 0.9.1 with fbsd 5.2-cur
Product: Ports & Packages Reporter: Mike Hunter <mhunter>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Mike Hunter 2004-07-22 18:40:23 UTC
      Firefox is giving me a hard time:                                               
                                                                                
gmake[4]: Leaving directory                                                     
`/usr/ports/www/firefox/work/mozilla/security/nss/cmd/shlibsign/mangle'         
FreeBSD5.2_DBG.OBJ/shlibsign -v -i                                              
/usr/ports/www/firefox/work/mozilla/dist/lib/libsoftokn3.so                     
Assertion failure: _PT_PTHREAD_MUTEX_IS_LOCKED(lock->mutex), at                 
ptsynch.c:207                                                                   
Abort trap (core dumped)                                                        
gmake[3]: ***                                                                   
[/usr/ports/www/firefox/work/mozilla/dist/lib/libsoftokn3.chk] Error 134        
gmake[3]: Leaving directory                                                     
`/usr/ports/www/firefox/work/mozilla/security/nss/cmd/shlibsign'                
gmake[2]: *** [libs] Error 2                                                    
gmake[2]: Leaving directory                                                     
`/usr/ports/www/firefox/work/mozilla/security/manager'                          
gmake[1]: *** [tier_40] Error 2                                                 
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'               
gmake: *** [default] Error 2                                                    
*** Error code 2                                                                
                                                                                
Stop in /usr/ports/www/firefox.                                                 
                                                                                
I saw this post                                                                 
                                                                                
http://lists.freebsd.org/pipermail/freebsd-gnome/2004-March/005812.html         
                                                                                
And tried applying the provided patch, but it didn't seem to make a             
difference.

How-To-Repeat:       cd /usr/ports/www/firefox && make
Comment 1 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-07-22 18:47:56 UTC
State Changed
From-To: open->closed

This is a pthread problem.  Try with a blank libmap.conf, and build without 
debugging mode enabled.