Bug 456582 - 5.96.0: cmake fails on `plasma_appletscript_declarative` target
Summary: 5.96.0: cmake fails on `plasma_appletscript_declarative` target
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (show other bugs)
Version: 5.96.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-11 11:29 UTC by kloczek
Modified: 2024-03-25 21:40 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kloczek 2022-07-11 11:29:20 UTC
```
+ /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S . -D BUILD_QCH=ON -D BUILD_TESTING=ON
-- The C compiler identification is GNU 12.1.1
-- The CXX compiler identification is GNU 12.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/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/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
--

CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:133 (message):
  LIB_INSTALL_DIR is deprecated, use KDE_INSTALL_LIBDIR instead.
Call Stack (most recent call first):
  /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:240 (_define_relative)
  /usr/share/ECM/kde-modules/KDEInstallDirs5.cmake:223 (include)
  /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include)
  CMakeLists.txt:15 (include)


CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:133 (message):
  INCLUDE_INSTALL_DIR is deprecated, use KDE_INSTALL_INCLUDEDIR instead.
Call Stack (most recent call first):
  /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:198 (_define_relative)
  /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:258 (_define_absolute)
  /usr/share/ECM/kde-modules/KDEInstallDirs5.cmake:223 (include)
  /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include)
  CMakeLists.txt:15 (include)


CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:133 (message):
  SHARE_INSTALL_PREFIX is deprecated, use KDE_INSTALL_DATAROOTDIR instead.
Call Stack (most recent call first):
  /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:198 (_define_relative)
  /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:273 (_define_absolute)
  /usr/share/ECM/kde-modules/KDEInstallDirs5.cmake:223 (include)
  /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include)
  CMakeLists.txt:15 (include)


CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:133 (message):
  SYSCONF_INSTALL_DIR is deprecated, use KDE_INSTALL_SYSCONFDIR instead.
Call Stack (most recent call first):
  /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:198 (_define_relative)
  /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:360 (_define_absolute)
  /usr/share/ECM/kde-modules/KDEInstallDirs5.cmake:223 (include)
  /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include)
  CMakeLists.txt:15 (include)


CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:382 (message):
  KDE_INSTALL_BINDIR, KDE_INSTALL_LIBDIR and KDE_INSTALL_INCLUDEDIR should
  either all be absolute paths or all be relative paths.
Call Stack (most recent call first):
  /usr/share/ECM/kde-modules/KDEInstallDirs5.cmake:223 (include)
  /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include)
  CMakeLists.txt:15 (include)


-- Installing in the same prefix as Qt, adopting their path scheme.
-- 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
-- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE
-- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE - Success
-- Found KF5Activities: /usr/lib64/cmake/KF5Activities/KF5ActivitiesConfig.cmake (found version "5.96.0")
-- Found KF5Archive: /usr/lib64/cmake/KF5Archive/KF5ArchiveConfig.cmake (found version "5.96.0")
-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.96.0")
-- Found KF5ConfigWidgets: /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.96.0")
-- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.96.0")
-- Found KF5DBusAddons: /usr/lib64/cmake/KF5DBusAddons/KF5DBusAddonsConfig.cmake (found version "5.96.0")
-- Found KF5Declarative: /usr/lib64/cmake/KF5Declarative/KF5DeclarativeConfig.cmake (found version "5.96.0")
-- Found KF5GlobalAccel: /usr/lib64/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.96.0")
-- Found KF5GuiAddons: /usr/lib64/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.96.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.21")
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.96.0")
-- Found KF5IconThemes: /usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.96.0")
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.96.0")
-- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.96.0")
-- Found KF5XmlGui: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.96.0")
-- Found KF5Notifications: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.96.0")
-- Found KF5Package: /usr/lib64/cmake/KF5Package/KF5PackageConfig.cmake (found version "5.96.0")
-- Found KF5Kirigami2: /usr/lib64/cmake/KF5Kirigami2/KF5Kirigami2Config.cmake (found version "5.96.0")
-- Found KF5Wayland: /usr/lib64/cmake/KF5Wayland/KF5WaylandConfig.cmake (found version "5.96.0")
-- Found KF5DocTools: /usr/lib64/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.96.0")
-- Found KF5: success (found suitable version "5.96.0", minimum required is "5.96.0") found components: Activities Archive Config ConfigWidgets CoreAddons DBusAddons Declarative GlobalAccel GuiAddons I18n IconThemes KIO WindowSystem XmlGui Notifications Package Kirigami2 Wayland DocTools
-- Found KF5Service: /usr/lib64/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.96.0")
-- Found KF5: success (found suitable version "5.96.0", minimum required is "5.96.0") found components: Service
-- Found XCB_XCB: /usr/lib64/libxcb.so (found version "1.14")
-- Found XCB_RENDER: /usr/lib64/libxcb-render.so (found version "1.14")
-- Found XCB_SHAPE: /usr/lib64/libxcb-shape.so (found version "1.14")
-- Found XCB_XFIXES: /usr/lib64/libxcb-xfixes.so (found version "1.14")
-- Found XCB_COMPOSITE: /usr/lib64/libxcb-composite.so (found version "1.14")
-- Found XCB_DAMAGE: /usr/lib64/libxcb-damage.so (found version "1.14")
-- Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-render.so;/usr/lib64/libxcb-shape.so;/usr/lib64/libxcb-xfixes.so;/usr/lib64/libxcb-composite.so;/usr/lib64/libxcb-damage.so (found version "1.14") found components: XCB COMPOSITE DAMAGE SHAPE XFIXES RENDER
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Performing Test HAVE_EGL
-- Performing Test HAVE_EGL - Success
-- Found EGL: /usr/include (found version "1.5")
-- Found gzip: /usr/bin/gzip
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found Doxygen: /usr/bin/doxygen (found suitable version "1.9.4", minimum required is "1.8.13") found components: doxygen dot
-- Found QHelpGenerator executable: /usr/bin/qhelpgenerator
-- No such target Qt5Gui_QCH defined when calling ecm_add_qch(), ignored.
-- No such target Qt5Core_QCH defined when calling ecm_add_qch(), ignored.
-- No such target Qt5Xml_QCH defined when calling ecm_add_qch(), ignored.


Configuration file '/home/tkloczko/rpmbuild/BUILD/plasma-framework-5.96.0/x86_64-redhat-linux-gnu/src/plasma/KF5Plasma_ECMQchDoxygen.config' updated.

-- The following features have been enabled:

 * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)
 * GLX, OpenGL GLX libraries.
 * EGL, A platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES and OpenVG., <https://www.khronos.org/egl/>
   Fallback when OpenGL not available because of missing GLVND

-- The following OPTIONAL packages have been found:

 * KF5Completion (required version >= 5.96.0)
 * KF5ItemViews (required version >= 5.96.0)
 * KF5JobWidgets (required version >= 5.96.0)
 * KF5Solid (required version >= 5.96.0)
 * KF5Wayland (required version >= 5.96.0), Integration with the Wayland compositor
 * KF5DocTools (required version >= 5.96.0), Tools to generate documentation
 * X11, X11 libraries, <https://www.x.org/>
 * XCB, X protocol C-language Binding, <https://xcb.freedesktop.org/>
 * Qt5X11Extras (required version >= 5.15.2)
 * OpenGL, The OpenGL libraries, <https://www.opengl.org/>
 * EGL, A platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES and OpenVG., <https://www.khronos.org/egl/>
   Fallback when OpenGL not available because of missing GLVND

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.96.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
 * Qt5QmlModels (required version >= 5.15.4)
 * Qt5Sql
 * Qt5Qml
 * Qt5Svg
 * Qt5QuickControls2
 * Qt5 (required version >= 5.15.2)
 * KF5Activities (required version >= 5.96.0)
 * KF5Archive (required version >= 5.96.0)
 * KF5DBusAddons (required version >= 5.96.0)
 * Qt5Quick (required version >= 5.15.2)
 * KF5Declarative (required version >= 5.96.0)
 * KF5GlobalAccel (required version >= 5.96.0)
 * KF5GuiAddons (required version >= 5.96.0)
 * Gettext
 * KF5I18n (required version >= 5.96.0)
 * KF5IconThemes (required version >= 5.96.0)
 * Qt5Network (required version >= 5.15.2)
 * KF5KIO (required version >= 5.96.0)
 * KF5WindowSystem (required version >= 5.96.0)
 * KF5Notifications (required version >= 5.96.0)
 * KF5Package (required version >= 5.96.0)
 * KF5Kirigami2 (required version >= 5.96.0)
 * Qt5Gui (required version >= 5.15.2)
 * KF5Service (required version >= 5.96.0)
 * KF5 (required version >= 5.96.0)
 * gzip, Data compression program for the gzip format, <https://www.gnu.org/software/gzip>
 * Doxygen (required version >= 1.8.13)
   Needed for API dox QCH file generation
 * QHelpGenerator, Part of Qt5 tools
   Needed for API dox QCH file generation
 * Qt5Test (required version >= 5.15.2)
   Required for tests
 * KF5CoreAddons (required version >= 5.96.0)
 * KF5Auth (required version >= 5.96.0)
 * Qt5Core (required version >= 5.15.2)
 * KF5Codecs (required version >= 5.96.0)
 * KF5WidgetsAddons (required version >= 5.96.0)
 * KF5ConfigWidgets (required version >= 5.96.0)
 * KF5XmlGui
 * Qt5Widgets

-- Configuring done
CMake Error at src/scriptengines/qml/CMakeLists.txt:21 (target_link_libraries):
  Target "plasma_appletscript_declarative" links to:

    KF5::ConfigQml

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_Fortran_FLAGS_RELEASE
    LIB_SUFFIX


CMake Generate step failed.  Build files cannot be regenerated correctly.
```
Comment 1 Nate Graham 2024-03-25 21:40:01 UTC
Fixed a while ago.