First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 22053
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Sound Team <sound@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Paul Giordano <paul_giordano@comcast.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

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

Bug 22053 depends on: Show dependency tree
Show dependency graph
Bug 22053 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-06-01 12:06 0000
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 From Paul Giordano 2003-06-01 12:11:12 0000 -------
Created an attachment (id=12633) [edit]
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 From Paul Giordano 2003-06-01 12:11:23 0000 -------
Created an attachment (id=12634) [edit]
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 From Paul Giordano 2003-06-01 12:14:25 0000 -------
Created an attachment (id=12635) [edit]
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 From Paul Giordano 2003-06-01 12:18:09 0000 -------
Created an attachment (id=12636) [edit]
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 From Thomas Ferencz 2003-06-04 15:50:08 0000 -------
The speech-tools ebuild does not work here, it looks for the diff patch,
vainly. 

------- Comment #6 From Paul Giordano 2003-06-04 21:55:17 0000 -------
Created an attachment (id=12810) [edit]
The elusive diff I neglected to upload

Shame on me! Here's the sought after diff.

------- Comment #7 From Thomas Ferencz 2003-06-06 13:03:13 0000 -------
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 From Thomas Ferencz 2003-06-06 13:18:36 0000 -------
Okay, no problem, symlinked the .so files over to /usr/lib and now it compiles. 

------- Comment #9 From Wayne Davison 2003-06-16 18:21:04 0000 -------
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 From J. Ellis 2003-06-20 17:51:23 0000 -------
*** Bug 20355 has been marked as a duplicate of this bug. ***

------- Comment #11 From Paul Giordano 2003-06-21 09:21:19 0000 -------
Created an attachment (id=13656) [edit]
Add speech tools to ld.so.conff

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 From Paul Giordano 2003-06-21 09:22:33 0000 -------
Created an attachment (id=13657) [edit]
Updated ebuild to add /etc/env.d/58speech-tools

------- Comment #13 From Paul Giordano 2003-06-21 09:23:55 0000 -------
Created an attachment (id=13658) [edit]
Add /usr/lib/festival/lib to ld.so.conf

Same as 13656 but for festival

------- Comment #14 From Paul Giordano 2003-06-21 09:25:21 0000 -------
Created an attachment (id=13659) [edit]
Updated ebild to add /etc/env.d/59festival 

Same as 13657 for festival.

------- Comment #15 From Wayne Davison 2003-06-21 10:02:26 0000 -------
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 From Wayne Davison 2003-06-21 10:05:48 0000 -------
Created an attachment (id=13661) [edit]
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 From Paul Giordano 2003-06-21 14:31:18 0000 -------
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 From J. Ellis 2003-06-22 01:27:35 0000 -------
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 From Paul Giordano 2003-06-22 06:32:28 0000 -------
Created an attachment (id=13680) [edit]
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 From Paul Giordano 2003-06-22 06:54:40 0000 -------
Created an attachment (id=13681) [edit]
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 From Paul Giordano 2003-06-22 17:11:54 0000 -------
Created an attachment (id=13699) [edit]
Patch to allow festival to compile under gcc 3.3

------- Comment #22 From Paul Giordano 2003-06-22 17:12:56 0000 -------
Created an attachment (id=13701) [edit]
Complete festival 1.4.3 ebuild

------- Comment #23 From Paul Giordano 2003-06-22 17:13:47 0000 -------
Created an attachment (id=13702) [edit]
Complete speech-tools ebuild

------- Comment #24 From Paul Giordano 2003-06-22 17:21:56 0000 -------
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 From Wayne Davison 2003-06-24 01:03:38 0000 -------
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 From Paul Giordano 2003-06-24 05:07:08 0000 -------
Created an attachment (id=13769) [edit]
Update of ebuild removing incorrect comment per Wayne's suggestion

Done. Good catch... 

------- Comment #27 From Björgvin Ragnarsson 2003-07-07 11:15:32 0000 -------
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 From Wayne Davison 2003-07-07 11:58:13 0000 -------
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 From Paul Giordano 2003-07-12 03:59:00 0000 -------
Very sorry - un-obsoleted the entry and renamed it 

------- Comment #30 From J. Ellis 2003-07-19 18:49:18 0000 -------
Today is the day... I'll take a crack at getting this commited.

------- Comment #31 From J. Ellis 2003-07-19 21:06:33 0000 -------
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!

First Last Prev Next    No search results available      Search page      Enter new bug