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) polkitbackendactionpool.c:1153:41: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [libpolkit_backend_1_la-polkitbackendactionpool.lo] Error 1 make[4]: Leaving directory `/var/tmp/policykit-1-0.101/src/polkitbackend' Offending line of code comes from debian's 02_gettext.patch (http://anonscm.debian.org/gitweb/?p=pkg-utopia/policykit.git;a=commit;h=e305b677590f69f8eccb412858979d60c9177043): 1153 old_locale = g_strdup (setlocale (LC_ALL, NULL)); It appears that locale.h is used without #include'ing it in this patch. _______________________________________________ Pkg-utopia-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-utopia-maintainers
