Bug 625317

Summary: device-mapper-devel package incorrectly requires device-mapper, when it should probably only need device-mapper-libs, not both
Product: [Fedora] Fedora Reporter: Jasper O'neal Hartline <Jasper.Hartline>
Component: device-mapper-obsoleteAssignee: Orphan Owner <extras-orphan>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: agk, bmarzins, dwysocha, extras-orphan, heinzm, jonathan, mbroz, prockai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-19 10: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:

Description Jasper O'neal Hartline 2010-08-19 04:23:17 UTC
Description of problem:
Description is in the summary.

Error: Package: device-mapper-devel-1.02.44-1.fc13.i686 (fedora)
            Requires: device-mapper = 1.02.44-1.fc13


repoquery --list device-mapper shows no files device-mapper-devel needs.

/lib/udev
/lib/udev/rules.d
/lib/udev/rules.d/10-dm.rules
/lib/udev/rules.d/13-dm-disk.rules
/lib/udev/rules.d/95-dm-notify.rules
/sbin/dmsetup
/usr/share/doc/device-mapper-1.02.44
/usr/share/doc/device-mapper-1.02.44/12-dm-permissions.rules
/usr/share/doc/device-mapper-1.02.44/COPYING
/usr/share/doc/device-mapper-1.02.44/COPYING.LIB
/usr/share/doc/device-mapper-1.02.44/INSTALL
/usr/share/doc/device-mapper-1.02.44/README
/usr/share/doc/device-mapper-1.02.44/VERSION_DM
/usr/share/doc/device-mapper-1.02.44/WHATS_NEW_DM
/usr/share/man/man8/dmsetup.8.gz

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Alasdair Kergon 2010-08-19 10:51:26 UTC
The dependencies are kept minimal.  You need the udev files in place to make any use of device-mapper in Fedora now, we will not support any users without dmsetup being installed anyway and the documentation files have to be there too.

Comment 2 Jasper O'neal Hartline 2010-08-19 11:28:35 UTC
I have device-mapper installed, just not a version yum-builddep on anaconda.src.rpm file wanted. I don't see how needing device-mapper-devel to build anaconda against requires device-mapper at all.

Comment 3 Alasdair Kergon 2010-08-19 12:00:14 UTC
Fedora doesn't distinguish between packages installed only to be built against and packages installed actually to be used.  You'd need a way to distinguish between 'install this package to compile against but I promise I will never actually run any of the contents because I know there are dependencies missing and things will break if I try that' and 'install this package actually to be used including all its runtime requirements'.

If you know what you are doing, manage the dependencies yourself with --nodeps.