https://bugs.kde.org/show_bug.cgi?id=477285

John Dykes <98johndy...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |98johndy...@gmail.com

--- Comment #1 from John Dykes <98johndy...@gmail.com> ---
I'm having the same problem on KDE neon. Here is the log of running
`kdesrc-build --no-include-dependencies  discover` with `cmake-options
-DCMAKE_FIND_DEBUG_MODE=1` in kdesrc-buildrc:


# kdesrc-build running: 'ninja' '-j' '4'
# from directory: /home/john/kde/build/discover
[0/2] Re-checking globbed directories...
[1/2] Re-running CMake...
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.


Installing in /home/john/kde/usr. Run /home/john/kde/build/discover/prefix.sh
to set the environment for discover.
-- Could NOT find Qt6WebView (missing: Qt6WebView_DIR)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:223
(message):
  Failed to find optional Qt component "WebView".

  Expected Config file at
  "/usr/lib/x86_64-linux-gnu/cmake/Qt6WebView/Qt6WebViewConfig.cmake" does
  NOT exist

Call Stack (most recent call first):
  CMakeLists.txt:26 (find_package)


-- Found KF6: success (found suitable version "5.247.0", minimum required is
"5.240.0") found components: Kirigami CoreAddons Config Crash DBusAddons I18n
Archive XmlGui KIO KCMUtils IdleTime Notifications Purpose Auth
StatusNotifierItem 
-- Found KF6: success (found suitable version "5.247.0", minimum required is
"5.240.0") found components: UserFeedback 
-- Checking for module 'fwupd>=1.9.4'
--   Requested 'fwupd >= 1.9.4' but version of fwupd is 1.7.9
-- Checking for module 'libmarkdown'
--   No package 'libmarkdown' found
-- Checking for module 'rpm-ostree-1'
--   No package 'rpm-ostree-1' found
-- python3 import failed for flask.
-- Could NOT find flask-PythonModule (missing: flask-PythonModule_FOUND) 
-- python3 import failed for pyatspi.
-- Could NOT find pyatspi-PythonModule (missing: pyatspi-PythonModule_FOUND) 
-- python3 import failed for lxml.
-- Could NOT find lxml-PythonModule (missing: lxml-PythonModule_FOUND) 
-- Found KF6: success (found version "5.247.0") found components: Notifications 
-- The following features have been enabled:

 * Flatpak, Library that exposes flatpak repositories. Required to build the
Flatpak backend
 * Ostree, Library to manage ostree repository. Required to build the
rpm-ostree backend

-- The following RUNTIME packages have been found:

 * gi-PythonModule, Python module 'gi' is a runtime dependency.

-- The following OPTIONAL packages have been found:

 * OpenGL
 * Qt6Test (required version >= 6.6.0)
 * Qt6QmlTools (required version >= 6.6.0)
 * Qt6Quick (required version >= 6.5.0)
 * Qt6Concurrent (required version >= 6.5.0)
 * Qt6DBusTools (required version >= 6.6.0)
 * Qt6WidgetsTools (required version >= 6.6.0)
 * Qt6Widgets (required version >= 6.5.0)
 * XKB (required version >= 0.5.0), XKB API common to servers and clients.,
<http://xkbcommon.org>
 * WrapVulkanHeaders
 * Qt6GuiTools (required version >= 6.6.0)
 * Qt6Network (required version >= 6.5.0)
 * KF6UserFeedback (required version >= 5.240.0), Framework for collecting
feedback from application users via telemetry and targeted surveys,
<https://invent.kde.org/frameworks/kuserfeedback>
   Required for submission of telemetry data
 * packagekitqt6 (required version >= 1.0.1), Library that exposes PackageKit
resources, <https://www.freedesktop.org/software/PackageKit/>
   Required to build the PackageKit backend
 * KF6Attica (required version >= 5.246.0), KDE Framework that implements the
Open Collaboration Services API
   Required to build the KNewStuff3 backend
 * KF6NewStuff (required version >= 5.53), Qt library that allows to interact
with KNewStuff implementations
   Required to build the KNS backend
 * Qt6CoreTools (required version >= 6.6.0)
 * Python3
 * Ruby
 * SeleniumWebDriverATSPI, Server component for selenium tests using Linux
accessibility infrastructure,
<https://invent.kde.org/sdk/selenium-webdriver-at-spi>
   Needed for GUI tests
 * Snapd, Library that exposes Snapd, <https://www.snapcraft.io>
   Required to build the Snap backend

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.240.0)
 * KF6Kirigami (required version >= 5.240.0)
 * KF6Crash (required version >= 5.240.0)
 * KF6DBusAddons (required version >= 5.240.0)
 * Gettext
 * KF6I18n (required version >= 5.240.0)
 * KF6Archive (required version >= 5.240.0)
 * KF6Config (required version >= 5.246.0)
 * KF6XmlGui (required version >= 5.240.0)
 * KF6CoreAddons (required version >= 5.246.0)
 * PkgConfig
 * KF6KIO (required version >= 5.240.0)
 * KF6KCMUtils (required version >= 5.240.0)
 * KF6IdleTime (required version >= 5.240.0)
 * KF6Purpose (required version >= 5.240.0)
 * KF6Auth (required version >= 5.240.0)
 * KF6StatusNotifierItem (required version >= 5.240.0)
 * Qt6 (required version >= 6.6)
 * AppStreamQt (required version >= 1.0), Library that lists Appstream
resources, <https://www.freedesktop.org>
   Required to build the PackageKit, Flatpak and Snap backends
 * KF6KirigamiAddons
   Provides additional visual components
 * KF6Notifications
 * KF6

-- The following features have been disabled:

 * Fwupd, Exposes fwupd
 * RpmOstree, rpm-ostree binary to manage the system. Required to build the
rpm-ostree backend

-- The following RUNTIME packages have not been found:

 * flask-PythonModule, Python module 'flask' is a runtime dependency.
 * pyatspi-PythonModule, Python module 'pyatspi' is a runtime dependency.
 * lxml-PythonModule, Python module 'lxml' is a runtime dependency.

-- The following OPTIONAL packages have not been found:

 * Qt6WebView (required version >= 6.6.0)

-- Found clang-format version 14
-- Configuring done (0.8s)
-- Generating done (0.1s)
-- Build files have been written to: /home/john/kde/build/discover
[0/2] Re-checking globbed directories...
[1/71] cd /home/john/kde/build/discover/kcm &&
/home/john/kde/usr/lib/x86_64-linux-gnu/libexec/kf6/kcmdesktopfilegenerator
/home/john/kde/src/discover/kcm/kcm_updates.json
/home/john/kde/build/discover/kcm/kcm_updates.desktop
[2/71] Generating ts...
[3/71] Generating mo...
[4/71] Building CXX object
libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/snap-backend_autogen/EWIEGA46WW/qrc_snapui.cpp.o
[5/71] Building CXX object
libdiscover/tests/CMakeFiles/CategoriesTest.dir/CategoriesTest_autogen/mocs_compilation.cpp.o
[6/71] Linking CXX executable bin/flatpaktest
[7/71] Automatic MOC for target plasma-discover
AutoMoc warning
---------------
"SRC:/discover/FeaturedModel.cpp"
includes the moc file "FeaturedModel.moc", but does not contain a Q_OBJECT,
Q_GADGET, Q_NAMESPACE, Q_NAMESPACE_EXPORT, Q_GADGET_EXPORT, K_PLUGIN_FACTORY,
K_PLUGIN_CLASS, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON or
DISCOVER_BACKEND_PLUGIN macro.

AutoMoc: /home/john/kde/src/discover/discover/FeaturedModel.cpp: note: No
relevant classes found. No output generated.
[8/71] Generating discoversettings.h, discoversettings.cpp
[9/71] Generating discoversettings.moc
[10/71] Generating plasmauserfeedback.h, plasmauserfeedback.cpp
[11/71] Generating plasmauserfeedback.moc
[12/71] Automatic RCC for resources.qrc
[13/71] Building CXX object
libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapResource.cpp.o
FAILED:
libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapResource.cpp.o 
/usr/bin/c++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY
-DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS
-DQT_NO_URL_CAST_FROM_STRING -DQT_QMLINTEGRATION_LIB -DQT_QML_LIB
-DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DSNAP_CHANNELS -DSNAP_COMMON_IDS
-DSNAP_FIND_COMMON_ID -DSNAP_MARKDOWN -DSNAP_MEDIA -DSNAP_PUBLISHER
-DTRANSLATION_DOMAIN=\"libdiscover\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-Dsnap_backend_EXPORTS
-I/home/john/kde/build/discover/libdiscover/backends/SnapBackend
-I/home/john/kde/src/discover/libdiscover/backends/SnapBackend
-I/home/john/kde/build/discover/libdiscover/backends/SnapBackend/snap-backend_autogen/include
-I/home/john/kde/build/discover/libdiscover
-I/home/john/kde/src/discover/libdiscover -isystem
/usr/include/x86_64-linux-gnu/qt6/QtGui -isystem
/usr/include/x86_64-linux-gnu/qt6 -isystem
/usr/include/x86_64-linux-gnu/qt6/QtCore -isystem
/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem
/usr/include/x86_64-linux-gnu/qt6/QtConcurrent -isystem
/home/john/kde/usr/include/KF6/KCoreAddons -isystem
/home/john/kde/usr/include/KF6/KConfig -isystem
/home/john/kde/usr/include/KF6/KConfigCore -isystem
/usr/include/x86_64-linux-gnu/qt6/QtQml -isystem
/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem
/usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem
/home/john/kde/usr/include/KF6/KI18n -isystem /usr/include/snapd-qt -pipe
-fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align
-Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef
-Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self
-Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic
-Wzero-as-null-pointer-constant -Wmissing-include-dirs
-fdiagnostics-color=always -O2 -g -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden
-fvisibility-inlines-hidden -MD -MT
libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapResource.cpp.o
-MF
libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapResource.cpp.o.d
-o
libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapResource.cpp.o
-c
/home/john/kde/src/discover/libdiscover/backends/SnapBackend/SnapResource.cpp
In file included from
/home/john/kde/src/discover/libdiscover/backends/SnapBackend/SnapResource.cpp:20:
/home/john/kde/src/discover/libdiscover/appstream/AppStreamUtils.h:43:34:
error: ‘ComponentBox’ in namespace ‘AppStream’ does not name a type; did you
mean ‘Component’?
   43 | DISCOVERCOMMON_EXPORT AppStream::ComponentBox
componentsByCategories(AppStream::Pool *pool, Category *cat,
AppStream::Bundle::Kind kind);
      |                                  ^~~~~~~~~~~~
      |                                  Component
/home/john/kde/src/discover/libdiscover/backends/SnapBackend/SnapResource.cpp:
In constructor ‘PlugsModel::PlugsModel(SnapResource*, SnapBackend*, QObject*)’:
/home/john/kde/src/discover/libdiscover/backends/SnapBackend/SnapResource.cpp:361:62:
warning: ‘int QSnapdPlug::connectionCount() const’ is deprecated: Use
connectedSlotCount() [-Wdeprecated-declarations]
  361 |                     item->setCheckState(plug->connectionCount() > 0 ?
Qt::Checked : Qt::Unchecked);
      |                                         ~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/snapd-qt/Snapd/Plug:1,
                 from /usr/include/snapd-qt/Snapd/interface.h:15,
                 from /usr/include/snapd-qt/Snapd/Interface:1,
                 from /usr/include/snapd-qt/Snapd/client.h:21,
                 from /usr/include/snapd-qt/Snapd/Client:1,
                 from
/home/john/kde/src/discover/libdiscover/backends/SnapBackend/SnapBackend.h:12,
                 from
/home/john/kde/src/discover/libdiscover/backends/SnapBackend/SnapResource.cpp:8:
/usr/include/snapd-qt/Snapd/plug.h:39:57: note: declared here
   39 |     Q_DECL_DEPRECATED_X("Use connectedSlotCount()") int connectionCount
() const;
      |                                                         ^~~~~~~~~~~~~~~
[14/71] Building CXX object
libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapBackend.cpp.o
FAILED:
libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapBackend.cpp.o 
/usr/bin/c++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY
-DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS
-DQT_NO_URL_CAST_FROM_STRING -DQT_QMLINTEGRATION_LIB -DQT_QML_LIB
-DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DSNAP_CHANNELS -DSNAP_COMMON_IDS
-DSNAP_FIND_COMMON_ID -DSNAP_MARKDOWN -DSNAP_MEDIA -DSNAP_PUBLISHER
-DTRANSLATION_DOMAIN=\"libdiscover\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-Dsnap_backend_EXPORTS
-I/home/john/kde/build/discover/libdiscover/backends/SnapBackend
-I/home/john/kde/src/discover/libdiscover/backends/SnapBackend
-I/home/john/kde/build/discover/libdiscover/backends/SnapBackend/snap-backend_autogen/include
-I/home/john/kde/build/discover/libdiscover
-I/home/john/kde/src/discover/libdiscover -isystem
/usr/include/x86_64-linux-gnu/qt6/QtGui -isystem
/usr/include/x86_64-linux-gnu/qt6 -isystem
/usr/include/x86_64-linux-gnu/qt6/QtCore -isystem
/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem
/usr/include/x86_64-linux-gnu/qt6/QtConcurrent -isystem
/home/john/kde/usr/include/KF6/KCoreAddons -isystem
/home/john/kde/usr/include/KF6/KConfig -isystem
/home/john/kde/usr/include/KF6/KConfigCore -isystem
/usr/include/x86_64-linux-gnu/qt6/QtQml -isystem
/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem
/usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem
/home/john/kde/usr/include/KF6/KI18n -isystem /usr/include/snapd-qt -pipe
-fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align
-Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef
-Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self
-Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic
-Wzero-as-null-pointer-constant -Wmissing-include-dirs
-fdiagnostics-color=always -O2 -g -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden
-fvisibility-inlines-hidden -MD -MT
libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapBackend.cpp.o
-MF
libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapBackend.cpp.o.d
-o
libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapBackend.cpp.o
-c /home/john/kde/src/discover/libdiscover/backends/SnapBackend/SnapBackend.cpp
In file included from
/home/john/kde/src/discover/libdiscover/backends/SnapBackend/SnapBackend.cpp:12:
/home/john/kde/src/discover/libdiscover/appstream/AppStreamUtils.h:43:34:
error: ‘ComponentBox’ in namespace ‘AppStream’ does not name a type; did you
mean ‘Component’?
   43 | DISCOVERCOMMON_EXPORT AppStream::ComponentBox
componentsByCategories(AppStream::Pool *pool, Category *cat,
AppStream::Bundle::Kind kind);
      |                                  ^~~~~~~~~~~~
      |                                  Component
[15/71] Building CXX object
libdiscover/tests/CMakeFiles/CategoriesTest.dir/CategoriesTest.cpp.o
[16/71] Building CXX object
discover/CMakeFiles/plasma-discover.dir/plasma-discover_autogen/mocs_compilation.cpp.o
ninja: build stopped: subcommand failed.


KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11
Kernel Version: 6.2.0-37-generic (64-bit)
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to