<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>46442</bug_id>
          
          <creation_ts>2004-03-31 21:47 0000</creation_ts>
          <short_desc>emerge speech-tools-1.2.3 failed to compile with an emake error</short_desc>
          <delta_ts>2004-04-18 01:14:57 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>lamaistres@wavecable.com</reporter>
          <assigned_to>eradicator@gentoo.org</assigned_to>
          <cc>accessibility@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>lamaistres@wavecable.com</who>
            <bug_when>2004-03-31 21:47:09 0000</bug_when>
            <thetext>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 &quot;&quot; ] ; then libs=&apos;     -lncurses  -ldl  -lm  -lstdc++ &apos; ; 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 &quot;&quot; ] ; then libs=&apos;     -lncurses  -ldl  -lm  -lstdc++ &apos; ; 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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon-tbird -O3 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
                                                                               
                  hare/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-tbird -O3 -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/nfs/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
                                                                               
                  x/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/nfs/portage/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-04-01 20:09:25 0000</bug_when>
            <thetext>can you try it again.  if it fails the second time, try

CFLAGS/CXXFLAGS=&quot;-O2 -pipe&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-04-12 00:16:17 0000</bug_when>
            <thetext>no response for over a week... most likely over-aggressive CFLAGS.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>troy@tkdack.com</who>
            <bug_when>2004-04-18 00:56:48 0000</bug_when>
            <thetext>I had similar errors with speech-tools.

It kept failing with ld errors.

In the end I got it to build with MAKEOPTS=&quot;-j1&quot;

Dropping CFLAGS/CXXFLAGS back to &quot;-O2 -pipe&quot; seemed to have little effect as the build appears to override the -Ox flag.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-04-18 01:14:57 0000</bug_when>
            <thetext>using -j1 in cvs.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>