Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15797 - Gnucash 1.8.1 Ebuild
Summary: Gnucash 1.8.1 Ebuild
Status: RESOLVED DUPLICATE of bug 17227
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 14438 (view as bug list)
Depends on: 17323
Blocks:
  Show dependency tree
 
Reported: 2003-02-16 14:50 UTC by Mark Farver
Modified: 2005-07-17 13:06 UTC (History)
8 users (show)

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


Attachments
Updated dev-libs/g-wrap for gnucash (g-wrap-1.3.4.ebuild,941 bytes, application/octet-stream)
2003-02-16 14:52 UTC, Mark Farver
Details
Updated gnucash ebuild (gnucash-1.8.1.ebuild,1.37 KB, application/octet-stream)
2003-02-16 14:52 UTC, Mark Farver
Details
Revised (g-wrap-1.3.4.ebuild,941 bytes, text/plain)
2003-02-19 01:39 UTC, Brad Laue (RETIRED)
Details
filters CFLAGS "-fno-inline" and "-finline-functions" (gnucash-1.8.1.ebuild-CFLAG.patch,362 bytes, patch)
2003-02-25 10:16 UTC, Nick Fish
Details | Diff
Patch which modifies above ebuild to support libofx (gnucash-1.8.1.ebauild.patch,144 bytes, patch)
2003-03-13 23:25 UTC, Nick Palmer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Farver 2003-02-16 14:50:04 UTC
Updated ebuild for recently released Gnucash 1.8.1
Comment 1 Mark Farver 2003-02-16 14:52:22 UTC
Created attachment 8338 [details]
Updated dev-libs/g-wrap for gnucash

Requires both new gwrap and new gnucash, as well as removing package.mask entry
for g-wrap
Comment 2 Mark Farver 2003-02-16 14:52:56 UTC
Created attachment 8339 [details]
Updated gnucash ebuild
Comment 3 Julian Scheel 2003-02-17 14:18:01 UTC
Could you possibly add support for OpenHBCI? (You need to make an ebuild for it) 
Comment 4 Brad Laue (RETIRED) gentoo-dev 2003-02-19 01:39:03 UTC
Created attachment 8474 [details]
Revised

slib 2.4.1 is usable with this ebuild; the requirement that it be greater than
2.4.3 is spurious and creates an additional hurdle in the form of a masked
entry.

Thanks for saving me the work of updating gnucash myself, I hope this is
committed soon after the QA freeze. :)
Comment 5 christian gut 2003-02-23 10:05:04 UTC
oh yes! openHBCI would be very nice. so i havent to compile it myself
Comment 6 foser (RETIRED) gentoo-dev 2003-02-24 07:23:44 UTC
*** Bug 14438 has been marked as a duplicate of this bug. ***
Comment 7 Nick Fish 2003-02-25 10:15:25 UTC
You need to filter for the CFLAGS "-fno-inline -finline-functions" or else make fails with errors.  I spoke with the gnucash developers and they said it probably interferes with their usage of G_INLINE_FUNC.  See my patch called gnucash-1.8.1.ebuild-CFLAG.patch.

make[4]: Entering directory `/var/tmp/portage/gnucash-1.8.1-bak/work/gnucash-1.8       .1/src/engine/test'
/bin/sh ../../../libtool --mode=link gcc -I../../../src/gnc-module -I../../../sr       c/test-core -I../../../src/engine -I../../../src/engine/test-core  -I/usr/includ       e/glib-1.2 -I/usr/lib/glib/include  -march=pentium3 -O3 -pipe -funroll-loops -ff       orce-addr -foptimize-sibling-calls -fno-inline -finline-functions -finline-limit       =1000 -Wall -Wunused   -Werror  -o test-commodities  test-commodities.o ../../..       /src/gnc-module/libgncmodule.la ../../../src/test-core/libgncmod-test.la ../libg       ncmod-engine.la ../libgw-engine.la ../libgw-kvp.la ../test-core/libgncmod-test-e       ngine.la -L/usr/lib -lglib -lltdl -lpopt -lm  -lm
gcc -I../../../src/gnc-module -I../../../src/test-core -I../../../src/engine -I.       ./../../src/engine/test-core -I/usr/include/glib-1.2 -I/usr/lib/glib/include -ma       rch=pentium3 -O3 -pipe -funroll-loops -fforce-addr -foptimize-sibling-calls -fno       -inline -finline-functions -finline-limit=1000 -Wall -Wunused -Werror -o .libs/t       est-commodities test-commodities.o  ../../../src/gnc-module/.libs/libgncmodule.s       o -L/usr/lib ../../../src/test-core/.libs/libgncmod-test.a ../.libs/libgncmod-en       gine.so ../.libs/libgw-engine.so ../.libs/libgw-kvp.so ../test-core/.libs/libgnc       mod-test-engine.a /var/tmp/portage/gnucash-1.8.1/work/gnucash-1.8.1/src/engine/.       libs/libgncmod-engine.so /var/tmp/portage/gnucash-1.8.1/work/gnucash-1.8.1/src/g       nc-module/.libs/libgncmodule.so /var/tmp/portage/gnucash-1.8.1/work/gnucash-1.8.       1/src/core-utils/.libs/libcore-utils.so /var/tmp/portage/gnucash-1.8.1/work/gnuc       ash-1.8.1/src/engine/.libs/libgw-engine.so /var/tmp/portage/gnucash-1.8.1/work/g       nucash-1.8.1/src/engine/.libs/libgw-kvp.so /usr/lib/libgwrap-wct.so /usr/lib/lib       gwrap-glib.so /usr/lib/libguile.so /usr/lib/libqthreads.so -lpthread /usr/lib/li       bglib.so /usr/lib/libltdl.so -ldl /usr/lib/libpopt.so -lm -Wl,--rpath -Wl,/usr/l       ib/gnucash
../.libs/libgncmod-engine.so: undefined reference to `gen_event_trans'
../.libs/libgncmod-engine.so: undefined reference to `check_open'
../.libs/libgncmod-engine.so: undefined reference to `mark_account'
../.libs/libgncmod-engine.so: undefined reference to `gen_event'
../.libs/libgncmod-engine.so: undefined reference to `account_event'
../.libs/libgncmod-engine.so: undefined reference to `mark_split'
../.libs/libgncmod-engine.so: undefined reference to `mark_trans'
collect2: ld returned 1 exit status
make[4]: *** [test-commodities] Error 1
make[4]: Leaving directory `/var/tmp/portage/gnucash-1.8.1-bak/work/gnucash-1.8.       1/src/engine/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnucash-1.8.1-bak/work/gnucash-1.8.       1/src/engine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnucash-1.8.1-bak/work/gnucash-1.8.       1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnucash-1.8.1-bak/work/gnucash-1.8.       1'
make: *** [all-recursive-am] Error 2
Comment 8 Nick Fish 2003-02-25 10:16:32 UTC
Created attachment 8709 [details, diff]
filters CFLAGS "-fno-inline" and "-finline-functions"
Comment 9 Nick Palmer 2003-03-13 23:25:30 UTC
Created attachment 9370 [details, diff]
Patch which modifies above ebuild to support libofx

This patches the ebuild already submitted for this bug so that it knows how to
include ofx support if USE includes ofx
Comment 10 Carl Perry (RETIRED) gentoo-dev 2003-03-17 02:23:58 UTC
Commited g-wrap-1.3.4 and gnucash-1.8.1 to the experimental x86 arch flag for testing.  Did not include the libofx patches as I did not find a tested lbofx ebuild attached to bug #17323, and I have no way to test the OFX interface myself.  If someone will create an ebuild and test if it works, I'll be happy to apply the patch.
Comment 11 Martin Holzer (RETIRED) gentoo-dev 2003-03-17 13:39:58 UTC
checking whether guile works... yes
checking for guile... /usr/bin/guile
checking for guile - 1.3.4 <= version < 99.99.99... yes
checking for g-wrap-config... no
configure: warning: g-wrap-config failed
configure: error:

  g-wrap does not appear to be installed correctly, or is not new
  enough.  Right now gnucash requires at least version 1.3.3 to build
  as there were major changes between version 1.3.1 and 1.3.2, and
  extra support added between 1.3.2 and 1.3.3 that is now required
  by gnucash.
  If you need to install g-wrap, you can find it at
  http://www.gnucash.org/pub/g-wrap.


!!! ERROR: app-office/gnucash-1.8.1 failed.
!!! Function econf, Line 273, Exitcode 1
!!! econf failed
Comment 12 Chris Thompson 2003-03-17 13:51:27 UTC
I can confirm this happens to me.  Emerging g-wrap-1.3.4 BEFORE emerging gnucash allows 
the app to compile now. 
Comment 13 foser (RETIRED) gentoo-dev 2003-03-17 14:52:28 UTC
that is correct, the submitted ebuild was wrong and shouldnt have been committed.

we are working on a correct ebuild, but i will p.mask this one.
Comment 14 Carl Perry (RETIRED) gentoo-dev 2003-03-17 17:38:17 UTC
oops, I always tested the g-wrap ebuild before the gnucash ebuild.  Sorry about that.  The ebuild now depends on the correct g-wrap, and I've tested it with g-wrap and gnucash unmerged from my system.  Also tested it with an older verison of g-wrap installed, it upgraded correctly.  gnucash functions as expected.

Also updated gnucash-1.6.8 to require a g-wrap less than 1.3 so it does not break.

Removed package.mask entries for gnucash-1.8.1 and >=g-wrap-1.3

g-wrap-1.3.4 and gnucash-1.8.1 are KEYWORDed to experimental for testing
Comment 15 foser (RETIRED) gentoo-dev 2003-03-17 18:51:26 UTC
please leave it assigned to us, so we can track it.

And please run changes to these ebuilds trough one of the gnome devs as well for now. And removing the p.mask doesnt look like a good idea to me, read my mail.
Comment 16 foser (RETIRED) gentoo-dev 2003-03-17 18:54:38 UTC

*** This bug has been marked as a duplicate of 17227 ***