Summary: | [bisected] cairo failed to build with XCB enabled(it is default enable) | ||
---|---|---|---|
Product: | cairo | Reporter: | zhao jian <jian.j.zhao> |
Component: | xcb backend | Assignee: | Uli Schlachter <psychon> |
Status: | VERIFIED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | critical | ||
Priority: | high | ||
Version: | 1.10.3 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Ugly workaround |
Description
zhao jian
2011-09-16 00:40:40 UTC
Created attachment 51254 [details] [review] Ugly workaround xcb_discard_reply() was added in libxcb 1.6, released April 2010. Configure currently checks for xcb >= 1.1.92 since that is when xcb_take_socket() was added, although this function isn't used anymore. Which version of libxcb do you have? Attached is a patch which forces a round trip instead of using xcb_discard_reply(). I think a better fix would be to add a check for xcb_discard_reply() to configure and skip the whole "if (might_reuse)" block if we don't have that function. I guess I'll be building old xcb versions. commit 7ba28ff563ab8a8e77213789860b2d412577a309 makes configure require libxcb 1.6 for cairo-xcb. This should mean that cairo-xcb gets disabled for your, but since this isn't a supported backend in any release yet, we better only start adding lots of #ifdefs later. ;-) |
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.