Hi. I'm trying to build Mesa 7.10.3 for Ubuntu Natty in my ppa. But it fails. This is a successful the buildlog https://launchpadlibrarian.net/74056962/buildlog_ubuntu-natty-i386.mesa_7.10.3-0ubuntu1~natty1_BUILDING.txt.gz While this is a failed build log of the same package: https://launchpadlibrarian.net/74132355/buildlog_ubuntu-natty-i386.mesa_7.10.3-0ubuntu1~natty1_FAILEDTOBUILD.txt.gz In the first case, in the system there is libdrm 2.4.23, in the second libdrm 2.4.26 The problem seems on nouveau with BIND_RING, BEGIN_RING etc.
This is not a bug. libdrm >2.4.23 and mesa 7.10.3 just don't go together because of a api change in nouveau. If you really want to try to get it to build together, try including nv04_pushbuf.h in the appropriate locations. http://cgit.freedesktop.org/mesa/drm/commit/?id=45cfb9cf089cd56878b1cb5d15391d2470dbeb7c
(In reply to comment #1) > This is not a bug. libdrm >2.4.23 and mesa 7.10.3 just don't go together > because of a api change in nouveau. Well, 7.10.3 requires libdrm >=2.4.24 to build, unless you revert commit "0309089 configure: bump LIBDRM_REQUIRED to 2.4.24" [1], so if mesa isn't supposed to build with libdrm >2.4.23. I wonder, is that commit bogus, or does one part of mesa 7.10.3 require libdrm <=2.4.23 and another libdrm >=2.4.24? [1] http://cgit.freedesktop.org/mesa/mesa/commit/?h=7.10&id=0309089e5a588d829624feaad42d527b010f2a5f
Ok, we have a problem here. The patch you mentioned was sent in because of the nouveau api change. I don't know why this ended up in 7.10.3. As far as I can see it *should* be safe to revert this commit.
With the libdrm_nouveau experience long behind us, and latest mesa's correctly handling it, I believe we can close this :)
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.