Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884755 - app-office/gnucash-4.12: CMake Error at common/cmake_modules/GncAddTest.cmake:162: GTEST not found
Summary: app-office/gnucash-4.12: CMake Error at common/cmake_modules/GncAddTest.cmake...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 888469
  Show dependency tree
 
Reported: 2022-12-07 19:37 UTC by Toralf Förster
Modified: 2022-12-26 07:03 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.91 KB, text/plain)
2022-12-07 19:37 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,49.99 KB, text/plain)
2022-12-07 19:37 UTC, Toralf Förster
Details
app-office:gnucash-4.12:20221207-054510.log (app-office:gnucash-4.12:20221207-054510.log,5.94 KB, text/plain)
2022-12-07 19:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,129.59 KB, text/plain)
2022-12-07 19:37 UTC, Toralf Förster
Details
environment (environment,142.02 KB, text/plain)
2022-12-07 19:37 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,703 bytes, application/x-bzip)
2022-12-07 19:37 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.18 KB, application/x-bzip)
2022-12-07 19:37 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.00 KB, application/x-bzip)
2022-12-07 19:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.98 KB, application/x-bzip)
2022-12-07 19:37 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-12-07 19:37:05 UTC
CMake Error at common/cmake_modules/GncAddTest.cmake:162 (message):
  GTEST not found.  Please install it or set GTEST_ROOT
Call Stack (most recent call first):
  CMakeLists.txt:625 (gnc_gtest_configure)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/app-office/gnucash-4.12/work/gnucash-4.12_build/CMakeFiles/CMakeOutput.log".
 * ERROR: app-office/gnucash-4.12::gentoo failed (configure phase):

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221205-230004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit 4338090ad29933383ef6012975386df5bfdf0752
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 7 01:31:55 2022 +0000

    2022-12-07 01:31:55 UTC

emerge -qpvO app-office/gnucash
[ebuild  N    ] app-office/gnucash-4.12  USE="gui nls -aqbanking -debug -doc -examples -gnome-keyring -mysql -ofx -postgres -python -quotes -register2 -smartcard -sqlite -test" PYTHON_SINGLE_TARGET="python3_10 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-12-07 19:37:06 UTC
Created attachment 840741 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-07 19:37:07 UTC
Created attachment 840743 [details]
CMakeOutput.log
Comment 3 Toralf Förster gentoo-dev 2022-12-07 19:37:07 UTC
Created attachment 840745 [details]
app-office:gnucash-4.12:20221207-054510.log
Comment 4 Toralf Förster gentoo-dev 2022-12-07 19:37:09 UTC
Created attachment 840747 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-12-07 19:37:10 UTC
Created attachment 840749 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-12-07 19:37:11 UTC
Created attachment 840751 [details]
etc.clang.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-07 19:37:12 UTC
Created attachment 840753 [details]
etc.portage.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-07 19:37:12 UTC
Created attachment 840755 [details]
logs.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-12-07 19:37:13 UTC
Created attachment 840757 [details]
temp.tar.bz2
Comment 10 Chris Smith 2022-12-15 16:28:41 UTC
-- Checking for GTEST
CMake Error at common/cmake_modules/GncAddTest.cmake:162 (message):
  GTEST not found.  Please install it or set GTEST_ROOT
Call Stack (most recent call first):
  CMakeLists.txt:625 (gnc_gtest_configure)
Comment 11 Larry the Git Cow gentoo-dev 2022-12-26 07:03:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c8f2d16fe7ca3b878db262dc1f5749d4e548023

commit 4c8f2d16fe7ca3b878db262dc1f5749d4e548023
Author:     Marco Scardovi <mscardovi@icloud.com>
AuthorDate: 2022-12-19 22:30:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-26 07:03:12 +0000

    app-office/gnucash: revbump, add unconditional gtest dep, fix bug 884755
    
    Gnucash team adds gtest as unconditional dep.
    We are gonna respect this requirement, adding it too.
    
    See: https://bugs.gnucash.org/show_bug.cgi?id=795250
    Closes: https://bugs.gentoo.org/884755
    Signed-off-by: Marco Scardovi <mscardovi@icloud.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 ...{gnucash-4.12.ebuild => gnucash-4.12-r1.ebuild} | 26 ++++++++++------------
 1 file changed, 12 insertions(+), 14 deletions(-)