I don't know when it broke, but as of at least April 6th, building freebsd-dri gives the following error message: gmake[3]: Entering directory `/home/adamk/saved/source/Mesa/src/mesa/drivers/dri/radeon' touch depend makedepend -fdepend -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DRADEON_COMMON=0 -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../../drm/shared-core -I../../../../../include -I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../../src/mesa/main -I../../../../../s rc/mesa/glapi -I../../../../../src/mesa/math -I../../../../../src/mesa/transform -I../../../../../src/mesa/shader -I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/local/include `pkg-config --cflags libdrm` ../../common/driverfuncs.c ../common/utils.c ../common/texmem.c ../common/vblank.c ../common/dri_util.c ../common/xmlconfig.c ../common/drirenderbuffer.c radeon_context.c radeon_ioctl.c radeon_lock.c radeon_screen.c radeon_state.c rad eon_state_init.c radeon_tex.c radeon_texmem.c radeon_texstate.c radeon_tcl.c radeon_swtcl.c radeon_span.c radeon_maos.c radeon_sanity.c radeon_vtxfmt.c radeon_vtxfmt_c.c radeon_vtxfmt_sse.c radeon_vtxfmt_x86.c \ >& /dev/null Syntax error: Bad fd number gmake[3]: *** [depend] Error 2 gmake[3]: Leaving directory `/home/adamk/saved/source/Mesa/src/mesa/drivers/dri/radeon' gmake[2]: *** [subdirs] Error 1 gmake[2]: Leaving directory `/home/adamk/saved/source/Mesa/src/mesa/drivers/dri' gmake[1]: *** [linux-solo] Error 2 gmake[1]: Leaving directory `/home/adamk/saved/source/Mesa/src/mesa' gmake: *** [default] Error 2 *** Error code 1 This happens with at least the radeon, mach64, and i810 drivers (and, I imagine, all of them).
What happens if you remove the >&/dev/null part from the makedepend command (in Makefile.template)?
I think that would work Brian as the current >& /dev/null is bourne shell specific.
Woohoo... That resolved that error... Of course, I'm now getting a new one about RADEON_CARD_PCI being undeclared. I'll try and poke around with that this weekend.
RADEON_CARD_PCI is defined in the radeon_drm.h file from the DRM repository. I'm replacing the >&/dev/null with >/dev/null to be more shell-portable. Closing this bug now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.