Bug 102052

Summary: No package 'expat' found
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: emil.l.velikov, fdo-bugs, nhaehnle
Version: gitKeywords: bisected, regression
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2017-08-05 19:37:50 UTC
mesa: 36a1b61321561634c6b243cf876c347fef73dfa4 (master 17.3.0-devel)

Build failure on CentOS 6.9.

checking for EXPAT... configure: error: Package requirements (expat) were not met:

No package 'expat' found


$ rpm -qa --pipe "grep expat"
expat21-2.1.0-1.el6.x86_64
expat-2.0.1-13.el6_8.x86_64
expat-devel-2.0.1-13.el6_8.x86_64
expat21-devel-2.1.0-1.el6.x86_64


commit 5c007203b73da88b9e76ce28027c6d27661e45b1
Author: Emil Velikov <emil.velikov@collabora.com>
Date:   Wed Aug 2 19:39:05 2017 +0100

    configure.ac: drop manual detection of expat header/library
    
    Use the .pc file, as provided by version prior 2.1.0 onward and dropping
    the manual header/library check.
    
    Version 2.1.0 was released back in Mar 2012 and all major distributions
    use it.
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
    Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (IRC)
Comment 1 Vinson Lee 2017-08-22 05:19:01 UTC
commit a0ed82947c83a64ff8b85bca638e137e5466bd98
Author: Vinson Lee <vlee@freedesktop.org>
Date:   Sat Aug 5 13:31:50 2017 -0700

    configure.ac: Check for expat21 if expat is not found.
    
    Fixes build error on CentOS 6.9.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102052
    Fixes: 5c007203b73d ("configure.ac: drop manual detection of expat header/library")
    Signed-off-by: Vinson Lee <vlee@freedesktop.org>

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.