Re: Fatal error 'Spinlock called when not threaded' when trying toupgrade kdelibs-3.1.4 port

2003-11-22 Thread Jonathan E Fosburgh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

O
  ../dcop/dcopidl/dcopidl ./ksycoca.h  ksycoca.kidl || ( rm -f
  ksycoca.kidl ; false )
  Fatal error 'Spinlock called when not threaded.' at line 88 in file
  /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
  Abort trap (core dumped)

 Something on your system is hosed.  I just built all of KDE
 3.1.4 on my current system with /etc/libmap.conf pointed
 at libkse; no problems at all.


I used to get this before KDE was modified to use REINPLACE to set 
$PTHREAD_LIBS.  I was setting it to kse but something was causing KDE to link 
against kse and libc_r.  Without libmap.conf pointing libc_r to libkse I 
would get that error.

- -- 
Jonathan Fosburgh
AIX/SAN Administrator
UT MD Anderson Cancer Center
Houston, TX
Home Page:
http://www.fosburgh.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD4DBQE/v3OiqUvQmqp7omYRAqpkAJ9M/TmDCXkUElUl+w90tyRPR2wS6gCWNDHn
zHVVK3QnecDmiSRKOU5MsQ==
=7fCb
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fatal error 'Spinlock called when not threaded' when trying toupgrade kdelibs-3.1.4 port

2003-11-22 Thread Daniel Eischen
On Sat, 22 Nov 2003, Jonathan E Fosburgh wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 O
   ../dcop/dcopidl/dcopidl ./ksycoca.h  ksycoca.kidl || ( rm -f
   ksycoca.kidl ; false )
   Fatal error 'Spinlock called when not threaded.' at line 88 in file
   /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
   Abort trap (core dumped)
 
  Something on your system is hosed.  I just built all of KDE
  3.1.4 on my current system with /etc/libmap.conf pointed
  at libkse; no problems at all.
 
 
 I used to get this before KDE was modified to use REINPLACE to set 
 $PTHREAD_LIBS.  I was setting it to kse but something was causing KDE to link 
 against kse and libc_r.  Without libmap.conf pointing libc_r to libkse I 
 would get that error.

Right, in general, you can't build with PTHREAD_LIBS set to anything
other than default (-lc_r).  There are patches in the PR system to
make KDE build cleanly when PTHREAD_LIBS is set to -lkse, but even
when applied, there are other ports that will still have problems.

In short, unless you know what you are doing or want to help
make ports honor PTHREAD_LIBS, do not touch PTHREAD_LIBS.

-- 
Dan Eischen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fatal error 'Spinlock called when not threaded' when trying toupgrade kdelibs-3.1.4 port

2003-11-21 Thread Guillaume EGLES
Hi,

It has been almost a month that my system fails to upgrade the 
kdelibs-3.1.4 port on my FreeBSD-current box. I have synchronized my OS 
with -current many times, but the problem seems to persist. Here is the 
error message:

../dcop/dcopidl/dcopidl ./ksycoca.h  ksycoca.kidl || ( rm -f 
ksycoca.kidl ; false )
Fatal error 'Spinlock called when not threaded.' at line 88 in file 
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
Abort trap (core dumped)

 If anyone knows what to do, please tell me. Thanks. Guillaume.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fatal error 'Spinlock called when not threaded' when trying toupgrade kdelibs-3.1.4 port

2003-11-21 Thread Daniel Eischen
On Fri, 21 Nov 2003, Guillaume EGLES wrote:

 Hi,
 
 It has been almost a month that my system fails to upgrade the 
 kdelibs-3.1.4 port on my FreeBSD-current box. I have synchronized my OS 
 with -current many times, but the problem seems to persist. Here is the 
 error message:
 
 ../dcop/dcopidl/dcopidl ./ksycoca.h  ksycoca.kidl || ( rm -f 
 ksycoca.kidl ; false )
 Fatal error 'Spinlock called when not threaded.' at line 88 in file 
 /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
 Abort trap (core dumped)

Something on your system is hosed.  I just built all of KDE
3.1.4 on my current system with /etc/libmap.conf pointed
at libkse; no problems at all.

Also, make sure you don't have a /usr/lib/libpthread.so.

-- 
Dan Eischen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]