From owner-freebsd-ports-bugs@freebsd.org Thu Oct 20 00:10:07 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8251C19DF2 for ; Thu, 20 Oct 2016 00:10:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A873E1AA for ; Thu, 20 Oct 2016 00:10:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9K0A7d6030786 for ; Thu, 20 Oct 2016 00:10:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213633] audio/espeak: Fails to build when RUNTIME option selected Date: Thu, 20 Oct 2016 00:10:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jhale@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: nivit@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2016 00:10:07 -0000 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.=