Bug#408583: gnucash: FTBFS on hurd-i386: Unconditional use of PATH_MAX

2007-01-28 Thread Thomas Bushnell BSG
On Sat, 2007-01-27 at 00:16 +0100, Michael Banck wrote:
 Package: gnucash
 Version: 2.0.2-3
 Severity: important

[PATH_MAX problems]

If you'll prepare a patch, I'll include it in the next upload and
forward it upstream.

Thomas



signature.asc
Description: This is a digitally signed message part


Bug#408583: gnucash: FTBFS on hurd-i386: Unconditional use of PATH_MAX

2007-01-26 Thread Michael Banck
Package: gnucash
Version: 2.0.2-3
Severity: important

Hi,

your package failed to autobuild:

 Automatic build of gnucash_2.0.2-3 on beethoven by sbuild/hurd-i386 85
 Build started at 20070126-1720
 **
 Checking available source versions...
 Fetching source files...
 Reading package lists...
 Building dependency tree...
 Need to get 10.2MB of source archives.
 Get:1 http://ftp2.de.debian.org unstable/main gnucash 2.0.2-3 (dsc) [1308B]
 Get:2 http://ftp2.de.debian.org unstable/main gnucash 2.0.2-3 (tar) [10.2MB]
 Get:3 http://ftp2.de.debian.org unstable/main gnucash 2.0.2-3 (diff) [18.7kB]
 Fetched 10.2MB in 13s (770kB/s)
 Download complete and in download only mode
 ** Using build dependencies supplied by package:
 Build-Depends: libltdl3-dev, libofx-dev (= 1:0.8.0-8), ofx (= 1:0.8.0-8), 
 libfinance-quote-perl, guile-1.6-slib, guile-1.6-dev, m4, gettext, 
 libdb3-dev, slib (= 3a2-5), debhelper (= 4.2.16), zlib1g-dev, 
 libjpeg62-dev, liborbit-dev, libungif4-dev, libxml-parser-perl, x11-common, 
 libglib2.0-dev (= 2.4.7), libxml2-dev (= 2.4.16), libbonobo2-dev (= 
 2.0.0), libgnomevfs2-dev (= 2.2.0), libgnomevfs2-extra (= 2.2.0), 
 libgtk2.0-dev (= 2.4.13), libglade2-dev (= 2.3.6), libgnomeprint2.2-dev (= 
 2.8.0), libart-2.0-dev (= 2.3.11), libgconf2-dev, libgnomeui-dev (= 2.0.0), 
 libgsf-gnome-1-dev (= 1.12.2), libpango1.0-dev (= 1.6.0), 
 libgtkhtml3.8-dev, gconf2, g-wrap (= 1.9.6-3.1), libgoffice-1-dev, 
 libgsf-gnome-1-dev, dpkg-dev (= 1.13.19), imagemagick
[...]
 Checking correctness of source dependencies...
 Toolchain package versions: libc0.3-dev_2.3.6.ds1-5 gcc-4.1_4.1.1-21 
 g++-4.1_4.1.1-21 binutils_2.17-3 libstdc++6-4.1-dev_4.1.1-21 
 libstdc++6_4.1.1-21
 Start building
 --
 gpg: Signature made Wed Jan 17 01:31:19 2007 CET using DSA key ID BE9F70EA
 gpg: Can't check signature: public key not found
 dpkg-source: extracting gnucash in gnucash-2.0.2
 dpkg-source: unpacking gnucash_2.0.2.orig.tar.gz
 dpkg-source: applying /org/buildd/build/gnucash_2.0.2-3.diff.gz
 dpkg-buildpackage: source package is gnucash
 dpkg-buildpackage: source version is 2.0.2-3
 dpkg-buildpackage: host architecture hurd-i386
 dpkg-buildpackage: source version without epoch 2.0.2-3
[...]
  debian/rules build
 dh_testdir
 env LDFLAGS=-L/usr/X11R6/lib GUILE=/usr/bin/guile-1.6 CFLAGS= ./configure 
 --disable-static --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man 
 --infodir=/usr/share/info --libexecdir=/usr/lib --libdir=/usr/lib/gnucash 
 --enable-ofx --disable-error-on-warning  || cat config.log
[...]
  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../.. -I../../lib/libc 
 -I../../src/core-utils -I../../src -I../../src/gnc-module 
 -I../../src/business/business-core/ -I../../lib/libqof/qof 
 -I../../lib/libqof/qof -DGNUCASH -pthread -I/usr/include/glib-2.0 
 -I/usr/lib/glib-2.0/include -std=gnu99 -Wall -Wunused -Wmissing-prototypes 
 -Wmissing-declarations -Wdeclaration-after-statement -Wno-pointer-sign 
 -D_FORTIFY_SOURCE=2 -MT gnc-filepath-utils.lo -MD -MP -MF 
 .deps/gnc-filepath-utils.Tpo -c gnc-filepath-utils.c  -fPIC -DPIC -o 
 .libs/gnc-filepath-utils.o
 gnc-filepath-utils.c: In function 'xaccAddEndPath':
 gnc-filepath-utils.c:114: error: 'PATH_MAX' undeclared (first use in this 
 function)
 gnc-filepath-utils.c:114: error: (Each undeclared identifier is reported only 
 once
 gnc-filepath-utils.c:114: error: for each function it appears in.)
 gnc-filepath-utils.c: In function 'xaccCwdPathGenerator':
 gnc-filepath-utils.c:131: error: 'PATH_MAX' undeclared (first use in this 
 function)
 gnc-filepath-utils.c: In function 'xaccDataPathGenerator':
 gnc-filepath-utils.c:154: error: 'PATH_MAX' undeclared (first use in this 
 function)
 gnc-filepath-utils.c: In function 'xaccUserPathPathGenerator':
 gnc-filepath-utils.c:176: error: 'PATH_MAX' undeclared (first use in this 
 function)
 gnc-filepath-utils.c: In function 'xaccResolveFilePath':
 gnc-filepath-utils.c:190: error: 'PATH_MAX' undeclared (first use in this 
 function)
 gnc-filepath-utils.c:190: warning: unused variable 'pathbuf'
 make[6]: *** [gnc-filepath-utils.lo] Error 1
 make[6]: Leaving directory `/build/buildd/gnucash-2.0.2/src/engine'
 make[5]: *** [all-recursive] Error 1
 make[5]: Leaving directory `/build/buildd/gnucash-2.0.2/src/engine'
 make[4]: *** [all] Error 2
 make[4]: Leaving directory `/build/buildd/gnucash-2.0.2/src/engine'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/build/buildd/gnucash-2.0.2/src'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/build/buildd/gnucash-2.0.2'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/build/buildd/gnucash-2.0.2'
 make: *** [build-stamp] Error 2
 **
 Build finished at 20070126-1810
 FAILED [dpkg-buildpackage died]