Package: krb5-multidev Version: 1.12.1+dfsg-2 Affects: pidgin-sipe Trying to build pidgin-sipe failed with the following error:
[...]
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -Werror
-Wall -Wextra -Waggregate-return -Wcast-align -Wdeclaration-after-statement
-Wdeprecated-declarations -Winit-self -Wmaybe-uninitialized
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wundef -Wunused-but-set-variable -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DLOCALEDIR=\"/usr/share/locale\"
-I./../api -I/usr/include/mit-krb5 -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c sip-sec-gssapi.c
-fPIC -DPIC -o .libs/libsipe_core_la-sip-sec-gssapi.o
In file included from sip-sec-gssapi.c:42:0:
/usr/include/mit-krb5/gssapi/gssapi.h:47:5: error: "TARGET_OS_MAC" is not
defined [-Werror=undef]
#if TARGET_OS_MAC
^
In file included from sip-sec-gssapi.c:42:0:
/usr/include/mit-krb5/gssapi/gssapi.h:821:5: error: "TARGET_OS_MAC" is not
defined [-Werror=undef]
#if TARGET_OS_MAC
^
In file included from /usr/include/mit-krb5/krb5.h:8:0,
from /usr/include/mit-krb5/gssapi/gssapi_krb5.h:32,
from sip-sec-gssapi.c:46:
/usr/include/mit-krb5/krb5/krb5.h:111:5: error: "TARGET_OS_MAC" is not defined
[-Werror=undef]
#if TARGET_OS_MAC
^
/usr/include/mit-krb5/krb5/krb5.h:8185:5: error: "TARGET_OS_MAC" is not defined
[-Werror=undef]
#if TARGET_OS_MAC
^
cc1: all warnings being treated as errors
But really it seems weird that an unrelated package would have to define all
sorts of macros to a 0 value just in order to build. I believe that using #ifdef
rather than #if should solve this problem.
Best,
Michael
PS.: This might actually have higher severity as it breaks the build of an
unrelated package.
pgpojiCpJTOIW.pgp
Description: PGP signature

