Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111738 - gnucash-1.8.9 dep on libofx causes up-/downgrade cycle
Summary: gnucash-1.8.9 dep on libofx causes up-/downgrade cycle
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
: 113612 (view as bug list)
Depends on: 113175
  Show dependency tree
Reported: 2005-11-06 15:01 UTC by Horst Schirmeier
Modified: 2006-02-06 11:38 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Horst Schirmeier 2005-11-06 15:01:28 UTC
I have gnucash-1.8.9 installed on my system.

Observed behaviour on `emerge -uD world` is that cyclically on each emerge
either libofx-0.7.0-r1 (upgrade from -0.6.4) or libofx-0.6.4 (downgrade from
0.7.0-r1) are being installed; this happens since libofx-0.7.0 went stable in

After unmerging both gnucash and libofx, an `emerge -pv gnucash` gives

# emerge -pv gnucash

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-libs/libofx-0.7.0-r1  0 kB 
[ebuild  N    ] dev-libs/libofx-0.6.4  0 kB 
[ebuild  N    ] app-office/gnucash-1.8.9  +hbci +nls +ofx -postgres -quotes
9,244 kB 

The "range dependency" in the gnucash ebuild

ofx? ( >=dev-libs/libofx-0.6.4                                                 
        <dev-libs/libofx-0.7.0 )

seems to cause the trouble; I've been told that this kind of dependency isn't
handled correctly by portage. Possible solutions include

- making libofx slotted
- bumping a more recent version of gnucash to stable.
Comment 1 Horst Schirmeier 2005-11-07 02:37:50 UTC
Note that this is primarily a Portage/emerge bug; this kind of version range
dependency should be handled correctly, IMO.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2005-11-07 04:57:48 UTC
Arch teams, can we push 1.8.11 to stable?
Comment 3 Robert Muchacki (RETIRED) gentoo-dev 2005-11-07 20:59:59 UTC
It does not compile on my fresh and clean x86 box. I get the following error:

cannot find -lgwrap-glib
collect2: ld returned 1 exit status
make[3]: *** [] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp.portage/gnucash-1.8.11/work/gnucash-1.8.11/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11'
make: *** [all-recursive] Error 2

I will re-sync in a while and try again.
Comment 4 Robert Muchacki (RETIRED) gentoo-dev 2005-11-07 21:01:42 UTC
src' is of course `/var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11/

Sorry. To early in the morning :)
Comment 5 Robert Muchacki (RETIRED) gentoo-dev 2005-11-07 21:20:37 UTC
I think that emerging dev-libs/g-wrap fixes the problem, so it should be in the 
DEPENDS="". I will confirm that later on today.
Comment 6 Robert Muchacki (RETIRED) gentoo-dev 2005-11-08 12:40:06 UTC
After adding DEPENDS="dev-libs/g-wrap" gnucash-1.8.11 compiled well.

Don't think it could be marked stable unless this is resolved.
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2005-11-10 11:12:08 UTC
dev-libs/g-wrap *is* in the DEPENDS list and has been for a while.
Comment 8 Gustavo Zacarias (RETIRED) gentoo-dev 2005-11-10 11:18:09 UTC
Do we have candidate versions for the support libraries & stuff that aren't
stable  either? (net-libs/aqbanking, >=sys-libs/gwenhywfar-1.14.0).
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2005-11-11 08:26:51 UTC
Hanno, cc'ing you so you can organise stabling of the dependencies like
aqbanking gwenhyfar and their dependencies.
Comment 10 Gustavo Zacarias (RETIRED) gentoo-dev 2005-11-21 09:15:18 UTC
gnucash-1.8.11 sparc stable.
Comment 11 Mark Loeser (RETIRED) gentoo-dev 2005-11-25 22:51:26 UTC
stable on x86
Comment 12 Simon Stelling (RETIRED) gentoo-dev 2005-11-26 01:57:11 UTC
*** Bug 113612 has been marked as a duplicate of this bug. ***
Comment 13 Simon Stelling (RETIRED) gentoo-dev 2005-11-26 04:00:14 UTC
amd64 stable
Comment 14 Joe Jezak (RETIRED) gentoo-dev 2006-01-07 23:34:39 UTC
Hansmi has already marked this ppc stable.
Comment 15 Aron Griffis (RETIRED) gentoo-dev 2006-02-06 11:38:37 UTC
alpha/ia64 done