Re: Build of /usr/ports/net/gaim fails with spinlock error

From: Joe Marcus Clarke <marcus_at_marcuscom.com>
Date: Wed, 04 Feb 2004 02:14:08 -0500
On Wed, 2004-02-04 at 02:04, Mike Schreckengost wrote:
> After a (very) recent cvsup of the ports tree _and_ the src tree, I received 
> the following error message while attempting to build /usr/ports/net/gaim:
> 
> gmake[3]: Leaving directory 
> `/usr/ports/security/nss/work/nss-3.8/mozilla/security/nss/cmd/shlibsign/mangle'
> FreeBSD5.2_OPT.OBJ/shlibsign -v -i 
> ../../../../dist/FreeBSD5.2_OPT.OBJ/lib/libsoftokn3.so.1
> Fatal error 'Spinlock called when not threaded.' at line 83 in file 
> /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
> Abort trap (core dumped)
> gmake[2]: *** [../../../../dist/FreeBSD5.2_OPT.OBJ/lib/libsoftokn3.chk] 
> Error 134
> gmake[2]: Leaving directory 
> `/usr/ports/security/nss/work/nss-3.8/mozilla/security/nss/cmd/shlibsign'
> gmake[1]: *** [libs] Error 2
> gmake[1]: Leaving directory 
> `/usr/ports/security/nss/work/nss-3.8/mozilla/security/nss/cmd'
> gmake: *** [libs] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/security/nss.
> *** Error code 1
> 
> Stop in /usr/ports/net/gaim.
> 
> Obviously, the problem occurs while one of gaim's dependencies are being 
> built ... just thought that I would let everyone know.

Since the switch from libc_r to libpthread, you will have to build
_everything_ that is linked to libc_r, or use /etc/libmap.conf to map
libc_r to libpthread (the former is recommended as it will help us find
problem ports).

security/nss is mine, and Adam recently fixed this, so I'm very
interested to see if shlibsign is linked against libc_r and libpthread. 
Can you do an ldd
/usr/ports/security/nss/work/nss-3.8/mozilla/security/nss/cmd/shlibsign/mangle'
FreeBSD5.2_OPT.OBJ/shlibsign, and send me the output?

Joe

> 
> Thanks,
> Mike
> 
> _________________________________________________________________
> What are the 5 hot job markets for 2004? Click here to find out. 
> http://msn.careerbuilder.com/Custom/MSN/CareerAdvice/WPI_WhereWillWeFindJobsIn2004.htm?siteid=CBMSN3006&sc_extcmp=JS_wi08_dec03_hotmail1
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc

Received on Tue Feb 03 2004 - 22:14:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:41 UTC