Bug 102052 - No package 'expat' found
Summary: No package 'expat' found
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords: bisected, regression
Depends on:
Blocks:
 
Reported: 2017-08-05 19:37 UTC by Vinson Lee
Modified: 2017-08-22 05:19 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.