Subject: pkg/33484: kmymoney2 doesn't build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <schlesinger@netcologne.de>
List: pkgsrc-bugs
Date: 05/15/2006 09:10:00
>Number:         33484
>Category:       pkg
>Synopsis:       kmymoney2 doesn't build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 15 09:10:00 +0000 2006
>Originator:     Thomas Schlesinger
>Release:        DragonFly 1.5.3-DEVELOPMENT
>Organization:
>Environment:
DragonFly SchlesisNB. 1.5.3-DEVELOPMENT DragonFly 1.5.3-DEVELOPMENT #7: Mon May  1 19:26:35 CEST 2006     thomas@SchlesisNB.:/usr/obj/usr/src/sys/ASUS-V6800  i386

>Description:
[..]/bin/sh ../libtool --silent --mode=link --tag=CXX c++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/pkg/include/libofx -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/xorg/include -I/usr/pkg/include/krb5 -I/usr/pkg/include/freetype2 -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -fexceptions   -L/usr/pkg/qt3/lib -L/usr/pkg/xorg/lib -Wl,-R/usr/pkg/xorg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/qt3/lib -o kmymoney2 -L/usr/pkg/lib -L/usr/pkg/qt3/lib -L/usr/pkg/xorg/lib   -L/usr/pkg/qt3/lib -L/usr/pkg/xorg/lib -Wl,-R/usr/pkg/xorg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/qt3/lib  -export-dynamic kmymoneyutils.o kstartuplogo.o kmymoney2.o main.o kmymoney2_stub.o kmymoney2_skel.o ../kmymoney2/views/libviews.a ../kmymoney2/repor
 ts/libreports.a  ../kmymoney2/dialogs/libdialogs.a ../kmymoney2/widgets/libwidgets.a ../kmymoney2/converter/libconverter.a ../kmymoney2/mymoney/storage/libstorage.a ../kmymoney2/mymoney/libkmm_mymoney.la ../libkgpgfile/libkgpgfile.la ../kmymoney2/plugins/interfaces/libinterfaces.a ../kmymoney2/plugins/libkmm_plugin.la dialogs/libdialogs.a -lkabc -lkhtml -lkdeui -lkdecore -lqt-mt -ljpeg -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lc_r
kmymoney2.o: In function `KMyMoney2App::isImportableFile(KURL const&)':
kmymoney2.cpp:(.text+0x3b54): undefined reference to `MyMoneyStatement::isStatementFile(QString const&)'
kmymoney2.o: In function `KMyMoney2App::slotStatementImport(QString const&)':
kmymoney2.cpp:(.text+0x8aaa): undefined reference to `MyMoneyStatement::readXMLFile(MyMoneyStatement&, QString const&)'
kmymoney2.o: In function `KMyMoney2App::webConnect(QString const&, QCString const&)':
kmymoney2.cpp:(.text+0xe289): undefined reference to `MyMoneyStatement::isStatementFile(QString const&)'
kmymoney2.o: In function `KMyMoneyPlugin::Plugin* KParts::ComponentFactory::createInstanceFromFactory<KMyMoneyPlugin::Plugin>(KLibFactory*, QObject*, char const*, QStringList const&)':
kmymoney2.cpp:(.text+0xf8fe): undefined reference to `KMyMoneyPlugin::Plugin::staticMetaObject()'
kmymoney2.cpp:(.text+0xf927): undefined reference to `typeinfo for KMyMoneyPlugin::Plugin'
kmymoney2.o: In function `KMyMoneyPlugin::ImporterPlugin* KParts::ComponentFactory::createInstanceFromFactory<KMyMoneyPlugin::ImporterPlugin>(KLibFactory*, QObject*, char const*, QStringList const&)':
kmymoney2.cpp:(.text+0xf966): undefined reference to `KMyMoneyPlugin::ImporterPlugin::staticMetaObject()'
kmymoney2.cpp:(.text+0xf98f): undefined reference to `typeinfo for KMyMoneyPlugin::ImporterPlugin'
gmake[3]: *** [kmymoney2] Error 1
gmake[3]: Leaving directory `/usr/obj/pkgsrc/finance/kmymoney2/work/kmymoney2-0.8/kmymoney2'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/obj/pkgsrc/finance/kmymoney2/work/kmymoney2-0.8/kmymoney2'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/obj/pkgsrc/finance/kmymoney2/work/kmymoney2-0.8'
gmake: *** [all] Error 2
*** Error code 2

>How-To-Repeat:
cd finance/kmymoney2
bmake install clean
>Fix: