Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629942 - media-sound/clementine-1.3.1-r5 and media-sound/clementine-1.3.1-r6: emerge fails with CMake Error
Summary: media-sound/clementine-1.3.1-r5 and media-sound/clementine-1.3.1-r6: emerge f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Fat-Zer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-05 08:37 UTC by Andreas Prieß
Modified: 2017-09-10 20:36 UTC (History)
4 users (show)

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


Attachments
emerge --info '=media-sound/clementine-1.3.1-r6::gentoo' (emerge-info.txt,19.69 KB, text/plain)
2017-09-05 08:37 UTC, Andreas Prieß
Details
The complete build log. (media-sound:clementine-1.3.1-r6:20170905-080439.log,15.02 KB, text/plain)
2017-09-05 08:39 UTC, Andreas Prieß
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Prieß 2017-09-05 08:37:29 UTC
Created attachment 492410 [details]
emerge --info '=media-sound/clementine-1.3.1-r6::gentoo'

Rebuilding clementine fails in and after a full world rebuild:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GMOCK_INCLUDE_DIRS
   used as include directory in directory /var/tmp/portage/media-sound/clementine-1.3.1-r6/work/Clementine-1.3.1/tests

$ emerge -pqv '=media-sound/clementine-1.3.1-r6::gentoo'

[ebuild     U ] media-sound/clementine-1.3.1-r6 [1.3.1-r5] USE="dbus mtp pulseaudio udisks -amazoncloud -box -cdda -debug -dropbox -googledrive -ipod -lastfm -mms -moodbar -projectm -skydrive {-test} -wiimote (-vkontakte%)" LINGUAS="de en_GB nb -af -ar -be -bg -bn -br -bs -ca -cs -cy -da -el -en_CA -eo -es -et -eu -fa -fi -fr -ga -gl -he -he_IL -hi -hr -hu -hy -ia -id -is -it -ja -ka -kk -ko -lt -lv -mr -ms -my -nl -oc -pa -pl -pt -pt_BR -ro -ru -si_LK -sk -sl -sr -sr@latin -sv -te -tr -tr_TR -uk -uz -vi -zh_CN -zh_TW"
Comment 1 Andreas Prieß 2017-09-05 08:39:00 UTC
Created attachment 492412 [details]
The complete build log.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-09-05 14:50:04 UTC
What version of 

  dev-cpp/gtest

and/or

  dev-cpp/gmock

do you have installed?

In case you do not have gmock installed and gtest in a version lower than 1.8.0, please upgrade gtest to version 1.8.0 or higher and report back if that fixes your issue.
Comment 3 Andreas Prieß 2017-09-06 00:25:24 UTC
dev-cpp/gtest was at stable version 1.7.0-r1, dev-cpp/gmock not installed.

Upgrading to

  dev-cpp/gtest-1.8.0

fixes the problem and

  media-sound/clementine-1.3.1-r6

emerges without problems.

Thanks!
Comment 4 jms 2017-09-09 11:43:43 UTC
had same problem
Upgrading to

  dev-cpp/gtest-1.8.0

fixes the problem and

  media-sound/clementine-1.3.1-r6

emerges without problems.

Thanks!
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-09-10 20:36:40 UTC
commit 56a696664d0e7212a47b5d92b6b69fa89a0cfda7 (HEAD -> master, origin/master, origin/HEAD)
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Sun Sep 10 22:34:18 2017

    media-sound/clementine: Adjusted dependency on dev-cpp/gtest (bug #629942).

    Package-Manager: Portage-2.3.8, Repoman-2.3.3