Subject: Koffice cant build due to threading errors
To: None <pkgsrc-users@netbsd.org>
From: Mark Kirby <mark@coris.org.uk>
List: pkgsrc-users
Date: 04/26/2006 17:53:03
Hi,=20

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=20
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:=20
warning: "USE_DEFAULT_FLOOR_CONVERSION" is not defined
/usr/pkgsrc/misc/koffice/work/.buildlink/include/lcms/lcms.h:1351:5:=20
warning: "USE_BIG_ENDIAN" is not defined
if /bin/sh ../../../libtool --silent --tag=3DCXX --mode=3Dcompile=20
c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../../lib/kofficeui -I../..=
/../lib/kofficeui -I../../../lib/kofficecore -I../../../lib/kofficecore -I.=
=2E/../../lib/store -I../../../lib/store -I../../../lib/kwmf -I../../../lib=
/kwmf -I../../../lib/kopalette -I../../../lib/kopalette -I../../../krita -I=
=2E./../../krita/core -I../../../krita/sdk -I../../../krita/core/tiles -I..=
/../../krita/kritacolor -I../../../krita/ui -I../../../lib/kofficeui -I../.=
=2E/../lib/kofficeui -I../../../lib/kofficecore -I../../../lib/kofficecore =
=2DI../../../lib/store -I../../../lib/store -I../../../lib/kwmf -I../../../=
lib/kwmf -I../../../lib/kopalette -I../../../lib/kopalette -I../../../lib/i=
nterfaces -I../../../lib/kopainter -I../../../lib/kopainter -I/usr/pkg/incl=
ude -I/usr/pkg/qt3/include -I/usr/pkg/xorg/include  -I/usr/pkg/include -I/u=
sr/pkg/xorg/include   -DQT_THREAD_SUPPORT -I/usr/pkg/include -I/usr/pkg/inc=
lude/python2.3 -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/qt3/include -DGL=
X_GLXEXT_LEGACY -I/usr/pkg/xorg/include -I/usr/include/krb5 -I/usr/pkg/incl=
ude/freetype2  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DN=
O_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/pkg/include/python2.3 -DLDAP_DEPR=
ECATED -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-vir=
tual-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_KNE=
WSTUFF -fexceptions -MT=20
kis_tiff_reader.lo -MD -MP -MF ".deps/kis_tiff_reader.Tpo" -c -o=20
kis_tiff_reader.lo kis_tiff_reader.cc; \
then mv -f ".deps/kis_tiff_reader.Tpo" ".deps/kis_tiff_reader.Plo"; else=20
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:=20
warning: "USE_DEFAULT_FLOOR_CONVERSION" is not defined
/usr/pkgsrc/misc/koffice/work/.buildlink/include/lcms/lcms.h:1351:5:=20
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 `voi=
d*'
   to `__pthread_st*'
/usr/include/g++/bits/stl_threads.h:74: error: invalid conversion from `voi=
d*'
   to `__pthread_st*'
/usr/include/g++/bits/stl_threads.h:74: error: invalid conversion from `voi=
d*'
   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=
=20
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=20
`void*'
   to `__pthread_st*'
/usr/include/g++/bits/stl_threads.h:115: error: invalid conversion from=20
`void*'
   to `__pthread_st*'
/usr/include/g++/bits/stl_threads.h:115: error: invalid conversion from=20
`void*'
   to `__pthread_st**'
gmake[4]: *** [kis_tiff_reader.lo] Error 1
gmake[4]: Leaving directory=20
`/usr/pkgsrc/misc/koffice/work/koffice-1.5.0/filters/krita/tiff'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory=20
`/usr/pkgsrc/misc/koffice/work/koffice-1.5.0/filters/krita'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory=20
`/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

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