Package: gdm Version: 2.6.0.8-1 Severity: serious Tags: patch gdm fails to build because it cannot include <X11/Xauth.h>:
> gcc -DHAVE_CONFIG_H -DGDM_CONFIG_FILE=\"/etc/gdm/gdm.conf\" -I. -I. -I.. -I. > -I.. -I../vicious-extensions -DGNOMELOCALEDIR=\""/usr/share/locale"\" > -DLOCALEDIR=\"/usr/share/locale\" -DXTHREADS -DORBIT2=1 -pthread > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include > -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 > -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 > -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 > -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 > -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include > -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 > -I/usr/include/libglade-2.0 -DXTHREADS -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DPAM_PREFIX=\"/etc\" -g -O2 -Wall > -Wmissing-prototypes -c gdm.c > gdm.c:45:23: error: X11/Xauth.h: No such file or directory > gdm.c: In function 'gdm_config_parse': > gdm.c:470: warning: implicit declaration of function 'strcmp' > gdm.c:513: warning: implicit declaration of function 'strncmp' > gdm.c:513: warning: implicit declaration of function 'strlen' > gdm.c:513: warning: incompatible implicit declaration of built-in function > 'strlen' > gdm.c:720: warning: implicit declaration of function 'strerror' > gdm.c:720: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:720: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:720: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:766: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:766: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:766: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:772: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:772: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:772: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:811: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:811: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:811: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c: In function 'gdm_daemonify': > gdm.c:864: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c:866: warning: format '%s' expects type 'char *', but argument 3 has > type 'int' > gdm.c:872: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c:874: warning: format '%s' expects type 'char *', but argument 3 has > type 'int' > gdm.c:887: warning: format '%s' expects type 'char *', but argument 3 has > type 'int' > gdm.c: In function 'halt_machine': > gdm.c:1312: warning: format '%s' expects type 'char *', but argument 3 has > type 'int' > gdm.c: In function 'reboot_machine': > gdm.c:1334: warning: format '%s' expects type 'char *', but argument 3 has > type 'int' > gdm.c: In function 'gdm_make_global_cookie': > gdm.c:1999: warning: pointer targets in assignment differ in signedness > gdm.c:2000: warning: pointer targets in assignment differ in signedness > gdm.c:2021: warning: format '%s' expects type 'char *', but argument 3 has > type 'int' > gdm.c: In function 'main': > gdm.c:2106: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c:2110: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c:2152: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c:2154: warning: format '%s' expects type 'char *', but argument 3 has > type 'int' > gdm.c:2160: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c:2162: warning: format '%s' expects type 'char *', but argument 3 has > type 'int' > gdm.c:2185: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c:2189: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c:2193: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c:2197: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c:2207: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c:2213: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c:2224: warning: format '%s' expects type 'char *', but argument 4 has > type 'int' > gdm.c: In function 'write_x_servers': > gdm.c:2377: warning: format '%s' expects type 'char *', but argument 3 has > type 'int' > gdm.c: In function 'send_slave_ack': > gdm.c:2396: warning: incompatible implicit declaration of built-in function > 'strlen' > gdm.c: In function 'send_slave_command': > gdm.c:2417: warning: incompatible implicit declaration of built-in function > 'strlen' > gdm.c: In function 'gdm_handle_message': > gdm.c:2437: warning: incompatible implicit declaration of built-in function > 'strlen' > gdm.c:2453: warning: incompatible implicit declaration of built-in function > 'strlen' > gdm.c:2464: warning: implicit declaration of function 'strchr' > gdm.c:2464: warning: incompatible implicit declaration of built-in function > 'strchr' > gdm.c:2635: warning: incompatible implicit declaration of built-in function > 'strchr' > gdm.c:2662: warning: incompatible implicit declaration of built-in function > 'strchr' > gdm.c:2709: warning: incompatible implicit declaration of built-in function > 'strchr' > gdm.c:2814: warning: incompatible implicit declaration of built-in function > 'strchr' > gdm.c:2901: warning: incompatible implicit declaration of built-in function > 'strchr' > gdm.c: In function 'extract_dispname_uid_xauthfile_cookie': > gdm.c:2939: warning: incompatible implicit declaration of built-in function > 'strchr' > gdm.c: In function 'extract_dispnum': > gdm.c:3034: warning: incompatible implicit declaration of built-in function > 'strchr' > gdm.c: In function 'dehex_cookie': > gdm.c:3052: warning: incompatible implicit declaration of built-in function > 'strlen' > gdm.c: In function 'check_cookie': > gdm.c:3076: error: 'Xauth' undeclared (first use in this function) > gdm.c:3076: error: (Each undeclared identifier is reported only once > gdm.c:3076: error: for each function it appears in.) > gdm.c:3076: error: 'xa' undeclared (first use in this function) > gdm.c:3096: warning: implicit declaration of function 'XauReadAuth' > gdm.c:3097: warning: incompatible implicit declaration of built-in function > 'strlen' > gdm.c:3103: warning: implicit declaration of function 'memcmp' > gdm.c:3104: warning: implicit declaration of function 'XauDisposeAuth' > gdm.c: In function 'handle_flexi_server': > gdm.c:3159: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:3162: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:3187: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:3187: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:3187: warning: format '%s' expects type 'char *', but argument 6 has > type 'int' > gdm.c:3240: warning: incompatible implicit declaration of built-in function > 'strchr' > gdm.c: In function 'is_key': > gdm.c:3288: warning: incompatible implicit declaration of built-in function > 'strchr' > gdm.c: In function 'gdm_handle_user_message': > gdm.c:3597: warning: incompatible implicit declaration of built-in function > 'strlen' > gdm.c:3626: warning: pointer targets in passing argument 1 of > 'g_ascii_strcasecmp' differ in signedness Adding a build-dependency on libxau-dev fixes this problem. -- Matt
diff -u gdm-2.6.0.8/debian/control gdm-2.6.0.8/debian/control --- gdm-2.6.0.8/debian/control +++ gdm-2.6.0.8/debian/control @@ -2,7 +2,7 @@ Section: gnome Priority: optional Maintainer: Ryan Murray <[EMAIL PROTECTED]> -Build-Depends: libpam0g-dev, libgnomeui-dev (>= 1.96.0), librsvg2-dev, libglade2-dev, libwrap0-dev, debhelper, gettext, intltool, scrollkeeper, libselinux1-dev, libattr1-dev, xlibs-static-dev, libxt-dev +Build-Depends: libpam0g-dev, libgnomeui-dev (>= 1.96.0), librsvg2-dev, libglade2-dev, libwrap0-dev, debhelper, gettext, intltool, scrollkeeper, libselinux1-dev, libattr1-dev, xlibs-static-dev, libxt-dev, libxau-dev Standards-Version: 3.6.1 Package: gdm
signature.asc
Description: Digital signature