Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919680 - [kde overlay] kde-plasma/plasma-integration-9999 build is using KF5 packages
Summary: [kde overlay] kde-plasma/plasma-integration-9999 build is using KF5 packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-10 09:01 UTC by Rachid Achellal
Modified: 2023-12-12 18:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rachid Achellal 2023-12-10 09:01:46 UTC
The plasma-integration build is using the KF5 packages.

Appending /gentoo to PORTDIR_OVERLAY...
Forcing test.
>>> Unpacking source...
 * Repository id: plasma_plasma-integration.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_PLASMA_PLASMA_INTEGRATION
 *   EGIT_OVERRIDE_BRANCH_PLASMA_PLASMA_INTEGRATION
 *   EGIT_OVERRIDE_COMMIT_PLASMA_PLASMA_INTEGRATION
 *   EGIT_OVERRIDE_COMMIT_DATE_PLASMA_PLASMA_INTEGRATION
 *
 * Fetching https://invent.kde.org/plasma/plasma-integration.git ...
git fetch https://invent.kde.org/plasma/plasma-integration.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/kde-plasma/plasma-integration/6/__main__ refs/git-r3/HEAD
 * Checking out https://invent.kde.org/plasma/plasma-integration.git to /var/tmp/portage/kde-plasma/plasma-integration-9999/work/plasma-integration-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
   repository:               https://invent.kde.org/plasma/plasma-integration.git
   at the commit:            042b5fcf75f65e5e219167d0820853648833e84d
>>> Source unpacked in /var/tmp/portage/kde-plasma/plasma-integration-9999/work
>>> Preparing source in /var/tmp/portage/kde-plasma/plasma-integration-9999/work/plasma-integration-9999 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/kde-plasma/plasma-integration-9999/work/plasma-integration-9999"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/kde-plasma/plasma-integration-9999/work/plasma-integration-9999_build"
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/kde-plasma/plasma-integration-9999/work/plasma-integration-9999 ...
/var/tmp/portage/kde-plasma/plasma-integration-9999/temp/environment: line 3090: BUILD_QT6: command not found
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/kde-plasma/plasma-integration-9999/work/plasma-integration-9999"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/kde-plasma/plasma-integration-9999/work/plasma-integration-9999_build"
cmake -C /var/tmp/portage/kde-plasma/plasma-integration-9999/work/plasma-integration-9999_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/kde-plasma/plasma-integration-9999/work/plasma-integration-9999_build/gentoo_toolchain.cmake /var/tmp/portage/kde-plasma/plasma-integration-9999/work/plasma-integration-9999
loading initial cache file /var/tmp/portage/kde-plasma/plasma-integration-9999/work/plasma-integration-9999_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found Wayland_Client: /usr/lib64/libwayland-client.so (found version "1.22.0")
-- Found Wayland: /usr/lib64/libwayland-client.so (found suitable version "1.22.0", minimum required is "1.9") found components: Client
-- Found XCB_XCB: /usr/lib64/libxcb.so (found version "1.16")
-- Found XCB: /usr/lib64/libxcb.so (found version "1.16") found components: XCB
-- Warning: Property URL already set to "https://xcb.freedesktop.org/", overriding it with "https://xcb.freedesktop.org"
CMake Warning at CMakeLists.txt:60 (find_package):
  By not providing "FindFontNotoSans.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "FontNotoSans", but CMake did not find one.

  Could not find a package configuration file provided by "FontNotoSans" with
  any of the following names:

    FontNotoSansConfig.cmake
    fontnotosans-config.cmake

  Add the installation prefix of "FontNotoSans" to CMAKE_PREFIX_PATH or set
  "FontNotoSans_DIR" to a directory containing one of the above files.  If
  "FontNotoSans" provides a separate development package or SDK, be sure it
  has been installed.


CMake Warning at CMakeLists.txt:66 (find_package):
  By not providing "FindFontNotoColorEmoji.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "FontNotoColorEmoji", but CMake did not find one.

  Could not find a package configuration file provided by
  "FontNotoColorEmoji" with any of the following names:

    FontNotoColorEmojiConfig.cmake
    fontnotocoloremoji-config.cmake

  Add the installation prefix of "FontNotoColorEmoji" to CMAKE_PREFIX_PATH or
  set "FontNotoColorEmoji_DIR" to a directory containing one of the above
  files.  If "FontNotoColorEmoji" provides a separate development package or
  SDK, be sure it has been installed.


CMake Warning at CMakeLists.txt:72 (find_package):
  By not providing "FindFontHack.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "FontHack",
  but CMake did not find one.

  Could not find a package configuration file provided by "FontHack" with any
  of the following names:

    FontHackConfig.cmake
    fonthack-config.cmake

  Add the installation prefix of "FontHack" to CMAKE_PREFIX_PATH or set
  "FontHack_DIR" to a directory containing one of the above files.  If
  "FontHack" provides a separate development package or SDK, be sure it has
  been installed.


CMake Warning at CMakeLists.txt:78 (find_package):
  By not providing "FindXDGDesktopPortalKDE.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "XDGDesktopPortalKDE", but CMake did not find one.

  Could not find a package configuration file provided by
  "XDGDesktopPortalKDE" with any of the following names:

    XDGDesktopPortalKDEConfig.cmake
    xdgdesktopportalkde-config.cmake

  Add the installation prefix of "XDGDesktopPortalKDE" to CMAKE_PREFIX_PATH
  or set "XDGDesktopPortalKDE_DIR" to a directory containing one of the above
  files.  If "XDGDesktopPortalKDE" provides a separate development package or
  SDK, be sure it has been installed.


-- Found clang-format version 16
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Could NOT find KF5Config (missing: KF5Config_DIR)
-- Could NOT find KF5Config: found neither KF5ConfigConfig.cmake nor kf5config-config.cmake
CMake Warning at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  By not providing "FindKF5Config.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "KF5Config", but CMake did not find one.

  Could not find a package configuration file provided by "KF5Config"
  (requested version 5.112.0) with any of the following names:

    KF5ConfigConfig.cmake
    kf5config-config.cmake

  Add the installation prefix of "KF5Config" to CMAKE_PREFIX_PATH or set
  "KF5Config_DIR" to a directory containing one of the above files.  If
  "KF5Config" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake:42 (find_dependency)
  /usr/share/ECM/find-modules/FindKF5.cmake:52 (find_package)
  qt5/CMakeLists.txt:15 (find_package)


CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:52 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake

  but it set KF5ConfigWidgets_FOUND to FALSE so package "KF5ConfigWidgets" is
  considered to be NOT FOUND.  Reason given by package:

  KF5ConfigWidgets could not be found because dependency KF5Config could not
  be found.

Call Stack (most recent call first):
  qt5/CMakeLists.txt:15 (find_package)


-- Could NOT find KF5ConfigWidgets (found version "5.112.0"), checked the following files:
    /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (version 5.112.0)
    Reason given by package: KF5ConfigWidgets could not be found because dependency KF5Config could not be found.

-- Could NOT find KF5I18n (missing: KF5I18n_DIR)
-- Could NOT find KF5I18n: found neither KF5I18nConfig.cmake nor kf5i18n-config.cmake
-- Found KF5IconThemes: /usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.112.0")
CMake Warning at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  By not providing "FindKF5Config.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "KF5Config", but CMake did not find one.

  Could not find a package configuration file provided by "KF5Config"
  (requested version 5.112.0) with any of the following names:

    KF5ConfigConfig.cmake
    kf5config-config.cmake

  Add the installation prefix of "KF5Config" to CMAKE_PREFIX_PATH or set
  "KF5Config_DIR" to a directory containing one of the above files.  If
  "KF5Config" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake:44 (find_dependency)
  /usr/share/ECM/find-modules/FindKF5.cmake:52 (find_package)
  qt5/CMakeLists.txt:15 (find_package)


CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:52 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake

  but it set KF5KIO_FOUND to FALSE so package "KF5KIO" is considered to be
  NOT FOUND.  Reason given by package:

  KF5KIO could not be found because dependency KF5Config could not be found.

Call Stack (most recent call first):
  qt5/CMakeLists.txt:15 (find_package)


-- Could NOT find KF5KIO (found version "5.112.0"), checked the following files:
    /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (version 5.112.0)
    Reason given by package: KF5KIO could not be found because dependency KF5Config could not be found.

-- Could NOT find KF5Notifications (missing: KF5Notifications_DIR)
-- Could NOT find KF5Notifications: found neither KF5NotificationsConfig.cmake nor kf5notifications-config.cmake
-- Could NOT find KF5WindowSystem (missing: KF5WindowSystem_DIR)
-- Could NOT find KF5WindowSystem: found neither KF5WindowSystemConfig.cmake nor kf5windowsystem-config.cmake
-- Could NOT find KF5Wayland (missing: KF5Wayland_DIR)
-- Could NOT find KF5Wayland: found neither KF5WaylandConfig.cmake nor kf5wayland-config.cmake
-- Could NOT find KF5GuiAddons (missing: KF5GuiAddons_DIR)
-- Could NOT find KF5GuiAddons: found neither KF5GuiAddonsConfig.cmake nor kf5guiaddons-config.cmake
-- Could NOT find KF5XmlGui (missing: KF5XmlGui_DIR)
-- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find KF5 (missing: Config ConfigWidgets I18n KIO Notifications
  WindowSystem Wayland GuiAddons XmlGui) (found suitable version "5.112.0",
  minimum required is "5.102.0")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args)
  qt5/CMakeLists.txt:15 (find_package)


-- Configuring incomplete, errors occurred!
 * ERROR: kde-plasma/plasma-integration-9999::kde failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3091:  Called cmake_src_configure
 *   environment, line 1330:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";



Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2023-12-10 17:08:56 UTC
Yes, it contains both KF6 and KF5 paths for legacy applications integration.
Comment 2 Larry the Git Cow gentoo-dev 2023-12-12 18:58:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=d2b9ed3bc147249e8f1063285d869b3555c9fd20

commit d2b9ed3bc147249e8f1063285d869b3555c9fd20
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-12-12 18:43:06 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-12-12 18:58:07 +0000

    kde-plasma/plasma-integration: Add IUSE qt5, update dependencies
    
    Upstream commits:
    c42f6f220c29fe1dfba6f5bf86fcdfe4540ed9a7
    fbe7c3e844ea168f8a68893d6f2c7e3e79ce0fdb
    1f6a4d44814201317c1febd70c04e7f994088810
    945bf9e47946264f88b8770dfa7bca67dc2a868a
    6e0ecb6b7b070f54bb223a1b3d1e3ef6eaceea07
    ca195f4737215f060c92f30e05d9ebe02cf6ca98
    
    Closes: https://bugs.gentoo.org/919680
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../plasma-integration-9999.ebuild                 | 45 +++++++++++++++++++---
 1 file changed, 39 insertions(+), 6 deletions(-)