Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64922 - festival-1.4.3-r1 ebuild fails, compile errors
Summary: festival-1.4.3-r1 ebuild fails, compile errors
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-21 19:22 UTC by Nathan Sullivan
Modified: 2004-10-24 11:15 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Sullivan 2004-09-21 19:22:49 UTC
festival did not successfully compile, did an unmerge before emerge to remove old festival installation, as i think old installation was compiled against oss, and i wasnt sure if changing to a 2.6 kernel and alsa would be causing the no sound output. results below as to what happened when went to emerge again.

Reproducible: Always
Steps to Reproduce:
1. emerge festival
2.
3.

Actual Results:  
fail.

Expected Results:  
success.

creating ./config.status
creating config/config
Check system type
Remake modincludes.inc
        NATIVE_AUDIO
                ok
        EDITLINE
                config/modules/editline.mak
        SIOD
                ok
        WAGON
                ok
        SCFG
                ok
        WFST
                ok
        OLS
                ok
        RXP
                src/modules/rxp/rxp.mak
        clunits
                unknown module in src/modules/clunits
        LINUX16_AUDIO
                config/modules/linux16_audio.mak
Making in directory ./src ...
Making in directory src/arch ...
Making in directory src/arch/festival ...
making dependencies -- festival.cc Phone.cc utterance.cc features.cc wave.cc
wagon_interp.cc linreg.cc audspio.cc server.cc client.cc web.cc tcl.cc
wfst.ccngram.cc viterbi.cc ModuleDescription.cc
g++ -c   -O2 -march=pentium4 -fomit-frame-pointer -fPIC -fno-shared-data -Wall
-Wno-non-template-friend -Wno-deprecated           -I../../../src/include
-I/usr/lib/speech-tools/include      -DINSTANTIATE_TEMPLATES -DFTNAME='Festival
Speech Synthesis System'
-DFTLIBDIRC=/var/tmp/portage/festival-1.4.3-r1/work/festival/lib 
-DFTVERSION='1.4.3' -DFTSTATE='release'  -DFTDATE='Jan 2003'
-DFTOSTYPE=\"unknown_Linux\" festival.cc
In file included from /usr/lib/speech-tools/include/EST_TList.h:50,
                 from /usr/lib/speech-tools/include/EST_Pathname.h:38,
                 from festival.cc:42:
/usr/lib/speech-tools/include/EST_TIterator.h: In constructor
`EST_TStructIterator<Container, IPointer, Entry>::EST_TStructIterator()':
/usr/lib/speech-tools/include/EST_TIterator.h:204: error: `cont' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h:204: error: (Each undeclared
identifier is reported only once for each function it appears in.)
/usr/lib/speech-tools/include/EST_TIterator.h: In member function
`EST_TIterator<Container, IPointer, Entry>& EST_TStructIterator<Container,
IPointer, Entry>::operator=(const EST_TIterator<Container, IPointer, Entry>&)':
/usr/lib/speech-tools/include/EST_TIterator.h:208: error: `cont' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h:208: error: `pos' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h:208: error: `pointer' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h: In member function `const Entry*
EST_TStructIterator<Container, IPointer, Entry>::operator->() const':
/usr/lib/speech-tools/include/EST_TIterator.h:215: error: there are no arguments
to `current' that depend on a template parameter, so a declaration of `current'
must be available
/usr/lib/speech-tools/include/EST_TIterator.h:215: error: (if you use
`-fpermissive', G++ will accept your code, but allowing the use of an undeclared
nameis deprecated)
/usr/lib/speech-tools/include/EST_TIterator.h: In constructor
`EST_TRwIterator<Container, IPointer, Entry>::EST_TRwIterator()':
/usr/lib/speech-tools/include/EST_TIterator.h:234: error: `cont' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h: In member function
`EST_TIterator<Container, IPointer, Entry>& EST_TRwIterator<Container, IPointer,
Entry>::operator=(const EST_TIterator<Container, IPointer, Entry>&)':
/usr/lib/speech-tools/include/EST_TIterator.h:238: error: `cont' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h:238: error: `pos' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h:238: error: `pointer' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h: In member function `void
EST_TRwIterator<Container, IPointer, Entry>::begin(Container&)':
/usr/lib/speech-tools/include/EST_TIterator.h:246: error: `cont' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h:246: error: there are no arguments
to `beginning' that depend on a template parameter, so a declaration of
`beginning' must be available
/usr/lib/speech-tools/include/EST_TIterator.h: In member function `Entry&
EST_TRwIterator<Container, IPointer, Entry>::current() const':
/usr/lib/speech-tools/include/EST_TIterator.h:253: error: `cont' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h:253: error: `pointer' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h: In member function `Entry&
EST_TRwIterator<Container, IPointer, Entry>::next_element()':
/usr/lib/speech-tools/include/EST_TIterator.h:267: error: `cont' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h:267: error: `pointer' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h: In constructor
`EST_TRwStructIterator<Container, IPointer, Entry>::EST_TRwStructIterator()':
/usr/lib/speech-tools/include/EST_TIterator.h:284: error: `cont' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h: In member function
`EST_TIterator<Container, IPointer, Entry>& EST_TRwStructIterator<Container,
IPointer, Entry>::operator=(const EST_TIterator<Container, IPointer, Entry>&)':
/usr/lib/speech-tools/include/EST_TIterator.h:288: error: `cont' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h:288: error: `pos' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h:288: error: `pointer' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TIterator.h: In member function `Entry*
EST_TRwStructIterator<Container, IPointer, Entry>::operator->() const':
/usr/lib/speech-tools/include/EST_TIterator.h:295: error: there are no arguments
to `current' that depend on a template parameter, so a declaration of `current'
must be available
In file included from /usr/lib/speech-tools/include/EST_TSimpleMatrix.h:46,
                 from /usr/lib/speech-tools/include/EST_FMatrix.h:44,
                 from /usr/lib/speech-tools/include/EST_types.h:47,
                 from /usr/lib/speech-tools/include/EST_string_aux.h:45,
                 from /usr/lib/speech-tools/include/EST.h:47,
                 from ../../../src/include/festival.h:44,
                 from festival.cc:44:
/usr/lib/speech-tools/include/EST_TMatrix.h: In member function `unsigned int
EST_TMatrix<T>::mcell_pos(int, int) const':
/usr/lib/speech-tools/include/EST_TMatrix.h:108: error: `p_column_step'
undeclared (first use this function)
/usr/lib/speech-tools/include/EST_TMatrix.h: In member function `const T&
EST_TMatrix<T>::fast_a_m(int, int) const':
/usr/lib/speech-tools/include/EST_TMatrix.h:120: error: `p_memory' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TMatrix.h: In member function `T&
EST_TMatrix<T>::fast_a_m(int, int)':
/usr/lib/speech-tools/include/EST_TMatrix.h:122: error: `p_memory' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TMatrix.h: In member function `const T&
EST_TMatrix<T>::fast_a_1(int, int) const':
/usr/lib/speech-tools/include/EST_TMatrix.h:125: error: `p_memory' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TMatrix.h: In member function `T&
EST_TMatrix<T>::fast_a_1(int, int)':
/usr/lib/speech-tools/include/EST_TMatrix.h:127: error: `p_memory' undeclared
(first use this function)
/usr/lib/speech-tools/include/EST_TMatrix.h: In member function `int
EST_TMatrix<T>::num_columns() const':
/usr/lib/speech-tools/include/EST_TMatrix.h:179: error: `p_num_columns'
undeclared (first use this function)
/usr/lib/speech-tools/include/EST_TMatrix.h: In member function `void
EST_TMatrix<T>::fill()':
/usr/lib/speech-tools/include/EST_TMatrix.h:218: error: `def_val' undeclared
(first use this function)
In file included from /usr/lib/speech-tools/include/EST_FMatrix.h:45,
                 from /usr/lib/speech-tools/include/EST_types.h:47,
                 from /usr/lib/speech-tools/include/EST_string_aux.h:45,
                 from /usr/lib/speech-tools/include/EST.h:47,
                 from ../../../src/include/festival.h:44,
                 from festival.cc:44:
/usr/lib/speech-tools/include/EST_TSimpleVector.h: In member function `void
EST_TSimpleVector<T>::empty()':
/usr/lib/speech-tools/include/EST_TSimpleVector.h:77: error: `def_val'
undeclared (first use this function)
/usr/lib/speech-tools/include/EST_TSimpleVector.h:77: error: no matching
function for call to `fill(<type error>)'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_algobase.h:553:
note: candidates are: void std::fill(unsigned char*, unsigned char*, const
unsigned char&)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_algobase.h:561:
note:                 void std::fill(signed char*, signed char*, const signed char&)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_algobase.h:569:
note:                 void std::fill(char*, char*, const char&)
In file included from /usr/lib/speech-tools/include/ling_class/EST_Relation.h:43,
                 from /usr/lib/speech-tools/include/EST_wave_aux.h:54,
                 from /usr/lib/speech-tools/include/EST_speech_class.h:44,
                 from /usr/lib/speech-tools/include/EST.h:60,
                 from ../../../src/include/festival.h:44,
                 from festival.cc:44:
/usr/lib/speech-tools/include/EST_THash.h: In constructor
`EST_TStringHash<V>::EST_TStringHash(int)':
/usr/lib/speech-tools/include/EST_THash.h:328: error: `StringHash' undeclared
(first use this function)
In file included from /usr/lib/speech-tools/include/EST_wave_aux.h:57,
                 from /usr/lib/speech-tools/include/EST_speech_class.h:44,
                 from /usr/lib/speech-tools/include/EST.h:60,
                 from ../../../src/include/festival.h:44,
                 from festival.cc:44:
/usr/lib/speech-tools/include/EST_TNamedEnum.h: In constructor
`EST_TNamedEnumI<ENUM, INFO>::EST_TNamedEnumI(EST_TValuedEnumDefinition<ENUM,
const char*, INFO>*)':
/usr/lib/speech-tools/include/EST_TNamedEnum.h:127: error: there are no
arguments to `initialise' that depend on a template parameter, so a declaration
of `initialise' must be available
/usr/lib/speech-tools/include/EST_TNamedEnum.h: In constructor
`EST_TValuedEnum<ENUM, VAL>::EST_TValuedEnum(EST_TValuedEnumDefinition<ENUM,
VAL, NO_INFO>*)':
/usr/lib/speech-tools/include/EST_TNamedEnum.h:139: error: there are no
arguments to `initialise' that depend on a template parameter, so a declaration
of `initialise' must be available
/usr/lib/speech-tools/include/EST_TNamedEnum.h: In constructor
`EST_TNamedEnum<ENUM>::EST_TNamedEnum(EST_TValuedEnumDefinition<ENUM, const
char*, NO_INFO>*)':
/usr/lib/speech-tools/include/EST_TNamedEnum.h:153: error: there are no
arguments to `initialise' that depend on a template parameter, so a declaration
of `initialise' must be available
In file included from /usr/lib/speech-tools/include/ling_class/EST_item_aux.h:46,
                 from /usr/lib/speech-tools/include/EST_ling_class.h:52,
                 from /usr/lib/speech-tools/include/EST.h:63,
                 from ../../../src/include/festival.h:44,
                 from festival.cc:44:
/usr/lib/speech-tools/include/EST_features_aux.h: At global scope:
/usr/lib/speech-tools/include/EST_features_aux.h:99: error: `void* pointer(const
EST_Val&)' used prior to declaration
make[3]: *** [festival.o] Error 1
make[2]: *** [festival] Error 2
make[1]: *** [arch] Error 2
make: *** [src] Error 2

!!! ERROR: app-accessibility/festival-1.4.3-r1 failed.
!!! Function src_compile, Line 71, Exitcode 2

--------------------------------

Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.7-ck5 i686)
=================================================================
System uname: 2.6.7-ck5 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://public.planetmirror.com/pub/gentoo
http://mirror.gentoo.gr.jp ftp://gg3.net/pub/linux/gentoo
http://ftp-mirror.internap.com/pub/gentoo ftp://gentoo.agsn.ca/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aim alsa apm arts artswrappersuid avi berkdb bitmap-fonts cdr crypt
cups curl dvd dvdr encode ethereal fam foomaticdb gd gdbm gif gpm gtk gtk2 icq
imap imlib innodb ipv6 jabber jpeg kde ldap libg++ libwww mad mcal mikmod mmx
motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png
postgres python qt quicktime readline samba sdl slang snmp spell sse ssl svga
tcltk tcpd tiff truetype x86 xinerama xml2 xmms xprint xv yahoo zlib"
Comment 1 Sebastian Krämer 2004-09-26 09:49:04 UTC
Hi!

Today I had /exactly/ the same problem! Tried emerging also with -asterisk, didn't help anything :-(
What worked perfectly was switching to gcc-3.3.4 (usually I also use 3.4.1 which failed in the first place).
Maybe you also have it still installed to try it ;)  (see gcc-config)

Portage 2.0.51_rc3 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.7 i686)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distcc fixpackages sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://linux.rz.ruhr-uni-bochum.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode foomaticdb gdbm gif gpm gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww lirc mad mikmod mmx motif mpeg ncurses network nls nocardbus oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svgatcpd theora truetype unicode wsconvert x86 xml2 xmms xprint xv zlib"
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-26 17:23:10 UTC
I have -asterisk +doc, and I'm using gcc-3.4.2-r2 on amd64... it's working fine for me...
Comment 3 Nathan Sullivan 2004-09-29 20:01:57 UTC
Possibly found the cause. I noticed the related header files were from speech-tools, so i unmerged speech-tools and re-emerged, then did festival, and it seems to have worked. Possibly because speech-tools was compiled with gcc ages ago, like a 3.3.x version, and then festival was being attempted with 3.4.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-19 23:34:01 UTC
marking cantfix since it's not reproduceable at this point...
Comment 5 Tommy Li 2004-10-24 11:15:04 UTC
Yes - I had the same problem as you. I also recompiled speech-tools, and then the compilation of festival was error-free.