Errors Compiling KMM on Fedora 40

Brendan Coupe 3 at Coupe7.com
Mon Oct 21 18:04:23 BST 2024


I need to move on from Fedora 39 in the next month or two since it will 
no longer get updates. I have setup a test system that is running Fedora 
40 and i have attempted to compile both the master branch and the 5.1 
branch on it. They both compile, install and run properly on Fedora 39. 
My data file is XML based and encrypted.

Master Branch:

==============

Compiling KMM fails about half way through:

[ 50%] Automatic MOC for target kmmreport-export
[ 50%] Built target kmmreport-export_autogen
[ 51%] Building CXX object 
tools/CMakeFiles/kmmreport-export.dir/kmmreport-export.cpp.o
[ 51%] Building CXX object 
tools/CMakeFiles/kmmreport-export.dir/kmmreport-export_autogen/mocs_compilation.cpp.o
[ 51%] Built target xmlstorage
[ 51%] Built target mymoneystoragenames-test
[ 51%] Linking CXX shared library ../../lib/libkmm_models.so
/usr/local/src/kmm/kmymoney-2024.10.21-10.11.34-GIT-MASTER/tools/kmmreport-export.cpp:26:10: 
fatal error: objectinfotable.h: No such file or directory
    26 | #include "objectinfotable.h"
       |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tools/CMakeFiles/kmmreport-export.dir/build.make:96: 
tools/CMakeFiles/kmmreport-export.dir/kmmreport-export.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2287: 
tools/CMakeFiles/kmmreport-export.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 51%] Built target kmm_models
make: *** [Makefile:146: all] Error 2

5.1 Branch:

==========

Compiling and installation complete. When I run KMM I get the following 
error in a popup window:

Cannot open file as requested

Cannot read the file: /home/bcoupe/KMM/Coupes.kmy 
/usr/local/src/kmm/kmymoney-2024.10.21-10.16.00-GIT-5.1/kmymoney/plugins/xml/xmlstorage.cpp:140

The XML storage plugin is enabled and the encryption settings look the 
same as on F39.

I get the following messages on the command line:

WebConnect: Running in server mode
kf.xmlgui: Shortcut for action  "transaction_select_all" "Select all" 
set with QAction::setShortcut()! Use 
KActionCollection::setDefaultShortcut(s) instead.
kf.xmlgui: Shortcut for action  "transaction_mark_toggle" "Toggle" set 
with QAction::setShortcut()! Use 
KActionCollection::setDefaultShortcut(s) instead.
kf.xmlgui: Shortcut for action  "transaction_mark_cleared" "Cleared" set 
with QAction::setShortcut()! Use 
KActionCollection::setDefaultShortcut(s) instead.
kf.xmlgui: Shortcut for action  "transaction_mark_reconciled" 
"Reconciled" set with QAction::setShortcut()! Use 
KActionCollection::setDefaultShortcut(s) instead.
kf.xmlgui: Shortcut for action  "transaction_assign_number" "Assign next 
number" set with QAction::setShortcut()! Use 
KActionCollection::setDefaultShortcut(s) instead.
kf.xmlgui: Shortcut for action  "transaction_new" "New" set with 
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) 
instead.
kf.xmlgui: Shortcut for action  "account_reconcile" "Reconcile..." set 
with QAction::setShortcut()! Use 
KActionCollection::setDefaultShortcut(s) instead.
kf.xmlgui: Shortcut for action  "view_hide_unused_categories" "Hide 
unused categories" set with QAction::setShortcut()! Use 
KActionCollection::setDefaultShortcut(s) instead.
kf.xmlgui: Shortcut for action  "view_show_all_accounts" "Show all 
accounts" set with QAction::setShortcut()! Use 
KActionCollection::setDefaultShortcut(s) instead.
kf.xmlgui: Shortcut for action  "edit_find_transaction" "Find 
transaction..." set with QAction::setShortcut()! Use 
KActionCollection::setDefaultShortcut(s) instead.
kf.xmlgui: Shortcut for action  "view_show_transaction_detail" "Show 
Transaction Detail" set with QAction::setShortcut()! Use 
KActionCollection::setDefaultShortcut(s) instead.
kf.xmlgui: Shortcut for action "view_hide_reconciled_transactions" "Hide 
reconciled transactions" set with QAction::setShortcut()! Use 
KActionCollection::setDefaultShortcut(s) instead.
3:2024/10/21 10-20-41:(null)(29960):banking_update.c:  610: No AqBanking 
config folder found at [/home/bcoupe/.aqbanking/settings6/users] (-1)
3:2024/10/21 10-20-41:(null)(29960):banking_update.c:  610: No AqBanking 
config folder found at [/home/bcoupe/.aqbanking/settings/users] (-1)
3:2024/10/21 10-20-41:(null)(29960):banking_update.c:  411: There is no 
old settings folder, need initial setup
"kmymoneyLIMfeE" Python module failed to load
Traceback (most recent call last):
   File "/tmp/kmymoneyLIMfeE.py", line 10, in <module>
     import logging.config
   File "/usr/lib64/python3.12/logging/config.py", line 31, in <module>
     import logging.handlers
   File "/usr/lib64/python3.12/logging/handlers.py", line 26, in <module>
     import io, logging, socket, os, pickle, struct, time, re
   File "/usr/lib64/python3.12/socket.py", line 52, in <module>
     import _socket
ImportError: 
/usr/lib64/python3.12/lib-dynload/_socket.cpython-312-x86_64-linux-gnu.so: 
undefined symbol: PyByteArray_Type

(kmymoney:29960): GLib-GIO-CRITICAL **: 10:25:37.393: GFileInfo created 
without standard::icon

(kmymoney:29960): GLib-GIO-CRITICAL **: 10:25:37.393: file 
../gio/gfileinfo.c: line 1765 (g_file_info_get_icon): should not be reached

(kmymoney:29960): GLib-GIO-CRITICAL **: 10:25:37.399: GFileInfo created 
without standard::icon

(kmymoney:29960): GLib-GIO-CRITICAL **: 10:25:37.399: file 
../gio/gfileinfo.c: line 1765 (g_file_info_get_icon): should not be reached

(kmymoney:29960): GLib-GIO-CRITICAL **: 10:25:37.401: GFileInfo created 
without standard::icon

(kmymoney:29960): GLib-GIO-CRITICAL **: 10:25:37.401: file 
../gio/gfileinfo.c: line 1765 (g_file_info_get_icon): should not be reached


-- 
**
*Brendan Coupe*
*3 at Coupe7.com*




More information about the KMyMoney-devel mailing list