Bug 566441

Summary: libsepol.pc pkgconfig file missing in libsepol-devel
Product: [Fedora] Fedora Reporter: Karel Klíč <kklic>
Component: libsepolAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: 12CC: dwalsh, jhorak, mgrepl, mmalik, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libsepol-2.0.41-3.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 566496 (view as bug list) Environment:
Last Closed: 2010-02-20 22:51:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 566496, 566883    
Attachments:
Description Flags
libsepol.pc proposed file none

Description Karel Klíč 2010-02-18 13:54:36 UTC
Created attachment 394903 [details]
libsepol.pc proposed file

Description of problem:
/usr/lib/pkgconfig/libselinux.pc pkg-config file from libselinux-devel package requires libsepol.pc. But file libsepol.pc is not included in libsepol-devel.

Version-Release number of selected component (if applicable):
libsepol-devel-2.0.38-1.fc12
libselinux-devel-2.0.90-3.fc12

Steps to Reproduce:
$ pkg-config --cflags libselinux
Package libsepol was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsepol.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libsepol', required by 'libselinux', not found

Expected results:
libsepol-devel package contains file
/usr/lib/pkgconfig/libsepol.pc

Additional info:
I would like to use libselinux pkg-config support to add SELinux support into Emacs.

Comment 1 Jan Horak 2010-02-18 14:08:16 UTC
Due to this bug I can't compile Miro in koji against new xulrunner and I can't put Miro package to Firefox security update. 

I've got same version: libsepol-devel-2.0.38-1.fc12.i686

Package config error:
pkg-config --list-all outputted the following error:
Package libsepol was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsepol.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libsepol', required by 'libselinux', not found

Comment 2 Fedora Update System 2010-02-18 15:25:27 UTC
libsepol-2.0.41-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/libsepol-2.0.41-3.fc12

Comment 3 Daniel Walsh 2010-02-18 15:26:24 UTC
Fixed in libsepol-2.0.41-3.fc12

Comment 4 Karel Klíč 2010-02-18 15:34:41 UTC
Daniel, thank you very much for such a quick fix.

Comment 5 Fedora Update System 2010-02-20 00:24:55 UTC
libsepol-2.0.41-3.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libsepol'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1912

Comment 6 Fedora Update System 2010-02-20 22:51:21 UTC
libsepol-2.0.41-3.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.