Bug 510133 - amarok RPM misses dependency to qtscriptbindings RPM
amarok RPM misses dependency to qtscriptbindings RPM
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: amarok (Show other bugs)
11
All Linux
low Severity medium
: ---
: ---
Assigned To: Aurelien Bompard
Fedora Extras Quality Assurance
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-07 16:03 EDT by Carsten Jacobi
Modified: 2009-07-07 17:30 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-07-07 17:30:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Carsten Jacobi 2009-07-07 16:03:05 EDT
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 16:09:26 EDT
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 16:11:00 EDT
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 16:40:57 EDT
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 17:27:51 EDT
Ah, good point, I'll change the dep to ensure that amarok and qtscripbindings arch's match.
Comment 5 Rex Dieter 2009-07-07 17:30:17 EDT
* Tue Jul 07 2009 Rex Dieter <rdieter@fedoraproject.org> 2.1.1-2
- Requires: qtscripbindings%{?_isa}  (#510133)

Note You need to log in before you can comment on or make changes to this bug.