Bug#494025: FTBFS: ../../../../src/util/time.h:44: error: expected ')' before 'n'

2008-08-06 Thread Timo Juhani Lindfors
Package: elinks
Version: 0.11.1-1.2etch1
Severity: serious

DEB_BUILD_OPTIONS='nostrip debug noopt' fakeroot apt-get --build source $PACKAGE

fails here with

make[5]: Leaving directory 
`/home/lindi/debian/debian-elinks/elinks-0.11.1/build-main/src/document/html/parser'
  [CC]   src/document/html/frames.o
  [CC]   src/document/html/parser.o
  [CC]   src/document/html/renderer.o
In file included from ../../../../src/cache/cache.h:6,
 from ../../../../src/document/html/renderer.c:13:
../../../../src/util/time.h:44: error: expected ')' before 'n'
In file included from ../../../../src/document/html/renderer.c:13:
../../../../src/cache/cache.h:47: error: expected specifier-qualifier-list 
before 'off_t'
../../../../src/cache/cache.h:71: error: expected specifier-qualifier-list 
before 'off_t'
../../../../src/cache/cache.h:106: error: expected declaration specifiers or 
'...' before 'off_t'
../../../../src/cache/cache.h:107: error: expected declaration specifiers or 
'...' before 'ssize_t'
../../../../src/cache/cache.h:116: error: expected declaration specifiers or 
'...' before 'off_t'
../../../../src/cache/cache.h:118: error: expected declaration specifiers or 
'...' before 'off_t'
../../../../src/document/html/renderer.c: In function 'html_special':
../../../../src/document/html/renderer.c:1679: error: 'struct cache_entry' has 
no member named 'cache_mode'
../../../../src/document/html/renderer.c:1680: error: 'struct cache_entry' has 
no member named 'expire'
../../../../src/document/html/renderer.c:1688: error: 'struct cache_entry' has 
no member named 'cache_mode'
../../../../src/document/html/renderer.c:1691: error: 'struct cache_entry' has 
no member named 'max_age'
../../../../src/document/html/renderer.c:1692: error: 'struct cache_entry' has 
no member named 'expire'
make[4]: *** [renderer.o] Error 1
make[4]: Leaving directory 
`/home/lindi/debian/debian-elinks/elinks-0.11.1/build-main/src/document/html'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/lindi/debian/debian-elinks/elinks-0.11.1/build-main/src/document'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/lindi/debian/debian-elinks/elinks-0.11.1/build-main/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/lindi/debian/debian-elinks/elinks-0.11.1/build-main'
make: *** [debian/build-heavy] Error 2
Build command 'cd elinks-0.11.1 && dpkg-buildpackage -b -uc' failed.
E: Child process failed

Any idea what's wrong?

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686-bigmem
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)

Versions of packages elinks depends on:
ii  debconf1.5.11etch2   Debian configuration management sy
ii  libbz2-1.0 1.0.3-6   high-quality block-sorting file co
ii  libc6  2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii  libexpat1  1.95.8-3.4XML parsing C library - runtime li
ii  libgnutls131.4.4-3+etch1 the GNU TLS library - runtime libr
ii  libgpmg1   1.19.6-25 General Purpose Mouse - shared lib
ii  liblua50   5.0.3-2   Main interpreter library for the L
ii  liblualib505.0.3-2   Extension library for the Lua 5.0 
ii  libperl5.8 5.8.8-7etch3  Shared Perl library
ii  zlib1g 1:1.2.3-13compression library - runtime

elinks recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#494025: FTBFS: ../../../../src/util/time.h:44: error: expected ')' before 'n'

2008-08-10 Thread Y Giridhar Appaji Nag
# reduce priority because it is a build with DEB_BUILD_OPTIONS and since
# this bug (on 0.11.1-1.2etch1) would block 0.11.4-2 from entering testing.
severity 494025 important
tags 494025 + moreinfo
thanks

On 08/08/06 21:46 +0300, Timo Juhani Lindfors said ...
>  from ../../../../src/document/html/renderer.c:13:
> ../../../../src/util/time.h:44: error: expected ')' before 'n'

Can you add "#include " before "#ifdef HAVE_SYS_TIME_H" in
src/util/time.h and try to build again?

> Any idea what's wrong?

Not too sure, my etch chroot creation failed and I can't try this out.
Can you please try the above and let me know how this goes?


$ sudo cowbuilder --create --distribution etch
...
P: Unpacking package util-linux
E: Internal error: install
pbuilder: cdebootstrap failed
 -> Aborting with an error
 pbuilder create failed


Cheers,

Giridhar

-- 
Y Giridhar Appaji Nag | http://appaji.net/


signature.asc
Description: Digital signature