Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642662 - dev-util/kdevelop-php-5.2.1: cmake failed
Summary: dev-util/kdevelop-php-5.2.1: cmake failed
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: 642564
  Show dependency tree
 
Reported: 2017-12-29 17:44 UTC by Thomas Deutschmann (RETIRED)
Modified: 2017-12-29 22:15 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 Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-29 17:44:14 UTC
* Package:    dev-util/kdevelop-php-5.2.1
 * Repository: gentoo
 * Maintainer: kde@gentoo.org
 * USE:        abi_x86_32 elibc_glibc handbook kernel_linux test userland_GNU x86
 * FEATURES:   preserve-libs sandbox test userpriv usersandbox
>>> Unpacking source...
>>> Unpacking kdev-php-5.2.1.tar.xz to /var/tmp/portage/dev-util/kdevelop-php-5.2.1/work
>>> Source unpacked in /var/tmp/portage/dev-util/kdevelop-php-5.2.1/work
>>> Preparing source in /var/tmp/portage/dev-util/kdevelop-php-5.2.1/work/kdev-php-5.2.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/kdevelop-php-5.2.1/work/kdev-php-5.2.1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-util/kdevelop-php-5.2.1/work/kdevelop-php-5.2.1_build"
cmake -C /var/tmp/portage/dev-util/kdevelop-php-5.2.1/work/kdevelop-php-5.2.1_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-util/kdevelop-php-5.2.1/work/kdevelop-php-5.2.1_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-util/kdevelop-php-5.2.1/work/kdevelop-php-5.2.1_build/gentoo_toolchain.cmake  /var/tmp/portage/dev-util/kdevelop-php-5.2.1/work/kdev-php-5.2.1
loading initial cache file /var/tmp/portage/dev-util/kdevelop-php-5.2.1/work/kdevelop-php-5.2.1_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 6.4.0
-- The CXX compiler identification is GNU 6.4.0
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/i686-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/i686-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/i686-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 - Failed
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5Archive: /usr/lib/cmake/KF5Archive/KF5ArchiveConfig.cmake (found version "5.40.0") 
-- Found KF5ThreadWeaver: /usr/lib/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (found version "5.40.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Found PythonInterp: /usr/bin/python (found version "3.5.4") 
-- Found KF5TextEditor: /usr/lib/cmake/KF5TextEditor/KF5TextEditorConfig.cmake (found version "5.40.0") 
-- Found KF5I18n: /usr/lib/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.40.0") 
-- Found KF5ItemModels: /usr/lib/cmake/KF5ItemModels/KF5ItemModelsConfig.cmake (found version "5.40.0") 
-- Found KF5KCMUtils: /usr/lib/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake (found version "5.40.0") 
-- Found KF5: success (found suitable version "5.40.0", minimum required is "5.15.0") found components:  Archive ThreadWeaver TextEditor I18n ItemModels KCMUtils 
-- Found KDevelop-PG-Qt
--   Using kdevelop-pg-qt include dir: /usr/include/kdevelop-pg-qt
--   Using kdevelop-pg-qt executable: /usr/bin/kdev-pg-qt
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- The following OPTIONAL packages have been found:

 * KF5Parts (required version >= 5.40.0)

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.14.0)
 * Qt5Core
 * Qt5Widgets
 * Qt5Test
 * Qt5 (required version >= 5.5.0)
 * KF5Archive (required version >= 5.15.0)
 * KF5ThreadWeaver (required version >= 5.15.0)
 * KF5TextEditor (required version >= 5.15.0)
 * Gettext
 * PythonInterp
 * KF5I18n (required version >= 5.15.0)
 * KF5ItemModels (required version >= 5.15.0)
 * KF5KCMUtils (required version >= 5.15.0)
 * KF5 (required version >= 5.15.0)
 * Qt5Qml (required version >= 5.7.1)
 * Qt5Gui
 * KDevPlatform (required version >= 5.2.1)
 * KDevelop-PG-Qt

-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -O2 -pipe -march=pentium4m -mtune=pentium4m -std=iso9899:1990 -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration
C++             -O2 -pipe -march=pentium4m -mtune=pentium4m -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time
Linker flags:
Executable      -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Module          -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Shared          -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed

-- Configuring done
CMake Error at parser/CMakeLists.txt:36 (add_executable):
  Target "php-parser" links to target "KDev::Tests" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at duchain/tests/CMakeLists.txt:40 (add_executable):
  Target "benchmarks" links to target "KDev::Tests" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:110 (add_executable):
  Target "duchain_multiplefiles" links to target "KDev::Tests" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  duchain/tests/CMakeLists.txt:55 (ecm_add_test)


CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:110 (add_executable):
  Target "uses" links to target "KDev::Tests" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  duchain/tests/CMakeLists.txt:27 (ecm_add_test)


CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:110 (add_executable):
  Target "expressionparser" links to target "KDev::Tests" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  duchain/tests/CMakeLists.txt:15 (ecm_add_test)


CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:110 (add_executable):
  Target "duchain" links to target "KDev::Tests" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  duchain/tests/CMakeLists.txt:2 (ecm_add_test)


CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:110 (add_executable):
  Target "completiontest" links to target "KDev::Tests" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  completion/tests/CMakeLists.txt:1 (ecm_add_test)


CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:110 (add_executable):
  Target "completionbenchmark" links to target "KDev::Tests" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  completion/tests/CMakeLists.txt:14 (ecm_add_test)


-- Generating done
-- Build files have been written to: /var/tmp/portage/dev-util/kdevelop-php-5.2.1/work/kdevelop-php-5.2.1_build
 * ERROR: dev-util/kdevelop-php-5.2.1::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3929:  Called kde5_src_configure
 *   environment, line 2831:  Called cmake-utils_src_configure
 *   environment, line 1185:  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-php-5.2.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/kdevelop-php-5.2.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/kdevelop-php-5.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/kdevelop-php-5.2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/kdevelop-php-5.2.1/work/kdevelop-php-5.2.1_build'
 * S: '/var/tmp/portage/dev-util/kdevelop-php-5.2.1/work/kdev-php-5.2.1'
Comment 1 Andreas Sturmlechner gentoo-dev 2017-12-29 21:55:05 UTC
Oh, great. kdevelop-php[test] depends on kdevelop[test] which *installs* stuff. But tests are restricted there.
Comment 2 Larry the Git Cow gentoo-dev 2017-12-29 22:15:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228ff0df7ba6a2bda7c69e7575be9eb2d34b8b11

commit 228ff0df7ba6a2bda7c69e7575be9eb2d34b8b11
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-12-29 22:14:34 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-12-29 22:15:26 +0000

    dev-util/kdevelop-php: Restrict tests
    
    Unfortunately, kdevelop[test] installs headers that we need here.
    
    Closes: https://bugs.gentoo.org/642662
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-util/kdevelop-php/kdevelop-php-5.2.1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)