Source: libexplain
Version: 0.11.D001-1
Severity: serious

Hi,

There was an error while trying to autobuild your package:

> Automatic build of libexplain_0.11.D001-1 on excelsior by sbuild/amd64 98
> Build started at 20090503-1037

[...]

> Build-Depends: bison, debhelper (>= 5), groff, libcap-dev, libtool, lsof

[...]

> dh_testdir
> /usr/bin/make
> make[1]: Entering directory `/build/buildd/libexplain-0.11.D001'
> libtool --mode=compile gcc  -Wall -g -O2 -I. -c explain/main.c -o 
> explain/main.lo
> libtool: compile:  gcc -Wall -g -O2 -I. -c explain/main.c  -fPIC -DPIC -o 
> explain/.libs/main.o
> In file included from ./libexplain/freopen.h:24,
>                  from explain/main.c:26:
> ./libexplain/large_file_support.h:43:2: error: #error "You must enable large 
> file support to be able to use libexplain.     If your project uses GNU 
> Autoconf, it is simply a matter of adding   the AC_SYS_LARGEFILE macro to 
> your configure.ac file.  If not, you   need to add -D_FILE_OFFSET_BITS=64 to 
> your CFLAGS definition (this   is not completely portable, consider using GNU 
> Autoconf instead).    "
> In file included from ./libexplain/freopen.h:24,
>                  from explain/main.c:26:
> ./libexplain/large_file_support.h:50: error: expected identifier or '(' 
> before '.' token
> explain/main.c: In function 'main':
> explain/main.c:153: warning: implicit declaration of function 
> 'explain_freopen_or_die'
> make[1]: *** [explain/main.lo] Error 1
> make[1]: Leaving directory `/build/buildd/libexplain-0.11.D001'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2

A full build log can be found at:
http://buildd.debian.org/build.php?arch=amd64&pkg=libexplain&ver=0.11.D001-1

Note that you should not use -D_FILE_OFFSET_BITS=64 on all arches,
it will actually break on some, either use the AC_SYS_LARGEFILE or
use "getconf LFS_CFLAGS".

Note that on an arch like amd64, where this error happened,
_FILE_OFFSET_BITS should not be set.  So it might just be
that libexplain/large_file_support.h is doing a bogus
check for _FILE_OFFSET_BITS.


Kurt




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to