The RPM spec file libvirt-cim.spec from the most recent snapshot
includes these two build constraints:
BuildRequires: libcmpiutil-devel
BuildConflicts: sblim-cmpi-devel
The RPM spec file libcmpiutil.spec from the most recent snapshot
includes this constraint:
BuildRequires: sblim-cmpi-devel
With RPM 4.4.2 on RH5.2, this results in it being impossible to
generate a libvirt-cim RPM; the build dependency libcmpiutil has
on sblim-cmpi-devel is being retained as a runtime dependency.
This may be a result of a mistake or mistaken assumption on my
part, but it may also be an error in one or both spec files.
Below is a lightly edited log of the results of trying to build a
libvirt-cim RPM from the current snapshots.
-
[tyler@tyler-rhel32-vm libvirt-cim-0.5]$ sudo rpmbuild -ba libvirt-cim.spec
Password:
error: Failed build dependencies:
libcmpiutil-devel is needed by libvirt-cim-0.5-1.i386
[tyler@tyler-rhel32-vm libcmpiutil-0.1]$ sudo rpmbuild -ba libcmpiutil.spec
error: Failed build dependencies:
sblim-cmpi-devel is needed by libcmpiutil-0.1-1.i386
[tyler@tyler-rhel32-vm Server]$ sudo rpm -ivh sblim-cmpi-devel-1.0.4-31.el5.i386.rpm
warning: sblim-cmpi-devel-1.0.4-31.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID
37017186
Preparing... ########################################### [100%]
1:sblim-cmpi-devel ########################################### [100%]
[tyler@tyler-rhel32-vm libcmpiutil-0.1]$ sudo rpmbuild -ba libcmpiutil.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.17372
...
...
[tyler@tyler-rhel32-vm libcmpiutil-0.1]$ sudo rpm -ivh
/usr/src/redhat/RPMS/i386/libcmpiutil-0.1-1.i386.rpm
Preparing... ########################################### [100%]
1:libcmpiutil ########################################### [100%]
[tyler@tyler-rhel32-vm libcmpiutil-0.1]$ sudo rpm -ivh
/usr/src/redhat/RPMS/i386/libcmpiutil-devel-0.1-1.i386.rpm
Preparing... ########################################### [100%]
1:libcmpiutil-devel ########################################### [100%]
[tyler@tyler-rhel32-vm libvirt-cim-0.5]$ sudo rpmbuild -ba libvirt-cim.spec
error: Failed build dependencies:
sblim-cmpi-devel conflicts with libvirt-cim-0.5-1.i386
[tyler@tyler-rhel32-vm libvirt-cim-0.5]$ sudo rpm -e sblim-cmpi-devel
error: Failed dependencies:
sblim-cmpi-devel is needed by (installed) libcmpiutil-devel-0.1-1.i386
--
Tyler Berry
ESS Software, Hewlett-Packard OSLO