Package: gnome-session
Version: 2.10.0-5
Severity: serious
Tags: patch

gnome-session fails to build because it cannot find <X11/Xauth.h>:

> if cc -DHAVE_CONFIG_H -I. -I. -I.. -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   
> -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DLIBDIR=\""/usr/lib"\" 
> -DDATADIR=\""/usr/share"\"  -Wall -Wmissing-prototypes   
> -DGNOMELOCALEDIR=\""/usr/share/locale\"" 
> -DGCONF_SANITY_CHECK=\""/usr/lib/gconf2/gconf-sanity-check-2"\" 
> -DGNOME_KEYRING_DAEMON=\""/usr/bin/gnome-keyring-daemon"\" 
> -DGNOME_ICONDIR=\""/usr/share/pixmaps\"" -DREBOOT_COMMAND=\""\"" 
> -DHALT_COMMAND=\""\"" -DRSH_COMMAND=\""\"" 
> -DGCONFTOOL_CMD=\""/usr/bin/gconftool-2\"" 
> -DDEFAULTDIR="\"/usr/share/gnome\"" -DESD_SERVER="\"/usr/bin/esd\""    -g 
> -Wall -O2 -MT gdm-logout-action.o -MD -MP -MF ".deps/gdm-logout-action.Tpo" \
>   -c -o gdm-logout-action.o `test -f 'gdm-logout-action.c' || echo 
> './'`gdm-logout-action.c; \
> then mv -f ".deps/gdm-logout-action.Tpo" ".deps/gdm-logout-action.Po"; \
> else rm -f ".deps/gdm-logout-action.Tpo"; exit 1; \
> fi
> gdm-logout-action.c:41:23: error: X11/Xauth.h: No such file or directory
> gdm-logout-action.c: In function 'gdm_authenticate_connection':
> gdm-logout-action.c:145: error: 'Xauth' undeclared (first use in this 
> function)
> gdm-logout-action.c:145: error: (Each undeclared identifier is reported only 
> once
> gdm-logout-action.c:145: error: for each function it appears in.)
> gdm-logout-action.c:145: error: 'xau' undeclared (first use in this function)
> gdm-logout-action.c:168: warning: implicit declaration of function 
> 'XauFileName'
> gdm-logout-action.c:168: warning: assignment makes pointer from integer 
> without a cast
> gdm-logout-action.c:177: warning: implicit declaration of function 
> 'XauReadAuth'
> gdm-logout-action.c:183: error: 'FamilyLocal' undeclared (first use in this 
> function)
> gdm-logout-action.c:187: warning: implicit declaration of function 
> 'XauDisposeAuth'

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

-- 
Matt
diff -u gnome-session-2.10.0/debian/control gnome-session-2.10.0/debian/control
--- gnome-session-2.10.0/debian/control
+++ gnome-session-2.10.0/debian/control
@@ -2,9 +2,9 @@
 Section: gnome
 Priority: optional
 Maintainer: Josselin Mouette <[EMAIL PROTECTED]>
-Uploaders: Debian GNOME Maintainers <[EMAIL PROTECTED]>, Akira TAGOH <[EMAIL 
PROTECTED]>, Andreas Rottmann <[EMAIL PROTECTED]>, Andrew Lau <[EMAIL 
PROTECTED]>, Carlos Perelló Marín <[EMAIL PROTECTED]>, Ed Boraas <[EMAIL 
PROTECTED]>, Edd Dumbill <[EMAIL PROTECTED]>, Emil Soleyman-Zomalan <[EMAIL 
PROTECTED]>, Gustavo Noronha Silva <[EMAIL PROTECTED]>, J.H.M. Dassen (Ray) 
<[EMAIL PROTECTED]>, Joe Drew <[EMAIL PROTECTED]>, Johannes Rohr <[EMAIL 
PROTECTED]>, Jordi Mallach <[EMAIL PROTECTED]>, Jose Carlos Garcia Sogo <[EMAIL 
PROTECTED]>, Loic Minier <[EMAIL PROTECTED]>, Marc 'HE' Brockschmidt <[EMAIL 
PROTECTED]>, Ondřej Surý <[EMAIL PROTECTED]>, Rob Bradford <[EMAIL 
PROTECTED]>, Robert McQueen <[EMAIL PROTECTED]>, Ross Burton <[EMAIL 
PROTECTED]>, Sebastien Bacher <[EMAIL PROTECTED]>, Sjoerd Simons <[EMAIL 
PROTECTED]>, Takuo KITAME <[EMAIL PROTECTED]>
+Uploaders: Debian GNOME Maintainers <[EMAIL PROTECTED]>, Akira TAGOH <[EMAIL 
PROTECTED]>, Andreas Rottmann <[EMAIL PROTECTED]>, Andrew Lau <[EMAIL 
PROTECTED]>, Carlos Perelló Marín <[EMAIL PROTECTED]>, Clément Stenac 
<[EMAIL PROTECTED]>, Ed Boraas <[EMAIL PROTECTED]>, Edd Dumbill <[EMAIL 
PROTECTED]>, Emil Soleyman-Zomalan <[EMAIL PROTECTED]>, Gustavo Noronha Silva 
<[EMAIL PROTECTED]>, J.H.M. Dassen (Ray) <[EMAIL PROTECTED]>, Joe Drew <[EMAIL 
PROTECTED]>, Johannes Rohr <[EMAIL PROTECTED]>, Jordi Mallach <[EMAIL 
PROTECTED]>, Jose Carlos Garcia Sogo <[EMAIL PROTECTED]>, Loic Minier <[EMAIL 
PROTECTED]>, Marc 'HE' Brockschmidt <[EMAIL PROTECTED]>, Ondřej Surý <[EMAIL 
PROTECTED]>, Rob Bradford <[EMAIL PROTECTED]>, Robert McQueen <[EMAIL 
PROTECTED]>, Ross Burton <[EMAIL PROTECTED]>, Sebastien Bacher <[EMAIL 
PROTECTED]>, Sjoerd Simons <[EMAIL PROTECTED]>, Takuo KITAME <[EMAIL PROTECTED]>
 Standards-Version: 3.6.2
-Build-Depends: cdbs, liborbit2-dev (>= 2.10.2-1.1), intltool, libgnomeui-dev 
(>= 2.10), libgconf2-dev (>= 2.10), esound, libgnomecanvas2-dev (>= 2.10), 
libesd0-dev (>= 0.2.26), libgnomevfs2-dev (>= 2.10), gnome-pkg-tools, debhelper 
(>= 4.1.84), libx11-dev, libxt-dev, libice-dev, libsm-dev, libxrender-dev, 
libxrandr-dev, libxmu-dev
+Build-Depends: cdbs, liborbit2-dev (>= 2.10.2-1.1), intltool, libgnomeui-dev 
(>= 2.10), libgconf2-dev (>= 2.10), esound, libgnomecanvas2-dev (>= 2.10), 
libesd0-dev (>= 0.2.26), libgnomevfs2-dev (>= 2.10), gnome-pkg-tools, debhelper 
(>= 4.1.84), libx11-dev, libxt-dev, libice-dev, libsm-dev, libxrender-dev, 
libxrandr-dev, libxmu-dev, libxau-dev
 
 Package: gnome-session
 Architecture: any
diff -u gnome-session-2.10.0/debian/control.in 
gnome-session-2.10.0/debian/control.in
--- gnome-session-2.10.0/debian/control.in
+++ gnome-session-2.10.0/debian/control.in
@@ -4,7 +4,7 @@
 Maintainer: Josselin Mouette <[EMAIL PROTECTED]>
 Uploaders: @GNOME_TEAM@
 Standards-Version: 3.6.2
-Build-Depends: cdbs, liborbit2-dev (>= 2.10.2-1.1), intltool, libgnomeui-dev 
(>= 2.10), libgconf2-dev (>= 2.10), esound, libgnomecanvas2-dev (>= 2.10), 
libesd0-dev (>= 0.2.26), libgnomevfs2-dev (>= 2.10), gnome-pkg-tools, debhelper 
(>= 4.1.84), libx11-dev, libxt-dev, libice-dev, libsm-dev, libxrender-dev, 
libxrandr-dev, libxmu-dev
+Build-Depends: cdbs, liborbit2-dev (>= 2.10.2-1.1), intltool, libgnomeui-dev 
(>= 2.10), libgconf2-dev (>= 2.10), esound, libgnomecanvas2-dev (>= 2.10), 
libesd0-dev (>= 0.2.26), libgnomevfs2-dev (>= 2.10), gnome-pkg-tools, debhelper 
(>= 4.1.84), libx11-dev, libxt-dev, libice-dev, libsm-dev, libxrender-dev, 
libxrandr-dev, libxmu-dev, libxau-dev
 
 Package: gnome-session
 Architecture: any

Attachment: signature.asc
Description: Digital signature

Reply via email to