[kde-freebsd] KDE failing to build on -current

Arjan van Leeuwen avleeuwen at piwebs.com
Thu Apr 15 12:26:41 PDT 2004


On Thursday 15 April 2004 21:10, David W. Chapman Jr. wrote:
> I apologize if this has already been noticed but I cannot build
> kdelibs3 on -current.

You have some applications that use the old threading library (libc_r), and 
mixing them with the new one (libpthread) does not work. This has been 
discussed many times on this list and on other lists such as current@ and 
ports at .

Please read /usr/src/UPDATING, entry 20040303 for a temporary solution. 

The real solution is to rebuild all your ports, so that you can be sure that 
they all use the new threading library. You can do that with 'portupgrade 
-karf'. You can also just use the solution mentioned in UPDATING and rebuild 
the offending ports later.

Arjan

>
> FreeBSD asdf.inethouston.net 5.2-CURRENT FreeBSD 5.2-CURRENT #6: Thu Apr 15
> 16:3 7:58 CDT 2004     root at asdf.inethouston.net:/usr/obj/usr/src/sys/TEST 
> i386
>
>
> if /bin/sh ../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H
> -I. -I. -I.. -I../dcop -I../kio/kssl -I../kdefx -I../dcop -I../libltdl
> -I../kdefx -I ../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile
> -I..  -I/usr/X11R6/in clude -I/usr/local/include -I/usr/local/include
> -I/usr/local/include/libart-2.0 -DQT_THREAD_SUPPORT   -I/usr/local/include
> -I/usr/local/include  -I/usr/X11R6/i nclude -D_GETOPT_H -D_THREAD_SAFE  
> -Wnon-virtual-dtor -Wno-long-long -Wundef -W all -W -Wpointer-arith
> -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exc eptions
> -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT
> _NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT kconfigdialogmanager.lo -MD
> -MP -MF ".deps/kconfigdialogmanager.Tpo" \
>   -c -o kconfigdialogmanager.lo `test -f 'kconfigdialogmanager.cpp' || echo
> './' `kconfigdialogmanager.cpp; \
> then mv -f ".deps/kconfigdialogmanager.Tpo"
> ".deps/kconfigdialogmanager.Plo"; \ else rm -f
> ".deps/kconfigdialogmanager.Tpo"; exit 1; \
> fi
> ../dcop/dcopidl/dcopidl ./ksycoca.h > ksycoca.kidl || ( rm -f ksycoca.kidl
> ; fal se )
> 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[3]: *** [ksycoca.kidl] Error 1
> gmake[3]: Leaving directory
> `/usr/tmp/portbuild/.amd_mnt/minubian/host/usr/ports
> /x11/kdelibs3/work/kdelibs-3.2.1/kdecore'
> gmake[2]: *** [all-recursive] Error 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040415/0cab2bf3/attachment.bin


More information about the freebsd-ports mailing list