[Pkg-crosswire-devel] Bug#707537: sword: FTBFS: zlib.h:86:5: error: 'z_const' does not name a type

Andrey Rahmatullin wrar at wrar.name
Wed May 22 18:20:01 BST 2013


On Thu, May 09, 2013 at 11:18:45AM +0200, Lucas Nussbaum wrote:
> > /usr/bin/c++   -DCURLAVAILABLE -D_ICU_ -DGLOBCONFPATH=\"/etc/sword.conf\" -DUSELUCENE -D_FORTIFY_SOURCE="2 " -D_FTPLIB_NO_COMPAT -DSWICU_DATA=\"/usr/lib/sword/9_icu_4.8.1.1\" -I/«BUILDDIR»/sword-1.6.2+dfsg/include -I/usr/lib    -D_REENTRANT  -o CMakeFiles/sword_static.dir/src/mgr/installmgr.cpp.o -c /«BUILDDIR»/sword-1.6.2+dfsg/src/mgr/installmgr.cpp
> > In file included from /«BUILDDIR»/sword-1.6.2+dfsg/include/untgz.h:4:0,
> >                  from /«BUILDDIR»/sword-1.6.2+dfsg/src/mgr/installmgr.cpp:27:
> > /usr/include/zlib.h:86:5: error: 'z_const' does not name a type
> > /usr/include/zlib.h:94:5: error: 'z_const' does not name a type
> > /usr/include/zlib.h:1025:29: error: 'z_const' has not been declared
> > /usr/include/zlib.h:1025:29: error: two or more data types in declaration of 'parameter'
> > /usr/include/zlib.h:1341:29: error: 'voidpc' has not been declared
> > /usr/include/zlib.h:1349:32: error: expected initializer before 'Z_ARG'
> > /usr/include/zlib.h:1673:5: error: 'z_off64_t' does not name a type
> > /usr/include/zlib.h:1748:15: error: 'z_crc_t' does not name a type
> > /usr/include/zlib.h:1758:44: error: expected initializer before 'Z_ARG'
> > make[4]: *** [CMakeFiles/sword_static.dir/src/mgr/installmgr.cpp.o] Error 1
sword ships include/zconf.h which is apparently loaded instead of the
system one and when included into /usr/include/zlib.h it breaks.

-- 
WBR, wRAR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-crosswire-devel/attachments/20130522/718073d6/attachment.sig>


More information about the Pkg-crosswire-devel mailing list