Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 140113

Summary: gnucash-2.0.0 needs libgsf and goffice w/ USE=gnome
Product: Gentoo Linux Reporter: Charles Sheridan <charliecompany>
Component: New packagesAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED INVALID    
Severity: normal CC: gnome-office+disabled, nadams
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Charles Sheridan 2006-07-12 06:33:58 UTC
Gnucash 2.0.0 needs libgsf and goffice to be built with the gnome use flag turned on. If possible, this should be be checked in the ebuild.
Comment 1 Josh Sled 2006-07-12 07:49:20 UTC
It does.

phoenix ~ # grep -B1 "built_with_use" /usr/portage/app-office/gnucash/gnucash-2.0.0.ebuild
pkg_setup() {
        built_with_use gnome-extra/libgsf gnome || die "gnome-extra/libgsf must be built with gnome"        built_with_use x11-libs/goffice gnome || die "x11-libs/goffice must be built with gnome"
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2006-07-12 10:56:46 UTC
as Josh said...
Comment 3 Nathan Adams 2006-09-20 08:02:25 UTC
I think what the submitter meant was that the ebuild should take care of the dependency for you (and it should). The problem still exists in gnucash-2.0.1:

!!! ERROR: app-office/gnucash-2.0.1 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  gnucash-2.0.1.ebuild, line 55:   Called die

!!! gnome-extra/libgsf must be built with gnome
!!! If you need support, post the topmost build error, and the call stack if relevant.

Re-open this bug or create a new one?
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2006-09-20 09:49:52 UTC
Nathan, *this* ebuild can not take care of the dependency for you.  That's a limitation of portage I guess.  You can,if you wish, open a new bug and assign to the portage team.  Be prepared to contribute some code to that, though :)
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2006-09-20 18:59:57 UTC
there are two ways around this:

1. edit /etc/portage/package.use and put these lines in it:
    gnome-extra/libgsf gnome
    x11-libs/goffice gnome

2. OR: edit /etc/make.conf and add "gnome" to your USE string

3. Now, run `emerge -1 libgsf goffice` to re-emerge those two packages with the new USE flag.

4. emerge gnucash