Summary: | Gnucash 1.8.1 Ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark Farver <mfarver> |
Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED DUPLICATE | ||
Severity: | enhancement | CC: | chris, edolnx, ennui, gentoo, gentoo, jscheel, mfarver, mholzer |
Priority: | High | ||
Version: | 1.4_rc2 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 17323 | ||
Bug Blocks: | |||
Attachments: |
Updated dev-libs/g-wrap for gnucash
Updated gnucash ebuild Revised filters CFLAGS "-fno-inline" and "-finline-functions" Patch which modifies above ebuild to support libofx |
Description
Mark Farver
2003-02-16 14:50:04 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
Created attachment 8339 [details]
Updated gnucash ebuild
Could you possibly add support for OpenHBCI? (You need to make an ebuild for it) 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. :)
oh yes! openHBCI would be very nice. so i havent to compile it myself *** Bug 14438 has been marked as a duplicate of this bug. *** 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 Created attachment 8709 [details, diff]
filters CFLAGS "-fno-inline" and "-finline-functions"
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
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. 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 I can confirm this happens to me. Emerging g-wrap-1.3.4 BEFORE emerging gnucash allows the app to compile now. 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. 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 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. *** This bug has been marked as a duplicate of 17227 *** |