Subject: koffice 1.5 build failure
To: None <pkgsrc-users@netbsd.org>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: pkgsrc-users
Date: 04/18/2006 14:10:51
On i386 -current from three days ago I get:

..................
Making all in png
gmake[4]: Entering directory
`/usr/pkgsrc/misc/koffice/work/koffice-1.5.0/filters/krita/png'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/usr/pkgsrc/misc/koffice/work/koffice-1.5.0/filters/krita/png'
Making all in libkisexif
gmake[4]: Entering directory
`/usr/pkgsrc/misc/koffice/work/koffice-1.5.0/filters/krita/libkisexif'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/usr/pkgsrc/misc/koffice/work/koffice-1.5.0/filters/krita/libkisexif'
Making all in jpeg
gmake[4]: Entering directory
`/usr/pkgsrc/misc/koffice/work/koffice-1.5.0/filters/krita/jpeg'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/usr/pkgsrc/misc/koffice/work/koffice-1.5.0/filters/krita/jpeg'
Making all in tiff
gmake[4]: Entering directory
`/usr/pkgsrc/misc/koffice/work/koffice-1.5.0/filters/krita/tiff'
if /bin/sh ../../../libtool --silent --tag=3DCXX --mode=3Dcompile 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/X11R6/include  -I/usr/pkg/include -I/usr/X11R6/include =20
-DQT_THREAD_SUPPORT -I/usr/pkg/include -I/usr/pkg/include/mysql
-I/usr/pkg/include/python2.4 -DLDAP_DEPRECATED -I/usr/include
-I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I/usr/include/krb5=20
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG
-O2 -O2 -I/usr/pkg/include -I/usr/pkg/include/mysql
-I/usr/pkg/include/python2.4 -DLDAP_DEPRECATED -I/usr/include
-I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I/usr/include/krb5
-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 `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 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 `vo=
id*'
   to `__pthread_st*'
/usr/include/g++/bits/stl_threads.h:115: error: invalid conversion from `vo=
id*'
   to `__pthread_st*'
/usr/include/g++/bits/stl_threads.h:115: error: invalid conversion from `vo=
id*'
   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

Stop.
make: stopped in /usr/pkgsrc/misc/koffice
=3D=3D=3D>
=3D=3D=3D> There was an error during the ``build'' phase.
=3D=3D=3D> Please investigate the following for more information:
=3D=3D=3D>      * log of the build
=3D=3D=3D>      * /usr/pkgsrc/misc/koffice/work/.work.log
=3D=3D=3D>
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/koffice
..............................................

Any ideas? Should I file a pr?