Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665218 - dev-util/kdevelop-5.2.4: A REQUIRED package cannot be disabled (Qt5QuickWidgets)
Summary: dev-util/kdevelop-5.2.4: A REQUIRED package cannot be disabled (Qt5QuickWidgets)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-04 11:53 UTC by bfrg
Modified: 2018-09-04 22:06 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 bfrg 2018-09-04 11:53:13 UTC
Emerging kdevelop-5.2.4 fails with the following CMake error (same error occurs also with 5.2.3):

 * Package:    dev-util/kdevelop-5.2.4
 * Repository: gentoo
 * Maintainer: kde@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc gdbui kernel_linux qmake userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking kdevelop-5.2.4.tar.xz to /tmp/portage/dev-util/kdevelop-5.2.4/work
>>> Source unpacked in /tmp/portage/dev-util/kdevelop-5.2.4/work
>>> Preparing source in /tmp/portage/dev-util/kdevelop-5.2.4/work/kdevelop-5.2.4 ...
>>> Source prepared.
>>> Configuring source in /tmp/portage/dev-util/kdevelop-5.2.4/work/kdevelop-5.2.4 ...
>>> Working in BUILD_DIR: "/tmp/portage/dev-util/kdevelop-5.2.4/work/kdevelop-5.2.4_build"
cmake -C /tmp/portage/dev-util/kdevelop-5.2.4/work/kdevelop-5.2.4_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DBUILD_cvs=no -DCMAKE_DISABLE_FIND_PACKAGE_KF5SysGuard=OFF -DBUILD_executeplasmoid=no -DCMAKE_DISABLE_FIND_PACKAGE_KF5Plasma=ON -DCMAKE_DISABLE_FIND_PACKAGE_OktetaKastenControllers=ON -DCMAKE_DISABLE_FIND_PACKAGE_KDevelop-PG-Qt=OFF -DCMAKE_DISABLE_FIND_PACKAGE_KF5Purpose=ON -DCMAKE_DISABLE_FIND_PACKAGE_SubversionLibrary=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Qt5QuickWidgets=ON -DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/tmp/portage/dev-util/kdevelop-5.2.4/work/kdevelop-5.2.4_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/dev-util/kdevelop-5.2.4/work/kdevelop-5.2.4_build/gentoo_toolchain.cmake  /tmp/portage/dev-util/kdevelop-5.2.4/work/kdevelop-5.2.4
loading initial cache file /tmp/portage/dev-util/kdevelop-5.2.4/work/kdevelop-5.2.4_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- 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 Qt5QuickWidgets called with REQUIRED, but
  CMAKE_DISABLE_FIND_PACKAGE_Qt5QuickWidgets is enabled.  A REQUIRED package
  cannot be disabled.
Call Stack (most recent call first):
  CMakeLists.txt:42 (find_package)


CMake Error at CMakeLists.txt:42 (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 "QuickWidgets" config file at
  "/usr/lib64/cmake/Qt5QuickWidgets/Qt5QuickWidgetsConfig.cmake"

  



-- Configuring incomplete, errors occurred!
See also "/tmp/portage/dev-util/kdevelop-5.2.4/work/kdevelop-5.2.4_build/CMakeFiles/CMakeOutput.log".
 * ERROR: dev-util/kdevelop-5.2.4::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3925:  Called kde5_src_configure
 *   environment, line 2950:  Called cmake-utils_src_configure
 *   environment, line 1402:  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 '=dev-util/kdevelop-5.2.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/kdevelop-5.2.4::gentoo'`.
 * The complete build log is located at '/tmp/portage/dev-util/kdevelop-5.2.4/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-util/kdevelop-5.2.4/temp/environment'.
 * Working directory: '/tmp/portage/dev-util/kdevelop-5.2.4/work/kdevelop-5.2.4_build'
 * S: '/tmp/portage/dev-util/kdevelop-5.2.4/work/kdevelop-5.2.4'
Comment 1 bfrg 2018-09-04 14:28:10 UTC
Setting USE=welcomepage for kdevelop solves this issue. Thanks to asturm in #gentoo-kde
Comment 2 Larry the Git Cow gentoo-dev 2018-09-04 20:49:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f255e64e3814cb09c4e65dfc1f0e61200186e49

commit 5f255e64e3814cb09c4e65dfc1f0e61200186e49
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-09-04 20:03:44 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-09-04 20:49:17 +0000

    dev-util/kdevelop: Drop USE=welcomepage, less complexity/cmake fix
    
    Closes: https://bugs.gentoo.org/665218
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-util/kdevelop/kdevelop-5.2.4.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2018-09-04 22:06:41 UTC
The bug has been closed via the following commit(s):

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

commit 6fcac629ac74724313d9afbaaeb0f5839bd779bb
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-09-04 20:03:44 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-09-04 21:46:27 +0000

    dev-util/kdevelop: Drop USE=welcomepage, less complexity/cmake fix
    
    Closes: https://bugs.gentoo.org/665218
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-util/kdevelop/kdevelop-5.3.9999.ebuild | 8 ++------
 dev-util/kdevelop/kdevelop-9999.ebuild     | 8 ++------
 dev-util/kdevelop/metadata.xml             | 1 -
 3 files changed, 4 insertions(+), 13 deletions(-)