Summary: | app-accessibility/festival-2.0.95_beta fails to build with parallel make | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Willard Dawson <willard.dawson> |
Component: | Current packages | Assignee: | Jesus Rivero (RETIRED) <neurogeek> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | accessibility, alecm_88, berto.d.sera, m.debruijne, mgmadden, roamingangel, roberto.castagnola, sound, wfdawson |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
my emerge info + emerge -pqv this is on x86 amd platform my build log differs a bit from the one here the environment file for my x86 |
Description
Willard Dawson
2010-07-01 13:32:01 UTC
# emerge --info =app-accessibility/festival-2.0.95_beta Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 01 Jul 2010 11:30:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 Nessus-EULA sun-bcla-java-vm AdobeFlash-10 AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa amd64 amr apache2 apm arts ati audiofile avahi avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo caps cardbus cdio cdr cli consolekit cracklib crypt ctype cups cxx dba dbtool dbus dcc_video digitalradio diskio djvu dri dts dvd dvdread dynamicplugin eds emboss encode esd ethereal exif expat fastbuild fax ffmpeg fftw fglrx flac foomaticdb force-cgi-redirect fortran ftp fuse gamin gd gdbm gif glib glitz glut gmp gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipv6 ithreads jack java java-nsplugin jpeg kde kerberos kqemu laptop lcms ldap libclamav libg++ libwww lirc live lm_sensors lua mad madwifi matroska mdnsresponder-compat memlimit mhash mikmod mmx mmxext mng modules mono motif mozilla mp3 mpeg mssql mudflap multilib mysql ncurses netboot netjack networking nforce2 nls nptl nptlonly nsplugin nvidia ocaml odbc ogg oggvorbis opencore-amr opengl openmp oss pam pango pch pcmcia pcre pdf pdflib pear perl php pmu png policykit portaudio posix pppd python qt qt3support qtmt quicktime readline reflection ruby samba sasl scanner sdl semantic-desktop session simplexml slang sndfile snmp soap sockets spell spl sql sqlite sse sse2 ssl svg sysfs tcl tcltk tcpd theora threads threadsafe tiff tk tokenizer truetype truetype-fonts type1-fonts udev unicode usb utempter vorbis wddx webkit wifi xanim xinerama xml xmlrpc xorg xscreensaver xsl xulrunner xv zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 237137 [details]
Build log
got this bug too: rm init_modules.o make: *** [src] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2 !!! ERROR in app-accessibility/festival-2.0.95_beta::gentoo: !!! In src_compile at line 3868 !!! emake failed The first error in my build log seems to point to a problem in the Makefile in the doc directory. I don't know makefiles at all yet. Anyway the error is: Making in directory ./doc ... utterance.cc make[1]: *** No rule to make target `festival.1', needed by `all'. Stop. make: *** [doc] Error 2 make: *** Waiting for unfinished jobs.... . Same problem here. It seems to happen right at the start:
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-accessibility/festival-2.0.95_beta/work/festival ...
make -j3 PROJECT_LIBDEPS= REQUIRED_LIBDEPS= LOCAL_LIBDEPS= 'OPTIMISE_CXXFLAGS=-O2 -march=i686 -pipe' 'OPTIMISE_CCFLAGS=-O2 -march=i686 -pipe' CC=i686-pc-linux-gnu-gcc CXX=i686-pc-linux-gnu-g++
Check system type
Remake modincludes.inc
NAS_AUDIO
config/modules/nas_audio.mak
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
clustergen
unknown module in src/modules/clustergen
MultiSyn
unknown module in src/modules/MultiSyn
hts_engine
unknown module in src/modules/hts_engine
LINUX16_AUDIO
config/modules/linux16_audio.mak
Making in directory ./src ...
Making in directory ./lib ...
Making in directory ./examples ...
Copy siod.scm from EST/lib/siod
rm -f saytime
Copy web.scm from EST/lib/siod
cat saytime.sh >>saytime
chmod +x saytime
rm -f text2pos
Copy cstr.scm from EST/lib/siod
Making in directory src/arch ...
cat text2pos.sh >>text2pos
chmod +x text2pos
rm -f latest
Copy fringe.scm from EST/lib/siod
cat latest.sh >>latest
chmod +x latest
rm -f scfg_parse_text
Making in directory lib/etc ...
cat scfg_parse_text.sh >>scfg_parse_text
Making in directory src/arch/festival ...
chmod +x scfg_parse_text
rm -f text2wave
cat text2wave.sh >>text2wave
chmod +x text2wave
rm -f make_utts
making dependencies -- cat make_utts.sh >>make_utts
Making in directory lib/multisyn ...
chmod +x make_utts
rm -f dumpfeats
festival.cc cat dumpfeats.sh >>dumpfeats
chmod +x dumpfeats
rm -f durmeanstd
cat durmeanstd.sh >>durmeanstd
chmod +x durmeanstd
Making in directory src/modules ...
rm -f powmeanstd
cat powmeanstd.sh >>powmeanstd
chmod +x powmeanstd
rm -f run-festival-script
cat run-festival-script.sh >>run-festival-script
Making init_modules.cc
chmod +x run-festival-script
Making in directory src/main ...
making dependencies -- festival_main.cc Making in directory src/modules/rxp ...
making dependencies -- ttsxml.cc Phone.cc audsp.cc
festival_client.cc i686-pc-linux-gnu-g++ -c -fno-implicit-templates -fPIC -Wall -DCHAR_SIZE=8 -I../include -I/usr/share/speech-tools/include/rxp -I../../../src/include -I/usr/share/speech-tools/include ttsxml.cc
utterance.cc
i686-pc-linux-gnu-g++ -c -fno-implicit-templates -fPIC -Wall -I../../src/include -I/usr/share/speech-tools/include festival_main.cc
features.cc wave.cc wagon_interp.cc linreg.cc ttsxml.cc: In function ‘obj* tts_file_xml(obj*)’:
ttsxml.cc:70: warning: null argument where non-null required (argument 1)
ttsxml.cc:70: warning: null argument where non-null required (argument 1)
look at library Festival ttsxml.o
Update library Festival ttsxml.o
a - ttsxml.o
audspio.cc Making in directory src/modules/clunits ...
making dependencies -- acost.cc i686-pc-linux-gnu-g++ -c -fno-implicit-templates -fPIC -Wall -I../../src/include -I/usr/share/speech-tools/include festival_client.cc
clunits.cc server.cc cldb.cc cljoin.cc client.cc
i686-pc-linux-gnu-g++ -c -fno-implicit-templates -fPIC -Wall -I../include -I../UniSyn -I../../../src/include -I/usr/share/speech-tools/include acost.cc
web.cc tcl.cc wfst.cc ngram.cc i686-pc-linux-gnu-g++ -c -fno-implicit-templates -fPIC -Wall -I../../src/include -I/usr/share/speech-tools/include audsp.cc
i686-pc-linux-gnu-g++ -c -fno-implicit-templates -fPIC -Wall -I../include -I../UniSyn -I../../../src/include -I/usr/share/speech-tools/include clunits.cc
viterbi.cc ModuleDescription.cc
i686-pc-linux-gnu-g++ -c -fno-implicit-templates -fPIC -Wall -I../../../src/include -I/usr/share/speech-tools/include -DINSTANTIATE_TEMPLATES -DFTNAME='Festival Speech Synthesis System' -DFTLIBDIRC='/usr/share/festival' -DFTVERSION='2.0.95' -DFTSTATE='beta' -DFTDATE='April 2010' -DFTOSTYPE=\"unknown_Linux\" festival.cc
i686-pc-linux-gnu-g++ -Wall -o festival festival_main.o -L../../src/lib -lFestival -L/usr/lib -lestools -L/usr/lib -lestbase -L/usr/lib -leststring -L/usr/X11R6/lib -laudio -L/usr/X11R6/lib -lX11 -lXt -lncurses -lasound -ldl -lm -lstdc++ -lgcc
festival_main.o: In function `festival_script_mode(int, char**)':
festival_main.cc:(.text+0xee): undefined reference to `festival_initialize(int, int)'
festival_main.cc:(.text+0x104): undefined reference to `festival_initialize(int, int)'
festival_main.cc:(.text+0x1a3): undefined reference to `festival_load_file(EST_String const&)'
festival_main.o: In function `festival_check_script_mode(int, char**)':
festival_main.cc:(.text+0x25c): undefined reference to `festival_libdir'
festival_main.cc:(.text+0x2d3): undefined reference to `festival_libdir'
festival_main.o: In function `festival_main(int, char**)':
festival_main.cc:(.text+0x367): undefined reference to `festival_version'
festival_main.cc:(.text+0x12e5): undefined reference to `festival_version'
festival_main.cc:(.text+0x1403): undefined reference to `festival_libdir'
festival_main.cc:(.text+0x1491): undefined reference to `festival_libdir'
festival_main.cc:(.text+0x1619): undefined reference to `festival_initialize(int, int)'
festival_main.cc:(.text+0x1757): undefined reference to `festival_init_lang(EST_String const&)'
festival_main.cc:(.text+0x18b2): undefined reference to `festival_say_file(EST_String const&)'
festival_main.cc:(.text+0x18e8): undefined reference to `festival_tidy_up()'
festival_main.cc:(.text+0x1963): undefined reference to `festival_eval_command(EST_String const&)'
festival_main.cc:(.text+0x1999): undefined reference to `festival_tidy_up()'
festival_main.cc:(.text+0x19c2): undefined reference to `festival_load_file(EST_String const&)'
festival_main.cc:(.text+0x19f4): undefined reference to `festival_tidy_up()'
festival_main.cc:(.text+0x1fae): undefined reference to `festival_server_mode()'
festival_main.cc:(.text+0x20be): undefined reference to `festival_say_file(EST_String const&)'
festival_main.cc:(.text+0x2128): undefined reference to `festival_repl(int)'
festival_main.cc:(.text+0x21bf): undefined reference to `festival_wait_for_spooler()'
collect2: ld returned 1 exit status
make[2]: *** [festival] Error 1
make[1]: *** [main] Error 2
Created attachment 237543 [details]
my emerge info + emerge -pqv this is on x86 amd platform
Created attachment 237545 [details]
my build log differs a bit from the one here
Created attachment 237547 [details]
the environment file for my x86
Most likely same problem as in speech-tools, try MAKEOPTS="-j1" instead Ok a clue, I have just configured the speechtools and am now running make, at this time which appears to be compiling up ok. So to me it looks as if this's not being bing done V the ebuild file. So could some good person brighter than I have a look at this and nut out why. I think it would be very much apreciated. MAKEOPTS="-j1" worked for me. I've never had to do that before; even for OpenOffice. What would cause an issue like this? Is it in the code or the makefile or something else? I spent a couple of hours trying to figure out the makefiles and still don't quite get it. build system (makefile) for both speech-tools and festival seem to be broken for parallel make... (In reply to comment #11) > MAKEOPTS="-j1" worked for me. > > I've never had to do that before; even for OpenOffice. What would cause an > issue like this? Is it in the code or the makefile or something else? I spent a > couple of hours trying to figure out the makefiles and still don't quite get > it. > I will give that a try here a bit later,but did notice that the configure of festival itself fell over looking for libFestival.so.* ,of which my system does not have ,I do have libFestival.a but that doesn't appear to sufficient HI. I read the readme file in the speech-tools dir which is pretty involved as the system is designed as developer compile, and the necessary files needed to compile will need a lot of massaging to fit my system profile,which the present scripts are not handling, so in the interests of a peaceful nightlife could some one generate a script that will handle these changes. In hope Geoff Ok I tried the makeopts="-j1" and this was successful,in compile and install Wow, this automake dependency so was ridiculously hard to follow that I couldn't come to this conclusion myself. I'm glad I checked the bugzilla or I would have been hunting through .mak, Makefiles, and other various includes for a week. I vote as a temporary hack the MAKEOPTS for this ebuild are degraded down to -j1 until upstream cleans up their build process or abandons autotools altogether. Thanks everyone for your valuable contributions. I've reverted the ebuild back to -j1. Best regards, -j1 is a workaround not a fix (In reply to comment #17) > -j1 is a workaround not a fix > I agree, yet this has not been modified since 2010-07-14. Where does this stand? (In reply to comment #18) > (In reply to comment #17) > > -j1 is a workaround not a fix > > > > I agree, yet this has not been modified since 2010-07-14. Where does this > stand? > I'm going to restart work on this. Could take while though. Old version. Old version and upstream does not care. |