gnucash-svn build error on gentoo

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

gnucash-svn build error on gentoo

Boyd Kelly (Coast Systems)
Hi,

I have been trying the gentoo gnucash-svn recently and was able to build
with no problems till about Feb 22.  Any ideas what may be causing the
following?  Thanks very much for any help.

Bk

b/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so
/usr/lib/libpopt.so -lm -Wl,--rpa
th -Wl,/usr/lib/gnucash
creating test-print-queries
make[5]: Leaving directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-2006
0112/src/app-utils/test'
make[4]: Leaving directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-2006
0112/src/app-utils'
make[3]: Leaving directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-2006
0112/src/app-utils'
Making all in gnome-utils
make[3]: Entering directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-200
60112/src/gnome-utils'
rm -f gnc-dir.h.tmp
sed < gnc-dir.h.in > gnc-dir.h.tmp \
    -e 's:@-GNC_ACCOUNTS_DIR-@:/usr/share/gnucash/accounts:g' \
    -e 's:@-GNC_GLADE_DIR-@:/usr/share/gnucash/glade:g' \
    -e
's:@-GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY-@:/etc/gconf/gconf.xml.defaults:
g'
mv gnc-dir.h.tmp gnc-dir.h
You're building from SVN...  But your build system is broken
Don't do that.   Complain to your build-system creator.
make[3]: *** [_gnc-svninfo.h] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-2006
0112/src/gnome-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-2006
0112/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-2006
0112'
make: *** [all] Error 2

!!! ERROR: app-office/gnucash-svn-20060112 failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

gnucash-svn build error on gentoo

Boyd Kelly (Coast Systems)
Hi,

I have been trying the gentoo gnucash-svn recently and was able to build
with no problems till about Feb 22.  Any ideas what may be causing the
following?  Thanks very much for any help.

Bk

b/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so
/usr/lib/libpopt.so -lm -Wl,--rpa
th -Wl,/usr/lib/gnucash
creating test-print-queries
make[5]: Leaving directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-2006
0112/src/app-utils/test'
make[4]: Leaving directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-2006
0112/src/app-utils'
make[3]: Leaving directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-2006
0112/src/app-utils'
Making all in gnome-utils
make[3]: Entering directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-200
60112/src/gnome-utils'
rm -f gnc-dir.h.tmp
sed < gnc-dir.h.in > gnc-dir.h.tmp \
    -e 's:@-GNC_ACCOUNTS_DIR-@:/usr/share/gnucash/accounts:g' \
    -e 's:@-GNC_GLADE_DIR-@:/usr/share/gnucash/glade:g' \
    -e
's:@-GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY-@:/etc/gconf/gconf.xml.defaults:
g'
mv gnc-dir.h.tmp gnc-dir.h
You're building from SVN...  But your build system is broken
Don't do that.   Complain to your build-system creator.
make[3]: *** [_gnc-svninfo.h] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-2006
0112/src/gnome-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-2006
0112/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-2006
0112'
make: *** [all] Error 2

!!! ERROR: app-office/gnucash-svn-20060112 failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: gnucash-svn build error on gentoo

Josh Sled
On Thu, 2006-03-02 at 07:33 -0800, Boyd Kelly (Coast Systems) wrote:
> I have been trying the gentoo gnucash-svn recently and was able to build
> with no problems till about Feb 22.  Any ideas what may be causing the
> following?  Thanks very much for any help.
[deletia]
> You're building from SVN...  But your build system is broken
> Don't do that.   Complain to your build-system creator.
> make[3]: *** [_gnc-svninfo.h] Error 1

Derek had originally made some changes to compensate for the svn ebuild
not working on gentoo; around the 22nd he un-did those changes.  I've
been meaning to fix the ebuild to accomodate this, but I've not found
time yet.  Until an svn ebuild is fixed, you can use the 1.9.x ebuild
(in the source tree and at
http://bugs.gentoo.org/show_bug.cgi?id=122337 ), or just manually
checkout and build from svn.


The way we put the revision number of the build into a header file (and
thus into the splash screen, &c.) uses svnversion, which reads the
metadata from the .svn directory.  As per the "fix" of
http://bugs.gentoo.org/show_bug.cgi?id=96386 , subversion.eclass doesn't
keep the .svn directories, and thus is broken; I'm reminded of the
phrase "premature optimization is the root of all evil"... :/

In any case, I think subversion.eclass just shouldn't be used, and
instead `src_unpack` should be something like [[[

SVN_REPO="http://svn.gnucash.org/repo/gnucash/trunk"
src_unpack() {
    svn checkout ${SVN_REPO} ${S}
    cd ${S}
    ./autogen.sh || die "cannot autogen"
}

]]]
With that, the `src_compile` and `src_install` functions from the
gnucash-1.9.x.ebuild should work fine as they are.

--
...jsled
http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo ${a}@${b}`
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: gnucash-svn build error on gentoo

Derek Atkins
In reply to this post by Boyd Kelly (Coast Systems)
Hi,

Quoting "Boyd Kelly (Coast Systems)" <[hidden email]>:

> Hi,
>
> I have been trying the gentoo gnucash-svn recently and was able to build
> with no problems till about Feb 22.  Any ideas what may be causing the
> following?  Thanks very much for any help.
[snip]
> mv gnc-dir.h.tmp gnc-dir.h
> You're building from SVN...  But your build system is broken
> Don't do that.   Complain to your build-system creator.
> make[3]: *** [_gnc-svninfo.h] Error 1

This error says it all.  Which word don't you understand?

-derek
--
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [hidden email]                        PGP key available

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

RE: gnucash-svn build error on gentoo

Boyd Kelly (Coast Systems)
In reply to this post by Boyd Kelly (Coast Systems)
Thanks Josh!  Much appreciated info.

bk

-----Original Message-----
From: Josh Sled [mailto:[hidden email]]
Sent: March 3, 2006 8:08 PM
To: Boyd Kelly (Coast Systems)
Cc: [hidden email]
Subject: Re: gnucash-svn build error on gentoo

On Thu, 2006-03-02 at 07:33 -0800, Boyd Kelly (Coast Systems) wrote:
> I have been trying the gentoo gnucash-svn recently and was able to
> build with no problems till about Feb 22.  Any ideas what may be
> causing the following?  Thanks very much for any help.
[deletia]
> You're building from SVN...  But your build system is broken
> Don't do that.   Complain to your build-system creator.
> make[3]: *** [_gnc-svninfo.h] Error 1

Derek had originally made some changes to compensate for the svn ebuild
not working on gentoo; around the 22nd he un-did those changes.  I've
been meaning to fix the ebuild to accomodate this, but I've not found
time yet.  Until an svn ebuild is fixed, you can use the 1.9.x ebuild
(in the source tree and at
http://bugs.gentoo.org/show_bug.cgi?id=122337 ), or just manually
checkout and build from svn.


The way we put the revision number of the build into a header file (and
thus into the splash screen, &c.) uses svnversion, which reads the
metadata from the .svn directory.  As per the "fix" of
http://bugs.gentoo.org/show_bug.cgi?id=96386 , subversion.eclass doesn't
keep the .svn directories, and thus is broken; I'm reminded of the
phrase "premature optimization is the root of all evil"... :/

In any case, I think subversion.eclass just shouldn't be used, and
instead `src_unpack` should be something like [[[

SVN_REPO="http://svn.gnucash.org/repo/gnucash/trunk"
src_unpack() {
    svn checkout ${SVN_REPO} ${S}
    cd ${S}
    ./autogen.sh || die "cannot autogen"
}

]]]
With that, the `src_compile` and `src_install` functions from the
gnucash-1.9.x.ebuild should work fine as they are.

--
...jsled
http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo ${a}@${b}`

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Failed to build svn rev 13500

Tor Harald Thorland
Hi,

After 2 weeks of struggle i managed to get the 13500 downloaded over
sattellite conn.

Tortoise SVN now says, fully updated to svn rev. 13500.

But autogen gives the following error, and i don't have that directory.
Anyone nows how to get it if it exists? (Since svn update says all files
are there ...:-(

THT





tortho@inspiron:~/source/gnucash$ ./autogen.sh
Creating ./aclocal.m4 ...
Running glib-gettextize --force --copy ...
GnuCash note: Please ignore the output of glib-gettextize below!
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

GnuCash note: Please ignore the output of glib-gettextize above!

Ensure ./aclocal.m4 is writable ...
Running intltoolize --force --copy ...
You should add the contents of '/usr/share/aclocal/intltool.m4' to
'aclocal.m4'.
Running libtoolize --force --copy ...
You should add the contents of `/usr/share/aclocal/libtool.m4' to
`aclocal.m4'.
Running aclocal  -I macros ...
Running autoheader...
Running automake --add-missing --gnu  ...
configure.in: installing `./install-sh'
configure.in: installing `./missing'
lib/glib26/Makefile.am: installing `./depcomp'
lib/libgsf-1.12.3/python/Makefile.am: installing `./compile'
src/doc/design/Makefile.am:2: installing `src/doc/design/mdate-sh'
src/doc/design/Makefile.am:2: installing `src/doc/design/texinfo.tex'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
configure.in:2278: required file `packaging/Makefile.in' not found
Makefile.am:2: required directory ./packaging does not exist
**Error**: automake failed.
tortho@inspiron:~/source/gnucash$

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: Failed to build svn rev 13500

Derek Atkins
Are you sure you did the svn update from the top-level of your
tree?   "svn update" certainly worked for me from my top-level.
But I don't use tortoise -- I use the svn commandline.

-derek

Quoting Tor Harald Thorland <[hidden email]>:

> Hi,
>
> After 2 weeks of struggle i managed to get the 13500 downloaded over
> sattellite conn.
>
> Tortoise SVN now says, fully updated to svn rev. 13500.
>
> But autogen gives the following error, and i don't have that
> directory. Anyone nows how to get it if it exists? (Since svn update
> says all files are there ...:-(
>
> THT
>
>
>
>
>
> tortho@inspiron:~/source/gnucash$ ./autogen.sh
> Creating ./aclocal.m4 ...
> Running glib-gettextize --force --copy ...
> GnuCash note: Please ignore the output of glib-gettextize below!
> Copying file mkinstalldirs
> Copying file po/Makefile.in.in
>
> Please add the files
>  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
>  progtest.m4
> from the /usr/share/aclocal directory to your autoconf macro directory
> or directly to your aclocal.m4 file.
> You will also need config.guess and config.sub, which you can get from
> ftp://ftp.gnu.org/pub/gnu/config/.
>
> GnuCash note: Please ignore the output of glib-gettextize above!
>
> Ensure ./aclocal.m4 is writable ...
> Running intltoolize --force --copy ...
> You should add the contents of '/usr/share/aclocal/intltool.m4' to
> 'aclocal.m4'.
> Running libtoolize --force --copy ...
> You should add the contents of `/usr/share/aclocal/libtool.m4' to
> `aclocal.m4'.
> Running aclocal  -I macros ...
> Running autoheader...
> Running automake --add-missing --gnu  ...
> configure.in: installing `./install-sh'
> configure.in: installing `./missing'
> lib/glib26/Makefile.am: installing `./depcomp'
> lib/libgsf-1.12.3/python/Makefile.am: installing `./compile'
> src/doc/design/Makefile.am:2: installing `src/doc/design/mdate-sh'
> src/doc/design/Makefile.am:2: installing `src/doc/design/texinfo.tex'
> Makefile.am: installing `./INSTALL'
> Makefile.am: installing `./COPYING'
> configure.in:2278: required file `packaging/Makefile.in' not found
> Makefile.am:2: required directory ./packaging does not exist
> **Error**: automake failed.
> tortho@inspiron:~/source/gnucash$
>
> _______________________________________________
> gnucash-devel mailing list
> [hidden email]
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>



--
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [hidden email]                        PGP key available

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: gnucash-svn build error on gentoo

David Grant-5
In reply to this post by Boyd Kelly (Coast Systems)
Where can I get the gentoo-svn ebuild?

Dave

Boyd Kelly (Coast Systems) wrote:
> Hi,
>
> I have been trying the gentoo gnucash-svn recently

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: gnucash-svn build error on gentoo

Josh Sled
On Mon, 2006-03-06 at 11:54 -0800, David Grant wrote:
> Where can I get the gentoo-svn ebuild?

http://bugs.gentoo.org/show_bug.cgi?id=118862

Though you might want to use the 1.9.x ebuild from
http://bugs.gentoo.org/show_bug.cgi?id=122337 with the modification I
suggested
http://lists.gnucash.org/pipermail/gnucash-devel/2006-March/016700.html
instead.

--
...jsled
http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo ${a}@${b}`
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: gnucash-svn build error on gentoo

Derek Atkins
In reply to this post by David Grant-5
In the source tree, under "packaging"

-derek

Quoting David Grant <[hidden email]>:

> Where can I get the gentoo-svn ebuild?
>
> Dave
>
> Boyd Kelly (Coast Systems) wrote:
>> Hi,
>>
>> I have been trying the gentoo gnucash-svn recently
>
> _______________________________________________
> gnucash-devel mailing list
> [hidden email]
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>



--
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [hidden email]                        PGP key available

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: Failed to build svn rev 13500

Christian Stimming
In reply to this post by Tor Harald Thorland
Am Montag, 6. März 2006 17:28 schrieb Tor Harald Thorland:

> Running automake --add-missing --gnu  ...
> configure.in: installing `./install-sh'
> configure.in: installing `./missing'
> lib/glib26/Makefile.am: installing `./depcomp'
> lib/libgsf-1.12.3/python/Makefile.am: installing `./compile'
> src/doc/design/Makefile.am:2: installing `src/doc/design/mdate-sh'
> src/doc/design/Makefile.am:2: installing `src/doc/design/texinfo.tex'
> Makefile.am: installing `./INSTALL'
> Makefile.am: installing `./COPYING'
> configure.in:2278: required file `packaging/Makefile.in' not found
> Makefile.am:2: required directory ./packaging does not exist
> **Error**: automake failed.

In other words, your SVN checkout failed to get the new directory packaging
and/or the new file packaging/Makefile.am . As Derek said, this is probably
due to your SVN client, and you should make sure that "getting new
directories" is enabled somewhere.

Christian

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: gnucash-svn build error on gentoo

Josh Sled
In reply to this post by David Grant-5
On Mon, 2006-03-06 at 11:54 -0800, David Grant wrote:
> Where can I get the gentoo-svn ebuild?

I've just mostly-verified modifications to the gnucash-1.9.x.ebuild so
that it'll work in both 1.9.x and svn cases, depending on how it's
named.  If you put in into an overlay dir as
gnucash-svn/gnucash-svn-20060306.ebuild it'll do an svn checkout +
autogen.sh, but if it's named gnucash/gnucash-1.9.2.ebuild it'll
download the distribution and simply unpack it.

http://svn.gnucash.org/repo/gnucash/trunk/packaging/gnucash-1.9.x.ebuild

Cheers...
--
...jsled
http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo ${a}@${b}`
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: Failed to build svn rev 13500

Tor Harald Thorland
In reply to this post by Christian Stimming
Christian Stimming wrote:

>Am Montag, 6. März 2006 17:28 schrieb Tor Harald Thorland:
>  
>
>>Running automake --add-missing --gnu  ...
>>configure.in: installing `./install-sh'
>>configure.in: installing `./missing'
>>lib/glib26/Makefile.am: installing `./depcomp'
>>lib/libgsf-1.12.3/python/Makefile.am: installing `./compile'
>>src/doc/design/Makefile.am:2: installing `src/doc/design/mdate-sh'
>>src/doc/design/Makefile.am:2: installing `src/doc/design/texinfo.tex'
>>Makefile.am: installing `./INSTALL'
>>Makefile.am: installing `./COPYING'
>>configure.in:2278: required file `packaging/Makefile.in' not found
>>Makefile.am:2: required directory ./packaging does not exist
>>**Error**: automake failed.
>>    
>>
>
>In other words, your SVN checkout failed to get the new directory packaging
>and/or the new file packaging/Makefile.am . As Derek said, this is probably
>due to your SVN client, and you should make sure that "getting new
>directories" is enabled somewhere.
>
>Christian
>  
>
Thanks ! :-) I cant find any "get new direc..." in this %&¤%&/ Tortoise
SVN. It took 6 hours and 40 minutes to do a svn cleanup on the memory
stick I have gnucash on, and after the cleanup the update managed to get
the last directory, and a couple of other files that it had missed.

I have spendt about 30 minutes every day the last week to get the
updates for the last 5 weeks onto it :-) , so if anyone has a better
solution for updating when i can't connect my own computer to the
internet, please tell me, :-)

But anyway, it's working now, so new updatet Norwegian lang files is
comming up!

THT

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel