Bug 89563

Summary: Bug in configure verifying xcb version
Product: Mesa Reporter: MichaelJ <emjotkrm>
Component: OtherAssignee: mesa-dev
Status: RESOLVED NOTABUG QA Contact: mesa-dev
Severity: normal    
Priority: medium    
Version: 10.5   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description MichaelJ 2015-03-12 21:06:33 UTC
Incorrect error message "DRI3 requires xcb >= 1.9.3" when installed version of libxcb is 1.9-5, later then 1.9.3.
"libxcb -v" returns  1.9-5.el7 but is parsed by configure to 1.9 thus failing compare to required $XCB_REQUIRED set to 1.9.3.
libxcb version 1.9-5 is available in yum repositories. The code responsible for this verification is around line 22229 of configure file. I'm not fluent in this script to attempt fix it myself. My work around was to set XCB_REQUIRED to 1.9, line 5264, but in my opinion it is not acceptable permanent fix.
Comment 1 Jan Vesely 2015-03-12 21:27:21 UTC
(In reply to MichaelJ from comment #0)
> Incorrect error message "DRI3 requires xcb >= 1.9.3" when installed version
> of libxcb is 1.9-5, later then 1.9.3.
> "libxcb -v" returns  1.9-5.el7 but is parsed by configure to 1.9 thus
> failing compare to required $XCB_REQUIRED set to 1.9.3.
> libxcb version 1.9-5 is available in yum repositories. The code responsible
> for this verification is around line 22229 of configure file. I'm not fluent
> in this script to attempt fix it myself. My work around was to set
> XCB_REQUIRED to 1.9, line 5264, but in my opinion it is not acceptable
> permanent fix.

can you check the pkg-config reported version?
like this:

pkg-config --modversion xcb

The latest released version (in 1.9 branch) is 1.9.3
if I remember correctly -5 (note "-" instead of ".") means 5th RH build of the version before "-". In you case it'd be 5th build of libxcb 1.9. the above command will tell.
Comment 2 MichaelJ 2015-03-12 21:45:32 UTC
Response for this command is 1.9
Yum reports package 1.9-5.el7. this is latest available for my yum repositories.
Comment 3 Matt Turner 2015-03-12 21:52:41 UTC
This sounds to me like you have 1.9 with some patches applied. If that's the case, configure is rightly failing.
Comment 4 MichaelJ 2015-03-12 22:15:42 UTC
Thanks. I will thus need to find the package outside of yum. yum is so easy... Since it is not a bug I will mark it solved.

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.