current rawhide mesa-6.5-4 fails to build in mock: make[3]: Entering directory `/builddir/build/BUILD/Mesa-6.5/src/glx/x11' Makefile:93: depend: No such file or directory 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` 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 \ ../../../src/mesa/main/dispatch.c ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glthread.c ../../../src/mesa/x86-64/glapi_x86-64.S /bin/sh: makedepend: command not found make[3]: *** [depend] Error 127 make[3]: Leaving directory `/builddir/build/BUILD/Mesa-6.5/src/glx/x11' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/Mesa-6.5/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/Mesa-6.5' make: *** [linux-dri-x86-64] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.42010 (%build) Attached is a patch adding the necessary BuildRequire: imake line.
Created attachment 129226 [details] Patch, adding the missing buildreqs
This is not quite correct. In the error output, it is "makedepend" that it is invoking and can not find. Mesa does not appear to use "imake" anywhere. The correct dependency is: BuildRequires: makedepend Note: Each of the modular X packages contains a virtual provide for each binary that is in the package which another package may potentially depend upon. The purpose of this is to allow other packages to depend on the individual binaries they require, which will follow the binary from package to package if it is later moved to some other package - rather than depending on the package the binary currently happens to be contained within. In other words, do not depend on "imake" unless a package actually invokes the "imake" binary itself. Depend on the specific binary you require. If it turns out that a package is missing a virtual provide for a given binary, file another bug report for that, and we can add the missing virtual provide in the next build, for other packages to depend upon.
Fixed in 6.5-6 in rawhide.
Also checked into FC-5 CVS branch head.
mesa-6.4.2-6.FC5.3 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.