Bug 148973 - rpm should have BuildRequires dependency on libselinux version
Summary: rpm should have BuildRequires dependency on libselinux version
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: rpm
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
: 148982 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-17 16:20 UTC by Jos Vos
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-02-20 19:14:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jos Vos 2005-02-17 16:20:00 UTC
Description of problem:
Building the rpm package depends on newer versions of libselinux,
otherwise it complains about an undefined reference "rpm_execcon". 
The rpm src.rpm should contain a BuildRequires dependency for the
correct version of the libselinux (or libselinux-devel?) package.

Version-Release number of selected component (if applicable):
4.3.3-7_nonptl

Comment 1 Jos Vos 2005-02-17 20:53:24 UTC
*** Bug 148982 has been marked as a duplicate of this bug. ***

Comment 2 Jeff Johnson 2005-02-20 19:14:53 UTC
A (necessary imho) ABI change like rpm_execcon cannot be
properly tracked through build dependencies.

Adding a build dependency fo now isn't the right
solution either, as libselinux development is
happening much more quickly than rpm development.
So any build dependency added today is predicatbly
going to rot when libselinux changes and rpm does not.

A more general fix, using dlopen rather than the
traditional (and overly stiff and complex imho)
solution is needed so that rpm "works" with and
without libselinux, either enabled/disabled, strict/targeted.

These are intrinsically run-time attributes that no build
dependency can adequately solve.

Defeered unti then ...


Note You need to log in before you can comment on or make changes to this bug.