[Varnish] #1445: Missing provides in varnish rpm, varnish-4.0.0-tp2+2014-03-06, fedora 19

Varnish varnish-bugs at varnish-cache.org
Tue Mar 11 10:54:58 CET 2014


#1445: Missing provides in varnish rpm, varnish-4.0.0-tp2+2014-03-06, fedora 19
-------------------------+-------------------------------------------------
 Reporter:  ingvar       |      Owner:
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  Varnish 4.0-TP2
Component:  build        |    Version:  unknown
 Severity:  normal       |   Keywords:  rpm specfile redhat varnish-libs
                         |  provides
-------------------------+-------------------------------------------------
 When building 4.0.0-tp2+2014-03-06 based on the provided
 redhat/varnish.spec, on fedora 19 (on which rhel7 will be based), I get
 missing provides in varnish-libs. I don't know if these are just missing
 automatic provides, or that the actual APIs are missing.

 {{{
 $ sudo rpm -Uvh varnish-4.0.0-0.3.tp2+20140306tp2.fc19.x86_64.rpm varnish-
 libs-4.0.0-0.3.tp2+20140306tp2.fc19.x86_64.rpm
 feil: Failed dependencies:
         libvarnishapi.so.1(LIBVARNISHAPI_1.0)(64bit) is needed by
 varnish-4.0.0-0.3.tp2+20140306tp2.fc19.x86_64
         libvarnishapi.so.1(LIBVARNISHAPI_1.1)(64bit) is needed by
 varnish-4.0.0-0.3.tp2+20140306tp2.fc19.x86_64
         libvarnishapi.so.1(LIBVARNISHAPI_1.2)(64bit) is needed by
 varnish-4.0.0-0.3.tp2+20140306tp2.fc19.x86_64
         libvarnishapi.so.1(LIBVARNISHAPI_1.3)(64bit) is needed by
 varnish-4.0.0-0.3.tp2+20140306tp2.fc19.x86_64

 rpm -qpl varnish-libs-4.0.0-0.3.tp2+20140306tp2.fc19.x86_64.rpm | grep
 libvarnishapi.so
 /usr/lib64/libvarnishapi.so.1
 /usr/lib64/libvarnishapi.so.1.0.0
 }}}

 Adding the Provides by hand makes the package at least installable:

 {{{
 %package libs
 #(...)
 Provides: libvarnishapi.so.1(LIBVARNISHAPI_1.0)(64bit)
 Provides: libvarnishapi.so.1(LIBVARNISHAPI_1.1)(64bit)
 Provides: libvarnishapi.so.1(LIBVARNISHAPI_1.2)(64bit)
 Provides: libvarnishapi.so.1(LIBVARNISHAPI_1.3)(64bit)
 }}}

 Ingvar

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1445>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list