Compiling current mesa I get this: CC dri_util.lo In file included from ../../../../../../src/mesa/drivers/dri/common/dri_util.c:48:0: ../../../../../../src/mesa/drivers/dri/common/xmlpool.h:103:29: fatal error: xmlpool/options.h: No such file or directory full log here: https://launchpadlibrarian.net/153507573/buildlog_ubuntu-raring-amd64.mesa_9.3~git1310111709.396c69%2Bglvdpau~gd~r_FAILEDTOBUILD.txt.gz Note: similar error of bug #70057 (but with current git).
Created attachment 87471 [details] [review] set HAVE_COMMON_DRI when building plain classic swrast Damn, should have noticed this when I did the fix for bug 70057.
The patch doesn't fix the issue, new log here: https://launchpadlibrarian.net/153514663/buildlog_ubuntu-raring-i386.mesa_9.3~git1310111821.3de7e1%2Bglvdpau~gd~r_FAILEDTOBUILD.txt.gz
Interesting, the attached patch will resolve build failure when configured with $ ./autogen.sh --with-dri-drivers=swrast --with-gallium-drivers= $ make Fabio Pedretti, what configure flags you're using ?
It builds with: ../../configure --prefix=/usr --mandir=\${prefix}/share/man \ --infodir=\${prefix}/share/info --sysconfdir=/etc \ --libdir=\${prefix}/lib/i386-linux-gnu \ --localstatedir=/var --build=i686-linux-gnu --enable-dri --with-dri-drivers=" r200 radeon nouveau swrast i915 i965" --with-dri-driverdir=/usr/lib/i386-linux-gnu/dri --with-dri-searchpath='/usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri' --enable-osmesa --enable-glx-tls --enable-shared-glapi --enable-texture-float --enable-xa --enable-driglx-direct --with-egl-platforms="x11 drm wayland" --enable-gallium-llvm --with-llvm-shared-libs --with-gallium-drivers=" nouveau r600 r300 svga ilo radeonsi i915 swrast" --enable-gles1 --enable-gles2 --enable-openvg --enable-gallium-egl (it's also in the build log anyway.)
I have to admit that build log was a bit too "inspiring" for me. I got bored half way though the list of downloading and installing all the dependencies :) Anywho, the issue reported seems different from the one I've prepped a patch for, namely - out of tree builds :) I'll a proper fix for this bug shortly
Created attachment 87484 [details] [review] targets/dri-swrast: add correct include for out-of-tree builds This patch should resolve the issue, can you confirm
Created attachment 87497 [details] [review] swrast: add correct include for out-of-tree builds A slightly more overzealous version, explicitly including the builddir for classic swrast on top of the reported gallium/swrast.
(In reply to comment #7) > Created attachment 87497 [details] [review] [review] > swrast: add correct include for out-of-tree builds > > A slightly more overzealous version, explicitly including the builddir for > classic swrast on top of the reported gallium/swrast. Same issue here, and this patch fixes it. Thanks Emil
I cannot test it until few days, if it works for you commit it.
(In reply to comment #7) > Created attachment 87497 [details] [review] [review] > swrast: add correct include for out-of-tree builds > > A slightly more overzealous version, explicitly including the builddir for > classic swrast on top of the reported gallium/swrast. The patch works; you can have my Tested-by.
(In reply to comment #9) > I cannot test it until few days, if it works for you commit it. Confirmed fixing the issue, thanks.
Fixed with commit cd3fa176a8dbae3e14c9426e7fbe13baa6e84256
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.