Bug 668225

Summary: on M6 : libvirtd virt-manager missing libyajl
Product: [openSUSE] openSUSE 11.4 Reporter: Bruno Friedmann <bruno>
Component: OtherAssignee: James Fehlig <jfehlig>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P1 - Urgent CC: jdouglas, mrueckert, pascal.bleser
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bruno Friedmann 2011-01-31 06:21:47 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; fr-CH) AppleWebKit/533.3 (KHTML, like Gecko) konqueror/4.6.0 Safari/533.3

zypper in libvirt
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libyajl needed by libvirt-0.8.7-4.6.x86_64
 Solution 1: do not install libvirt-0.8.7-4.6.x86_64
 Solution 2: break libvirt by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): 


Reproducible: Always

Steps to Reproduce:
1. zypper in libvirtd virt-manager ( or try to start virtualization in yast2 )
2. failed dependencies
3.
Actual Results:  
nothing provide libyajl

only accessible http://download.opensuse.org/repositories/Virtualization/openSUSE_Factory

Expected Results:  
be able to update libvirtd / virt-manager

Was working before last build
Comment 1 Bruno Friedmann 2011-01-31 06:28:11 UTC
More the available libyajl is called now libyajl1 ! 

I hate those sort of trap :-)
Comment 2 James Fehlig 2011-01-31 15:41:40 UTC
*** Bug 668228 has been marked as a duplicate of this bug. ***
Comment 3 James Fehlig 2011-01-31 15:52:03 UTC
(In reply to comment #1)
> More the available libyajl is called now libyajl1 ! 
> 
> I hate those sort of trap :-)

Yes, I'm trying to understand why this naming scheme is used.  What benefit does it provide?
Comment 4 Marcus Rückert 2011-01-31 16:17:43 UTC
this bug is invalid. you should not require the library package manually. the package is correctly named libyajl1 according to the shared library packaging policy.

if you link libyajl, rpm will automatically add the requires on libyajl.so.1() which is provided by libyajl1. so nothing you have to care about manually. drop the "Requires: libyajl" line and be done.
Comment 5 James Fehlig 2011-01-31 16:39:42 UTC
(In reply to comment #4)
> if you link libyajl, rpm will automatically add the requires on libyajl.so.1()
> which is provided by libyajl1. so nothing you have to care about manually. drop
> the "Requires: libyajl" line and be done.

Okay.  Updated libvirt package submitted, SR #59534.  Thanks!