[Bug 13705] FTBFS: Cannot include <X11/Xauth.h>

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Thu Sep 22 22:23:17 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=13705
Ubuntu | gdm





------- Additional Comments From debzilla at ubuntu.com  2005-09-22 23:23 UTC -------
Message-ID: <20050816201501.GA4109 at localhost.localdomain>
Date: Tue, 16 Aug 2005 13:15:01 -0700
From: Matt Kraai <kraai at ftbfs.org>
To: submit at bugs.debian.org
Subject: FTBFS: Cannot include <X11/Xauth.h>

--ZfOjI3PrQbgiZnxM
Content-Type: multipart/mixed; boundary="EeQfGwPcQSOJBaQU"
Content-Disposition: inline


--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D\"/etc/gdm/gdm.conf\" -I. -I. -I.=
=2E -I. -I.. -I../vicious-extensions -DGNOMELOCALEDIR=3D\""/usr/share/local=
e"\" -DLOCALEDIR=3D\"/usr/share/locale\" -DXTHREADS -DORBIT2=3D1 -pthread -=
I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/us=
r/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/includ=
e/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/i=
nclude/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/us=
r/include/libxml2 -I/usr/include/libglade-2.0   -DXTHREADS -I/usr/include/g=
tk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1=
=2E0 -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=3D\"/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 functio=
n '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 ha=
s type 'int'
> gdm.c: In function 'reboot_machine':
> gdm.c:1334: warning: format '%s' expects type 'char *', but argument 3 ha=
s 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 ha=
s type 'int'
> gdm.c: In function 'main':
> gdm.c:2106: warning: format '%s' expects type 'char *', but argument 4 ha=
s type 'int'
> gdm.c:2110: warning: format '%s' expects type 'char *', but argument 4 ha=
s type 'int'
> gdm.c:2152: warning: format '%s' expects type 'char *', but argument 4 ha=
s type 'int'
> gdm.c:2154: warning: format '%s' expects type 'char *', but argument 3 ha=
s type 'int'
> gdm.c:2160: warning: format '%s' expects type 'char *', but argument 4 ha=
s type 'int'
> gdm.c:2162: warning: format '%s' expects type 'char *', but argument 3 ha=
s type 'int'
> gdm.c:2185: warning: format '%s' expects type 'char *', but argument 4 ha=
s type 'int'
> gdm.c:2189: warning: format '%s' expects type 'char *', but argument 4 ha=
s type 'int'
> gdm.c:2193: warning: format '%s' expects type 'char *', but argument 4 ha=
s type 'int'
> gdm.c:2197: warning: format '%s' expects type 'char *', but argument 4 ha=
s type 'int'
> gdm.c:2207: warning: format '%s' expects type 'char *', but argument 4 ha=
s type 'int'
> gdm.c:2213: warning: format '%s' expects type 'char *', but argument 4 ha=
s type 'int'
> gdm.c:2224: warning: format '%s' expects type 'char *', but argument 4 ha=
s type 'int'
> gdm.c: In function 'write_x_servers':
> gdm.c:2377: warning: format '%s' expects type 'char *', but argument 3 ha=
s type 'int'
> gdm.c: In function 'send_slave_ack':
> gdm.c:2396: warning: incompatible implicit declaration of built-in functi=
on 'strlen'
> gdm.c: In function 'send_slave_command':
> gdm.c:2417: warning: incompatible implicit declaration of built-in functi=
on 'strlen'
> gdm.c: In function 'gdm_handle_message':
> gdm.c:2437: warning: incompatible implicit declaration of built-in functi=
on 'strlen'
> gdm.c:2453: warning: incompatible implicit declaration of built-in functi=
on 'strlen'
> gdm.c:2464: warning: implicit declaration of function 'strchr'
> gdm.c:2464: warning: incompatible implicit declaration of built-in functi=
on 'strchr'
> gdm.c:2635: warning: incompatible implicit declaration of built-in functi=
on 'strchr'
> gdm.c:2662: warning: incompatible implicit declaration of built-in functi=
on 'strchr'
> gdm.c:2709: warning: incompatible implicit declaration of built-in functi=
on 'strchr'
> gdm.c:2814: warning: incompatible implicit declaration of built-in functi=
on 'strchr'
> gdm.c:2901: warning: incompatible implicit declaration of built-in functi=
on 'strchr'
> gdm.c: In function 'extract_dispname_uid_xauthfile_cookie':
> gdm.c:2939: warning: incompatible implicit declaration of built-in functi=
on 'strchr'
> gdm.c: In function 'extract_dispnum':
> gdm.c:3034: warning: incompatible implicit declaration of built-in functi=
on 'strchr'
> gdm.c: In function 'dehex_cookie':
> gdm.c:3052: warning: incompatible implicit declaration of built-in functi=
on '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 functi=
on '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 ha=
s type 'int'
> gdm.c:3162: warning: format '%s' expects type 'char *', but argument 6 ha=
s type 'int'
> gdm.c:3187: warning: format '%s' expects type 'char *', but argument 6 ha=
s type 'int'
> gdm.c:3187: warning: format '%s' expects type 'char *', but argument 6 ha=
s type 'int'
> gdm.c:3187: warning: format '%s' expects type 'char *', but argument 6 ha=
s type 'int'
> gdm.c:3240: warning: incompatible implicit declaration of built-in functi=
on 'strchr'
> gdm.c: In function 'is_key':
> gdm.c:3288: warning: incompatible implicit declaration of built-in functi=
on 'strchr'
> gdm.c: In function 'gdm_handle_user_message':
> gdm.c:3597: warning: incompatible implicit declaration of built-in functi=
on 'strlen'
> gdm.c:3626: warning: pointer targets in passing argument 1 of 'g_ascii_st=
rcasecmp' differ in signedness

Adding a build-dependency on libxau-dev fixes this problem.

--=20
Matt

--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch
Content-Transfer-Encoding: quoted-printable

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 <rmurray at debian.org>
-Build-Depends: libpam0g-dev, libgnomeui-dev (>=3D 1.96.0), librsvg2-dev, l=
ibglade2-dev, libwrap0-dev, debhelper, gettext, intltool, scrollkeeper, lib=
selinux1-dev, libattr1-dev, xlibs-static-dev, libxt-dev
+Build-Depends: libpam0g-dev, libgnomeui-dev (>=3D 1.96.0), librsvg2-dev, l=
ibglade2-dev, libwrap0-dev, debhelper, gettext, intltool, scrollkeeper, lib=
selinux1-dev, libattr1-dev, xlibs-static-dev, libxt-dev, libxau-dev
 Standards-Version: 3.6.1
=20
 Package: gdm

--EeQfGwPcQSOJBaQU--

--ZfOjI3PrQbgiZnxM
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDAklFfNdgYxVXvBARAj/3AJ46qqqRMhLq+XnWlSYfqwHm6XGcGQCdFjL4
Xm6imgPnOqzACQcZ3qamZfk=
=V5gP
-----END PGP SIGNATURE-----

--ZfOjI3PrQbgiZnxM--

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list