Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639786 - app-office/gnucash-2.6.15-r1 with dev-scheme/guile-2.2.3 - configure: checking for guile-2.0 >= 2.0.0... no
Summary: app-office/gnucash-2.6.15-r1 with dev-scheme/guile-2.2.3 - configure: checkin...
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:
Depends on:
Blocks: guile-2.2
  Show dependency tree
 
Reported: 2017-12-04 16:23 UTC by Chris Smith
Modified: 2018-02-23 11:26 UTC (History)
15 users (show)

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


Attachments
gnucash-2.6.18.ebuild ( only works prior to < guil=2.2) (file_639786.txt,480 bytes, text/plain)
2017-12-07 01:01 UTC, tonemgub
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2017-12-04 16:23:54 UTC
checking for guile-2.0 >= 2.0.0... no
Package guile-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `guile-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'guile-2.0' found
configure: error: Library requirements (guile-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Also note that gnucash is now at version 2.6.18-1 and should be bumped as well.
Comment 1 Fred Krogh 2017-12-05 17:56:35 UTC
Same problem here.
Comment 2 Anthony Waters 2017-12-05 20:28:15 UTC
I had the same issue, gnucash checks for guile-2.0 within configure.ac.  I downgraded to guile-2.0.14-r3 to get it to build temporarily.
Comment 3 Derk W te Bokkel 2017-12-05 22:13:59 UTC
any chance of an updated version as well?
gnucash-2.6.18 was released sept 24, 2017
Comment 4 Adam Stylinski 2017-12-07 00:16:54 UTC
(In reply to Derk W te Bokkel from comment #3)
> any chance of an updated version as well?
> gnucash-2.6.18 was released sept 24, 2017

It appears an updated version doesn't/won't help, not if you want the stable copy of gnucash, anyway.  There are deprecated functions being called in gnucash that even the deprecated useflag isn't shimming into 2.2.3 (it seems to have issues linking in a listify function).  Guile seems to have some way to deprecate but support deprecated functions but my guess is the ones being used by gnucash are just too old, as the linker error shows in the function name "REPLACE_WITH".
Comment 5 tonemgub 2017-12-07 01:01:42 UTC
Created attachment 508614 [details]
gnucash-2.6.18.ebuild ( only works prior to < guil=2.2)
Comment 6 tonemgub 2017-12-07 01:02:26 UTC
Just bumped into this bug as well. As another person mentioned, the guile version bump requires a complete rewrite of GnuCash due to depreciated functions. I tried to patch configure.ac, but even after passing configure it fails to run properly. We'll likely have to wait on upstream. 

However, I took the time to make an ebuild for 2.6.18 which runs ok on my machine with after masking the new guile. Put ">=dev-scheme/guile-2.2" into your /etc/portage/package.mask and enjoy.
Comment 7 Derk W te Bokkel 2017-12-07 03:30:01 UTC
(In reply to tonemgub from comment #5)
> Created attachment 508614 [details]
> gnucash-2.6.18.ebuild ( only works prior to < guil=2.2)

your ebuild is not in the attachment just your comment text ..
Comment 8 ad PC 2017-12-08 16:17:44 UTC
Confirmed.
Comment 9 Daniel M. Weeks 2017-12-13 21:18:36 UTC
2.6.18 has been available since the release date in the junkdrawer overlay. It has just been updated to workaround the guile 2.2 problem.
Comment 10 rnddim 2017-12-23 21:44:46 UTC
I've experienced this bug as well. Is there a solution in the works?
Comment 11 pva 2017-12-24 09:02:41 UTC
Mask guile-2.2 for the time. 

$ cat /etc/portage/package.mask/guile 
>=dev-scheme/guile-2.2
Comment 12 Larry the Git Cow gentoo-dev 2018-01-06 17:28:53 UTC
The bug has been referenced in the following commit(s):

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

commit 1ea343dfb1500833c518e04492e591e285695d96
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2018-01-06 17:28:04 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2018-01-06 17:28:36 +0000

    app-office/gnucash: Bump to 2.6.19
    
    Added myself as a maintainer.
    
    Added dependency to prevent >=dev-scheme/guile-2.2 from being
    considered as a satisfying depend. The GnuCash 2.6 series is only compatible
    with guile-1.8 and guile-2.0. guile-2.2 support will come with the
    GnuCash 2.7/3.0 series.
    
    Added dependency on gnome-extra/yelp so that GnuCash can actually
    display the help documentation.
    
    Bug: https://bugs.gentoo.org/627010
    Bug: https://bugs.gentoo.org/639786
    Closes: https://bugs.gentoo.org/620314
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-office/gnucash/Manifest              |   1 +
 app-office/gnucash/gnucash-2.6.19.ebuild | 131 +++++++++++++++++++++++++++++++
 app-office/gnucash/metadata.xml          |   4 +
 3 files changed, 136 insertions(+)}
Comment 13 Larry the Git Cow gentoo-dev 2018-02-23 11:26:23 UTC
The bug has been closed via the following commit(s):

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

commit 0924e0af0e078bcca0a38df4b628acd7eb0a0b7e
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2018-02-23 11:25:56 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2018-02-23 11:25:56 +0000

    app-office/gnucash: Small cleanup
    
    Closes: https://bugs.gentoo.org/643566
    Closes: https://bugs.gentoo.org/627010
    Closes: https://bugs.gentoo.org/639786
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-office/gnucash/Manifest                        |   2 -
 .../gnucash/files/gnucash-2.7.3-no-gtest-src.patch |  15 --
 app-office/gnucash/gnucash-2.6.15-r1.ebuild        | 111 ---------------
 app-office/gnucash/gnucash-2.6.15.ebuild           | 112 ---------------
 app-office/gnucash/gnucash-2.7.3.ebuild            | 153 --------------------
 app-office/gnucash/gnucash-2.7.4.ebuild            | 155 ---------------------
 6 files changed, 548 deletions(-)