https://bugs.kde.org/show_bug.cgi?id=495333
Bug ID: 495333 Summary: Skrooge not building Classification: Applications Product: skrooge Version: Trunk from git Platform: Slackware OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: steph...@mankowski.fr Reporter: jesusm.diazpe...@gmail.com Target Milestone: --- 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 -- You are receiving this mail because: You are watching all bug changes.