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.
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 /../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 6.3.2/build/ gl-debian- dri/src/ glx/x11'
makedepend -fdepend -I. -I../../../include -I../..
/bin/sh: makedepend: command not found
make[2]: *** [depend] Error 127
make[2]: Leaving directory `/mesa-
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 ./src/mesa/ drivers/ dri/common/ glcontextmodes. h:39: error: syntax error be c:125: warning: type defaults to 'int' in declaration of '__GLXvi c:125: error: syntax error before '*' token visual_ to_context_ mode': c:127: error: 'mode' undeclared (first use in this function) c:127: error: (Each undeclared identifier is reported only once c:127: error: for each function it appears in.) c:132: error: 'config' undeclared (first use in this function) 6.3.2/build/ gl-debian- dri/src/ glx/x11'
../../.
to 'int' in declaration of '__GLXvisualConfig'
../../.
fore '*' token
glcontextmodes.
sualConfig'
glcontextmodes.
glcontextmodes.c: In function '_gl_copy_
glcontextmodes.
glcontextmodes.
glcontextmodes.
glcontextmodes.
make[2]: *** [glcontextmodes.o] Error 1
make[2]: Leaving directory `/mesa-
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 orig/mesa- 6.3.2/debian/ control 2005-09-03 11:50:15.000000000 +0000
--- ../tmp-
+++ ./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