Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95070 - Kmymoney2 version bump 0.7.2
Summary: Kmymoney2 version bump 0.7.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://kde-apps.org/content/show.php?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-04 15:13 UTC by fabiolla
Modified: 2005-07-10 11:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fabiolla 2005-06-04 15:13:30 UTC
For kmymoney2 is an update to 0.7.2 avilable, for details see link above.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2005-06-05 04:41:07 UTC
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

Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-05 06:58:22 UTC
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... 
Comment 3 MasterX 2005-07-09 12:23:35 UTC
What is the progress with this problem? Kmymoney2 0.7.3 has the same problem! 
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2005-07-10 02:42:09 UTC
Committed 0.7.3, with a workaround to avoid regenerating the configure script. 
Comment 5 MasterX 2005-07-10 09:42:19 UTC
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? 
  
   
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-07-10 10:09:24 UTC
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). 
 
Comment 7 MasterX 2005-07-10 11:02:45 UTC
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? 
Comment 8 MasterX 2005-07-10 11:13:47 UTC
Nope, it is not the CFLAGS.