[Pkg-haproxy-maintainers] Bug#844888: haproxy: FTBFS: include/types/compression.h:32:18: fatal error: zlib.h: No such file or directory

Lucas Nussbaum lucas at debian.org
Sat Nov 19 06:42:40 UTC 2016


Source: haproxy
Version: 1.6.9-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161118 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> gcc -Iinclude -Iebtree -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2       -DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY -DCONFIG_HAP_CRYPT -DUSE_ZLIB  -DENABLE_POLL -DENABLE_EPOLL -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER -DUSE_GETSOCKNAME -DCONFIG_REGPARM=3 -DUSE_OPENSSL  -DUSE_SYSCALL_FUTEX -DUSE_LUA -I/usr/include/lua5.3 -DUSE_PCRE  -DCONFIG_HAP_NS  -DCONFIG_HAPROXY_VERSION=\"1.6.9-2\" -DCONFIG_HAPROXY_DATE=\"2016/11/18\" \
>       -DBUILD_TARGET='"linux2628"' \
>       -DBUILD_ARCH='""' \
>       -DBUILD_CPU='"generic"' \
>       -DBUILD_CC='"gcc"' \
>       -DBUILD_CFLAGS='"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2"' \
>       -DBUILD_OPTIONS='"USE_ZLIB=1 USE_REGPARM=1 USE_OPENSSL=1 USE_LUA=1 USE_PCRE=1 USE_NS=1"' \
>        -c -o src/haproxy.o src/haproxy.c
> In file included from include/types/stream.h:35:0,
>                  from include/proto/log.h:33,
>                  from include/common/cfgparse.h:29,
>                  from src/haproxy.c:63:
> include/types/compression.h:32:18: fatal error: zlib.h: No such file or directory
>  #include <zlib.h>
>                   ^
> compilation terminated.
> Makefile:789: recipe for target 'src/haproxy.o' failed
> make[2]: *** [src/haproxy.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2016/11/18/haproxy_1.6.9-2_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-haproxy-maintainers mailing list