Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2016 00:10:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213633] audio/espeak: Fails to build when RUNTIME option selected
Message-ID:  <bug-213633-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213633

            Bug ID: 213633
           Summary: audio/espeak: Fails to build when RUNTIME option
                    selected
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: nivit@FreeBSD.org
          Reporter: jhale@FreeBSD.org
             Flags: maintainer-feedback?(nivit@FreeBSD.org)
          Assignee: nivit@FreeBSD.org

Created attachment 175957
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175957&action=
=3Dedit
Remove conditional post-patch

audio/espeak fails to build when the RUNTIME option is selected:

c++  -fstack-protector -shared -Wl,-soname,libespeak.so.1 -o libespeak.so \
x_speak_lib.o x_compiledict.o x_dictionary.o x_intonation.o x_readclause.o
x_setlengths.o x_numbers.o x_synth_mbrola.o x_synthdata.o x_synthesize.o
x_translate.o x_mbrowrap.o x_tr_languages.o x_voices.o x_wavegen.o
x_phonemelist.o x_espeak_command.o x_event.o x_fifo.o x_wave.o x_wave_pulse=
.o
x_debug.o x_klatt.o x_sonic.o -lstdc++ -L/usr/local/lib -lpulse -lpulse-sim=
ple
-lportaudio -lpthread
wavegen.o: In function `WavegenOpenSound()':
wavegen.cpp:(.text+0xf0): undefined reference to `Pa_StreamActive'
wavegen.o: In function `WavegenCloseSound()':
wavegen.cpp:(.text+0x3d5): undefined reference to `Pa_StreamActive'
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
gmake[2]: *** [Makefile:105: speak] Error 1
gmake[2]: *** Waiting for unfinished jobs....
mv libespeak.so libespeak.so.1.1.48
/bin/ln -sf libespeak.so.1.1.48 libespeak.so.1
/bin/ln -sf libespeak.so.1 libespeak.so
gmake[2]: Leaving directory
'/usr/home/Jason/src/freebsd/ports/audio/espeak/work/espeak-1.48.04-source/=
src'
=3D=3D=3D> Compilation failed unexpectedly.

This is due to the fact that ${WRKSRC}/src/portaudio19.h should replace
${WRKSRC}/src/portaudio.h, but in the port Makefile this move is
conditionalized to only happen when the PORTAUDIO option is selected.

The fix is just to remove the condition, as it is not neccessary even if
PULSEAUDIO is selected. Patch is attached.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213633-13>