Vincent,

Am 28.05.20 um 12:41 schrieb Tim Düsterhus:
> Okay, I've done what I really wanted to avoid and built my own HAProxy.
> I'm now running HAProxy 2.1.5-1~~~timwolla+1 and I hope that it will
> smoothly upgrade to Vincent's build once it is released.
> 

While researching how to build a 2.1.5 .deb based off your 2.1.4 sources
I noticed that Debian QA complained that HAProxy's compiler flags were
hidden [1]. You should be able to fix that by adjusting MAKEARGS in
debian/rules to include 'V=1':

> MAKEARGS=V=1\
>        DESTDIR=debian/haproxy \
>        PREFIX=/usr \
>        IGNOREGIT=true \
>        MANDIR=/usr/share/man \
>        DOCDIR=/usr/share/doc/haproxy \
>        USE_PCRE2=1 \
>        USE_PCRE2_JIT=1 \
>        USE_OPENSSL=1 \
>        USE_ZLIB=1 \
>        USE_LUA=1 \
>        LUA_INC=/usr/include/lua5.3 \
>        EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o"

Best regards
Tim Düsterhus

[1] https://qa.debian.org/bls/packages/h/haproxy.html

Reply via email to