Comment 2 for bug 20880

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sat, 03 Sep 2005 15:05:42 +0200
From: Andreas Jochens <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: mesa: FTBFS: Missing Build-Depends on 'xutils, xlibmesa-gl-dev'

Package: mesa
Version: 6.3.2-1
Severity: serious
Tags: patch

When building 'mesa' in a clean 'unstable' chroot,
I get the following error:

touch depend
makedepend -fdepend -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glthread.c ../../../src/mesa/main/dispatch.c glcontextmodes.c clientattrib.c compsize.c eval.c glxcmds.c glxext.c glxextensions.c indirect.c indirect_init.c indirect_size.c indirect_window_pos.c indirect_transpose_matrix.c indirect_vertex_array.c indirect_vertex_program.c pixel.c pixelstore.c render2.c renderpix.c single2.c singlepix.c vertarr.c xfont.c glx_pbuffer.c glx_query.c glx_texture_compression.c dri_glx.c XF86dri.c
/bin/sh: makedepend: command not found
make[2]: *** [depend] Error 127
make[2]: Leaving directory `/mesa-6.3.2/build/gl-debian-dri/src/glx/x11'

Later in the build process I get the following error:

In file included from glcontextmodes.c:60:
../../../src/mesa/drivers/dri/common/glcontextmodes.h:39: warning: type defaults
 to 'int' in declaration of '__GLXvisualConfig'
../../../src/mesa/drivers/dri/common/glcontextmodes.h:39: error: syntax error be
fore '*' token
glcontextmodes.c:125: warning: type defaults to 'int' in declaration of '__GLXvi
sualConfig'
glcontextmodes.c:125: error: syntax error before '*' token
glcontextmodes.c: In function '_gl_copy_visual_to_context_mode':
glcontextmodes.c:127: error: 'mode' undeclared (first use in this function)
glcontextmodes.c:127: error: (Each undeclared identifier is reported only once
glcontextmodes.c:127: error: for each function it appears in.)
glcontextmodes.c:132: error: 'config' undeclared (first use in this function)
make[2]: *** [glcontextmodes.o] Error 1
make[2]: Leaving directory `/mesa-6.3.2/build/gl-debian-dri/src/glx/x11'

Please add the missing Build-Depends on 'xutils, xlibmesa-gl-dev'
to debian/control.

Regards
Andreas Jochens

diff -urN ../tmp-orig/mesa-6.3.2/debian/control ./debian/control
--- ../tmp-orig/mesa-6.3.2/debian/control 2005-09-03 11:50:15.000000000 +0000
+++ ./debian/control 2005-09-03 11:50:02.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Marcelo E. Magallon <email address hidden>
 Standards-Version: 3.6.1
-Build-Depends: lesstif2-dev, xlibs-dev, grep-dctrl, debhelper (>> 4), build-essential (>= 11), libdrm-dev, libdirectfb-dev
+Build-Depends: lesstif2-dev, xutils, xlibs-dev, xlibmesa-gl-dev, grep-dctrl, debhelper (>> 4), build-essential (>= 11), libdrm-dev, libdirectfb-dev

 Package: mesag3
 Section: libs