Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1256871 - devmapper.pc: Requires: pkgconfig(....) missing
Summary: devmapper.pc: Requires: pkgconfig(....) missing
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: LVM and device-mapper development team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1240061
TreeView+ depends on / blocked
 
Reported: 2015-08-25 15:51 UTC by Ralf Corsepius
Modified: 2015-08-27 08:28 UTC (History)
11 users (show)

Fixed In Version: lvm2-2.02.129-1.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-27 08:28:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ralf Corsepius 2015-08-25 15:51:10 UTC
Description of problem:

The fc24 device-mapper-devel rpm lacks the "R: pkgconfig()":
# rpm -q --requires -p device-mapper-devel-1.02.105-1.fc24.x86_64.rpm  | grep pkgconfig
..
pkgconfig

For comparison, the same for fc23:
# rpm -q --requires -p device-mapper-devel-1.02.102-2.fc23.x86_64.rpm | grep pkgconfig
...
pkgconfig
pkgconfig(libselinux)
pkgconfig(libudev)


Version-Release number of selected component (if applicable):
device-mapper-devel-1.02.105-1.fc24

Additional info:
- I am not sure who is to blame: the lvm2 packaging or rpm. 
  I would not want to exclude this could be a regression in rpm.
- This bug already is causing FTBFSs in other packages.

Comment 1 Ralf Corsepius 2015-08-25 16:07:07 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1256862
seems to be the cause of this bug.

Proof: When removing librt/@RT_PC@ from libdm/libdevmapper.pc.in by brute force, the device-mapper-devel package receives the missing pkgconfig(...) deps.

diff --git a/lvm2.spec b/lvm2.spec
index 0fe4a89..5a47840 100644
--- a/lvm2.spec
+++ b/lvm2.spec
@@ -103,6 +103,7 @@ or more physical volumes and creating one or more logical volumes
 %setup -q -n LVM2.%{version}
 %patch0 -p1 -b .preferred_names
 %patch1 -p1 -b .udev_no_mpath
+sed -i -e 's, @RT_PC@,,' libdm/libdevmapper.pc.in
 
 %build
 %define _default_pid_dir /run


# rpm -q --requires -p results_lvm2/2.02.128/1.fc24/device-mapper-devel-1.02.105-1.fc24.x86_64.rpm | grep pkgconfig
pkgconfig
pkgconfig(libselinux)
pkgconfig(libudev)

Comment 2 Peter Rajnoha 2015-08-27 08:28:47 UTC
Fixed in lvm2-2.02.129-1.fc24/device-mapper-1.02.106-1.fc24.


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