Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516686 - media-video/plasma-mediacenter-1.3.0 requires mockcpp for tests
Summary: media-video/plasma-mediacenter-1.3.0 requires mockcpp for tests
Status: RESOLVED FIXED
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: 2014-07-08 12:56 UTC by Paolo Pedroni
Modified: 2014-07-17 14:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log for media-video/plasma-mediacenter-1.3.0 (plasma-mediacenter-1.3.0:20140708-115606.log.gz,36.55 KB, application/x-gzip)
2014-07-08 12:56 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2014-07-08 12:56:25 UTC
Created attachment 380434 [details]
Build log for media-video/plasma-mediacenter-1.3.0

If I try to emerge media-video/plasma-mediacenter-1.3.0 with FEATURES=test it fails with:

>>> Working in BUILD_DIR: "/var/tmp/portage/media-video/plasma-mediacenter-1.3.0/work/plasma-mediacenter-1.3.0_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/media-video/plasma-mediacenter-1.3.0/work/plasma-mediacenter-1.3.0_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/media-video/plasma-mediacenter-1.3.0/work/plasma-mediacenter-1.3.0_build/gentoo_rules.cmake  /var/tmp/portage/media-video/plasma-mediacenter-1.3.0/work/plasma-mediacenter
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/media-video/plasma-mediacenter-1.3.0/work/plasma-mediacenter-1.3.0_build/gentoo_common_config.cmake
-- Found Qt-Version 4.8.5 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Found KDE 4.12 include dir: /usr/include
-- Found KDE 4.12 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found taglib: -L/usr/lib64 -ltag
-- Taglib found: -L/usr/lib64 -ltag
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find mockcpp (missing: mockcpp_LIBRARIES mockcpp_INCLUDE_DIRS)
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  libs/test/cmake/Findmockcpp.cmake:39 (find_package_handle_standard_args)
  libs/test/CMakeLists.txt:11 (find_package)


-- Configuring incomplete, errors occurred!

I think it may refer to <http://code.google.com/p/mockcpp/>, for which, AFAIK, there is no ebuild in gentoo. I guess it's thus necessary to disable tests for media-video/plasma-mediacenter.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2014-07-17 14:55:10 UTC
Thanks, fixed in CVS and git.

+  plasma-mediacenter-1.3.0.ebuild:
+  Restrict tests wrt bug #516686.

http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=11fefa642783275f3042bb389224d073b1bc966c