Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642806 - [kde overlay] kde-apps/okteta-9999 upstream commit 70abff2a6 changes designer plugin option, configure fails
Summary: [kde overlay] kde-apps/okteta-9999 upstream commit 70abff2a6 changes designer...
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: 2017-12-31 07:43 UTC by Duncan
Modified: 2017-12-31 09:50 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 Duncan 2017-12-31 07:43:27 UTC
Okteta upstream commit 70abff2a6, "Control build of designer plugin via new option BUILD_DESIGNERPLUGIN (D:ON)" kills the ebuild's current use-flag based disabling method for that option (USE=-designer, set here), resulting in the following error in the configure phase:

>>> Configuring source in /tmp/portage/kde-apps/okteta-9999/work/okteta-9999 ...
>>> Working in BUILD_DIR: "/tmp/portage/kde-apps/okteta-9999/work/okteta-9999_build"
cmake -C /tmp/portage/kde-apps/okteta-9999/work/okteta-9999_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Test=ON -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DOMIT_EXAMPLES=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qca-qt5=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt5UiPlugin=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/tmp/portage/kde-apps/okteta-9999/work/okteta-9999_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/kde-apps/okteta-9999/work/okteta-9999_build/gentoo_toolchain.cmake  /tmp/portage/kde-apps/okteta-9999/work/okteta-9999
loading initial cache file /tmp/portage/kde-apps/okteta-9999/work/okteta-9999_build/gentoo_common_config.cmake

[snip]

-- 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 Qt5UiPlugin called with REQUIRED, but
  CMAKE_DISABLE_FIND_PACKAGE_Qt5UiPlugin is enabled.  A REQUIRED package
  cannot be disabled.
Call Stack (most recent call first):
  CMakeLists.txt:52 (find_package)


CMake Error at CMakeLists.txt:52 (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 "UiPlugin" config file at
  "/usr/lib64/cmake/Qt5UiPlugin/Qt5UiPluginConfig.cmake"

-- Configuring incomplete, errors occurred!

(Additional vertical space before that last line snipped.)

The upstream commit before that, 2de17db6b, (e)merges fine.
Comment 1 Larry the Git Cow gentoo-dev 2017-12-31 09:50:26 UTC
The bug has been closed via the following commit(s):

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

commit 81b6a73af10edb66d5246b978c58fec32f20ffea
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-12-31 09:50:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-12-31 09:50:02 +0000

    kde-apps/okteta: Fix build w/ USE=-designer
    
    Reported-by: Duncan <1i5t5.duncan@cox.net>
    Closes: https://bugs.gentoo.org/642806
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 kde-apps/okteta/okteta-9999.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)