pkgsrc-Users archive

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

Koffice cant build due to threading errors



Hi, 

I am trying to build misc/koffice on 3.99.18 with pkgsrc updated yesterday.

The build fails in misc/koffice/work/koffice-1.5.0/filters/krita/tiff and 
spews a load of errors related to /usr/include/g++/bits/stl_threads.h

Any one got any ideas?

A trimmed build log is available at www.coris.org.uk/mrk/koffice.log

The last error is below.

Thanks

Mark

usr/pkgsrc/misc/koffice/work/.buildlink/include/lcms/lcms.h:1339:5: 
warning: "USE_DEFAULT_FLOOR_CONVERSION" is not defined
/usr/pkgsrc/misc/koffice/work/.buildlink/include/lcms/lcms.h:1351:5: 
warning: "USE_BIG_ENDIAN" is not defined
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile 
c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../../lib/kofficeui 
-I../../../lib/kofficeui -I../../../lib/kofficecore -I../../../lib/kofficecore 
-I../../../lib/store -I../../../lib/store -I../../../lib/kwmf 
-I../../../lib/kwmf -I../../../lib/kopalette -I../../../lib/kopalette 
-I../../../krita -I../../../krita/core -I../../../krita/sdk 
-I../../../krita/core/tiles -I../../../krita/kritacolor -I../../../krita/ui 
-I../../../lib/kofficeui -I../../../lib/kofficeui -I../../../lib/kofficecore 
-I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store 
-I../../../lib/kwmf -I../../../lib/kwmf -I../../../lib/kopalette 
-I../../../lib/kopalette -I../../../lib/interfaces -I../../../lib/kopainter 
-I../../../lib/kopainter -I/usr/pkg/include -I/usr/pkg/qt3/include 
-I/usr/pkg/xorg/include  -I/usr/pkg/include -I/usr/pkg/xorg/include   
-DQT_THREAD_SUPPORT -I/usr/pkg/include -I/usr/pkg/include/python2.3 
-DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY 
-I/usr/pkg/xorg/include -I/usr/include/krb5 -I/usr/pkg/include/freetype2  
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 
-I/usr/pkg/include -I/usr/pkg/include/python2.3 -DLDAP_DEPRECATED 
-I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY 
-I/usr/pkg/xorg/include -I/usr/include/krb5 -I/usr/pkg/include/freetype2 
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fexceptions -MT 
kis_tiff_reader.lo -MD -MP -MF ".deps/kis_tiff_reader.Tpo" -c -o 
kis_tiff_reader.lo kis_tiff_reader.cc; \
then mv -f ".deps/kis_tiff_reader.Tpo" ".deps/kis_tiff_reader.Plo"; else 
rm -f ".deps/kis_tiff_reader.Tpo"; exit 1; fi
In file included from ../../../krita/sdk/kis_global.h:23,
                 from ../../../krita/core/kis_paint_device.h:31,
                 from kis_tiff_reader.h:33,
                 from kis_tiff_reader.cc:20:
/usr/pkgsrc/misc/koffice/work/.buildlink/include/lcms/lcms.h:1339:5: 
warning: "USE_DEFAULT_FLOOR_CONVERSION" is not defined
/usr/pkgsrc/misc/koffice/work/.buildlink/include/lcms/lcms.h:1351:5: 
warning: "USE_BIG_ENDIAN" is not defined
In file included from /usr/include/g++/bits/stl_alloc.h:89,
                 from /usr/include/g++/bits/stl_tree.h:87,
                 from /usr/include/g++/map:66,
                 from ../../../krita/kritacolor/kis_composite_op.h:21,
                 from ../../../krita/core/kis_image.h:33,
                 from ../../../krita/core/kis_paint_device.h:32,
                 from kis_tiff_reader.h:33,
                 from kis_tiff_reader.cc:20:
/usr/include/g++/bits/stl_threads.h: In constructor `
   std::_Refcount_Base::_Refcount_Base(unsigned int)':
/usr/include/g++/bits/stl_threads.h:74: error: invalid conversion from `void*'
   to `__pthread_st*'
/usr/include/g++/bits/stl_threads.h:74: error: invalid conversion from `void*'
   to `__pthread_st*'
/usr/include/g++/bits/stl_threads.h:74: error: invalid conversion from `void*'
   to `__pthread_st**'
/usr/include/g++/bits/stl_threads.h: At global scope:
/usr/include/g++/bits/stl_threads.h: In instantiation of `__gthread_mutex_t 
std::_Swap_lock_struct<0>::_S_swap_lock':
/usr/include/g++/bits/stl_threads.h:122:   instantiated from here
/usr/include/g++/bits/stl_threads.h:115: error: invalid conversion from 
`void*'
   to `__pthread_st*'
/usr/include/g++/bits/stl_threads.h:115: error: invalid conversion from 
`void*'
   to `__pthread_st*'
/usr/include/g++/bits/stl_threads.h:115: error: invalid conversion from 
`void*'
   to `__pthread_st**'
gmake[4]: *** [kis_tiff_reader.lo] Error 1
gmake[4]: Leaving directory 
`/usr/pkgsrc/misc/koffice/work/koffice-1.5.0/filters/krita/tiff'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/pkgsrc/misc/koffice/work/koffice-1.5.0/filters/krita'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/pkgsrc/misc/koffice/work/koffice-1.5.0/filters'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/misc/koffice/work/koffice-1.5.0'
gmake: *** [all] Error 2
*** Error code 2

-- 
The NetBSD CVS Digest http://digest.coris.org.uk
RSS feed http://digest.coris.org.uk/feeds/cvs-rss.xml



Home | Main Index | Thread Index | Old Index