[Libvirt-cim] Apparent RPM spec file conflict

Tyler Berry tyler.berry at hp.com
Thu Jul 3 20:54:26 UTC 2008


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 at 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 at 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 at 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 at tyler-rhel32-vm libcmpiutil-0.1]$ sudo rpmbuild -ba libcmpiutil.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.17372
...
...

[tyler at 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 at 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 at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080703/26e159dd/attachment.sig>


More information about the Libvirt-cim mailing list