Summary: | app-office/gnucash-1.99.0 ebuild (gnucash2 cvs ebuild) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sébastien Champigny <sebgarden> |
Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | enhancement | CC: | jonathan |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-p-2257609.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch configure.in for correct db-1.85 compatibility check
app-office/gnucash-1.99.0 ebuild (Gnucash2 cvs ebuild) Patch correcting some typos in *m4 files Working app-office/gnucash-1.99.0 ebuild Updated ebuild using cvs eclass Updated gnucash ebuild to install in /opt/gnc-g2-unstable/ gnucash-1.99.0-r4.ebuild diff gnome2.eclass gnome2-modified.eclass UPDATE diff gnome2.eclass gnome2-modified.eclass UPDATE gnucash-1.99.0-r4.ebuild |
Description
Sébastien Champigny
2005-03-31 14:19:20 UTC
Created attachment 54972 [details, diff]
Patch configure.in for correct db-1.85 compatibility check
Created attachment 54973 [details]
app-office/gnucash-1.99.0 ebuild (Gnucash2 cvs ebuild)
It seems the sandbox error is actually gone with my last revision of the ebuild before posting it here. Someone on the forum said he has a fix for the next error message. Created attachment 55262 [details, diff]
Patch correcting some typos in *m4 files
Created attachment 55267 [details]
Working app-office/gnucash-1.99.0 ebuild
I updated the ebuild using gnome2 eclass. It's now working. Well, this doesn't
mean that the program is running without a problem, but at least you can now
easily experiment gnucash2 with portage ;-). I would consider masking this
ebuild in /usr/portage/profiles/package.mask until an official development
version is released.
Enjoy!
Regards,
S
Created attachment 55267 [details]
Working app-office/gnucash-1.99.0 ebuild
I updated the ebuild using gnome2 eclass. It's now working. Well, this doesn't
mean that the program is running without a problem, but at least you can now
easily experiment gnucash2 with portage ;-). I would consider masking this
ebuild in /usr/portage/profiles/package.mask until an official development
version is released.
Enjoy!
Regards,
Sébastien.
Waiting for comments, resolution could be changed to "TEST-REQUEST" I forgot to precise: along with this ebuild, you will need a cvs snapshot named gnucash2-20050402.tar.gz, containing a directory called "gnucash-1.99.0", in which the cvs code is located. I'm seeing the same problem, and I've followed directions that I've found here. The error is this: hobbes ~ # gnucash ERROR: In procedure dynamic-link: ERROR: file: "libgw-gnc", message: "libgw-gnc.so: cannot open shared object file: No such file or directory" any hint? Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.12-rc2-mm3 i686) ================================================================= System uname: 2.6.12-rc2-mm3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.4,dev-lang/python-2.4-r3 [2.4 (#1, Mar 21 2005, 01:03:17)] dev-lang/python: 2.3.4, 2.4-r3 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="it_IT.utf8" LC_ALL="it_IT.utf8" LINGUAS="it en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi aim alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo cdparanoia cdr cjk crypt cups curl dba divx4linux dvb dvd dvdr emboss encode esd ethereal exif faad fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gd gdbm gif gmp gnome gpm gstreamer gtk gtk2 guile hal iconv icq imagemagick imap imlib innodb ipv6 ithreads jabber jack java javascript jpeg kde lcms ldap libcaca libg++ libwww live lm_sensors lzo mad maildir mhash mikmod mime mmap mmx mng motif mozilla mp3 mpeg msn mysql nas ncurses network nfsv4 nls nptl offensive ofx ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl php plotutils png python qt quicktime readline rtc samba sasl sdl slang slp sndfile snmp sox spell sse ssl svg symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vorbis wmf wxwindows xface xft xine xml xml2 xmms xosd xpm xsl xv xvid yahoo zlib zpm linguas_it linguas_en" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS Hmm .. on that particular error, I cannot help you right now cause I'm on trip. Anyway, I'm planning to make a new revision of the ebuild, inheriting "cvs" eclass, so that it would be easier to install. Would be worth investigating this error too. During week-end or so. Ok, just let me know if you need some test, no problems at all. Created attachment 63266 [details]
Updated ebuild using cvs eclass
Sorry for the longue absence, I didn't have internet at home during two
monthes. Here you can find the last revision of the gnucash-cvs ebuild. Works
well for me. Please test and report
-Sebastien
NOTE !!! This ebuild will clobber your existing 1.8.x install. Change the `myconf = "--prefix "` bit to be something other than /usr, or it will overwrite the version of gnucash that's currently *in* /usr. Most dev's run autogen.sh with -prefix being /opt/gnc-g2-unstable/ or some-such location; considering the g2 branch isn't even *beta* right now, this might be a reasonable thing. I've tried, but I get this: what I'm doing wrong? >>> Completed installing gnucash-1.99.0-r1 into /var/tmp/portage/gnucash-1.99.0-r1/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-app-office_-_gnucash-1.99.0-r1-30658.log" mkdir: /opt/gnc-g2-unstable mkdir: /opt/gnc-g2-unstable mkdir: /opt/gnc-g2-unstable -------------------------------------------------------------------------------- Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-rc5-mm1 i686) ================================================================= System uname: 2.6.13-rc5-mm1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4 /shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://gentoo.osuosl.org http://www.ibibli o.org/pub/Linux/distributions/gentoo" LANG="it_IT.utf8" LC_ALL="it_IT.utf8" LINGUAS="it en" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi aim alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap- fonts bluetooth bonobo cdparanoia cdr cjk crypt cups curl dba directfb divx4linux dvb dvd dvdr eds e mboss encode esd ethereal exif faad fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gd gdbm gif gm p gnome gphoto2 gpm gstreamer gtk gtk2 guile hal iconv icq imagemagick imap imlib innodb ipv6 ithrea ds jabber jack java javascript jpeg kde lcms ldap libcaca libg++ libwww live lm_sensors lzo mad mail dir mhash mikmod mime mmap mmx mng motif mozilla mp3 mpeg msn mysql nas ncurses network nfsv4 nls np tl offensive ofx ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl php plotutils png python qt quicktime readline rtc ruby samba sasl scanner sdl slang slp sndfile snmp sox speex spell sse ss l svg symlink tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v 4l v4l2 vcd videos vorbis wmf wxwindows xface xft xine xml xml2 xmms xosd xpm xsl xv xvid yahoo zlib zpm linguas_it linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS I've just tried building the latest version (from cvs) and I get the following error: ERROR: In procedure dynamic-link: ERROR: file: "libgw-core-utils", message: "libgw-core-utils.so: cannot open shared object file: No such file or directory" If I emerge guile-gtk and re-build gnucash-1.99.0-r1 it clears that message. I'm not getting the error message: ERROR: In procedure dynamic-link: ERROR: file: "libgw-gnc", message: "libgw-gnc.so: cannot open shared object file: No such file or directory" I'll look into what the problem is now.... I've recomplied g-wrap, and while it now installed the libgw-gnc libraries, I now get the following error: root on jonathan [ gnucash ] --> gnucash ERROR: no code for module (g-wrapped gw-gnc) Created attachment 69651 [details]
Updated gnucash ebuild to install in /opt/gnc-g2-unstable/
emerge with FEATURES="-sandbox" or correct the sandbox error (mkdir
/opt/gnc-g2-unstable) :-) Works well here.
Have fun
Created attachment 69875 [details]
gnucash-1.99.0-r4.ebuild
Sorry for the convenience, last ebuild was not functionnal. This one should
work out of the box, if you emerge it with FEATURES="-sandbox" ... and it is
Changes since the last ebuild:
- removed the ugly copies of gnome2 eclass functions
- call a "gnome2-modified.eclass", which is identical to gnome2.eclass except
that it doesn't inherit "gnome.org.eclass" (necessary for CVS pull)
- removed unnecessary comments, white spaces and blank lines
- set SLOT to 1, as gnucash-1.8* is on slot 0
- enabled efence USE flag
Created attachment 69876 [details]
diff gnome2.eclass gnome2-modified.eclass
Comment on attachment 69876 [details] diff gnome2.eclass gnome2-modified.eclass --- /usr/portage/eclass/gnome2.eclass 2005-09-08 19:35:41.000000000 +0200 +++ /usr/local/o/my/eclass/gnome2-modified.eclass 2005-10-04 23:01:14.573437416 +0200 @@ -1,12 +1,12 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.62 2005/09/08 17:19:22 leonardop Exp $ +# $Header: $ # # Authors: # Bruce A. Locke <blocke@shivan.org> # Spidler <spider@gentoo.org> -inherit libtool gnome.org debug fdo-mime +inherit libtool debug fdo-mime # Gnome 2 ECLASS @@ -28,7 +28,7 @@ DEPEND=">=sys-apps/sed-4" -gnome2_src_configure() { +gnome2-modified_src_configure() { # [ -n "${ELTCONF}" ] && elibtoolize ${ELTCONF} elibtoolize ${ELTCONF} @@ -42,14 +42,14 @@ } -gnome2_src_compile() { +gnome2-modified_src_compile() { - gnome2_src_configure "$@" + gnome2-modified_src_configure "$@" emake || die "compile failure" } -gnome2_src_install() { +gnome2-modified_src_install() { # if this is not present, scrollkeeper-update may segfault and # create bogus directories in /var/lib/ @@ -87,7 +87,7 @@ } -gnome2_gconf_install() { +gnome2-modified_gconf_install() { if [ -x ${ROOT}/usr/bin/gconftool-2 ] then @@ -104,7 +104,7 @@ } -gnome2_gconf_uninstall() { +gnome2-modified_gconf_uninstall() { if [ -x ${ROOT}/usr/bin/gconftool-2 ] then @@ -119,7 +119,7 @@ } -gnome2_icon_cache_update() { +gnome2-modified_icon_cache_update() { local updater=`which gtk-update-icon-cache` if ! grep -q "obj /usr/share/icons" ${ROOT}/var/db/pkg/*/${PF}/CONTENTS \ || [ ! -x "$updater" ]; then @@ -140,7 +140,7 @@ eend $retval } -gnome2_omf_fix() { +gnome2-modified_omf_fix() { # workaround/patch against omf.make or omf-install/Makefile.in # in order to remove redundant scrollkeeper-updates. @@ -169,7 +169,7 @@ } -gnome2_scrollkeeper_update() { +gnome2-modified_scrollkeeper_update() { if [ -x ${ROOT}/usr/bin/scrollkeeper-update ] && [ "${SCROLLKEEPER_UPDATE}" = "1" ] then @@ -179,28 +179,28 @@ } -gnome2_pkg_postinst() { +gnome2-modified_pkg_postinst() { - gnome2_gconf_install - gnome2_scrollkeeper_update + gnome2-modified_gconf_install + gnome2-modified_scrollkeeper_update fdo-mime_desktop_database_update fdo-mime_mime_database_update - gnome2_icon_cache_update + gnome2-modified_icon_cache_update } -#gnome2_pkg_prerm() { +#gnome2-modified_pkg_prerm() { -# gnome2_gconf_uninstall +# gnome2-modified_gconf_uninstall #} -gnome2_pkg_postrm() { +gnome2-modified_pkg_postrm() { - gnome2_scrollkeeper_update + gnome2-modified_scrollkeeper_update fdo-mime_desktop_database_update fdo-mime_mime_database_update - gnome2_icon_cache_update + gnome2-modified_icon_cache_update } Created attachment 69878 [details]
UPDATE diff gnome2.eclass gnome2-modified.eclass
Hmm, struggling with bugzilla late at night is not reasonable ;-)
Forgot to replace "gnome2_" with "gnome2-modified_" in the eclass ...
Created attachment 69879 [details]
UPDATE gnucash-1.99.0-r4.ebuild
... also forgot it in the ebuild.
the hbci dependency needs to get changed, see #105898 the package is now net-libs/aqbanking (unfortunately this does not compile on my system) ok, the aqbanking build issue gets fixed by change the "emake || die" to "emake -j1 || die" see http://bugs.gentoo.org/show_bug.cgi?id=107465#c4 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc -I../../src/core-utils -I../../src -I../../src/gnc-module -I../../src/business/business-core/ -I../../src/engine -DGNUCASH -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/g-wrap -O2 -mcpu=i686 -fomit-frame-pointer -pipe -I/usr/include/postgresql -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -MT messages.lo -MD -MP -MF .deps/messages.Tpo -c messages.c -fPIC -DPIC -o .libs/messages.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc -I../../src/core-utils -I../../src -I../../src/gnc-module -I../../src/business/business-core/ -I../../src/engine -DGNUCASH -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/g-wrap -O2 -mcpu=i686 -fomit-frame-pointer -pipe -I/usr/include/postgresql -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -MT policy.lo -MD -MP -MF ".deps/policy.Tpo" -c -o policy.lo policy.c; \ then mv -f ".deps/policy.Tpo" ".deps/policy.Plo"; else rm -f ".deps/policy.Tpo"; exit 1; fi /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../lib/libc -I../../src/core-utils -I../../src -I../../src/gnc-module -I../../src/business/business-core/ -I../../src/engine -DGNUCASH -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/g-wrap -O2 -mcpu=i686 -fomit-frame-pointer -pipe -I/usr/include/postgresql -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -o libqof.la -rpath /opt/gnc-g2-unstable/lib -version-info 1:1:0 gnc-date.lo gnc-engine-util.lo gnc-numeric.lo gnc-event.lo gnc-trace.lo guid.lo kvp_frame.lo kvp-util.lo md5.lo qofbackend.lo qofclass.lo qofchoice.lo qofid.lo qofinstance.lo qofquery.lo qofbook.lo qofobject.lo qofquerycore.lo qofsession.lo qof_book_merge.lo -lpopt -lm -lm gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc -I../../src/core-utils -I../../src -I../../src/gnc-module -I../../src/business/business-core/ -I../../src/engine -DGNUCASH -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/g-wrap -O2 -mcpu=i686 -fomit-frame-pointer -pipe -I/usr/include/postgresql -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -MT policy.lo -MD -MP -MF .deps/policy.Tpo -c policy.c -fPIC -DPIC -o .libs/policy.o /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../lib/libc -I../../src/core-utils -I../../src -I../../src/gnc-module -I../../src/business/business-core/ -I../../src/engine -DGNUCASH -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/g-wrap -O2 -mcpu=i686 -fomit-frame-pointer -pipe -I/usr/include/postgresql -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -o libgw-engine.la -rpath /opt/gnc-g2-unstable/lib/gnucash -L/usr/lib -lgwrap-wct -lgwrap-glib ../../src/engine/libqof.la gw-engine.lo engine-helpers.lo glib-helpers.lo -lpopt -lm -lm gcc -shared .libs/gnc-date.o .libs/gnc-engine-util.o .libs/gnc-numeric.o .libs/gnc-event.o .libs/gnc-trace.o .libs/guid.o .libs/kvp_frame.o .libs/kvp-util.o .libs/md5.o .libs/qofbackend.o .libs/qofclass.o .libs/qofchoice.o .libs/qofid.o .libs/qofinstance.o .libs/qofquery.o .libs/qofbook.o .libs/qofobject.o .libs/qofquerycore.o .libs/qofsession.o .libs/qof_book_merge.o /usr/lib/libpopt.so -lm -pthread -mcpu=i686 -Wl,-soname -Wl,libqof.so.1 -o .libs/libqof.so.1.0.1 libtool: link: cannot find the library `../../src/engine/libqof.la' make[5]: *** [libgw-engine.la] Error 1 make[5]: *** Waiting for unfinished jobs. Ebuild doesnt work - hints how to solve? kind regards |