Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486828 - kde-base/libkmahjongg-4.11.1 should depend on kde-base/libkdegames
Summary: kde-base/libkmahjongg-4.11.1 should depend on kde-base/libkdegames
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://git.reviewboard.kde.org/r/113...
Whiteboard: fixed in 4.11.3
Keywords:
Depends on:
Blocks: kde-4.11.2-stable
  Show dependency tree
 
Reported: 2013-10-02 20:08 UTC by Chris Slycord
Modified: 2013-10-20 19:17 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 Chris Slycord 2013-10-02 20:08:26 UTC
-- Found automoc4: /usr/bin/automoc4
CMake Error at CMakeLists.txt:7 (find_package):
  By not providing "FindKDEGames.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "KDEGames",
  but CMake did not find one.

  Could not find a package configuration file provided by "KDEGames" with any
  of the following names:

    KDEGamesConfig.cmake
    kdegames-config.cmake

  Add the installation prefix of "KDEGames" to CMAKE_PREFIX_PATH or set
  "KDEGames_DIR" to a directory containing one of the above files.  If
  "KDEGames" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
 * ERROR: kde-base/libkmahjongg-4.11.1::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 4007:  Called kde4-base_src_configure
 *   environment, line 3115:  Called cmake-utils_src_configure
 *   environment, line 1068:  Called _execute_optionaly 'src_configure'
 *   environment, line  490:  Called enable_cmake-utils_src_configure
 *   environment, line 1438:  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-base/libkmahjongg-4.11.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-base/libkmahjongg-4.11.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-base/libkmahjongg-4.11.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/libkmahjongg-4.11.1/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-base/libkmahjongg-4.11.1/work/libkmahjongg-4.11.1_build'
 * S: '/var/tmp/portage/kde-base/libkmahjongg-4.11.1/work/libkmahjongg-4.11.1'

Reproducible: Always

Steps to Reproduce:
1. emerge =kde-base/libkmahjongg-4.11.1
2.
3.



This is fixed for me with

--- libkmahjongg-4.11.1.ebuild.orig	2013-10-02 13:07:17.654591160 -0700
+++ libkmahjongg-4.11.1.ebuild	2013-10-02 13:04:45.768996889 -0700
@@ -9,3 +9,6 @@
 DESCRIPTION="LibKMahjongg for KDE"
 KEYWORDS=" ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="debug"
+
+DEPEND="$(add_kdebase_dep libkdegames)"
+RDEPEND="${DEPEND}"
Comment 1 Michael Palimaka (kensington) gentoo-dev 2013-10-04 15:39:09 UTC
I think this is an unnecessary check that needs removing, the package doesn't actually seem to need libkdegames.
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2013-10-20 19:17:49 UTC
Thanks for reporting. This is fixed in cvs. Please sync in some hours to get the changes.

+
+  20 Oct 2013; Johannes Huber <johu@gentoo.org>
+  +files/libkmahjongg-4.11.2-no-need-libkdegames.patch,
+  libkmahjongg-4.11.2.ebuild:
+  Add upstream patch to fix build. Patch will be included in KDE SC 4.11.3. kde-
+  base/libkdegames was required in configure phase, but not needed at build and
+  runtime, fixes bug #486828.
+