Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273898 - x11-themes/qtcurve-qt4-0.64.1[-kde] fails to build: Could not find KDE4 kde4-config
Summary: x11-themes/qtcurve-qt4-0.64.1[-kde] fails to build: Could not find KDE4 kde4-...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-12 17:53 UTC by Martin von Gagern
Modified: 2009-06-15 09:32 UTC (History)
1 user (show)

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 Martin von Gagern 2009-06-12 17:53:54 UTC
It seems that x11-themes/qtcurve-qt4 doesn't build without kde4:

-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:44 (MESSAGE):
  ERROR: Could not find KDE4 kde4-config
Call Stack (most recent call first):
  CMakeLists.txt:71 (find_package)

If this is a dependency which can be avoided, fix the package to avoid it. Otherwise a hard dependency on the package providing the kde4-config binary should be added to the ebuild. The following change to CMakeLists.txt since 0.62.9 seems to indicate the latter:

 # search packages used by KDE
-find_package(KDE4)
+find_package(KDE4 REQUIRED)
 find_package(Qt4 REQUIRED)
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-12 18:16:45 UTC
Indeed. The dependency on kde4 became mandatory. I already tried to revert this but I failed badly (lots of undefined references etc.).
Anyone wanna try to convince upstream to keep kde4-dep optional?
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2009-06-12 20:30:52 UTC
I requested upstream to do so and he said that in the next release kde4 will be optional again, and there will be the option to compile with just Qt4.
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2009-06-14 15:15:11 UTC
I just committed 0.64.2 in which this issue is fixed.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-15 09:32:44 UTC
Thank you very much Ben :)