Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690270 - app-office/gnucash-3.6 : Unknown CMake command check_symbol_exists .
Summary: app-office/gnucash-3.6 : Unknown CMake command check_symbol_exists .
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-07-20 06:59 UTC by Toralf Förster
Modified: 2019-10-13 11:40 UTC (History)
10 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.15 KB, text/plain)
2019-07-20 06:59 UTC, Toralf Förster
Details
app-office:gnucash-3.6:20190719-221624.log (app-office:gnucash-3.6:20190719-221624.log,7.96 KB, text/plain)
2019-07-20 06:59 UTC, Toralf Förster
Details
CMakeError.log (CMakeError.log,4.81 KB, text/plain)
2019-07-20 06:59 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,87.08 KB, text/plain)
2019-07-20 06:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,88.37 KB, text/plain)
2019-07-20 06:59 UTC, Toralf Förster
Details
environment (environment,159.34 KB, text/plain)
2019-07-20 06:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.68 KB, application/x-bzip)
2019-07-20 06:59 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.50 KB, application/x-bzip)
2019-07-20 06:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.56 KB, application/x-bzip)
2019-07-20 06:59 UTC, Toralf Förster
Details
Patch to fix CMake CheckSymbolExists (gnucash-3.6-CheckSymbolExists.patch,536 bytes, patch)
2019-07-22 18:21 UTC, Bernd Feige
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-07-20 06:59:01 UTC
-- Performing Test have_mod_mask - Success
CMake Error at gnucash/register/register-gnome/CMakeLists.txt:4 (check_symbol_exists):
  Unknown CMake command "check_symbol_exists".


-- Configuring incomplete, errors occurred!

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20190717-053737

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.36.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

emerge -qpvO app-office/gnucash
[ebuild  N    ] app-office/gnucash-3.6  USE="gui nls -aqbanking -chipcard -debug -doc -examples -gnome-keyring -mysql -ofx -postgres -python -quotes -register2 -sqlite" PYTHON_SINGLE_TARGET="python3_6 -python3_5" PYTHON_TARGETS="python3_6 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2019-07-20 06:59:04 UTC
Created attachment 583716 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-07-20 06:59:07 UTC
Created attachment 583718 [details]
app-office:gnucash-3.6:20190719-221624.log
Comment 3 Toralf Förster gentoo-dev 2019-07-20 06:59:09 UTC
Created attachment 583720 [details]
CMakeError.log
Comment 4 Toralf Förster gentoo-dev 2019-07-20 06:59:13 UTC
Created attachment 583722 [details]
CMakeOutput.log
Comment 5 Toralf Förster gentoo-dev 2019-07-20 06:59:16 UTC
Created attachment 583724 [details]
emerge-history.txt
Comment 6 Toralf Förster gentoo-dev 2019-07-20 06:59:19 UTC
Created attachment 583726 [details]
environment
Comment 7 Toralf Förster gentoo-dev 2019-07-20 06:59:22 UTC
Created attachment 583728 [details]
etc.portage.tbz2
Comment 8 Toralf Förster gentoo-dev 2019-07-20 06:59:24 UTC
Created attachment 583730 [details]
logs.tbz2
Comment 9 Toralf Förster gentoo-dev 2019-07-20 06:59:27 UTC
Created attachment 583732 [details]
temp.tbz2
Comment 10 Bernd Feige 2019-07-22 18:21:52 UTC
Created attachment 584124 [details, diff]
Patch to fix CMake CheckSymbolExists

In the affected CMakeLists.txt, include(CheckSymbolExists) must be added as per the attached patch.
Comment 11 Sławomir Nizio 2019-08-20 22:49:14 UTC
I confirm the bug and that the patch makes it build. Thanks, Bernd!
Comment 12 Nico Kalkhoven 2019-09-25 17:44:27 UTC
I also confirm the bug and it is indeed fixed with the patch by Bernd (thanks)

I also got the same error while trying to install gnucash-3.3 (haven't tried if the patch also fixes it)
Comment 13 Larry the Git Cow gentoo-dev 2019-10-13 11:40:51 UTC
The bug has been closed via the following commit(s):

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

commit ff46a76b91b203f21ddc917a6486be6d2f73011d
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2019-09-15 19:58:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-10-13 11:40:24 +0000

    app-office/gnucash: Fix check_symbol_exists error
    
    Adds "include(CheckSymbolExists)" to avoid the error
    "Unknown CMake command check_symbol_exists"
    
    Closes: https://bugs.gentoo.org/690270
    Package-Manager: Portage-2.3.75, Repoman-2.3.17
    Signed-off-by: Peter Levine <plevine457@gmail.com>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/gnucash-3.7-include-checksymbolexists.patch        | 12 ++++++++++++
 app-office/gnucash/gnucash-3.7.ebuild                        |  5 ++++-
 2 files changed, 16 insertions(+), 1 deletion(-)