Re: [Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

2014-07-23 Thread Cristian Oneț
2014-07-22 23:28 GMT+03:00 Marko Käning mk-li...@email.de:
 Hi Cristian,
 Hi Ian,

Hi Marko,


 On 22 Jul 2014, at 21:59 , Marko Käning mk-li...@email.de wrote:
 That means, KMyMoney’s KF5 port now SUCCESSFULLY BUILT FOR THE 1ST TIME ON 
 OSX!!! :-D

Nice...


 To be fully honest:

 Well, unfortunately I cannot run it successfully:

 ---
 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
 0   libsystem_kernel.dylib  0x7fff85d44866 __pthread_kill + 10
 1   libsystem_pthread.dylib 0x7fff87cac35c pthread_kill + 92
 2   libsystem_c.dylib   0x7fff8c638b1a abort + 125
 3   libQt5Core_debug.5.dylib0x000110c5aaa8 
 qt_message_fatal(QtMsgType, QMessageLogContext const, QString const) + 24
 4   libQt5Core_debug.5.dylib0x000110c5f038 
 qt_message_output(QtMsgType, QMessageLogContext const, QString const) + 72 
 (qlogging.cpp:1379)
 5   libKF5KDELibs4Support.5.dylib   0x000112dfd9ce QDebug::~QDebug() 
 + 222 (qdebug.h:92)
 6   libKF5KDELibs4Support.5.dylib   0x000112df8b85 QDebug::~QDebug() 
 + 21 (qdebug.h:94)
 7   libKF5KDELibs4Support.5.dylib   0x000112edee28 
 KApplicationPrivate::init(bool) + 456 (kapplication.cpp:416)
 8   libKF5KDELibs4Support.5.dylib   0x000112edec02 
 KApplication::KApplication(bool) + 258 (kapplication.cpp:311)
 9   libKF5KDELibs4Support.5.dylib   0x000112edeaf5 
 KApplication::KApplication(bool) + 37 (kapplication.cpp:311)
 10  0x00010fa82613 main + 4579 
 (main.cpp:118)
 11  libdyld.dylib   0x7fff859d75fd start + 1
 ---

 but this doesn’t surprise me at all, as other KF5 applications have similar 
 problems!
 Check out my bug report for kate [1].
 There I also mention khelpcenter and konversation which manage to exit 
 *gracefully* _without_ crashing.

 KMM still belongs to the crashing apps, since it is silently assuming that 
 dbus is present!

I wouldn't call this a crash, as in there is a bug that causes the
application to crash.


 This all is very likely caused by the way my CI system separates all 
 frameworks and applications in their own jails.
 It looks as if the access to the dbus socket isn’t properly done, or whatever 
 else… I haven’t investigated that yet.

 But it may well be that I only need to finally adapt QStandardsPaths, to 
 avoid other hassle, including the dbus issue.

 That will be my next endeavour! :)

 But, perhaps you can try to fix KMM so that it doesn’t rely blindly on dbus 
 without checking (as kate obviously does) and bring it thus to a state like 
 khelpcenter or konversation.

 Qt's apps (Assistant.app etc.) start without problems, but when I try to 
 start qdbusviewer.app it also says Error: Cannot connect to D-Bus: without 
 more details! [1] This might be a not so hard nut for Ian to crack...

 Anyway, I am very happy that we got this far already.

The application exits because of a failed assertion [1] so this is
intended. The problem is that in the environment that you are trying
to run KMyMoneythere is no session bus running. As the code says you
can fix this by launching it yourself running

export $(dbus-launch)

in the console from which you try to launch the application, before
launch (you only need to do this once/console).

Nevertheless there are still runtime issues with frameworks (I know
about one that causes kio to fail to load it's plugins on Windows,
thus fail to work) but this is why we started the build process on
different platforms so we can spot them and fix them.

Let me know if KMyMoney works on Mac if the session bus is running.

Regards,
Cristian

[1] 
https://projects.kde.org/projects/frameworks/kdelibs4support/repository/revisions/master/entry/src/kdeui/kapplication.cpp#L415


 Greets,
 Marko



 [1] https://bugs.kde.org/show_bug.cgi?id=337140#c5




___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

2014-07-23 Thread Marko Käning
Hi Cristian,

On 23 Jul 2014, at 08:51 , Cristian Oneț onet.crist...@gmail.com wrote:
 The application exits because of a failed assertion [1] so this is
 intended.
ok, true. I could have seen it if I had checked on the relevant line of code, 
yes.


 Let me know if KMyMoney works on Mac if the session bus is running.
Same thing happens:
---
$ 
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/office/kmymoney/inst/Applications/KF5/kmymoney.app/Contents/MacOS/kmymoney
 
Could not find drkonqi at 
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kcrash/inst/lib/libexec/drkonqi
kmymoney: set session bus address to 
unix:path=/tmp/launch-F2kEmm/unix_domain_listener
Session bus not found 
To circumvent this problem try the following command (with Linux and bash) 
export $(dbus-launch)
Abort trap: 6
---

But well, I think this all might really be due to the fact that my 
QStandardPaths aren’t yet set correctly.

No problem.

:)

Thanks so far!
Greets,
Marko
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

2014-07-22 Thread Cristian Oneț
Try removing these [1] options. I think we can remove those and let
the build system set the appropriate debug flags.

Regards,
Cristian

[1] 
https://projects.kde.org/projects/extragear/office/kmymoney/repository/revisions/master/entry/CMakeLists.txt#L245

2014-07-22 8:19 GMT+03:00 Marko Käning mk-li...@email.de:
 Hi Cristian,

 now that kdepimlibs can be removed as a necessary dependency I end up in a 
 problem with KDChart:
 ---
 [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCartesianDiagram.cpp.o
 Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaBase.cpp.o
 Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractArea.cpp.o
 Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/ChartGraphicsItem.cpp.o
 Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAxis.cpp.o
 Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaWidget.cpp.o
 Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCoordinatePlane.cpp.o
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) in 
 the future
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCartesianDiagram.cpp.o]
  Error 1
 make[2]: *** Waiting for unfinished jobs
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) in 
 the future
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaBase.cpp.o] 
 Error 1
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) in 
 the future
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) in 
 the future
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAxis.cpp.o] Error 1
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractArea.cpp.o] Error 1
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) in 
 the future
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaWidget.cpp.o] 
 Error 1
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) in 
 the future
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/ChartGraphicsItem.cpp.o] Error 1
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) in 
 the future
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCoordinatePlane.cpp.o]
  Error 1
 make[1]: *** [libkdchart/src/CMakeFiles/kmm_kdchart.dir/all] Error 2
 make: *** [all] Error 2
 ---

 Any idea what can be done about this?

 Greets,
 Marko
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

2014-07-22 Thread Cristian Oneț
Just want to add that it's nice that the project will be built with 3
different compilers (gcc, clang, msvc).

Regards,
Cristian

2014-07-22 10:24 GMT+03:00 Cristian Oneț onet.crist...@gmail.com:
 Try removing these [1] options. I think we can remove those and let
 the build system set the appropriate debug flags.

 Regards,
 Cristian

 [1] 
 https://projects.kde.org/projects/extragear/office/kmymoney/repository/revisions/master/entry/CMakeLists.txt#L245

 2014-07-22 8:19 GMT+03:00 Marko Käning mk-li...@email.de:
 Hi Cristian,

 now that kdepimlibs can be removed as a necessary dependency I end up in a 
 problem with KDChart:
 ---
 [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCartesianDiagram.cpp.o
 Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaBase.cpp.o
 Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractArea.cpp.o
 Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/ChartGraphicsItem.cpp.o
 Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAxis.cpp.o
 Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaWidget.cpp.o
 Building CXX object 
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCoordinatePlane.cpp.o
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) 
 in the future
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCartesianDiagram.cpp.o]
  Error 1
 make[2]: *** Waiting for unfinished jobs
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) 
 in the future
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaBase.cpp.o] 
 Error 1
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) 
 in the future
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) 
 in the future
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAxis.cpp.o] Error 1
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractArea.cpp.o] Error 1
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) 
 in the future
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaWidget.cpp.o] 
 Error 1
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) 
 in the future
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/ChartGraphicsItem.cpp.o] Error 1
 clang: error: unknown argument: '-fno-reorder-blocks' 
 [-Wunused-command-line-argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning) 
 in the future
 make[2]: *** 
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCoordinatePlane.cpp.o]
  Error 1
 make[1]: *** [libkdchart/src/CMakeFiles/kmm_kdchart.dir/all] Error 2
 make: *** [all] Error 2
 ---

 Any idea what can be done about this?

 Greets,
 Marko
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

2014-07-22 Thread Thomas Baumgart
Hi,

On Tuesday 22 July 2014 07:19:38 Marko Käning wrote:

 Hi Cristian,
 
 now that kdepimlibs can be removed as a necessary dependency I end up in a
 problem with KDChart: ---
 [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] Building CXX object
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCartesianDiagram.c
 pp.o Building CXX object
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaBase.cpp.o
 Building CXX object
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractArea.cpp.o
 Building CXX object
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/ChartGraphicsItem.cpp.o Building
 CXX object
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAxis.cpp.o
 Building CXX object
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaWidget.cpp.o
 Building CXX object
 libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCoordinatePlane.cp
 p.o clang: error: unknown argument: '-fno-reorder-blocks'
 [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
 will be a hard error (cannot be downgraded to a warning) in the future
 make[2]: ***
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCartesianDiagram.
 cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs
 clang: error: unknown argument: '-fno-reorder-blocks'
 [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
 will be a hard error (cannot be downgraded to a warning) in the future
 make[2]: ***
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaBase.cpp.o]
 Error 1 clang: error: unknown argument: '-fno-reorder-blocks'
 [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
 will be a hard error (cannot be downgraded to a warning) in the future
 clang: error: unknown argument: '-fno-reorder-blocks'
 [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
 will be a hard error (cannot be downgraded to a warning) in the future
 make[2]: ***
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAxis.cpp.o] Error
 1 make[2]: ***
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractArea.cpp.o] Error
 1 clang: error: unknown argument: '-fno-reorder-blocks'
 [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
 will be a hard error (cannot be downgraded to a warning) in the future
 make[2]: ***
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaWidget.cpp.o]
 Error 1 clang: error: unknown argument: '-fno-reorder-blocks'
 [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
 will be a hard error (cannot be downgraded to a warning) in the future
 make[2]: ***
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/ChartGraphicsItem.cpp.o] Error 1
 clang: error: unknown argument: '-fno-reorder-blocks'
 [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
 will be a hard error (cannot be downgraded to a warning) in the future
 make[2]: ***
 [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCoordinatePlane.c
 pp.o] Error 1 make[1]: *** [libkdchart/src/CMakeFiles/kmm_kdchart.dir/all]
 Error 2 make: *** [all] Error 2
 ---
 
 Any idea what can be done about this?

As Cristian  pointed out: remove the option. It is on by default in O2 and O3.

From https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

-freorder-blocks
Reorder basic blocks in the compiled function in order to reduce number of 
taken branches and improve code locality.

Enabled at levels -O2, -O3.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-
'Either toss the Windows out of your computer,
 or toss your computer out the window!' -- Richard Stallman
-


signature.asc
Description: This is a digitally signed message part.
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

2014-07-22 Thread Cristian Oneț
2014-07-22 8:19 GMT+03:00 Marko Käning mk-li...@email.de:
 Hi Cristian,

 now that kdepimlibs can be removed as a necessary dependency I end up in a 
 problem with KDChart:
[snip]
 Any idea what can be done about this?

This should be fixed now, please give it another try. Btw, the build
of frameworks on Windows works already and the tests run successfully.

Regards,
Cristian


 Greets,
 Marko
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

2014-07-22 Thread Marko Käning
Hi,

On 22 Jul 2014, at 19:21 , Cristian Oneț onet.crist...@gmail.com wrote:
 This should be fixed now, please give it another try. Btw, the build
 of frameworks on Windows works already and the tests run successfully.

your change 67c3fe7dc0078766d2f59a44802bee40fc9bbb3f regarding GMP causes new 
problems for me:
---
Linking CXX static library libkgpgfile.a
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/storage/mymoneystoragexml.cpp:19:
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/storage/mymoneystoragexml.h:32:
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/storage/imymoneyserialize.h:37:
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneyaccount.h:32:
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneymoney.h:52:
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/office/alkimia/inst/include/alkimia/alkvalue.h:23:10:
 fatal error: 'gmpxx.h' file not found
#include gmpxx.h // krazy:exclude=camelcase
 ^
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/plugins/interfaces/kmmimportinterface.cpp:29:
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/kmymoney.h:35:
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneyaccount.h:32:
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneymoney.h:52:
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/office/alkimia/inst/include/alkimia/alkvalue.h:23:10:
 fatal error: 'gmpxx.h' file not found
#include gmpxx.h // krazy:exclude=camelcase
 ^
[ 11%] In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/kmymoneyglobalsettings.cpp:34:
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/widgets/kmymoneymvccombo.h:40:
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneyschedule.h:32:
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneytransaction.h:33:
In file included from 
/Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneymoney.h:52:
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/office/alkimia/inst/include/alkimia/alkvalue.h:23:10:
 fatal error: 'gmpxx.h' file not found
#include gmpxx.h // krazy:exclude=camelcase
 ^
Built target kgpgfile
---

Looks like you missed this somehow.

Greets,
Marko
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

2014-07-22 Thread Cristian Oneț
2014-07-22 21:13 GMT+03:00 Marko Käning mk-li...@email.de:
 Hi,

 On 22 Jul 2014, at 19:21 , Cristian Oneț onet.crist...@gmail.com wrote:
 This should be fixed now, please give it another try. Btw, the build
 of frameworks on Windows works already and the tests run successfully.

 your change 67c3fe7dc0078766d2f59a44802bee40fc9bbb3f regarding GMP causes new 
 problems for me:
 ---
 Linking CXX static library libkgpgfile.a
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/storage/mymoneystoragexml.cpp:19:
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/storage/mymoneystoragexml.h:32:
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/storage/imymoneyserialize.h:37:
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneyaccount.h:32:
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneymoney.h:52:
 /opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/office/alkimia/inst/include/alkimia/alkvalue.h:23:10:
  fatal error: 'gmpxx.h' file not found
 #include gmpxx.h // krazy:exclude=camelcase
  ^
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/plugins/interfaces/kmmimportinterface.cpp:29:
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/kmymoney.h:35:
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneyaccount.h:32:
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneymoney.h:52:
 /opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/office/alkimia/inst/include/alkimia/alkvalue.h:23:10:
  fatal error: 'gmpxx.h' file not found
 #include gmpxx.h // krazy:exclude=camelcase
  ^
 [ 11%] In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/kmymoneyglobalsettings.cpp:34:
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/widgets/kmymoneymvccombo.h:40:
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneyschedule.h:32:
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneytransaction.h:33:
 In file included from 
 /Users/marko/WC/KDECI-builds/kmymoney/kmymoney/mymoney/mymoneymoney.h:52:
 /opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/office/alkimia/inst/include/alkimia/alkvalue.h:23:10:
  fatal error: 'gmpxx.h' file not found
 #include gmpxx.h // krazy:exclude=camelcase
  ^
 Built target kgpgfile
 ---

 Looks like you missed this somehow.

I suspect that this should be fixed in alkimia. I'll take a look at it.


 Greets,
 Marko
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

2014-07-22 Thread Cristian Oneț
2014-07-22 21:13 GMT+03:00 Marko Käning mk-li...@email.de:
 Hi,

 On 22 Jul 2014, at 19:21 , Cristian Oneț onet.crist...@gmail.com wrote:
 This should be fixed now, please give it another try. Btw, the build
 of frameworks on Windows works already and the tests run successfully.

 your change 67c3fe7dc0078766d2f59a44802bee40fc9bbb3f regarding GMP causes new 
 problems for me:
[snip]
 Looks like you missed this somehow.

Could you update libalkimia and after that give this another try?

Regards,
Cristian


 Greets,
 Marko
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

2014-07-22 Thread Marko Käning
Hi Cristian,

On 22 Jul 2014, at 21:22 , Cristian Oneț onet.crist...@gmail.com wrote:
 Could you update libalkimia and after that give this another try?

thanks to your efforts my build failure from before vanished after your change 
to alkimia:
---
MVM2:scripts marko$ ./install.sh kmymoney
--
Project: kmymoney
Calling prepare script
Calling build script
BUILD FAILED
==
MVM2:scripts marko$ ./install.sh alkimia
--
Project: alkimia
Calling prepare script
Calling build script
==
MVM2:scripts marko$ ./install.sh kmymoney rebuild
--
Project: kmymoney
Calling prepare script
Calling build script
==
---




___

 That means, KMyMoney’s KF5 port now SUCCESSFULLY BUILT FOR THE 1ST 
TIME ON OSX!!! :-D

___




You’re just amazing! Thanks for all your work on the frameworks port!

Greets,
Marko




P.S.: Yes, I also think it is very good that we now have 3 different compilers 
building KMM’s sources independently on different OSes! That increases our 
chances to catch things early, so one can hope at least. :)
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

2014-07-22 Thread Marko Käning
Hi Cristian,
Hi Ian,

On 22 Jul 2014, at 21:59 , Marko Käning mk-li...@email.de wrote:
 That means, KMyMoney’s KF5 port now SUCCESSFULLY BUILT FOR THE 1ST TIME ON 
 OSX!!! :-D

To be fully honest:

Well, unfortunately I cannot run it successfully:

---
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib  0x7fff85d44866 __pthread_kill + 10
1   libsystem_pthread.dylib 0x7fff87cac35c pthread_kill + 92
2   libsystem_c.dylib   0x7fff8c638b1a abort + 125
3   libQt5Core_debug.5.dylib0x000110c5aaa8 
qt_message_fatal(QtMsgType, QMessageLogContext const, QString const) + 24
4   libQt5Core_debug.5.dylib0x000110c5f038 
qt_message_output(QtMsgType, QMessageLogContext const, QString const) + 72 
(qlogging.cpp:1379)
5   libKF5KDELibs4Support.5.dylib   0x000112dfd9ce QDebug::~QDebug() + 
222 (qdebug.h:92)
6   libKF5KDELibs4Support.5.dylib   0x000112df8b85 QDebug::~QDebug() + 
21 (qdebug.h:94)
7   libKF5KDELibs4Support.5.dylib   0x000112edee28 
KApplicationPrivate::init(bool) + 456 (kapplication.cpp:416)
8   libKF5KDELibs4Support.5.dylib   0x000112edec02 
KApplication::KApplication(bool) + 258 (kapplication.cpp:311)
9   libKF5KDELibs4Support.5.dylib   0x000112edeaf5 
KApplication::KApplication(bool) + 37 (kapplication.cpp:311)
10  0x00010fa82613 main + 4579 
(main.cpp:118)
11  libdyld.dylib   0x7fff859d75fd start + 1
---

but this doesn’t surprise me at all, as other KF5 applications have similar 
problems!
Check out my bug report for kate [1].
There I also mention khelpcenter and konversation which manage to exit 
*gracefully* _without_ crashing.

KMM still belongs to the crashing apps, since it is silently assuming that dbus 
is present!

This all is very likely caused by the way my CI system separates all frameworks 
and applications in their own jails.
It looks as if the access to the dbus socket isn’t properly done, or whatever 
else… I haven’t investigated that yet.

But it may well be that I only need to finally adapt QStandardsPaths, to avoid 
other hassle, including the dbus issue.

That will be my next endeavour! :)

But, perhaps you can try to fix KMM so that it doesn’t rely blindly on dbus 
without checking (as kate obviously does) and bring it thus to a state like 
khelpcenter or konversation.

Qt's apps (Assistant.app etc.) start without problems, but when I try to start 
qdbusviewer.app it also says Error: Cannot connect to D-Bus: without more 
details! [1] This might be a not so hard nut for Ian to crack...

Anyway, I am very happy that we got this far already.

Greets,
Marko



[1] https://bugs.kde.org/show_bug.cgi?id=337140#c5






kmymoney_2014-07-22-220222_MVM2.crash.gz
Description: GNU Zip compressed data
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


[Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

2014-07-21 Thread Marko Käning
Hi Cristian,

now that kdepimlibs can be removed as a necessary dependency I end up in a 
problem with KDChart:
---
[ 12%] [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] Building CXX object 
libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCartesianDiagram.cpp.o
Building CXX object 
libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaBase.cpp.o
Building CXX object 
libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractArea.cpp.o
Building CXX object 
libkdchart/src/CMakeFiles/kmm_kdchart.dir/ChartGraphicsItem.cpp.o
Building CXX object 
libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAxis.cpp.o
Building CXX object 
libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaWidget.cpp.o
Building CXX object 
libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCoordinatePlane.cpp.o
clang: error: unknown argument: '-fno-reorder-blocks' 
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in 
the future
make[2]: *** 
[libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCartesianDiagram.cpp.o]
 Error 1
make[2]: *** Waiting for unfinished jobs
clang: error: unknown argument: '-fno-reorder-blocks' 
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in 
the future
make[2]: *** 
[libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaBase.cpp.o] Error 
1
clang: error: unknown argument: '-fno-reorder-blocks' 
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in 
the future
clang: error: unknown argument: '-fno-reorder-blocks' 
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in 
the future
make[2]: *** 
[libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAxis.cpp.o] Error 1
make[2]: *** 
[libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractArea.cpp.o] Error 1
clang: error: unknown argument: '-fno-reorder-blocks' 
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in 
the future
make[2]: *** 
[libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaWidget.cpp.o] 
Error 1
clang: error: unknown argument: '-fno-reorder-blocks' 
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in 
the future
make[2]: *** 
[libkdchart/src/CMakeFiles/kmm_kdchart.dir/ChartGraphicsItem.cpp.o] Error 1
clang: error: unknown argument: '-fno-reorder-blocks' 
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in 
the future
make[2]: *** 
[libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCoordinatePlane.cpp.o]
 Error 1
make[1]: *** [libkdchart/src/CMakeFiles/kmm_kdchart.dir/all] Error 2
make: *** [all] Error 2
---

Any idea what can be done about this?

Greets,
Marko
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel