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

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu May 9 10:18:45 BST 2013


Source: sword
Version: 1.6.2+dfsg-5
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130509 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> /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

The full build log is available from:
   http://people.debian.org/~lucas/logs/2013/05/09/sword_1.6.2+dfsg-5_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.




More information about the Pkg-crosswire-devel mailing list