2008/1/1, Arnaud Cornet <acornet#debian.org>:
>
> > Also, I'd be very interested in knowing what CFLAGS used by Debian manage
> > to break the build process. If there is a weakness anywhere, we should
> > address it and not only the symptoms.
>
> I have no idea of the work of Jean-Baptiste Quenot, but my guess is that
> this problem has nothing to do with building haproxy on debian but
> rather to build the debian *package* on debian (as this is a problem I
> encountered and fixed in debian haproxy package).
Yes exactly, I should have stated this.
BTW, as I see you're actively maintaining haproxy package, did you upload some updates since 1.3.12? I can't find any recent version, see http://packages.debian.org/search?keywords=haproxy&searchon=names&suite=all§ion=all
> The problem is that CFLAGS variables a classically overriden in debian
> packages using commands such as
>
> make CFLAGS="-O2 -g"
>
> When using this, the following makefile line is overridden:
>
> CFLAGS = -Wall $(COPTS) $(DEBUG)
>
> Hence, the COPTS variable is ignored. The COPTS variable has the
> -Iinclude flags, trying to builds without this obviously breaks.
Exactly. And correct me if I'm wrong but it's possible that other systems are affected, because overriding CFLAGS is a common usecase, eg on FreeBSD.
All the best,
-- Jean-Baptiste Quenot http://caraldi.com/jbq/blog/Received on 2008/01/02 10:06
This archive was generated by hypermail 2.2.0 : 2008/01/02 10:15 CET