Re: Debian packaging note

2020-05-28 Thread Vincent Bernat
 ❦ 28 mai 2020 12:48 +02, 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':

Thanks. I have added that for the next build on both 2.0 and 2.1.
-- 
Patch griefs with proverbs.
-- William Shakespeare, "Much Ado About Nothing"



Debian packaging note (was: stable-bot: Bugfixes waiting for a release 2.1 (52), 2.0 (45))

2020-05-28 Thread Tim Düsterhus
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