Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22053 - New ebuilds for festival-1.4.3, and speech-tools-1.2.3.
Summary: New ebuilds for festival-1.4.3, and speech-tools-1.2.3.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: EBUILD
: 20355 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-01 12:06 UTC by Paul Giordano
Modified: 2003-07-19 21:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Seperated speech-tools-1.2.3 for festival (or whatever) (speech-tools-1.2.3.ebuild,2.96 KB, text/plain)
2003-06-01 12:11 UTC, Paul Giordano
Details
Seperated speech-tools-1.2.3 for festival (or whatever) (speech-tools-1.2.3.ebuild,2.96 KB, text/plain)
2003-06-01 12:11 UTC, Paul Giordano
Details
Update to festival speech synthesizer (festival-1.4.3.ebuild,7.01 KB, text/plain)
2003-06-01 12:14 UTC, Paul Giordano
Details
A preliminary ebuild for doc++ (doc++-3.4.10.ebuild,563 bytes, text/plain)
2003-06-01 12:18 UTC, Paul Giordano
Details
The elusive diff I neglected to upload (speech_tools-gcc3.2.diff,10.39 KB, patch)
2003-06-04 21:55 UTC, Paul Giordano
Details | Diff
/etc/env.d/58speech-tools - Add speech tools to ld.so.conf (58speech-tools,33 bytes, text/plain)
2003-06-21 09:21 UTC, Paul Giordano
Details
Updated ebuild to add /etc/env.d/58speech-tools (speech-tools-1.2.3-r1.ebuild,3.01 KB, text/plain)
2003-06-21 09:22 UTC, Paul Giordano
Details
Add /usr/lib/festival/lib to ld.so.conf (59festival,29 bytes, text/plain)
2003-06-21 09:23 UTC, Paul Giordano
Details
Updated ebuild to add /etc/env.d/59festival (festival-1.4.3-r1.ebuild,7.06 KB, text/plain)
2003-06-21 09:25 UTC, Paul Giordano
Details
A couple minor tweaks to the speech-tools-1.2.3-r1.ebuild (speech-tools.ebuild.patch,904 bytes, patch)
2003-06-21 10:05 UTC, Wayne Davison
Details | Diff
Final speech-tools ebuild (speech-tools-1.2.3.ebuild,2.47 KB, text/plain)
2003-06-22 06:32 UTC, Paul Giordano
Details
Diff to allow speech-tools to compile cleanly (speech_tools-gcc3.3.diff,25.18 KB, patch)
2003-06-22 06:54 UTC, Paul Giordano
Details | Diff
Patch to allow festival to compile under gcc 3.3 (festival-gcc3.3.diff,5.13 KB, patch)
2003-06-22 17:11 UTC, Paul Giordano
Details | Diff
Complete festival 1.4.3 ebuild (festival-1.4.3.ebuild,6.23 KB, text/plain)
2003-06-22 17:12 UTC, Paul Giordano
Details
Complete speech-tools ebuild (speech-tools-1.2.3.ebuild,2.60 KB, text/plain)
2003-06-22 17:13 UTC, Paul Giordano
Details
Festival ebuild removing incorrect comment per Wayne's suggestion (festival-1.4.3.ebuild,6.10 KB, text/plain)
2003-06-24 05:07 UTC, Paul Giordano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Giordano 2003-06-01 12:06:24 UTC
Several related problems with the original ebuilds, portage updates, and gcc
have left the festival ebuild rather broken.

Please consider this ebuild for inclusion in portage. This updates festival to
the current 1.4.3 release, fixes a number of gcc 3.2 related issues, and
seperates out (to a point) the speech-tools part into its own ebuild.

I'd appreciate a seasoned Gentoo developer looking at the ebuilds - the
dependancy between festival and speech-tools is a bit incestuous, but I think
with a bit of skulldugerry we could alter the speech-tools ebuild enough to
install all of the needed bits into /usr/lib/speech-tools, and dynamically
change the festival config/project.mak and config/config.in to point $(EST) to
there.

I also seperated out the doc gen (per another bug) - and started an attempt to
allow the speech-tools document generation - but that needs doc++, which I don't
believe is in portage - soo.... I am including an ebuild for that, but I am out
of test time for this weekend (gotta go mow the yard and such.)

Lastly, there's Java code out there in speech-tools and festival that I did not
enable - should I look at adding that based on the USE flag for Java?

Thanks,
Gio
Comment 1 Paul Giordano 2003-06-01 12:11:12 UTC
Created attachment 12633 [details]
Seperated speech-tools-1.2.3 for festival (or whatever)

This seperates speech-tools from festival, updates it to 1.2.3, adds a USE flag
check for the documentation, and honors the "static" USE flag.
Comment 2 Paul Giordano 2003-06-01 12:11:23 UTC
Created attachment 12634 [details]
Seperated speech-tools-1.2.3 for festival (or whatever)

This seperates speech-tools from festival, updates it to 1.2.3, adds a USE flag
check for the documentation, and honors the "static" USE flag.
Comment 3 Paul Giordano 2003-06-01 12:14:25 UTC
Created attachment 12635 [details]
Update to festival speech synthesizer

This updates festival to 1.4.3, fixes some gcc 3.2 related issues, and
seperates out the speech-tools dependancy to its own ebuild.
Comment 4 Paul Giordano 2003-06-01 12:18:09 UTC
Created attachment 12636 [details]
A preliminary ebuild for doc++

This is doc++, a documentation generator for C, C++, LISP, Java, etc. It is
needed to generate the speech-tools API documentation.
Comment 5 Thomas Ferencz (RETIRED) gentoo-dev 2003-06-04 15:50:08 UTC
The speech-tools ebuild does not work here, it looks for the diff patch, vainly. 
Comment 6 Paul Giordano 2003-06-04 21:55:17 UTC
Created attachment 12810 [details, diff]
The elusive diff I neglected to upload

Shame on me! Here's the sought after diff.
Comment 7 Thomas Ferencz (RETIRED) gentoo-dev 2003-06-06 13:03:13 UTC
Thanks for the diff file, speech-tools now compiles fine, now I had problems with 
festival, it looks for libestbase.so, which is under /usr/lib/speech-tools/lib. 
Comment 8 Thomas Ferencz (RETIRED) gentoo-dev 2003-06-06 13:18:36 UTC
Okay, no problem, symlinked the .so files over to /usr/lib and now it compiles. 
Comment 9 Wayne Davison 2003-06-16 18:21:04 UTC
I ran into the same link problem as Thomas, and used the same kludge fix for now.  The ebuild script really needs a proper fix like setting a -L option in the LDFLAGS or setting LD_LIBRARY_PATH or something.
Comment 10 J. Ellis (RETIRED) gentoo-dev 2003-06-20 17:51:23 UTC
*** Bug 20355 has been marked as a duplicate of this bug. ***
Comment 11 Paul Giordano 2003-06-21 09:21:19 UTC
Created attachment 13656 [details]
/etc/env.d/58speech-tools - Add speech tools to ld.so.conf

Because they'll need searched out at runtime if you use other offshoots (and
compile time anyhow) I'll add a /etc/env.d entry to put them into LDPATH. I
couldn't really find any guidance on this, but it does fix the linkage issues.
Comment 12 Paul Giordano 2003-06-21 09:22:33 UTC
Created attachment 13657 [details]
Updated ebuild to add /etc/env.d/58speech-tools
Comment 13 Paul Giordano 2003-06-21 09:23:55 UTC
Created attachment 13658 [details]
Add /usr/lib/festival/lib to ld.so.conf

Same as 13656 but for festival
Comment 14 Paul Giordano 2003-06-21 09:25:21 UTC
Created attachment 13659 [details]
Updated ebuild to add /etc/env.d/59festival 

Same as 13657 for festival.
Comment 15 Wayne Davison 2003-06-21 10:02:26 UTC
My install of festival does not generate a /usr/lib/festival/lib dir, so I
don't see why the 59festival file is needed.  Am I missing something?

I applied your change to the speech-tools ebuild, and it works very nicely.
I'd just like to propose a small tweak to the ebuild to get rid of a useless
comment and to remove the duplication of the version info (so that it only
needs to be updated in a single place).  I'll attach a patch in a moment.
Comment 16 Wayne Davison 2003-06-21 10:05:48 UTC
Created attachment 13661 [details, diff]
A couple minor tweaks to the speech-tools-1.2.3-r1.ebuild

This patch just makes things a little cleaner, but doesn't change anything
in the rules or installed files.
Comment 17 Paul Giordano 2003-06-21 14:31:18 UTC
No, Wayne - I didn't check carefully enough that festival has no libs. Must be working too hard lately.

Thanks for the review and the help - I appreciate your changes, very instructive.

Comment 18 J. Ellis (RETIRED) gentoo-dev 2003-06-22 01:27:35 UTC
It would be really good if someone would pull all of the patches / attachments into a couple of ebuilds. I can then work with that and try to get this committed. I'm not a user of this stuff so i going to have to rely on someone for help :-)
Comment 19 Paul Giordano 2003-06-22 06:32:28 UTC
Created attachment 13680 [details]
Final speech-tools ebuild

Per request, and thanks for the help!

This is the final Speech Tools ebuild. It contains all of the prior changes,
and eliminates the doc build (which is really broken.) I'll try to get the doc
working but it'll be a while.
Comment 20 Paul Giordano 2003-06-22 06:54:40 UTC
Created attachment 13681 [details, diff]
Diff to allow speech-tools to compile cleanly  

This is the later patch to get speech tools to work under gcc 3.3
Comment 21 Paul Giordano 2003-06-22 17:11:54 UTC
Created attachment 13699 [details, diff]
Patch to allow festival to compile under gcc 3.3
Comment 22 Paul Giordano 2003-06-22 17:12:56 UTC
Created attachment 13701 [details]
Complete festival 1.4.3 ebuild
Comment 23 Paul Giordano 2003-06-22 17:13:47 UTC
Created attachment 13702 [details]
Complete speech-tools ebuild
Comment 24 Paul Giordano 2003-06-22 17:21:56 UTC
OK JJ - thanks for the help. I went to confirm the final ebuilds and, of course, they failed - gcc 3.3 tightens up the C req's another notch. I have patched the source to compile and it works - the patch isn't the right way to do it, but it is the expedient way. 

I think it's really up to the original developers to get the code rightious - it requires some retooling of the speech-tools EST_THash.h file along with some added EST_TString methods to resolve some ambiguity errors. In the meantime I've hacked the EST_THash.h file to fully fill out the EST_TStringHash class and cast the EST_String ambiguities in both speech-tools and festival. 

In addition I was unhappy with reconfiging (bad word) the speech-tools to build festival, so I re-did the speech-tools ebuild to save the configuration data in /usr/lib/speech-tools/config and pointed the festival config at that. It's cleaner, since now you don't refetch and config speech-tools to build festival.

I believe you can commit these if they pass muster and conformity checks.

Thanks again for your help...
Gio
Comment 25 Wayne Davison 2003-06-24 01:03:38 UTC
I tried out your new ebuilds, and they built and installed fine for me (I'm still using gcc 3.2.2).  I've run some really simple tests, and it seems to be working well.

One trivial suggestion:  remove the 2-line comment about splitting off the speech_tools ebuild that is still in the festival-1.4.3.ebuild file.
Comment 26 Paul Giordano 2003-06-24 05:07:08 UTC
Created attachment 13769 [details]
Festival ebuild removing incorrect comment per Wayne's suggestion

Done. Good catch...
Comment 27 Björgvin Ragnarsson 2003-07-07 11:15:32 UTC
i emerged festival-1.4.3 and speech-tools with gcc-3.3 but when I run festival I get: festival: error while loading shared libraries: libestbase.so: cannot open shared object file: No such file or directory.

The problem is that the speech-tools libraries ar installed in /usr/lib/speech-tools/lib but that directory has no entry in /etc/ld.so.conf.
Comment 28 Wayne Davison 2003-07-07 11:58:13 UTC
Did you neglect to put the 58speech-tools file into the files subdir of the speech-tools dir?  That attachment got marked as obsolete for some reason when it shouldn't have (it's titled "Add speech tools to ld.so.conf").  The speech-tools ebuild still has code in it that installs this file into /etc/env.d.  I just checked what happens when "doins" doesn't find the 58speech-tools file in the files subdir, and (sadly) it just outputs an error and continues onward, so I bet this is why the ebuild failed for you.
Comment 29 Paul Giordano 2003-07-12 03:59:00 UTC
Very sorry - un-obsoleted the entry and renamed it 
Comment 30 J. Ellis (RETIRED) gentoo-dev 2003-07-19 18:49:18 UTC
Today is the day... I'll take a crack at getting this commited.
Comment 31 J. Ellis (RETIRED) gentoo-dev 2003-07-19 21:06:33 UTC
Alright, all done. It's all ~x86 masked for now. Let me know if there are any issues.

I went ahead and commited the doc++ ebuild (apps-doc/doc++). If you want to update these ebuilds to use it, please open a new bug. This one is getting too big to handle.

Thanks for the submission!