Bug 1061095 - Sphinxtrain doesn't pull all the dependencies
Summary: Sphinxtrain doesn't pull all the dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sphinxtrain
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-04 11:30 UTC by Simão Afonso
Modified: 2014-02-14 08:05 UTC (History)
1 user (show)

Fixed In Version: sphinxtrain-1.0.8-11.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-14 08:02:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Simão Afonso 2014-02-04 11:30:18 UTC
Description of problem:
I've been trying to use sphinxtrain for weeks now unsuccessfully, and finally found the problem.
sphinxtrain depends on the sphinxbase package, but it seems the package doesn't get pulled.
Fedora 19 is nearing it's EOL, but it's probably the same on Fedora 20.

Version-Release number of selected component (if applicable):
sphinxbase 0.8-4.fc19
sphinxtrain 1.0.8-8.fc19

Steps to Reproduce:
1. sudo yum install sphinxtrain

Actual results:
sphinxbase is not marked as dependency

Expected results:
sphinxbase marked as dependency as installed

Comment 1 Jerry James 2014-02-04 21:43:45 UTC
Ah, good catch.  It needs the sphinx_fe binary from sphinxbase.  It also wants fstdraw from openfst-tools, sph2pipe from the LDC's Sphere conversion tools (not yet packaged), and ngram_pronounce from cmuclmtk (not yet packaged).  Eek.  I'll add the sphinxbase and openfst-tools Requires for now, and work on getting the other 2 packaged.

Comment 2 Simão Afonso 2014-02-04 21:59:51 UTC
cmucltk is distributed as a src RPM in this page, but I believe the licence had some niggles to be resolved:
http://jjames.fedorapeople.org/cmuclmtk/
... Wait, that's you!
Anyway, works perfectly, I just created an RPM and then installed it. Much easier that I thought.

As for sph2pipe, I don't use it so I can't talk about that.

Comment 3 Jerry James 2014-02-04 22:02:58 UTC
(In reply to somini.alt2 from comment #2)
> cmucltk is distributed as a src RPM in this page, but I believe the licence
> had some niggles to be resolved:
> http://jjames.fedorapeople.org/cmuclmtk/
> ... Wait, that's you!

:-)  Yes, I've never been happy with that package.  I need to bang on it some more until I am happy and get it submitted.

> Anyway, works perfectly, I just created an RPM and then installed it. Much
> easier that I thought.

Good.

> As for sph2pipe, I don't use it so I can't talk about that.

Looks like it is optional.  Still, I should probably get it packaged, because somebody is bound to want it sooner or later.

Comment 4 Jerry James 2014-02-04 22:35:20 UTC
Well, sph2pipe contains non-free code, so it will not appear in Fedora.  Users who find they need it will have to build it themselves.

Comment 5 Simão Afonso 2014-02-04 22:48:49 UTC
(In reply to Jerry James from comment #4)
> Well, sph2pipe contains non-free code, so it will not appear in Fedora. 
> Users who find they need it will have to build it themselves.
I think it's only required to import Sphere files, and there's probably other means to do it.

Comment 6 Fedora Update System 2014-02-04 22:55:50 UTC
sphinxtrain-1.0.8-11.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/sphinxtrain-1.0.8-11.fc20

Comment 7 Fedora Update System 2014-02-04 22:55:58 UTC
sphinxtrain-1.0.8-9.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/sphinxtrain-1.0.8-9.fc19

Comment 8 Jerry James 2014-02-05 18:45:16 UTC
After a little digging, I now remember the issue with cmuclmtk.  It contains code from the old CMU-Cambridge Language Modeling Toolkit Version 2.  Even though the newer code is covered under a nice free BSD license, that old code is covered under a license that include a "research purposes only" clause.  That makes it non-free.  There will be no Fedora cmuclmtk package either unless CMU does something about this.

Comment 9 Fedora Update System 2014-02-06 03:47:41 UTC
Package sphinxtrain-1.0.8-11.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sphinxtrain-1.0.8-11.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2050/sphinxtrain-1.0.8-11.fc20
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2014-02-14 08:02:42 UTC
sphinxtrain-1.0.8-9.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2014-02-14 08:05:56 UTC
sphinxtrain-1.0.8-11.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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