Bug 510133

Summary: amarok RPM misses dependency to qtscriptbindings RPM
Product: [Fedora] Fedora Reporter: Carsten Jacobi <carsten>
Component: amarokAssignee: Aurelien Bompard <gauret>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: fedora, gauret, rdieter, smparrish
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-07 21:30:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carsten Jacobi 2009-07-07 20:03:05 UTC
Description of problem:

You can install the amarok RPM without installing the qtscriptbindings RPM. The latter is needed because otherwise amarok scripts (for example lyricswiki) won't work (you'll see error messages like "Error: Unable to import qt.core: no such extension ..."). It doesn't make much sense to install amarok without the qtscriptbindings.

Version-Release number of selected component (if applicable):

amarok-2.1.1-1.fc11
qtscriptbindings-0.1.0-5.fc11

How reproducible:

Steps to Reproduce:
1.yum install amarok
2.yum remove qtscriptbindings
3.amarok2 -> activate a script extension; for example lyricwiki
4.restart amarok2
  
Actual results:
Lyricwiki doesn't work, in case you start amarok with the --debug option you'll get output like

amarok:     [ScriptManager] [ERROR!] Script Error: "12:49:04 Error: Unable to import qt.core: no such extension on Line: 25"

Also, a popup will tell that something went wrong with the script.

Expected results:

amarok starts up without opening a popup, lyricwiki works

Additional info:

I guess it is just an append of "qtscriptbindings" to the Requires: Tag of the amarok RPM-Spec

Comment 1 Rex Dieter 2009-07-07 20:09:26 UTC
Umm,

$ sudo rpm -e qtscriptbindings
error: Failed dependencies:
        qtscriptbindings is needed by (installed) amarok-2.1.1-1.fc11.x86_64

Not sure how yum let you remove it. ??

Comment 2 Rex Dieter 2009-07-07 20:11:00 UTC
Confirmed, yum remove qtscriptbindings pulls out amarok too.

$ sudo yum remove qtscriptbindings   
...                                                             
Resolving Dependencies
--> Running transaction check
---> Package qtscriptbindings.x86_64 0:0.1.0-5.fc11 set to be erased
--> Processing Dependency: qtscriptbindings for package: amarok-2.1.1-1.fc11.x86_64
--> Running transaction check
---> Package amarok.x86_64 0:2.1.1-1.fc11 set to be erased

Comment 3 Carsten Jacobi 2009-07-07 20:40:57 UTC
You are right ... I think I've found the problem:

I have installed amarok and amarokFS as ppc64 RPMs and qtscriptbindings was installed as a ppc RPM ... that way all dependencies were correctly resolved but the 64bit app still didn't work.
Sorry for bothering you, I'll close the bug.

Comment 4 Rex Dieter 2009-07-07 21:27:51 UTC
Ah, good point, I'll change the dep to ensure that amarok and qtscripbindings arch's match.

Comment 5 Rex Dieter 2009-07-07 21:30:17 UTC
* Tue Jul 07 2009 Rex Dieter <rdieter> 2.1.1-2
- Requires: qtscripbindings%{?_isa}  (#510133)