Subject: kipi-plugins compile problems
To: None <pkgsrc-users@NetBSD.org, drochner@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: pkgsrc-users
Date: 04/01/2007 17:55:45
Hi,

I'm trying to compile graphics/kipi-plugins, but get the following errors
on NetBSD/i386 current.

This is maybe related to the exiv2 update.

Bernd

f /bin/sh ../../../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kipi-plugins/common/include                              -I../../../kipi-plugins/common/exiv2iface -I/usr/pkg/include   -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/X11R6/include  -I/usr/pkg/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include/krb5 -I/usr/X11R6/include  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include/krb5 -I/usr/X11R6/include -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 -fexceptions  -MT exiv2iface.lo -MD -MP -MF ".deps/exiv2iface.Tpo" -c -o exiv2iface.lo exiv2iface.cpp; \
        then mv -f ".deps/exiv2iface.Tpo" ".deps/exiv2iface.Plo"; else rm -f ".deps/exiv2iface.Tpo"; exit 1; fi
exiv2iface.cpp: In member function 'bool KIPIPlugins::Exiv2Iface::clearExif()':
exiv2iface.cpp:114: error: request for member 'c_str' in '((Exiv2::Error*)e)->Exiv2::Error::what()', which is of non-class type 'const char*'
exiv2iface.cpp: In member function 'bool KIPIPlugins::Exiv2Iface::clearIptc()':
exiv2iface.cpp:131: error: request for member 'c_str' in '((Exiv2::Error*)e)->Exiv2::Error::what()', which is of non-class type 'const char*'

[many more errors deleted]

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/pkgsrc/graphics/kipi-plugins/work.i386/.gcc/bin/g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../kipi-plugins/common/include -I../../../kipi-plugins/common/exiv2iface -I/pkgsrc/graphics/kipi-plugins/work.i386/.buildlink/include -I/usr/pkg/qt3/include -I/pkgsrc/graphics/kipi-plugins/work.i386/.x11-buildlink/include -DQT_THREAD_SUPPORT -DGLX_GLXEXT_LEGACY -I/pkgsrc/graphics/kipi-plugins/work.i386/.buildlink/include/freetype2 -I/usr/include/krb5 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -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 -fexceptions -MT exiv2iface.lo -MD -MP -MF .deps/exiv2iface.Tpo -c exiv2iface.cpp -fPIC -DPIC -o .libs/exiv2iface.o -L/pkgsrc/graphics/kipi-plugins/work.i386/.buildlink/lib 

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkg/bin/shlibtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../kipi-plugins/common/include -I../../../kipi-plugins/common/exiv2iface -I/pkgsrc/graphics/kipi-plugins/work.i386/.buildlink/include -I/usr/pkg/qt3/include -I/pkgsrc/graphics/kipi-plugins/work.i386/.x11-buildlink/include -DQT_THREAD_SUPPORT -DGLX_GLXEXT_LEGACY -I/pkgsrc/graphics/kipi-plugins/work.i386/.buildlink/include/freetype2 -I/usr/include/krb5 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -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 -fexceptions -MT exiv2iface.lo -MD -MP -MF .deps/exiv2iface.Tpo -c -o exiv2iface.lo exiv2iface.cpp 
gmake[4]: *** [exiv2iface.lo] Error 1
gmake[4]: Leaving directory `/pkgsrc/graphics/kipi-plugins/work.i386/kipi-plugins-0.1.3/kipi-plugins/common/exiv2iface'