Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 245595

Summary: HTK Markov models toolkit, ebuild request, dependency of simon
Product: Gentoo Linux Reporter: Daniel Pinto dos Santos <danielpi>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement CC: dschridde+gentoobugs, nikoli, pedosb
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://htk.eng.cam.ac.uk/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 244945    
Attachments: first ebuild, does not yet work properly
new ebuild, seems to work fine
Proposed ebuild (all running)

Description Daniel Pinto dos Santos 2008-11-04 21:57:13 UTC
HTK is a Toolkit for building and manipulating hidden Markov models. Primarily used for speech recognition.

This is a dependency of simon speech2text (Bug #244945).

Reproducible: Always
Comment 1 Daniel Pinto dos Santos 2008-11-04 22:02:30 UTC
Created attachment 170750 [details]
first ebuild, does not yet work properly

This is the first ebuild. It starts to complile well, but then it stops at a certain point.
Compiling manually in my HOME-directory works well, though.
Unfortunately I have no idea how to fix it.
There is a thread in the forum about that as well: http://forums.gentoo.org/viewtopic.php?p=5269694#5269694
Comment 2 Daniel Pinto dos Santos 2008-11-05 23:02:25 UTC
Created attachment 170859 [details]
new ebuild, seems to work fine
Comment 3 Conrad Zygmont 2011-08-31 10:55:27 UTC
I too would like to install htk so that I could play around with simon. I'm surprised there is not more interest 0o

Anyways, when emerging htk (or trying htk-3.4.1 by hand) it always stops at the same point:

make[1]: Leaving directory `/var/tmp/portage/app-accessibility/htk-3.4/work/htk/HLMLib'
(cd HLMTools && make all) \
  || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/var/tmp/portage/app-accessibility/htk-3.4/work/htk/HLMTools'
Makefile:77: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
make[1]: Leaving directory `/var/tmp/portage/app-accessibility/htk-3.4/work/htk/HLMTools'
make: *** [hlmtools] Error 1
emake failed
 * ERROR: app-accessibility/htk-3.4 failed (compile phase):
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2765:  Called die
 * The specific snippet of code:
 *       emake -j1 DESTDIR="${D}" || die "make failed"
 * 
 * If you need support, post the output of 'emerge --info =app-accessibility/htk-3.4',
 * the complete build log and the output of 'emerge -pqv =app-accessibility/htk-3.4'.
 * This ebuild is from an overlay named '3rd-Party-Ebuilds': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/app-accessibility/htk-3.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-accessibility/htk-3.4/temp/environment'.
 * S: '/var/tmp/portage/app-accessibility/htk-3.4/work/htk'

Any ideas?
Comment 4 pedosb 2011-09-03 15:23:39 UTC
Created attachment 285429 [details]
Proposed ebuild (all running)

I have wrote an ebuild with use flags and licenses for HTK.

The bug with parallel compile is just raised when compiling an "external tool" like HLMTools and HDecode, so just in this situation we do not build in parallel.
This occurs because a bad Makefile dependence, so a TODO is make a patch for the Makefile.in of the HTK source.
Comment 5 pedosb 2011-09-04 14:15:19 UTC
Thanks to Dongxu Li the ebuild is now on the science overlay (with a few modifications):

http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=tree;f=sci-mathematics/htk;hb=HEAD