Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 873622 - [kde overlay] kde-plasma/discover-5.25.90::kde fails with CMAKE_DISABLE_FIND_PACKAGE_Qt5WebView
Summary: [kde overlay] kde-plasma/discover-5.25.90::kde fails with CMAKE_DISABLE_FIND_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-30 07:55 UTC by Fabio Coatti
Modified: 2022-10-05 18:53 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 Fabio Coatti 2022-09-30 07:55:34 UTC
When emerging discover from kde overlay, I got this message:
-- Performing Test HAVE_DATE_TIME - Success
CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  find_package for module Qt5WebView called with REQUIRED, but
  CMAKE_DISABLE_FIND_PACKAGE_Qt5WebView is enabled.  A REQUIRED package
  cannot be disabled.
Call Stack (most recent call first):
  CMakeLists.txt:25 (find_package)


CMake Error at CMakeLists.txt:25 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt5/Qt5Config.cmake

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

  Failed to find Qt5 component "WebView" config file at
  "/usr/lib64/cmake/Qt5WebView/Qt5WebViewConfig.cmake"

even though the packages seems to be installed:
⌙➤ eix WebView
[I] dev-qt/qtwebview
     Available versions:  (5) (~)5.15.5(5/5.15)^t
       {debug test}
     Installed versions:  5.15.5(5/5.15)^t(15:37:12 29/09/22)(-debug -test)
     Homepage:            https://www.qt.io/
     Description:         Module for displaying web content in a QML application using the Qt5 framework

build log is short, pasted below

Reproducible: Always




>>> Emerging (6 of 12) kde-plasma/discover-5.25.90::kde
 * discover-5.25.90.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                           [ ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking discover-5.25.90.tar.xz to /var/tmp/portage/kde-plasma/discover-5.25.90/work
>>> Source unpacked in /var/tmp/portage/kde-plasma/discover-5.25.90/work
>>> Preparing source in /var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90_build"
 * Applying discover-5.25.90-tests-optional.patch ...
patching file CMakeLists.txt
Hunk #1 succeeded at 24 with fuzz 2 (offset -1 lines).
patching file libdiscover/CMakeLists.txt
patching file libdiscover/backends/DummyBackend/CMakeLists.txt
patching file libdiscover/backends/FlatpakBackend/CMakeLists.txt
patching file libdiscover/backends/KNSBackend/CMakeLists.txt                                                                                                                                     [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90_build"
cmake -C /var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DKDE_INSTALL_DOCBUNDLEDIR=/usr/share/help -DCMAKE_DISABLE_FIND_PACKAGE_packagekitqt5=ON -DCMAKE_DISABLE_FIND_PACKAGE_Snapd=ON -DWITH_KCM=OFF -DBUILD_FlatpakBackend=no -DCMAKE_DISABLE_FIND_PACKAGE_AppStreamQt=ON -DBUILD_FwupdBackend=yes -DCMAKE_DISABLE_FIND_PACKAGE_KUserFeedback=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebView=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90_build/gentoo_toolchain.cmake /var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90
loading initial cache file /var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- 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
CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  find_package for module Qt5WebView called with REQUIRED, but
  CMAKE_DISABLE_FIND_PACKAGE_Qt5WebView is enabled.  A REQUIRED package
  cannot be disabled.
Call Stack (most recent call first):
  CMakeLists.txt:25 (find_package)


CMake Error at CMakeLists.txt:25 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt5/Qt5Config.cmake

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

  Failed to find Qt5 component "WebView" config file at
  "/usr/lib64/cmake/Qt5WebView/Qt5WebViewConfig.cmake"





-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90_build/CMakeFiles/CMakeOutput.log".
 * ERROR: kde-plasma/discover-5.25.90::kde failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  122:  Called src_configure
 *   environment, line 2604:  Called ecm_src_configure
 *   environment, line 1601:  Called cmake_src_configure
 *   environment, line 1243:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=kde-plasma/discover-5.25.90::kde'`,
 * the complete build log and the output of `emerge -pqv '=kde-plasma/discover-5.25.90::kde'`.
 * The complete build log is located at '/var/log/portage/kde-plasma:discover-5.25.90:20220930-074831.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/kde-plasma/discover-5.25.90/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-plasma/discover-5.25.90/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90_build'
 * S: '/var/tmp/portage/kde-plasma/discover-5.25.90/work/discover-5.25.90'

⌙➤ emerge --info
Portage 3.0.37 (python 3.10.7-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-12.2.0, glibc-2.36-r3, 5.19.11-cova x86_64)
=================================================================
System uname: Linux-5.19.11-cova-x86_64-Intel-R-_Core-TM-_i7-6820HQ_CPU_@_2.70GHz-with-glibc2.36
KiB Mem:    65676428 total,  51447580 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Fri, 30 Sep 2022 06:02:01 +0000
Head commit of repository gentoo: 45acbad0a32b9a10bea03a5d2f101025a2a5532c

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p4) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.10.7::gentoo, 3.11.0_rc2::gentoo
dev-lang/rust:             1.64.0-r1::gentoo
dev-util/cmake:            3.24.2::gentoo
dev-util/meson:            0.63.2-r1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.4::gentoo
sys-devel/autoconf:        2.13-r3::gentoo, 2.71-r4::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.1::gentoo
sys-devel/gcc:             10.4.0::gentoo, 11.3.1_p20220909::gentoo, 12.2.0::gentoo
sys-devel/gcc-config:      2.6::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.6::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.19::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: yes

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo
    priority: 50

nix-guix
    location: /var/lib/layman/nix-guix
    sync-type: laymansync
    sync-uri: https://github.com/trofi/nix-guix-gentoo.git
    masters: gentoo
    priority: 50

local
    location: /usr/overlay
    masters: gentoo
    priority: 51

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -flto=4 -fuse-linker-plugin -pipe -fpie -fpic -fstack-protector-strong -fstack-clash-protection"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/sddm/scripts/Xsetup"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -flto=4 -fuse-linker-plugin -pipe -fpie -fpic -fstack-protector-strong -fstack-clash-protection"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_IE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=native -O3 -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -flto=4 -fuse-linker-plugin -pipe -fpie -fpic -fstack-protector-strong -fstack-clash-protection -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en it de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/bash"
USE="3dnow 3dnowext 3dnowprefetch X \ a52 aac aalib acl acpi activities aim alsa amd64 apng appstream ares asf ati audio audiofile avahi bash-completion bidi bl bluetooth branding bri bzip2 cairo caps cdda cdr cjk cli crypt cups curl dba dbus declarative device-mapper dga divx divx4linux dri dts dv dvb dvd dvdr dvdread eap-sim edl egl encode ethereal evdev exif expat faad fam fame fbcon ffmpeg fftw flac force-cgi-redirect fortran ftp gallium garmin gd gdbm gif gimp gmedia gmp gnutls gphoto2 gpm gps gsm gtk gui h264 h323 iconv icq icu idn ifp ilbc imagemagick imap innodb ipod iproute2 ipv6 ithreads jabber java javascript joystick jpeg kde kontact kvm kwallet lastfm lcms libglvnd libnotify libtirpc libvirtd live lm_sensors lua lvm lxc lzma lzo mad maildir matroska mbox mdnsresponder-compat mhash mime mjpeg mmap mmx mmxext mng mozdevelop mozilla mp3 mp4 mpeg msn mtp multilib mysql ncurses network networkmanager new-hpcups nfsv4 njb nls nptl nptlonly offensive ofx ogg oggvorbis ogm openal openexr opengl openmp oscar pam pango parted pcap pcre pdf phonon php plasma plotutils png policykit ppds pulseaudio qemu qml qt5 readline real rtc ruby samba sasl screencast sdl seccomp semantic-desktop semantic-destkop sha512 sip slang slp smartcard sndfile snmp sox speex spell split-usr srt sse sse2 ssh ssl ssse3 startup-notification svg systemd tcltk telepathy theora threads tiff tk touchpad tremor truetype udev udisks unicode upower usb utempter v4l v4l2 vcd vde vdpaum vhosts video videos vim-syntax virt-network virtualbox vorbis vulkan wav wayland widgets wifi wmf wmp wps wxwidgets wxwindows x264 xanim xattr xcb xface xft xine xinerama xml xosd xpm xscreensaver xsl xv xvid zeroconf zlib zpm" ABI_X86="64 32" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en it de en_IE" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-1 lua5-4 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby27 ruby30 ruby31" USERLAND="GNU" VIDEO_CARDS="i965 intel nvidia v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Larry the Git Cow gentoo-dev 2022-10-05 18:53:34 UTC
The bug has been closed via the following commit(s):

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

commit 69af4dc6286173f98bfc575f41b9bd65271a51c9
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-10-05 18:43:06 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-10-05 18:53:15 +0000

    kde-plasma/discover: Drop IUSE webengine in 5.25.90
    
    Upstream commit 08f0ab031e74d722fd2b569f89c98f1c61a00b35 went in after
    tagging.
    
    Closes: https://bugs.gentoo.org/873622
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/discover/discover-5.25.90.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)