[Pkg-utopia-maintainers] policykit-1 build error caused by debian's 02_gettext.patch

Martin Pitt mpitt at debian.org
Mon Aug 8 12:16:25 UTC 2011


Hello Ivan,

Ivan Krasilnikov [2011-08-05  0:04 +0400]:
> Yes, I have run apt-get build-dep. I have looked at libintl.h. Indeed,
> it includes locale.h, but only conditionally:
> 
> #if defined __OPTIMIZE__ && !defined __cplusplus
> ...
> # include <locale.h>
> 
> DEB_BUILD_OPTIONS=noopt seems to turn off __OPTIMIZE__ flag and so
> locale.h doesn't get included in debug build.

Ah, that would explain it. I fixed this in the packaging git now,
thanks for pointing out!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the Pkg-utopia-maintainers mailing list