Bug 38688 - Mesa 7.10.3 FTBFS (because libdrm?)
Summary: Mesa 7.10.3 FTBFS (because libdrm?)
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: 7.10
Hardware: All Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-26 02:05 UTC by Guido Iodice
Modified: 2014-09-22 18:40 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Guido Iodice 2011-06-26 02:05:04 UTC
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.
Comment 1 Lucas Stach 2011-06-26 02:21:55 UTC
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
Comment 2 Jon Severinsson 2011-06-26 03:29:51 UTC
(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
Comment 3 Lucas Stach 2011-06-26 03:43:51 UTC
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.
Comment 4 Emil Velikov 2014-09-22 18:40:25 UTC
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.