Bug 190335 - audio/pithos has undeclared dependencies
Summary: audio/pithos has undeclared dependencies
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-28 09:10 UTC by Grant Watson
Modified: 2014-06-20 20:55 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Watson 2014-05-28 09:10:00 UTC
Pithos has undeclared dependencies on py27-pylast and one or more of the plugins in gstreamer-plugins-all.

Upon initially installing and running pithos, you get a Python stack trace about failing to import pylast.  Installing "pkg install py27-pylast" fixes this.

After installing pylast, running pithos produces the following errors, with the GUI giving a similar message about GStreamer missing a plugin:

gdwatson@dweorh:~$ pithos
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
ERROR:root:Could not bind media keys
ERROR:root:Gstreamer error: Your GStreamer installation is missing a plug-in., gsturidecodebin.c(1285): GstElement *gen_source_element(GstURIDecodeBin *) (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin0, 12
ERROR:root:Gstreamer error: Your GStreamer installation is missing a plug-in., gsturidecodebin.c(1285): GstElement *gen_source_element(GstURIDecodeBin *) (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin1, 12
[More omitted.  It goes on for a while.]

The Pithos web site says that the necessary codecs are usually packaged as either "good" or "bad" GStreamer plugins.  Installing gstreamer-plugins-good and gstreamer-plugins-bad does not fix the issue.  Installing gstreamer-plugins-all does, so the missing plugin is in there somewhere.

Fix: 

Declare a dependency on py27-pylast and the mysterious codec.
How-To-Repeat: "pkg install pithos" on a system without py27-pylast or gstreamer-plugins-*; run pithos and watch it die.  "pkg install py27-pylast"; run pithos and see the decoder errors.
Comment 1 Edwin Groothuis freebsd_committer 2014-05-28 09:10:03 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer 2014-05-28 09:10:03 UTC
Maintainer of audio/pithos,

Please note that PR ports/190335 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/190335

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 commit-hook freebsd_committer 2014-06-20 20:55:36 UTC
A commit references this bug:

Author: wg
Date: Fri Jun 20 20:54:41 UTC 2014
New revision: 358635
URL: http://svnweb.freebsd.org/changeset/ports/358635

Log:
  audio/pithos: add missing dependency

  PR:		190335
  Submitted by:	grant_watson yahoo com
  Approved by:	maintainer (timeout)

Changes:
  head/audio/pithos/Makefile