Bug 479938 - There's something wrong related to `kaccounts-integration` when being built using Qt5/KF5
Summary: There's something wrong related to `kaccounts-integration` when being built u...
Status: REPORTED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: Git
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-17 11:02 UTC by Ganton
Modified: 2024-05-07 08:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The results of the execution of other commands. (1.21 KB, text/plain)
2024-01-17 11:10 UTC, Ganton
Details
The kdesrc-buildrc file. (3.46 KB, text/plain)
2024-01-17 11:12 UTC, Ganton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ganton 2024-01-17 11:02:06 UTC
There's something wrong related to `kaccounts-integration` when being built using Qt5/KF5 (with Kubuntu 23.10, following the steps of https://community.kde.org/Get_Involved/development/More), because *a lot* works well until we arrive to the kaccounts-integration step:

    $ ./kdesrc-build workspace
    [...]
    Building kinit from frameworks (84/140)
            Fetching remote changes to kinit
            Merging kinit changes from branch kf5
            No changes to kinit source code, but proceeding to build anyway.
            Compiling... succeeded (after 0 seconds)
            Installing kinit succeeded (after 0 seconds)

    Building kaccounts-integration from _cmdline (85/140)
            Fetching remote changes to kaccounts-integration
            Merging kaccounts-integration changes from branch master
            Source update complete for kaccounts-integration: no files affected
            Rebuilding because the last configure failed
            Preparing build system for kaccounts-integration.
            Removing files in build directory for kaccounts-integration
            Old build system cleaned, starting new build system.
            Running cmake targeting Kate - Ninja...
            Unable to configure kaccounts-integration with KDE CMake

    kaccounts-integration didn't build, stopping here.                    
    Error updating ocean-sound-theme, removing from list of packages to build.
    > The required git branch does not exist at the source repository

    <<<  PACKAGES FAILED TO BUILD  >>>
    kaccounts-integration - /home/user/kde5/src/log/2024-01-17-01/kaccounts-integration/cmake.log

    Possible solution: Install the build dependencies for the modules:
    kaccounts-integration
    You can use 'sudo apt build-dep <source_package>', 'sudo dnf builddep <package>', 'sudo zypper --plus-content repo-source source-install --build-deps-only <source_package>' or a similar command for your distro of choice.
    See https://community.kde.org/Get_Involved/development/Install_the_dependencies

    Important notification for kaccounts-integration:
        kaccounts-integration has failed to build 4 times.

    :-(
    Your logs are saved in /home/user/kde5/src/log/2024-01-17-01
Comment 1 Ganton 2024-01-17 11:03:28 UTC
In </home/user/kde5/src/log/2024-01-17-01/kaccounts-integration/cmake.log> we can see:
    # kdesrc-build running: 'cmake' '-B' '.' '-S' '/home/user/kde5/src/kaccounts-integration' '-G' 'Kate - Ninja' '-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON' '-DCMAKE_BUILD_TYPE=RelWithDebInfo' '-DCMAKE_CXX_FLAGS:STRING=-pipe' '-DCMAKE_INSTALL_PREFIX=/home/user/kde5/usr'
    # from directory: /home/user/kde5/build/kaccounts-integration
    CMake Deprecation Warning:
    Support for "Extra Generators" like

        Kate

    is deprecated and will be removed from a future version of CMake.  IDEs may
    use the cmake-file-api(7) to view CMake-generated project build trees.


    -- The CXX compiler identification is GNU 13.2.0
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    CMake Error at CMakeLists.txt:23 (find_package):
    Could not find a configuration file for package "ECM" that is compatible
    with requested version "5.240.0".

    The following configuration files were considered but not accepted:

        /home/user/kde5/usr/share/ECM/cmake/ECMConfig.cmake, version: 5.115.0
        /usr/share/ECM/cmake/ECMConfig.cmake, version: 5.110.0

so it seems that it's asking for a 5.240.0 version (which is not available for KF5).
Comment 2 Ganton 2024-01-17 11:10:39 UTC
Created attachment 164974 [details]
The results of the execution of other commands.
Comment 3 Ganton 2024-01-17 11:12:37 UTC
Created attachment 164975 [details]
The kdesrc-buildrc file.
Comment 4 Andrew Shark 2024-05-07 08:05:24 UTC
https://invent.kde.org/sysadmin/repo-metadata/-/issues/17 - currently, there is a problem building this module directly.