Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585258 - [kde overlay] kde-frameworks/kdelibs4support-9999 fails configure with cmake error
Summary: [kde overlay] kde-frameworks/kdelibs4support-9999 fails configure with cmake ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-07 08:07 UTC by Duncan
Modified: 2016-06-07 08:10 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 2016-06-07 08:07:34 UTC
Today's live-rebuild failed for kde-frameworks/kdelibs4support.  Existing build is 1738011ea from May 22.  Failing build is 97e4b702b from June 6.  But there's only three commits upstream, two being the 5.23.0 version bump and deps bump, the other an l10n commit, so it can hardly be those, and a diff against the ebuild in /var/db/pkg says it's exactly the same, tho of course it could be an eclass difference.

Anyway, here's the error:

[...]
>>> Configuring source in /tmp/portage/kde-frameworks/kdelibs4support-9999/work/kdelibs4support-9999 ...
>>> Working in BUILD_DIR: "/tmp/portage/kde-frameworks/kdelibs4support-9999/work/kdelibs4support-9999_build"
cmake -C /tmp/portage/kde-frameworks/kdelibs4support-9999/work/kdelibs4support-9999_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=ON -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_DISABLE_FIND_PACKAGE_X11=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/tmp/portage/kde-frameworks/kdelibs4support-9999/work/kdelibs4support-9999_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/kde-frameworks/kdelibs4support-9999/work/kdelibs4support-9999_build/gentoo_toolchain.cmake  /tmp/portage/kde-frameworks/kdelibs4support-9999/work/kdelibs4support-9999
loading initial cache file /tmp/portage/kde-frameworks/kdelibs4support-9999/work/kdelibs4support-9999_build/gentoo_common_config.cmake

[elided compiler and glibc checks]

-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:26 (find_package):
  find_package for module Qt5Designer called with REQUIRED, but
  CMAKE_DISABLE_FIND_PACKAGE_Qt5Designer is enabled.  A REQUIRED package
  cannot be disabled.
Call Stack (most recent call first):
  CMakeLists.txt:23 (find_package)


CMake Error at CMakeLists.txt:23 (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 "Designer" config file at
  "/usr/lib64/cmake/Qt5Designer/Qt5DesignerConfig.cmake"


What does that mean in English?


Meanwhile...

$ equery l qtcore designer cmake
 * Searching for qtcore ...
[IP-] [  ] dev-qt/qtcore-4.8.7-r2:4
[IP-] [  ] dev-qt/qtcore-5.6.0:5/5.6

 * Searching for designer ...
[IP-] [  ] dev-qt/designer-4.8.7:4
[IP-] [  ] dev-qt/designer-5.6.0:5/5.6

 * Searching for cmake ...
[IP-] [  ] dev-util/cmake-3.5.2-r1:0

Looks like designer:5 was merged on April 25, while my last rebuild of kdelibs4support (based on the binpkg date) was May 24, so well later.   cmake-3.5.2-r1 was also installed on May 24, but the binpkg is ~45 minutes older than the kdelibs4support binpkg, so it /should/ have been installed well before kdelibs4support started its build.

Can you duplicate?  What does that error hint at as the problem?

(I'll try reverting to to an older commit, and/or an older cmake, in a few days if it isn't fixed by then.  Getting too sleepy to think straight ATM.)
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2016-06-07 08:10:55 UTC
This was fixed some hours ago. Please sync.

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