From owner-freebsd-ports@FreeBSD.ORG Tue Feb 19 12:14:55 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 34C7FF3F for ; Tue, 19 Feb 2013 12:14:55 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward1h.mail.yandex.net (forward1h.mail.yandex.net [IPv6:2a02:6b8:0:f05::10]) by mx1.freebsd.org (Postfix) with ESMTP id C2604927 for ; Tue, 19 Feb 2013 12:14:54 +0000 (UTC) Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [84.201.187.145]) by forward1h.mail.yandex.net (Yandex) with ESMTP id 704089E149F; Tue, 19 Feb 2013 16:14:51 +0400 (MSK) Received: from smtp2h.mail.yandex.net (localhost [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id 07FE11700166; Tue, 19 Feb 2013 16:14:50 +0400 (MSK) Received: from ip-86-110-189-214.spark-rostov.ru (ip-86-110-189-214.spark-rostov.ru [86.110.189.214]) by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id EoQWmWj7-EoQqAGa2; Tue, 19 Feb 2013 16:14:50 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1361276090; bh=qir3epOk2LqneUJQ/f7721HrmoOunDwtxARxBIgWRQg=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=qQAhHxeeKULmjVSKDApb+nXvqsGxK7iBZyjQJNF1XUtVqTTTv6WhI/lxg15nBH6g9 Y+zfTvwaXREQnwP07wffGGDVQzpjzXz885Q2evK7akY7D14/9GXX7hVRVm9RLIJLpX LqeHUoKzfo+KH1zwBalyhmg48wR9tXf1EPeMjr+A= Message-ID: <51236C93.8060305@yandex.ru> Date: Tue, 19 Feb 2013 16:14:11 +0400 From: Ruslan Makhmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130211 Thunderbird/17.0.2 MIME-Version: 1.0 To: "Joseph A. Nagy, Jr" Subject: Re: audio/audacity and audio/gstreamer-plugins-soundtouch fails due to SoundTouch References: <5122401B.7050005@gmail.com> In-Reply-To: <5122401B.7050005@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Ports @ FreeBSD" , Jack Low X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 12:14:55 -0000 Joseph A. Nagy, Jr wrote on 18.02.2013 18:52: > effects/SoundTouchEffect.cpp:209:31: error: cannot initialize a > parameter of type 'const SAMPLETYPE *' > (aka 'const short *') with an lvalue of type 'float *' > mSoundTouch->putSamples(buffer, block); > ^~~~~~ > /usr/local/include/soundtouch/SoundTouch.h:237:31: note: passing > argument to parameter 'samples' here > const SAMPLETYPE *samples, ///< Pointer to sample buffer. > ^ > effects/SoundTouchEffect.cpp:215:23: error: no matching member function > for call to 'receiveSamples' > mSoundTouch->receiveSamples(buffer2, outputCount); > ~~~~~~~~~~~~~^~~~~~~~~~~~~~ > /usr/local/include/soundtouch/FIFOSamplePipe.h:190:18: note: candidate > function not viable: no known conversion from > 'float *' to 'SAMPLETYPE *' (aka 'short *') for 1st argument; > virtual uint receiveSamples(SAMPLETYPE *outBuffer, ///< Buffer > where to copy output samples. > ^ > /usr/local/include/soundtouch/FIFOSamplePipe.h:203:18: note: candidate > function not viable: requires 1 argument, but 2 > were provided > virtual uint receiveSamples(uint maxSamples ///< Remove this many > samples from the beginning of pipe. > ^ > effects/SoundTouchEffect.cpp:234:20: error: no matching member function > for call to 'receiveSamples' > mSoundTouch->receiveSamples(buffer2, outputCount); > ~~~~~~~~~~~~~^~~~~~~~~~~~~~ > /usr/local/include/soundtouch/FIFOSamplePipe.h:190:18: note: candidate > function not viable: no known conversion from > 'float *' to 'SAMPLETYPE *' (aka 'short *') for 1st argument; > virtual uint receiveSamples(SAMPLETYPE *outBuffer, ///< Buffer > where to copy output samples. > ^ > /usr/local/include/soundtouch/FIFOSamplePipe.h:203:18: note: candidate > function not viable: requires 1 argument, but 2 > were provided > virtual uint receiveSamples(uint maxSamples ///< Remove this many > samples from the beginning of pipe. > ^ > effects/SoundTouchEffect.cpp:307:31: error: cannot initialize a > parameter of type 'const SAMPLETYPE *' > (aka 'const short *') with an lvalue of type 'float *' > mSoundTouch->putSamples(soundTouchBuffer, blockSize); > ^~~~~~~~~~~~~~~~ > /usr/local/include/soundtouch/SoundTouch.h:237:31: note: passing > argument to parameter 'samples' here > const SAMPLETYPE *samples, ///< Pointer to sample buffer. > ^ > effects/SoundTouchEffect.cpp:373:17: error: no matching member function > for call to 'receiveSamples' > mSoundTouch->receiveSamples(outputSoundTouchBuffer, outputCount); > ~~~~~~~~~~~~~^~~~~~~~~~~~~~ > /usr/local/include/soundtouch/FIFOSamplePipe.h:190:18: note: candidate > function not viable: no known conversion from > 'float *' to 'SAMPLETYPE *' (aka 'short *') for 1st argument; > virtual uint receiveSamples(SAMPLETYPE *outBuffer, ///< Buffer > where to copy output samples. > ^ > /usr/local/include/soundtouch/FIFOSamplePipe.h:203:18: note: candidate > function not viable: requires 1 argument, but 2 > were provided > virtual uint receiveSamples(uint maxSamples ///< Remove this many > samples from the beginning of pipe. > ^ > 12 warnings and 5 errors generated. > gmake[1]: *** [effects/SoundTouchEffect.o] Error 1 > gmake[1]: Leaving directory > `/usr/ports/audio/audacity/work/audacity-src-2.0.3/src' > gmake: *** [audacity] Error 2 > *** [do-build] Error code 1 > > Stop in /usr/ports/audio/audacity. > *** [build] Error code 1 > > Stop in /usr/ports/audio/audacity. > > ===>>> make failed for audio/audacity > ===>>> Aborting update > > ===>>> Update for audio/audacity failed > ===>>> Aborting update > > Before I attempted this build, I did: > # cd /usr/ports/audio/audacity/ > # make rmconfig > > because previously I had gotten it to build with SoundTouch (which is > installed). I cannot find any issues with either audacity or soundtouch > in /usr/ports/UPDATING, either. Audacity isn't the only problem port I > have because of SoundTouch. One of the gstreamer ports won't build > because of it, either. > > ===> Building for gstreamer-plugins-soundtouch-0.10.23,3 > CC libgstsoundtouch_la-plugin.lo > CXX libgstsoundtouch_la-gstpitch.lo > gstpitch.cc:384:17: error: no matching member function for call to > 'receiveSamples' > priv->st->receiveSamples ((gfloat *) GST_BUFFER_DATA (buffer), > samples); > ~~~~~~~~~~^~~~~~~~~~~~~~ > /usr/local/include/soundtouch/FIFOSamplePipe.h:190:18: note: candidate > function not viable: no known conversion from > 'gfloat *' (aka 'float *') to 'SAMPLETYPE *' (aka 'short *') for > 1st argument; > virtual uint receiveSamples(SAMPLETYPE *outBuffer, ///< Buffer > where to copy output samples. > ^ > /usr/local/include/soundtouch/FIFOSamplePipe.h:203:18: note: candidate > function not viable: requires 1 argument, but 2 > were provided > virtual uint receiveSamples(uint maxSamples ///< Remove this many > samples from the beginning of pipe. > ^ > gstpitch.cc:901:25: error: cannot initialize a parameter of type 'const > SAMPLETYPE *' (aka 'const short *') with an > rvalue of type 'gfloat *' (aka 'float *') > priv->st->putSamples ((gfloat *) GST_BUFFER_DATA (buffer), > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/local/include/soundtouch/SoundTouch.h:237:31: note: passing > argument to parameter 'samples' here > const SAMPLETYPE *samples, ///< Pointer to sample buffer. > ^ > 2 errors generated. > gmake: *** [libgstsoundtouch_la-gstpitch.lo] Error 1 > *** [do-build] Error code 2 > > Stop in /usr/ports/audio/gstreamer-plugins-soundtouch. > > ===>>> make failed for audio/gstreamer-plugins-soundtouch > ===>>> Aborting update > > ===>>> Update for audio/gstreamer-plugins-soundtouch failed > ===>>> Aborting update > > ===>>> Update for multimedia/gstreamer-plugins-all failed > ===>>> Aborting update > > Now, audio/audacity no longer includes a configurable option (via make > config) to include/not include soundtouch, and of course > audio/gstreamer-plugins-soundtouch would require soundtouch. Right now > I'm more interested in getting Audacity back up and running. Any help > would be appreciated. > > # uname -a > FreeBSD alex-laptop 9.1-RELEASE FreeBSD 9.1-RELEASE #8: Tue Jan 22 > 14:00:27 CST 2013 root@alex-laptop:/usr/obj/usr/src/sys/ALEX-LAPTOP > amd64 I'd ask maintainer about that (cc:ed). You may try to add --without-soundtouch into Makefile:CONFIGURE_ARGS as a workaround for the time being. -- Regards, Ruslan Tinderboxing kills... the drives.