Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46442 - emerge speech-tools-1.2.3 failed to compile with an emake error
Summary: emerge speech-tools-1.2.3 failed to compile with an emake error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 21:47 UTC by Marquez LaMaistres
Modified: 2004-04-18 01:14 UTC (History)
1 user (show)

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 Marquez LaMaistres 2004-03-31 21:47:09 UTC
When I try to emerge speechd, festival and its dependencies, I get an emake error while building speech-tools-1.2.3. The following is the error in question;

Making in directory ./lib ...
ngrammar_io.cc make est_program_makefile from est_program_makefile-in
make est_mainline from est_mainline-in
Make Shared Library eststring
ngrammar_aux.cc Link Shared Library eststring
if [ -n "" ] ; then libs='     -lncurses  -ldl  -lm  -lstdc++ ' ; fi ;\
gcc -shared -fno-shared-data -o libeststring.so.1.2 shared_space/*.o  $libs
Make Shared Library estbase
Link Shared Library estbase
if [ -n "" ] ; then libs='     -lncurses  -ldl  -lm  -lstdc++ ' ; fi ;\
gcc -shared -fno-shared-data -o libestbase.so.1.2.3.1 shared_space/*.o -L. -lest                                                                                                   string $libs
ngrammar_utils.cc shared_space/EST_Complex.o: file not recognized: File format n                                                                                                   ot recognized
collect2: ld returned 1 exit status
make[1]: *** [libestbase.so] Error 1
make: *** [lib] Error 2
make: *** Waiting for unfinished jobs....
EST_lattice.cc EST_lattice_io.cc freqsmooth.cc EST_PST.cc 
g++ -c -O3 -fPIC -fno-shared-data -Wall -Wno-non-template-friend -Wno-deprecated                                                                                                    -I../../include -DINSTANTIATE_TEMPLATES lattice_t.cc
g++ -c -O3 -fPIC -fno-shared-data -Wall -Wno-non-template-friend -Wno-deprecated                                                                                                    -I../../include EST_Ngrammar.cc
g++ -c -O3 -fPIC -fno-shared-data -Wall -Wno-non-template-friend -Wno-deprecated                                                                                                    -I../../include ngrammar_io.cc
g++ -c -O3 -fPIC -fno-shared-data -Wall -Wno-non-template-friend -Wno-deprecated                                                                                                    -I../../include ngrammar_aux.cc
g++ -c -O3 -fPIC -fno-shared-data -Wall -Wno-non-template-friend -Wno-deprecated                                                                                                    -I../../include ngrammar_utils.cc
g++ -c -O3 -fPIC -fno-shared-data -Wall -Wno-non-template-friend -Wno-deprecated                                                                                                    -I../../include EST_lattice.cc
g++ -c -O3 -fPIC -fno-shared-data -Wall -Wno-non-template-friend -Wno-deprecated                                                                                                    -I../../include EST_lattice_io.cc
g++ -c -O3 -fPIC -fno-shared-data -Wall -Wno-non-template-friend -Wno-deprecated                                                                                                    -I../../include freqsmooth.cc
g++ -c -O3 -fPIC -fno-shared-data -Wall -Wno-non-template-friend -Wno-deprecated                                                                                                    -I../../include EST_PST.cc
look at library estools lattice_t.o EST_Ngrammar.o ngrammar_io.o ngrammar_aux.o                                                                                                    ngrammar_utils.o EST_lattice.o EST_lattice_io.o freqsmooth.o EST_PST.o
Update library estools lattice_t.o EST_Ngrammar.o ngrammar_io.o ngrammar_aux.o n                                                                                                   grammar_utils.o EST_lattice.o EST_lattice_io.o freqsmooth.o EST_PST.o
a - lattice_t.o
a - EST_Ngrammar.o
a - ngrammar_io.o
a - ngrammar_aux.o
a - ngrammar_utils.o
a - EST_lattice.o
a - EST_lattice_io.o
a - freqsmooth.o
a - EST_PST.o
look at library estbase
look at library eststring

!!! ERROR: app-accessibility/speech-tools-1.2.3 failed.
!!! Function src_compile, Line 418, Exitcode 2
!!! emake failed


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

Actual Results:  
emerge downloadeds and begins building speech-tools-1.2.3.

Expected Results:  
Emerge should have compiled and installed speech-tools-1.2.3, then moved on to
emerge festival and speechd.

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-ck1)
=================================================================
System uname: 2.6.4-ck1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
                                                                               
                  hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
DISTDIR="/nfs/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
                                                                               
                  x/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/nfs/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb cdr crypt cups dga dvd encode foomaticdb gdbm g
                                                                               
                  if gpm gtk gtk2 imlib java joystick jpeg libg++ libwww mad
mikmod mmx motif mpeg                                                          
                                         ncurses nls oggvorbis opengl oss pam
pda pdflib perl png python quicktime readl                                     
                                                             ine scanner sdl
slang spell ssl svga tcpd tiff truetype usb wmf x86 xml2 xmms xv               
                                                                               
zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-01 20:09:25 UTC
can you try it again.  if it fails the second time, try

CFLAGS/CXXFLAGS="-O2 -pipe"
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-12 00:16:17 UTC
no response for over a week... most likely over-aggressive CFLAGS.
Comment 3 Troy Dack 2004-04-18 00:56:48 UTC
I had similar errors with speech-tools.

It kept failing with ld errors.

In the end I got it to build with MAKEOPTS="-j1"

Dropping CFLAGS/CXXFLAGS back to "-O2 -pipe" seemed to have little effect as the build appears to override the -Ox flag.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-18 01:14:57 UTC
using -j1 in cvs.