SUMMARY Since the changes in preparation for kf6/qt6, I can't make Skrooge to build. STEPS TO REPRODUCE 1. Clone a fresh copy of Skrooge (git clone https://invent.kde.org/office/skrooge.git) 2. Create configuration file (cmake .. -DCMAKE_INSTALL_PREFIX=$(kf5-config --prefix) -DQT_PLUGIN_INSTALL_DIR=$(kf5-config --qt-plugins) -DSKG_WEBENGINE=ON -DCMAKE_BUILD_TYPE=release -DSKG_BUILD_TEST=OFF -DSKG_DESIGNER=OFF) 3. Try to compile (make) OBSERVED RESULT root@liet:[Instalables]# git clone https://invent.kde.org/office/skrooge.git Cloning into 'skrooge'... remote: Enumerating objects: 95740, done. remote: Counting objects: 100% (2684/2684), done. remote: Compressing objects: 100% (629/629), done. remote: Total 95740 (delta 2194), reused 2317 (delta 1932), pack-reused 93056 (from 1) Receiving objects: 100% (95740/95740), 180.41 MiB | 7.06 MiB/s, done. Resolving deltas: 100% (81411/81411), done. root@liet:[Instalables]# root@liet:[Instalables]# cd skrooge/ root@liet:[skrooge]# mkdir build && cd build root@liet:[build]# root@liet:[build]# cmake .. -DCMAKE_INSTALL_PREFIX=$(kf5-config --prefix) -DQT_PLUGIN_INSTALL_DIR=$(kf5-config --qt-plugins) -DSKG_WEBENGINE=ON -DCMAKE_BUILD_TYPE=release -DSKG_BUILD_TEST=OFF -DSKG_DESIGNER=OFF QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' -- ..:: CMAKE ROOT ::.. -- Could not set up the appstream test. appstreamcli is missing. -- Using Qt5/KF5 to build Skrooge -- DBUS enabled -- Found KF5: success (found suitable version "5.116.0", minimum required is "5.102.0") found components: Archive Config CoreAddons I18n ItemViews WidgetsAddons WindowSystem Completion JobWidgets ConfigWidgets IconThemes KIO NewStuffCore NewStuff Parts Wallet XmlGui -- Found KF5: success (found suitable version "5.116.0", minimum required is "5.102.0") found components: NewStuffQuick -- Mode SQLCIPHER enabled -- SQLCIPHER INCLUDE : /usr/include/sqlcipher -- GRANTLEE VERSION : 5.3.0 -- PROJECT_SOURCE_DIR : /mnt/warehouse/Instalables/skrooge -- PROJECT_BINARY_DIR : /mnt/warehouse/Instalables/skrooge/build -- CMAKE_BUILD_TYPE : release -- CMAKE_MODULE_PATH : /usr/share/ECM/modules//usr/share/ECM/find-modules//usr/share/ECM/kde-modules//mnt/warehouse/Instalables/skrooge/cmake/modules -- CMAKE_INSTALL_PREFIX : /usr -- SKG_BUILD_TEST : OFF (...) -- ..:: CMAKE PLUGIN_IMPORT_XML ::.. -- ..:: CMAKE PLUGIN_ADD_OPERATION ::.. -- Found KF5: success (found suitable version "5.116.0", minimum required is "5.102.0") found components: Runner -- ..:: CMAKE IMAGES ::.. -- ..:: CMAKE IMAGES/LOGOS ::.. -- ..:: CMAKE SKROOGE ::.. -- DBUS enabled -- Mode WebEngine -- Found KF5: success (found suitable version "5.116.0", minimum required is "5.102.0") found components: DBusAddons -- ..:: CMAKE SKROOGECONVERT ::.. -- The following OPTIONAL packages have been found: * KF5Activities * LibOfx * KF5Runner (required version >= 5.102.0) * KF5DocTools -- The following REQUIRED packages have been found: * ECM (required version >= 5.102.0) * Qt5Sql * Qt5Test * Qt5PrintSupport * Qt5Svg * Qt5Qml * Qt5QmlModels (required version >= 5.15.15) (...) * Qt5 * KF5DBusAddons (required version >= 5.102.0) * KF5 (required version >= 5.102.0) * SharedMimeInfo, A database of common MIME types, <https://freedesktop.org/wiki/Software/shared-mime-info/> -- Configuring done (0.4s) -- Generating done (0.5s) -- Build files have been written to: /mnt/warehouse/Instalables/skrooge/build root@liet:[build]# root@liet:[build]# make [ 1%] Generating mo... [ 1%] Built target pofiles-d485d72491b09e40d9836c7a3ee3f59f [ 2%] Generating ts... [ 2%] Built target tsfiles-d485d72491b09e40d9836c7a3ee3f59f [ 2%] Generating po/ca/docs/skrooge/index.cache.bz2 [ 2%] Built target po-ca-docs-skrooge-index-cache-bz2 [ 2%] Generating po/de/docs/skrooge/index.cache.bz2 [ 2%] Built target po-de-docs-skrooge-index-cache-bz2 [ 2%] Generating po/es/docs/skrooge/index.cache.bz2 [ 2%] Built target po-es-docs-skrooge-index-cache-bz2 [ 3%] Generating po/fr/docs/skrooge/index.cache.bz2 [ 3%] Built target po-fr-docs-skrooge-index-cache-bz2 [ 3%] Generating po/it/docs/skrooge/index.cache.bz2 [ 3%] Built target po-it-docs-skrooge-index-cache-bz2 [ 3%] Generating po/lt/docs/skrooge/index.cache.bz2 [ 3%] Built target po-lt-docs-skrooge-index-cache-bz2 [ 3%] Generating po/nl/docs/skrooge/index.cache.bz2 [ 3%] Built target po-nl-docs-skrooge-index-cache-bz2 [ 3%] Generating po/pt/docs/skrooge/index.cache.bz2 [ 3%] Built target po-pt-docs-skrooge-index-cache-bz2 [ 4%] Generating po/pt_BR/docs/skrooge/index.cache.bz2 I/O warning : failed to load "/usr/share/kf5/kdoctools/customization/xsl/pt-BR.xml": No such file or directory No "pt_br" localization of "footer-doc-comment" exists; using "en". No "pt_br" localization of "footer-doc-feedback" exists; using "en". (...) No "pt_br" localization of "footer-doc-comment" exists; using "en". No "pt_br" localization of "footer-doc-feedback" exists; using "en". No "pt_br" localization of "footer-doc-teamname" exists; using "en". [ 4%] Built target po-pt-BR-docs-skrooge-index-cache-bz2 [ 4%] Generating po/ru/docs/skrooge/index.cache.bz2 [ 4%] Built target po-ru-docs-skrooge-index-cache-bz2 [ 4%] Generating po/sv/docs/skrooge/index.cache.bz2 [ 4%] Built target po-sv-docs-skrooge-index-cache-bz2 [ 4%] Generating po/uk/docs/skrooge/index.cache.bz2 [ 4%] Built target po-uk-docs-skrooge-index-cache-bz2 [ 4%] Built target libskgsqlcipher_autogen_timestamp_deps [ 5%] Automatic MOC for target libskgsqlcipher [ 5%] Built target libskgsqlcipher_autogen (...) [ 91%] Building CXX object plugins/import/skrooge_import_mt940/CMakeFiles/skrooge_import_mt940.dir/skgimportpluginmt940.cpp.o [ 91%] Linking CXX shared module ../../../bin/skrooge_import/skrooge_import_mt940.so [ 91%] Built target skrooge_import_mt940 [ 91%] Built target skrooge_import_ofx_autogen_timestamp_deps [ 91%] Automatic MOC for target skrooge_import_ofx [ 91%] Built target skrooge_import_ofx_autogen [ 92%] Building CXX object plugins/import/skrooge_import_ofx/CMakeFiles/skrooge_import_ofx.dir/skrooge_import_ofx_autogen/mocs_compilation.cpp.o [ 92%] Building CXX object plugins/import/skrooge_import_ofx/CMakeFiles/skrooge_import_ofx.dir/skgimportpluginofx.cpp.o [ 92%] Linking CXX shared module ../../../bin/skrooge_import/skrooge_import_ofx.so /usr/bin/ld: /usr/local/lib/libofx.a(file_preproc.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status make[2]: *** [plugins/import/skrooge_import_ofx/CMakeFiles/skrooge_import_ofx.dir/build.make:121: bin/skrooge_import/skrooge_import_ofx.so] Error 1 make[1]: *** [CMakeFiles/Makefile2:17713: plugins/import/skrooge_import_ofx/CMakeFiles/skrooge_import_ofx.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 root@liet:[build]# EXPECTED RESULT SOFTWARE/OS VERSIONS Linux/KDE Plasma: Slackware 15.0+ 6.11.5 x86_64 KDE Plasma Version: 5.27.11 KDE Frameworks: 5.116.0 Qt Version: 5.15.15 ADDITIONAL INFORMATION
Could you try to remove your build directory and rebuild all ?
As said, it was a fresh clone from git, and the build dir didn't exist until I created: root@liet:[Instalables]# git clone https://invent.kde.org/office/skrooge.git Cloning into 'skrooge'... remote: Enumerating objects: 95740, done. remote: Counting objects: 100% (2684/2684), done. remote: Compressing objects: 100% (629/629), done. remote: Total 95740 (delta 2194), reused 2317 (delta 1932), pack-reused 93056 (from 1) Receiving objects: 100% (95740/95740), 180.41 MiB | 7.06 MiB/s, done. Resolving deltas: 100% (81411/81411), done. root@liet:[Instalables]# root@liet:[Instalables]# cd skrooge/ root@liet:[skrooge]# mkdir build && cd build root@liet:[build]# Anyway, I did it again and exact same result. Apparently the error is related to libofx. I've been using libofx-0.9.11 and 0.10.9 with no difference. And the dependencies check finds it fine: -- The following OPTIONAL packages have been found: * KF5Activities * LibOfx * KF5Runner (required version >= 5.102.0) * KF5DocTools
Since the libofx package was optional and I was not really using the features, I just removed it. And the building process progressed a bit more, but now the issue seems to be with KRunner: -- The following OPTIONAL packages have been found: * KF5Activities * KF5Runner (required version >= 5.102.0) * KF5DocTools (...) -- The following OPTIONAL packages have not been found: * LibOfx --- [ 97%] Built target skrooge_add_operation_autogen_timestamp_deps [ 98%] Automatic MOC for target skrooge_add_operation [ 98%] Built target skrooge_add_operation_autogen [ 98%] Building CXX object plugins/krunner/skrooge_add_operation/CMakeFiles/skrooge_add_operation.dir/skrooge_add_operation_autogen/mocs_compilation.cpp.o [ 98%] Building CXX object plugins/krunner/skrooge_add_operation/CMakeFiles/skrooge_add_operation.dir/skgaddoperation.cpp.o /mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp: In constructor ‘SKGAddOperation::SKGAddOperation(QObject*, const QVariantList&)’: /mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp:28:35: warning: ‘Plasma::AbstractRunner::AbstractRunner(QObject*, const QVariantList&)’ is deprecated: Since 5.77. use AbstractRunner(QObject *, const KPluginMetaData &, const QVariantList &) [-Wdeprecated-declarations] 28 | : AbstractRunner(iParent, args) | ^ In file included from /mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.h:9, from /mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp:6: /usr/include/KF5/KRunner/krunner/abstractrunner.h:487:5: note: declared here 487 | AbstractRunner(QObject *parent, const QVariantList &args); | ^~~~~~~~~~~~~~ /mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp: In member function ‘virtual void SKGAddOperation::reloadConfiguration()’: /mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp:43:27: warning: ‘void Plasma::RunnerSyntax::addExampleQuery(const QString&)’ is deprecated: Since 5.106. Use constructor taking example query QStringList [-Wdeprecated-declarations] 43 | syntax.addExampleQuery(i18nc("Example of krunner command", "%1 10 computer", m_triggerWord)); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/KF5/KRunner/krunner/abstractrunner.h:40: /usr/include/KF5/KRunner/krunner/runnersyntax.h:86:10: note: declared here 86 | void addExampleQuery(const QString &exampleQuery); | ^~~~~~~~~~~~~~~ /mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp: In member function ‘virtual void SKGAddOperation::run(const Plasma::RunnerContext&, const Plasma::QueryMatch&)’: /mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp:77:81: error: ‘class QLatin1String’ hasno member named ‘length’ 77 | QString s = iMatch.id().remove(0, QLatin1String("skroogeaddoperation_").length()); | ^~~~~~ make[2]: *** [plugins/krunner/skrooge_add_operation/CMakeFiles/skrooge_add_operation.dir/build.make:96: plugins/krunner/skrooge_add_operation/CMakeFiles/skrooge_add_operation.dir/skgaddoperation.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:5910: plugins/krunner/skrooge_add_operation/CMakeFiles/skrooge_add_operation.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 --- This happens with a fresh clone with git, but it builds fine if I try with the 'official' 2.33.0 sources package, that's why I guess it has something to do with the preparations to KF6/QT6
Hi, Could you try again (including with libofx) ? I don't know what is it, so I try with old compilation option.
As per your request, I reinstalled libofx, and then I tried to build Skrooge from the stable sources for 2.33.0 and from a fresh git clone. In both cases the cmake command I used was: cmake .. -DCMAKE_INSTALL_PREFIX=$(kf5-config --prefix) -DQT_PLUGIN_INSTALL_DIR=$(kf5-config --qt-plugins) -DSKG_WEBENGINE=ON -DCMAKE_BUILD_TYPE=release -DSKG_BUILD_TEST=OFF -DSKG_DESIGNER=OFF And in both cases it worked apparently fine. I have no clue if any of the new changes you pushed fix whatever incompatibility I was having or what else, but the thing is that it is working now.
And something strange happened ... As I commented yesterday, I built using the stable 2.33.0 sources, and the git-current code. Apparently both worked fine, and I made the 'make install' with the 2.34.0beta (git-current). Today adding a new transactions was looking for an old one, I opened the transactions page for the account, typed the keyword in the search box ... and nothing happened. No filtering. I closed Skrooge, 'make install' the 2.33.0 version, tried the same search, and it worked fine. I believe the search in the transactions page is handled by KRunner, one of the packages that was giving me problems? I don't know, the fact is that with the exact same environment in my PC, and built using the exact same 'cmake' configuration, the 2.33.0 works fine while the git-current can't search within the transactions page (I don't know if there are more issues, that is the one I found for the time being).
The filtering issue on tables was a regression due to qt6/kf6 migration. This should be fixed now on the last version in git.
Was re-building after I saw the commit ... but unfortunately it is not working fine, same symptom than before: the filter is basically ignored.
and after the last change to 'skgbasegui/skgsortfilterproxymodel.cpp', it seems to be working fine now. if I see any more issues, I will report them. Thanks!
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.