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

Martin Pitt mpitt at debian.org
Thu Aug 4 08:55:40 UTC 2011


Hello Ivan,

Ivan Krasilnikov [2011-07-28 22:25 +0400]:
> Hello, I'm having a trouble building policykit-1_0.101-4 package from
> source on a x86-64 Debian sid system:
> 
> $ DEB_BUILD_OPTIONS="nostrip noopt" fakeroot apt-get -b source policykit-1
> <...>
>   CC     libpolkit_backend_1_la-polkitbackendactionpool.lo
> /bin/bash ../../libtool <...> polkitbackendactionpool.c
> polkitbackendactionpool.c: In function '_localize':
> polkitbackendactionpool.c:1153:7: warning: implicit declaration of
> function 'setlocale' [-Wimplicit-function-declaration]
> polkitbackendactionpool.c:1153:7: warning: nested extern declaration
> of 'setlocale' [-Wnested-externs]
> polkitbackendactionpool.c:1153:41: error: 'LC_ALL' undeclared (first
> use in this function)

That's a bit strange, and doesn't happen here. <glib/gi18n.h> already
takes care of including <locale.h> via <libintl.h>. Do you actually
have all build dependencies installed? (apt-get build-dep policykit-1)

Thanks,

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