XMP plugin for Audacious doesn't work (symbol lookup error)

Bug #1066868 reported by Lem
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xmp (Fedora)
Fix Released
Undecided
xmp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The default install of xmp-audacious in Precise (12.04.1 LTS) doesn't actually work. Upon trying to use the plugin to play one of its supported formats, this error occurs:

$ audacious
WARNING: Audacious seems to be already running but is not responding.
audacious: symbol lookup error: /usr/lib/x86_64-linux-gnu/audacious/Input/xmp-audacious3.so: undefined symbol: tuple_associate_string

Michael Schwendt from Fedora fixed it, see here: https://bugzilla.redhat.com/show_bug.cgi?id=825937

I tried fixing it myself in the Ubuntu package, and seemed to have succeeded. Basically it's a matter of editing src/plugin/ audacious.c and audacious3.c to change occurrences of tuple_associate_string and tuple_associate_int to tuple_set_str and tuple_set_int respectively.

I've attached my patch, not really sure if it's the way things should be done (I'm a packaging newbie :)), but hope it helps. The rebuilt package works perfectly here anyway.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xmp-audacious 3.4.0-1ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu14
Architecture: amd64
Date: Mon Oct 15 22:47:29 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcEnviron:
 LANGUAGE=en_AU:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: xmp
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , Michael (michael-redhat-bugs) wrote :

Created attachment 587319
fix API calls

Description of problem: An API change in Audacious 3.2 has been missed in the patch applied to the XMP plugin. Attached add-on patch should fix it, but I'm not up-to-date on latest XMP release, which is available, too.

Version-Release number of selected component (if applicable):
audacious-plugin-xmp-3.4.0-6.fc17.x86_64

How reproducible:
In Audacious, enable the "Search Tool" plugin, then refresh a music collection that contains files understood by the XMP plugin.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

xmp-3.4.0-7.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/xmp-3.4.0-7.fc17

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

Package xmp-3.4.0-7.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xmp-3.4.0-7.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-8941/xmp-3.4.0-7.fc17
then log in and leave karma (feedback).

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

Package xmp-3.4.0-10.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xmp-3.4.0-10.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-8941/xmp-3.4.0-10.fc17
then log in and leave karma (feedback).

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

xmp-3.4.0-10.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.

Revision history for this message
Lem (lem-jjr) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "debdiff patch to make XMP plugin for Audacious work" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Lem (lem-jjr) wrote :

I fresh installed Quantal (Ubuntu 12.10) today, the same bug persists. I went through similar motions to above and generated another debdiff from the Quantal sources. The changes required were identical to those required in Precise. So, all is well, the XMP Audacious plugin works for me in Quantal.

Attached the debdiff I generated this time around...

tags: added: quantal
Revision history for this message
Michael Terry (mterry) wrote :

I tried to test this, but ran into a ftbfs: bug 1076497

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xmp - 3.4.0-1.1ubuntu1

---------------
xmp (3.4.0-1.1ubuntu1) raring; urgency=low

  * Merge from Debian testing. Remaining changes:
    - Add --enable-pulseaudio in debian/rules
  * debian/patches/fix-audacious-xmp-plugin.patch:
    - Fix crash in audacious xmp plugin. (LP: #1066868)
      Patch by Lem (~lem-jjr).
  * debian/patches/audacious-3.3.patch:
    - Fix FTBFS with audacious 3.3 (LP: #1076497)
 -- Michael Terry <email address hidden> Thu, 08 Nov 2012 12:39:54 -0500

Changed in xmp (Ubuntu):
status: New → Fix Released
Changed in xmp (Fedora):
importance: Unknown → Undecided
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.