Re: Error Linking konlinetasks_sepa

2017-11-24 Thread Jack

On 2017.11.24 17:09, Ralf Habacker wrote:
[snip]
My main comment is that there has (as far as I remember) been no  
official announcement about 4.8.1 - not a code freeze date, not a  
string or doc freeze date, not a projected release date.  Unless we  
want to start all that now, I propose to release 4.8.1, and start the  
proper process for release of 4.8.2.


From my previous experience with KDE projects (umbrello) I learned  
a rule that documentation are freezed shortly before releasing  
version x.x.0 (or x.x-1.80) so my current assumption is that the  
recent documentation  should be "mostly" up to date - the "whats  
new" page has been updated recently by Jack.

>> Ralf
Given that we plan to do a 4.8.2 release (with minimal changes from  
4.8.1,) I have already said I am happy to release 4.8.1 with  
incomplete translations.  In fact, if docbooks not changed by me to  
4.8.1 are not fully translated, then it is likely the previous  
release had the same problem. 
The difference to 4.8.0 is that the 'what new' page has been updated  
and is currently only been translated for 6 of 11 included languages  
(54 %). The 'what's new' page is probably one of the most frequented  
pages :-( The releaseme script uses a 75% completeness rate to decide  
which language is included and which not. If we use that limit too,  
we are below this limit.
Waiting for translation of the "What's new" page may be reasonable,  
compared to waiting for the entire document.  I would also think that a  
complete translation of the strings is necessary to include any  
translation.


When we are ready for 4.8.2, we can do a proper doc freeze and  
repeat the request to the translation teams.
There are enough open bugs to thinking about a 4.8.2 release. I filed  
a related ticket, see https://bugs.kde.org/show_bug.cgi?id=387280. I  
learned from recent experiences with translations (Estonian  
translation will be done latest in Januar, see  
https://marc.info/?l=kde-i18n-doc=151050920321516=2) that it is  
required to start now with 4.8.2 work for translation docbook up to  
date check and fixing to have it complete in Februar 2018.
I do not remember how long it usually takes, but I think we do not want  
to ask translation teams to start work before we freeze the strings and  
docs, or else they may need to repeat work.
I also think the main reason for 4.8.2 is not any additional bug fixes,  
but the one critical one already fixed after tagging 4.8.1.  (And yes,  
I've already forgotten whether that was adding the latest Quicken  
versions for OFX download or fixing the loss of Yahoo for stock and  
currency quoted, but both are reasonably important.)  If others fixes  
can be included in time, fine, but we should not wait, unless it was a  
regression from 4.8.1.  We need to concentrate on 5.0, and I believe  
all this effort on 4.x is distracting from that goal.


Some additional notes:
1. the 4.8.1 release would be 4.8.1-1 because the source tar ball  
needs to be named different as the one already uploaded
I will let others argue the details, but the 4.8.1 tarball was uploaded  
before any official announcement, and without any of the usual  
pre-release activities.  I would just replace the existing 4.8.1  
tarball with a final one, but I will not argue for it.  In addition, if  
we just release 4.8.1 as is, then there is no change needed for the  
tarball.


2. beside the translation there is  - from my point of view - a much  
more important issue in the code base: I'm refering to Bug 385857  
(https://bugs.kde.org/show_bug.cgi?id=385857), which makes reports  
using "Convert to base currency" unreliable in case the report  
interval is not daily. The related bug fix seems to be incomplete  
(reported with bug 387040,  
https://bugs.kde.org/show_bug.cgi?id=387040). Fixing this bug  by me  
will probably require some weeks from now on, because I need to dig  
into the report implementation very deeply. This will delay an  
official 4.8.1-1 release probably to the second week of December or  
later. Fortunally this will give translators additional time to  
complete translations.
I think I have said this before, and perhaps others can provide their  
opinion.  I think we should release 4.8.1 as it is now.   There are  
many bug fixes included, and a tarball has already been uploaded.   We  
know we need to release 4.8.2, and if we set a code freeze and string  
freeze for once bug 387040 is fixed (hopefully by mid December,) and a  
doc freeze once someone has confirmed which docbook  files actually  
need updating and I have updated them (hopefully about the same time,)  
we can release some weeks after that - allowing sufficient time for  
translations.


If anyone is there who has time to fix or at least can give some  
information how to fix to speed up the release, be welcome.




Ralf

Jack

Re: Error Linking konlinetasks_sepa

2017-11-24 Thread Ralf Habacker
Am 21.11.2017 um 01:00 schrieb Jack:
> On 2017.11.20 18:13, Ralf Habacker wrote:
>> Am 20.11.2017 um 23:19 schrieb g...@duzan.org:
>> >    No, I haven't spent time on this recently, and yes, it had been
>> through
>> > multiple reconfigure/rebuild cycles. I had been hoping to try an
>> > official 4.8.1 source tar at some point, but that seems to keep being
>> > pushed back.
>> You would be happy with the recent translation state (see
>> https://bugsfiles.kde.org/attachment.cgi?id=108858 from a 2017-11-14) ?
>>
>> The current process requires to compare the releaseinfo tag from each
>> docbook file in each translation to the related file of the base
>> translation to get an idea how far the translation state is. You cannot
>> look for docbook files not having a releaseinfo with the recent app
>> version e.g. grep -rn "" | grep -v 4.8.1
>>
>> See for example
>> https://docs.kde.org/stable4/de/extragear-office/kmymoney/ which
>> indicates that the documentation is for 4.6 while this page
>> https://docs.kde.org/stable4/de/extragear-office/kmymoney/whatsnew.htm
>> is for 4.8.1 and this page
>> https://docs.kde.org/stable4/de/extragear-office/kmymoney/makingmostof.html
>>
>> refers to 4.5.
>>
>> If you find a way to speed up this process, you are very welcome.
>> > If that isn't going to be happening soon, I have some
>> > vacation coming up next week, and I can try setting up a separate
>> > git-based package then.
>> It is a simple task to create a source tar ball by running the
>> "releaseme" script, but because 4.8.0 has been released more than a year
>> before
>> (https://sourceforge.net/projects/kmymoney2/files/KMyMoney-Windows/4.8.0/)
>>
>> and noone cares about releasing 4.8.1 for a whole year, waiting a few
>> weeks more doesn't matter I think.
>> From my previous experience with KDE projects (umbrello) I learned a
>> rule that documentation are freezed shortly before releasing version
>> x.x.0 (or x.x-1.80) so my current assumption is that the recent
>> documentation  should be "mostly" up to date - the "whats new" page has
>> been updated recently by Jack.
>> Ralf
> Given that we plan to do a 4.8.2 release (with minimal changes from
> 4.8.1,) I have already said I am happy to release 4.8.1 with
> incomplete translations.  In fact, if docbooks not changed by me to
> 4.8.1 are not fully translated, then it is likely the previous release
> had the same problem.  
The difference to 4.8.0 is that the 'what new' page has been updated and
is currently only been translated for 6 of 11 included languages (54 %).
The 'what's new' page is probably one of the most frequented pages :-(
The releaseme script uses a 75% completeness rate to decide which
language is included and which not. If we use that limit too, we are
below this limit.
> When we are ready for 4.8.2, we can do a proper doc freeze and repeat
> the request to the translation teams.
There are enough open bugs to thinking about a 4.8.2 release. I filed a
related ticket, see https://bugs.kde.org/show_bug.cgi?id=387280. I
learned from recent experiences with translations (Estonian translation
will be done latest in Januar, see
https://marc.info/?l=kde-i18n-doc=151050920321516=2) that it is
required to start now with 4.8.2 work for translation docbook up to date
check and fixing to have it complete in Februar 2018.

Some additional notes:
1. the 4.8.1 release would be 4.8.1-1 because the source tar ball needs
to be named different as the one already uploaded
2. beside the translation there is  - from my point of view - a much
more important issue in the code base: I'm refering to Bug 385857
(https://bugs.kde.org/show_bug.cgi?id=385857), which makes reports using
"Convert to base currency" unreliable in case the report interval is not
daily. The related bug fix seems to be incomplete (reported with bug
387040, https://bugs.kde.org/show_bug.cgi?id=387040). Fixing this bug 
by me will probably require some weeks from now on, because I need to
dig into the report implementation very deeply. This will delay an
official 4.8.1-1 release probably to the second week of December or
later. Fortunally this will give translators additional time to complete
translations.

If anyone is there who has time to fix or at least can give some
information how to fix to speed up the release, be welcome.

Ralf


Re: Error Linking konlinetasks_sepa

2017-11-20 Thread Jack

On 2017.11.20 18:13, Ralf Habacker wrote:

Am 20.11.2017 um 23:19 schrieb g...@duzan.org:
>No, I haven't spent time on this recently, and yes, it had been  
through

> multiple reconfigure/rebuild cycles. I had been hoping to try an
> official 4.8.1 source tar at some point, but that seems to keep  
being

> pushed back.
You would be happy with the recent translation state (see
https://bugsfiles.kde.org/attachment.cgi?id=108858 from a 2017-11-14)  
?


The current process requires to compare the releaseinfo tag from each
docbook file in each translation to the related file of the base
translation to get an idea how far the translation state is. You  
cannot

look for docbook files not having a releaseinfo with the recent app
version e.g. grep -rn "" | grep -v 4.8.1

See for example
https://docs.kde.org/stable4/de/extragear-office/kmymoney/ which
indicates that the documentation is for 4.6 while this page
https://docs.kde.org/stable4/de/extragear-office/kmymoney/whatsnew.htm
is for 4.8.1 and this page
https://docs.kde.org/stable4/de/extragear-office/kmymoney/makingmostof.html
refers to 4.5.

If you find a way to speed up this process, you are very welcome.
> If that isn't going to be happening soon, I have some
> vacation coming up next week, and I can try setting up a separate
> git-based package then.
It is a simple task to create a source tar ball by running the
"releaseme" script, but because 4.8.0 has been released more than a  
year

before
(https://sourceforge.net/projects/kmymoney2/files/KMyMoney-Windows/4.8.0/)
and noone cares about releasing 4.8.1 for a whole year, waiting a few
weeks more doesn't matter I think.
From my previous experience with KDE projects (umbrello) I learned a
rule that documentation are freezed shortly before releasing version
x.x.0 (or x.x-1.80) so my current assumption is that the recent
documentation  should be "mostly" up to date - the "whats new" page  
has

been updated recently by Jack.
Ralf
Given that we plan to do a 4.8.2 release (with minimal changes from  
4.8.1,) I have already said I am happy to release 4.8.1 with incomplete  
translations.  In fact, if docbooks not changed by me to 4.8.1 are not  
fully translated, then it is likely the previous release had the same  
problem.  When we are ready for 4.8.2, we can do a proper doc freeze  
and repeat the request to the translation teams.


Jack

Re: Error Linking konlinetasks_sepa

2017-11-20 Thread Ralf Habacker
Am 20.11.2017 um 23:19 schrieb g...@duzan.org:
>No, I haven't spent time on this recently, and yes, it had been through
> multiple reconfigure/rebuild cycles. I had been hoping to try an
> official 4.8.1 source tar at some point, but that seems to keep being
> pushed back. 
You would be happy with the recent translation state (see
https://bugsfiles.kde.org/attachment.cgi?id=108858 from a 2017-11-14) ?

The current process requires to compare the releaseinfo tag from each
docbook file in each translation to the related file of the base
translation to get an idea how far the translation state is. You cannot
look for docbook files not having a releaseinfo with the recent app
version e.g. grep -rn "" | grep -v 4.8.1

See for example
https://docs.kde.org/stable4/de/extragear-office/kmymoney/ which
indicates that the documentation is for 4.6 while this page
https://docs.kde.org/stable4/de/extragear-office/kmymoney/whatsnew.htm
is for 4.8.1 and this page
https://docs.kde.org/stable4/de/extragear-office/kmymoney/makingmostof.html
refers to 4.5.

If you find a way to speed up this process, you are very welcome.
> If that isn't going to be happening soon, I have some
> vacation coming up next week, and I can try setting up a separate
> git-based package then.
It is a simple task to create a source tar ball by running the
"releaseme" script, but because 4.8.0 has been released more than a year
before
(https://sourceforge.net/projects/kmymoney2/files/KMyMoney-Windows/4.8.0/)
and noone cares about releasing 4.8.1 for a whole year, waiting a few
weeks more doesn't matter I think.
>From my previous experience with KDE projects (umbrello) I learned a
rule that documentation are freezed shortly before releasing version
x.x.0 (or x.x-1.80) so my current assumption is that the recent
documentation  should be "mostly" up to date - the "whats new" page has
been updated recently by Jack.
Ralf






Re: Error Linking konlinetasks_sepa

2017-11-20 Thread gary
   No, I haven't spent time on this recently, and yes, it had been through
multiple reconfigure/rebuild cycles. I had been hoping to try an
official 4.8.1 source tar at some point, but that seems to keep being
pushed back. If that isn't going to be happening soon, I have some
vacation coming up next week, and I can try setting up a separate
git-based package then.

 Gary


=> Hi Gary,
=>
=> could you solve the problem already?
=>
=> If not: I doubt the issue is caused by the version of CMake you are using
=> (it
=> is not way newer than the version I used to create the files and CMake is
=> pretty good in backwards compatibility).
=>
=> Currently I asume this is an issue with automoc or an incorrect
=> #include "moc_...". Did you try a full clean and rebuild?
=>
=> Best
=> Christian
=>
=> Am Samstag, 29. Juli 2017, 04:22:13 CET schrieb Gary Duzan:
=>>I've been trying to get KMyMoney4 working on NetBSD through
=>> pkgsrc/wip,
=>> and have made a fair amount of progress. I have rough packages for
=>> libalkimia, gwenhywfar, and aqbanking compiling, and now I'm working on
=>> kmymoney4 itself. It is currently failing to link konlinetasks_sepa.so,
=>> with multiple definitions from sepaStoragePlugin, one from
=>> plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp and one from
=>>
plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_s
=>> epastorageplugin.cpp . I've included the full error below. Does this
=>> look
=>> familiar, or do I need to just dive into the cmake stuff? This is with
=>> 4.8.0 sources.
=>>
=>>Thanks.
=>>
=>> Gary Duzan
=>>
=>>
=>>
=>> [ 77%] Linking CXX shared module ../../../../lib/konlinetasks_sepa.so
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/m
=>> oc_compilation.cpp.o: In function
=>> `sepaStoragePlugin::qt_static_metacall(QObject*, QMetaObject::Ca ll,
=>> int,
=>> void**)':
=>>
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/s
=>>
epa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:4
=>> 0: multiple definition of
=>> `sepaStoragePlugin::qt_static_metacall(QObject*,
=>> QMetaObject::Call, int, void**)'
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
=>>
cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
=>> asks/sepa/moc_sepastorageplugin.cpp:40: first defined here
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
=>> moc_compilation.cpp.o: In function `onlineJob::isLocked() const':
=>>
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
=>>
sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:
=>> 62: multiple definition of `sepaStoragePlugin::metaObject() const'
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
=>>
cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
=>> asks/sepa/moc_sepastorageplugin.cpp:62: first defined here
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
=>> moc_compilation.cpp.o: In function `sepaCreditTransferEdit::metaObject()
=>> const':
=>>
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
=>>
sepa/konlinetasks_sepa_OBJECTS_autogen/UYX5XTB5RZ/moc_sepacredittransferedit
=>> .cpp:124: multiple definition of `sepaStoragePlugin::staticMetaObject'
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
=>>
cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
=>> asks/sepa/moc_sepastorageplugin.cpp:40: first defined here
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
=>> moc_compilation.cpp.o: In function `sepaStoragePlugin::qt_metacast(char
=>> const*)':
=>>
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
=>>
sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:
=>> 66: multiple definition of `sepaStoragePlugin::qt_metacast(char const*)'
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
=>>
cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
=>> asks/sepa/moc_sepastorageplugin.cpp:66: first defined here
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
=>> moc_compilation.cpp.o: In function
=>> `sepaStoragePlugin::qt_metacall(QMetaObject::Call, int, void**)':
=>>
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
=>>
sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:
=>> 79: multiple definition of
=>> `sepaStoragePlugin::qt_metacall(QMetaObject::Call, int, void**)'
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
=>>
cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
=>> asks/sepa/moc_sepastorageplugin.cpp:79: first defined here

Re: Error Linking konlinetasks_sepa

2017-11-20 Thread Christian David
Hi Gary,

could you solve the problem already?

If not: I doubt the issue is caused by the version of CMake you are using (it 
is not way newer than the version I used to create the files and CMake is 
pretty good in backwards compatibility).

Currently I asume this is an issue with automoc or an incorrect 
#include "moc_...". Did you try a full clean and rebuild?

Best
Christian

Am Samstag, 29. Juli 2017, 04:22:13 CET schrieb Gary Duzan:
>I've been trying to get KMyMoney4 working on NetBSD through pkgsrc/wip,
> and have made a fair amount of progress. I have rough packages for
> libalkimia, gwenhywfar, and aqbanking compiling, and now I'm working on
> kmymoney4 itself. It is currently failing to link konlinetasks_sepa.so,
> with multiple definitions from sepaStoragePlugin, one from
> plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp and one from
> plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_s
> epastorageplugin.cpp . I've included the full error below. Does this look
> familiar, or do I need to just dive into the cmake stuff? This is with
> 4.8.0 sources.
> 
>Thanks.
> 
>   Gary Duzan
> 
> 
> 
> [ 77%] Linking CXX shared module ../../../../lib/konlinetasks_sepa.so
> CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/m
> oc_compilation.cpp.o: In function
> `sepaStoragePlugin::qt_static_metacall(QObject*, QMetaObject::Ca ll, int,
> void**)':
> /usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/s
> epa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:4
> 0: multiple definition of `sepaStoragePlugin::qt_static_metacall(QObject*,
> QMetaObject::Call, int, void**)'
> CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
> cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
> asks/sepa/moc_sepastorageplugin.cpp:40: first defined here
> CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
> moc_compilation.cpp.o: In function `onlineJob::isLocked() const':
> /usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
> sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:
> 62: multiple definition of `sepaStoragePlugin::metaObject() const'
> CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
> cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
> asks/sepa/moc_sepastorageplugin.cpp:62: first defined here
> CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
> moc_compilation.cpp.o: In function `sepaCreditTransferEdit::metaObject()
> const':
> /usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
> sepa/konlinetasks_sepa_OBJECTS_autogen/UYX5XTB5RZ/moc_sepacredittransferedit
> .cpp:124: multiple definition of `sepaStoragePlugin::staticMetaObject'
> CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
> cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
> asks/sepa/moc_sepastorageplugin.cpp:40: first defined here
> CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
> moc_compilation.cpp.o: In function `sepaStoragePlugin::qt_metacast(char
> const*)':
> /usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
> sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:
> 66: multiple definition of `sepaStoragePlugin::qt_metacast(char const*)'
> CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
> cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
> asks/sepa/moc_sepastorageplugin.cpp:66: first defined here
> CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
> moc_compilation.cpp.o: In function
> `sepaStoragePlugin::qt_metacall(QMetaObject::Call, int, void**)':
> /usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
> sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:
> 79: multiple definition of
> `sepaStoragePlugin::qt_metacall(QMetaObject::Call, int, void**)'
> CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
> cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
> asks/sepa/moc_sepastorageplugin.cpp:79: first defined here
> CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
> moc_compilation.cpp.o: In function `onlineJob::sendDate() const':
> /usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
> sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:
> 62: multiple definition of `sepaStoragePlugin::staticMetaObjectExtraData'
> CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
> cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
> asks/sepa/moc_sepastorageplugin.cpp:40: first 

Re: Easy download of zip file for 4.8 branch git head: was: Error Linking konlinetasks_sepa

2017-08-10 Thread Gary Duzan
In Message ,
   Jack wrote:

=>On 2017.07.29 12:20, Thomas Baumgart wrote:
=>> On Samstag, 29. Juli 2017 11:36:32 CEST Gary Duzan wrote:
=>[snip...]
=>>>I'll give that a try if I can, but pkgsrc building includes the
=>>> process of fetching the source, so I'd have to have a separate
=>>> version of the package to pull directly from git, and that can be a
=>>> bit unwieldy. Unless you can think of particular issues, I'd rather
=>>> get 4.8.0 working, then adapt the package when 4.8.1 comes out. If
=>>> there are minor workarounds necessary, pkgsrc can apply local
=>>> patches with no problem.
=>>
=>> Whatever 'fetching the source' means. I would consider checking out a
=>> tagged/ named version from a git repo als as 'fetching the source'.
=>> But I have no idea about pkgsrc, so this may all be invalid.
=>
=>It turns out that the kde git repository has a read-only copy at
=>github, and github has single URL access to download a zip version of a
=>repository tag head.  https://github.com/KDE/kmymoney is the main
=>starting point for KMyMoney source and
=>https://github.com/KDE/kmymoney/tree/4.8 shows the git head of the 4.8
=>branch, with https://github.com/KDE/kmymoney/archive/4.8.zip giving you
=>a zip file of the tree at that point.  I believe there are also ways to
=>craft a URL to pull from a github repository at any specified commit,
=>but that's a bit more involved.

   Thanks. It is a bit off topic, but I'll explain the issues.
pkgsrc-wip (Work In Progress) has support for git checkouts, but
not the main pkgsrc, so while a git-tracking wip package may be
useful, it isn't ideal for those hoping to migrate to pkgsrc. As
for branch tracking zip/tar files, pkgsrc records a checksum for
distribution files, so practically speaking it can't be a file that
changes. Once I get back to working on the package I'll see if
doing a git package is warranted.

Gary




Easy download of zip file for 4.8 branch git head: was: Error Linking konlinetasks_sepa

2017-08-10 Thread Jack

On 2017.07.29 12:20, Thomas Baumgart wrote:

On Samstag, 29. Juli 2017 11:36:32 CEST Gary Duzan wrote:

[snip...]
   I'll give that a try if I can, but pkgsrc building includes the  
process of fetching the source, so I'd have to have a separate  
version of the package to pull directly from git, and that can be a  
bit unwieldy. Unless you can think of particular issues, I'd rather  
get 4.8.0 working, then adapt the package when 4.8.1 comes out. If  
there are minor workarounds necessary, pkgsrc can apply local  
patches with no problem.


Whatever 'fetching the source' means. I would consider checking out a  
tagged/ named version from a git repo als as 'fetching the source'.  
But I have no idea about pkgsrc, so this may all be invalid.


It turns out that the kde git repository has a read-only copy at  
github, and github has single URL access to download a zip version of a  
repository tag head.  https://github.com/KDE/kmymoney is the main  
starting point for KMyMoney source and  
https://github.com/KDE/kmymoney/tree/4.8 shows the git head of the 4.8  
branch, with https://github.com/KDE/kmymoney/archive/4.8.zip giving you  
a zip file of the tree at that point.  I believe there are also ways to  
craft a URL to pull from a github repository at any specified commit,  
but that's a bit more involved.


Jack

Re: Error Linking konlinetasks_sepa

2017-07-29 Thread Jack

Just one bit on versions.

On 2017.07.29 12:20, Thomas Baumgart wrote:

On Samstag, 29. Juli 2017 11:36:32 CEST Gary Duzan wrote:


   I currently have cmake 3.8.2. It looks like cmake 3.9.0 is  
available, so I can try with that.


I use 3.5.2 here for my KF5 development and the one I used with KDE4  
was certainly older. So it could be that 3.8.2 might be too new and  
causing this stuff. We've seen this in the past, that using a too new  
cmake version caused trouble.


I have been using cmake 3.7.2 for over half a year, and not had any  
problem compiling multiple versions of KMyMoney  (at least not any  
problems related to cmake versions.  :-) )
(Gentoo has 3.8.2 and 3.9.0 available as "testing" but I have not yet  
tried either of them.)


Jack

Re: Error Linking konlinetasks_sepa

2017-07-29 Thread Thomas Baumgart
HI Gary,

On Samstag, 29. Juli 2017 11:36:32 CEST Gary Duzan wrote:

> In Message <8708737.XCdCEdkXx1@thb-nb>,
>Thomas Baumgart wrote:
> 
> =>Hi Gary,
> =>
> =>On Freitag, 28. Juli 2017 22:22:13 CEST Gary Duzan wrote:
> =>
> =>>I've been trying to get KMyMoney4 working on NetBSD through
> pkgsrc/wip, =>> and have made a fair amount of progress. I have rough
> packages for =>> libalkimia, gwenhywfar, and aqbanking compiling, and now
> I'm working on =>> kmymoney4 itself. It is currently failing to link
> konlinetasks_sepa.so, =>> with multiple definitions from sepaStoragePlugin,
> one from
> =>> plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp and one from
> =>>
> plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_s
> epastorageplugin.cpp . I've included the full error below. Does this look
> =>> familiar, or do I need to just dive into the cmake stuff? This is with
> =>> 4.8.0 sources.
> =>
> =>I don't see any obvious thing that causes this behavior, but since you
> work on =>a new (for KMyMoney AFAICT) environment (NetBSD) and at the same
> time we have =>a developer finishing a 4.8.1 release. It might be worthwile
> to take those =>sources instead of ancient 4.8.0. You can simply get those
> from the 4.8 branch =>of our git repo.
> 
>I'll give that a try if I can, but pkgsrc building includes the
> process of fetching the source, so I'd have to have a separate
> version of the package to pull directly from git, and that can be
> a bit unwieldy. Unless you can think of particular issues, I'd
> rather get 4.8.0 working, then adapt the package when 4.8.1 comes
> out. If there are minor workarounds necessary, pkgsrc can apply
> local patches with no problem.

Whatever 'fetching the source' means. I would consider checking out a tagged/
named version from a git repo als as 'fetching the source'. But I have no idea 
about pkgsrc, so this may all be invalid.


>As some background, I've been running KmyMoney2 1.0.5 on NetBSD
> for years, and been quite happy with it. When a recent NetBSD change
> broke the arts package, which is a dependency, I realized that I
> had put myself down as maintainer of the kmymoney2 package, and I
> had been a bit lax about keeping it up to date. So here we are.

That in fact is rather old. Isn't 1.0.x still based on KDE3?

> =>From own experience it would be interesting which cmake version you are
> using. =>Maybe this has some influence on the problem. I hope Christian is
> reading this =>as well. He's most knowledgable about the online task stuff.
> 
>I currently have cmake 3.8.2. It looks like cmake 3.9.0 is
> available, so I can try with that.

I use 3.5.2 here for my KF5 development and the one I used with KDE4 was 
certainly older. So it could be that 3.8.2 might be too new and causing this 
stuff. We've seen this in the past, that using a too new cmake version caused 
trouble.

> =>Another bit of information is if you have KDE4/Qt4 and/or KF5/Qt5
> installed on =>your system. Also the version of the C/C++ compiler is of
> interest.
> 
>I have kdelibs4 4.14.27, qt4-libs 4.8.7, and gcc 5.4.0.

>From what I remember that should be OK.

Let's see if Christian chimes in.


-- 

Regards

Thomas Baumgart

https://www.telegram.org/   Telegram, the better WhatsApp
-
Not everything that counts can be counted,
and not everything that can be counted counts.
-


signature.asc
Description: This is a digitally signed message part.


Re: Error Linking konlinetasks_sepa

2017-07-29 Thread Gary Duzan
In Message <8708737.XCdCEdkXx1@thb-nb>,
   Thomas Baumgart wrote:

=>Hi Gary,
=>
=>On Freitag, 28. Juli 2017 22:22:13 CEST Gary Duzan wrote:
=>
=>>I've been trying to get KMyMoney4 working on NetBSD through pkgsrc/wip,
=>> and have made a fair amount of progress. I have rough packages for
=>> libalkimia, gwenhywfar, and aqbanking compiling, and now I'm working on
=>> kmymoney4 itself. It is currently failing to link konlinetasks_sepa.so,
=>> with multiple definitions from sepaStoragePlugin, one from
=>> plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp and one from
=>> 
plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp
 . I've included the full error below. Does this look
=>> familiar, or do I need to just dive into the cmake stuff? This is with
=>> 4.8.0 sources.
=>
=>I don't see any obvious thing that causes this behavior, but since you work on
=>a new (for KMyMoney AFAICT) environment (NetBSD) and at the same time we have
=>a developer finishing a 4.8.1 release. It might be worthwile to take those
=>sources instead of ancient 4.8.0. You can simply get those from the 4.8 branch
=>of our git repo.

   I'll give that a try if I can, but pkgsrc building includes the
process of fetching the source, so I'd have to have a separate
version of the package to pull directly from git, and that can be
a bit unwieldy. Unless you can think of particular issues, I'd
rather get 4.8.0 working, then adapt the package when 4.8.1 comes
out. If there are minor workarounds necessary, pkgsrc can apply
local patches with no problem.

   As some background, I've been running KmyMoney2 1.0.5 on NetBSD
for years, and been quite happy with it. When a recent NetBSD change
broke the arts package, which is a dependency, I realized that I
had put myself down as maintainer of the kmymoney2 package, and I
had been a bit lax about keeping it up to date. So here we are.

=>From own experience it would be interesting which cmake version you are using.
=>Maybe this has some influence on the problem. I hope Christian is reading this
=>as well. He's most knowledgable about the online task stuff.

   I currently have cmake 3.8.2. It looks like cmake 3.9.0 is
available, so I can try with that.

=>Another bit of information is if you have KDE4/Qt4 and/or KF5/Qt5 installed on
=>your system. Also the version of the C/C++ compiler is of interest.

   I have kdelibs4 4.14.27, qt4-libs 4.8.7, and gcc 5.4.0.

=>I hope we get this sorted out soon.

   Thanks.

Gary Duzan



=>Regards
=>
=>Thomas Baumgart
=>
=>https://www.telegram.org/   Telegram, the better WhatsApp
=>
=>I don't think any of us need any help in this regard, getting
=>rid of money is probably the single most userfriendly interface
=>since breast-feeding... unfortunately. -- A.J. Venter
=>


Re: Error Linking konlinetasks_sepa

2017-07-29 Thread Thomas Baumgart
Hi Gary,

On Freitag, 28. Juli 2017 22:22:13 CEST Gary Duzan wrote:

>I've been trying to get KMyMoney4 working on NetBSD through pkgsrc/wip,
> and have made a fair amount of progress. I have rough packages for
> libalkimia, gwenhywfar, and aqbanking compiling, and now I'm working on
> kmymoney4 itself. It is currently failing to link konlinetasks_sepa.so,
> with multiple definitions from sepaStoragePlugin, one from
> plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp and one from
> plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_s
> epastorageplugin.cpp . I've included the full error below. Does this look
> familiar, or do I need to just dive into the cmake stuff? This is with
> 4.8.0 sources.

I don't see any obvious thing that causes this behavior, but since you work on 
a new (for KMyMoney AFAICT) environment (NetBSD) and at the same time we have 
a developer finishing a 4.8.1 release. It might be worthwile to take those 
sources instead of ancient 4.8.0. You can simply get those from the 4.8 branch 
of our git repo.

From own experience it would be interesting which cmake version you are using. 
Maybe this has some influence on the problem. I hope Christian is reading this 
as well. He's most knowledgable about the online task stuff.

Another bit of information is if you have KDE4/Qt4 and/or KF5/Qt5 installed on 
your system. Also the version of the C/C++ compiler is of interest.

I hope we get this sorted out soon.

-- 

Regards

Thomas Baumgart

https://www.telegram.org/   Telegram, the better WhatsApp
-
I don't think any of us need any help in this regard, getting
rid of money is probably the single most userfriendly interface
since breast-feeding... unfortunately. -- A.J. Venter
-


signature.asc
Description: This is a digitally signed message part.


Error Linking konlinetasks_sepa

2017-07-28 Thread Gary Duzan
   I've been trying to get KMyMoney4 working on NetBSD through pkgsrc/wip, and 
have made a fair
amount of progress. I have rough packages for libalkimia, gwenhywfar, and 
aqbanking compiling, and
now I'm working on kmymoney4 itself. It is currently failing to link 
konlinetasks_sepa.so, with
multiple definitions from sepaStoragePlugin, one from 
plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp
and one from 
plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp
 .
I've included the full error below. Does this look familiar, or do I need to 
just dive into the
cmake stuff? This is with 4.8.0 sources.

   Thanks.

Gary Duzan



[ 77%] Linking CXX shared module ../../../../lib/konlinetasks_sepa.so
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/moc_compilation.cpp.o:
 In function `sepaStoragePlugin::qt_static_metacall(QObject*, QMetaObject::Ca
ll, int, void**)':
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:40:
 multiple definition
 of `sepaStoragePlugin::qt_static_metacall(QObject*, QMetaObject::Call, int, 
void**)'
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp:40:
 first defined here
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/moc_compilation.cpp.o:
 In function `onlineJob::isLocked() const':
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:62:
 multiple definition of `sepaStoragePlugin::metaObject() const'
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp:62:
 first defined here
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/moc_compilation.cpp.o:
 In function `sepaCreditTransferEdit::metaObject() const':
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/UYX5XTB5RZ/moc_sepacredittransferedit.cpp:124:
 multiple definition of `sepaStoragePlugin::staticMetaObject'
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp:40:
 first defined here
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/moc_compilation.cpp.o:
 In function `sepaStoragePlugin::qt_metacast(char const*)':
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:66:
 multiple definition of `sepaStoragePlugin::qt_metacast(char const*)'
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp:66:
 first defined here
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/moc_compilation.cpp.o:
 In function `sepaStoragePlugin::qt_metacall(QMetaObject::Call, int, void**)':
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:79:
 multiple definition of `sepaStoragePlugin::qt_metacall(QMetaObject::Call, int, 
void**)'
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp:79:
 first defined here
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/moc_compilation.cpp.o:
 In function `onlineJob::sendDate() const':
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:62:
 multiple definition of `sepaStoragePlugin::staticMetaObjectExtraData'
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp:40:
 first defined here
/usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), 
which is deprecated and buggy.
/usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), 
which is deprecated and buggy.
/usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), 
which is deprecated and buggy.
kmymoney/plugins/onlinetasks/sepa/CMakeFiles/konlinetasks_sepa.dir/build.make:178:
 recipe for target 'lib/konlinetasks_sepa.so' failed
gmake[2]: *** [lib/konlinetasks_sepa.so] Error 1
CMakeFiles/Makefile2:3509: recipe for target