For kmymoney2 is an update to 0.7.2 avilable, for details see link above. Reproducible: Always Steps to Reproduce: 1. 2. 3.
If I just bump the existing ebuild, I get an error during compiling, seems automake is somehow broken in kmymoney2... >>> emerge (1 of 1) app-office/kmymoney2-0.7.2 to / >>> md5 files ;-) kmymoney2-0.6.4.ebuild >>> md5 files ;-) kmymoney2-0.7.1.ebuild >>> md5 files ;-) kmymoney2-0.7.1-r1.ebuild >>> md5 files ;-) kmymoney2-0.7.0.ebuild >>> md5 files ;-) kmymoney2-0.7.2.ebuild >>> md5 files ;-) files/digest-kmymoney2-0.7.2 >>> md5 files ;-) files/digest-kmymoney2-0.6.4 >>> md5 files ;-) files/digest-kmymoney2-0.7.0 >>> md5 files ;-) files/digest-kmymoney2-0.7.1 >>> md5 files ;-) files/digest-kmymoney2-0.7.1-r1 >>> md5 files ;-) files/kmymoney2-0.7.1-csv-export.patch >>> md5 files ;-) files/kmymoney2-0.7.2-csv-export.patch >>> md5 files ;-) files/kmymoney2-0.6.4-configure-arts.patch >>> md5 src_uri ;-) kmymoney2-0.7.2.tar.bz2 >>> Unpacking source... >>> Unpacking kmymoney2-0.7.2.tar.bz2 to /var/tmp/portage/kmymoney2-0.7.2/work * Applying kmymoney2-0.7.2-csv-export.patch ... [ ok ] >>> Source unpacked. *** automake (GNU automake) 1.7.9 found. *** Creating acinclude.m4 make[1]: Entering directory `/var/tmp/portage/kmymoney2-0.7.2/work/kmymoney2-0.7.2' make[1]: Leaving directory `/var/tmp/portage/kmymoney2-0.7.2/work/kmymoney2-0.7.2' *** Creating list of subdirectories make[1]: Entering directory `/var/tmp/portage/kmymoney2-0.7.2/work/kmymoney2-0.7.2' cd . && make -f admin/Makefile.common subdirs make[2]: Entering directory `/var/tmp/portage/kmymoney2-0.7.2/work/kmymoney2-0.7.2' make[2]: Leaving directory `/var/tmp/portage/kmymoney2-0.7.2/work/kmymoney2-0.7.2' make[1]: Leaving directory `/var/tmp/portage/kmymoney2-0.7.2/work/kmymoney2-0.7.2' *** Creating configure.files *** Creating configure.in make[1]: Entering directory `/var/tmp/portage/kmymoney2-0.7.2/work/kmymoney2-0.7.2' cd . && make -f admin/Makefile.common configure.in ; make[2]: Entering directory `/var/tmp/portage/kmymoney2-0.7.2/work/kmymoney2-0.7.2' make[2]: Leaving directory `/var/tmp/portage/kmymoney2-0.7.2/work/kmymoney2-0.7.2' make[1]: Leaving directory `/var/tmp/portage/kmymoney2-0.7.2/work/kmymoney2-0.7.2' *** Creating aclocal.m4 aclocal: configure.in: 93: macro `AM_PATH_CPPUNIT' not found in library make: *** [cvs] Error 1
The kde eclass tries to disable visibility support from kmymoney, so it needs to regenerate the autotools stuff, but this is one of those cases in which aclocal fails to run, because it needs a macro from /usr/share/aclocal that comes from an optional dependency (cppunit). e.g. see the example with Guile here: http://docs.biostat.wustl.edu/cgi-bin/info2html? (automake.info.gz)Local%2520Macros Hairy situation...
What is the progress with this problem? Kmymoney2 0.7.3 has the same problem!
Committed 0.7.3, with a workaround to avoid regenerating the configure script.
Gregorio Guidi, your ebuild works! Thank you. I have one question. When the configure script was finished I saw the following output: Memory leak check support: no KBanking support: disabled OFX plugin: disabled OFX direct connect: disabled CPPUNIT support: disabled How can I add support for memory leak and CPPUNIT? Is not the CPPUNIT that caused the problem with kde.eclass?
For memory leak check support you can try with USE="debug". cppunit support is only needed if you want to run 'make check' during compilation, it has no effects at runtime (and yes, it is the cause of the problem in comment #2).
Gregorio Guidi, I run the configure script in my home directory and I read that I do not really need the CPPUNIT thing. The memory leak check should be yes (it is the default option), but when I run the configure I had to add "--enable-leak-check" Anyhow, I am compiling kmymoney2 in my home directory because with the ebuild I got this error: kmymoney2.o(.text+0xc13e): In function `KMyMoney2App::slotStatementImport(QString const&)': : undefined reference to `MyMoneyStatement::readXMLFile(MyMoneyStatement&, QString const&)' kmymoney2.o(.text+0xe4db): In function `KMyMoney2App::isImportableFile(KURL const&)': : undefined reference to `MyMoneyStatement::isStatementFile(QString const&)' kmymoney2.o(.text+0x1093f): In function `KMyMoney2App::webConnect(QString const&, QCString const&)': : undefined reference to `MyMoneyStatement::isStatementFile(QString const&)' kmymoney2.o(.text+0x10fc3): In function `KMyMoney2App::loadPlugins()': : undefined reference to `KMyMoneyPlugin::Plugin::staticMetaObject()' kmymoney2.o(.text+0x10fff): In function `KMyMoney2App::loadPlugins()': : undefined reference to `typeinfo for KMyMoneyPlugin::Plugin' kmymoney2.o(.text+0x118b1): In function `KMyMoney2App::loadPlugins()': : undefined reference to `KMyMoneyPlugin::ImporterPlugin::staticMetaObject()' kmymoney2.o(.text+0x118e7): In function `KMyMoney2App::loadPlugins()': : undefined reference to `typeinfo for KMyMoneyPlugin::ImporterPlugin' collect2: ld returned 1 exit status make[3]: *** [kmymoney2] Error 1 make[3]: Leaving directory `/var/tmp/portage/kmymoney2-0.7.3/work/kmymoney2-0.7.3/kmymoney2' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kmymoney2-0.7.3/work/kmymoney2-0.7.3/kmymoney2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kmymoney2-0.7.3/work/kmymoney2-0.7.3' I hope it is because of the CFLAGS. Do you have any idea what could cause this error?
Nope, it is not the CFLAGS.