X.Org fails to build with latest MIT Kerberos distribution - [...] gcc -m32 -c -ansi -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-de cls -Wnested-externs -Wundef -I../.. -I../../exports/include -Dlinux -D__i3 86__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN _SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREAD S -D_REENTRANT -DXUSE_MTSAFE_API -g -O2 -fno-strict-aliasing -g -fPIC k5 encode.c -o unshared/k5encode.o k5encode.c:75: warning: function declaration isn't a prototype k5encode.c:81:34: error: macro "krb5_princ_realm" requires 2 arguments, but only 1 given k5encode.c: In function 'XauKrb5Encode': k5encode.c:81: error: 'krb5_princ_realm' undeclared (first use in this function) k5encode.c:81: error: (Each undeclared identifier is reported only once k5encode.c:81: error: for each function it appears in.) k5encode.c:82:37: error: macro "krb5_princ_size" requires 2 arguments, but only 1 given k5encode.c:82: error: 'krb5_princ_size' undeclared (first use in this function) [...] I tried building xorg-x11 6.9.0.dfsg.1-4 on Debian unstable using libkrb5-dev 1.4.3-6 Many thanks - Jack
Encountered same problem building libxau 1.0.0 (of X11R7.0) [...] gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wall -g -O2 -MT k5encode.lo -MD -MP -MF .deps/k5encode.Tpo -c ../k5encode.c -fPIC -DPIC -o .libs/k5encode.o ../k5encode.c:75: warning: function declaration isn't a prototype ../k5encode.c:81:34: error: macro "krb5_princ_realm" requires 2 arguments, but only 1 given ../k5encode.c: In function 'XauKrb5Encode': ../k5encode.c:81: error: 'krb5_princ_realm' undeclared (first use in this function) ../k5encode.c:81: error: (Each undeclared identifier is reported only once ../k5encode.c:81: error: for each function it appears in.) ../k5encode.c:82:37: error: macro "krb5_princ_size" requires 2 arguments, but only 1 given ../k5encode.c:82: error: 'krb5_princ_size' undeclared (first use in this function) ../k5encode.c:86:41: error: macro "krb5_princ_component" requires 3 arguments, but only 2 given ../k5encode.c:86: error: 'krb5_princ_component' undeclared (first use in this function) [...] Used Debian libxau source package & this patch - http://cgi.sfu.ca/~jdbates/tmp/xorg/200603030/patch
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
The kerberos code does not exist anymore.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.