From owner-freebsd-ports@FreeBSD.ORG Mon Feb 18 14:52:24 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 3A26578D for ; Mon, 18 Feb 2013 14:52:24 +0000 (UTC) (envelope-from jnagyjr1978@gmail.com) Received: from mail-qa0-f53.google.com (mail-qa0-f53.google.com [209.85.216.53]) by mx1.freebsd.org (Postfix) with ESMTP id E0E13211 for ; Mon, 18 Feb 2013 14:52:23 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id z4so1305183qan.12 for ; Mon, 18 Feb 2013 06:52:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=TYlPxg6MbtBGvwcoGBYX5VqzGM3EvnhiCPop+5ZStOs=; b=UJoGOHSFCh4Y+BUU0xspdGP/C18JSQiQ/kHGWbqFMDy/9bcwT7SSalrdh/+i54QoKm Wo4YDYBs8LGfmKak1zGlXylGYiW0AmyfpcNrvkLhOWDUn4Q8p6QZT/kqe24N4FlhMC+m ZVXvbMDq9WgDQDAHTkU8yamzDNhaQoiG0RgKmqzQPR6MtKNbOL+6M6R0WmKWryz1sH9t mOy4DUrZwb0V2Tpo58G24lAdMeBIFLFRIk5GT3wkPhk4Kqmti1DleReHx720jsj6uret YkQct2sZkxQHkyr+FehPNHw+BYqVvy/PIf3qzYA08usXCCtju2SXnLAb5VV/baYPvlDM ZMcw== X-Received: by 10.224.182.70 with SMTP id cb6mr5481124qab.80.1361199137363; Mon, 18 Feb 2013 06:52:17 -0800 (PST) Received: from [192.168.1.33] (vid-196.dhcp.grp10.tnmmrl.infoave.net. [204.116.254.196]) by mx.google.com with ESMTPS id z17sm24570994qem.4.2013.02.18.06.52.14 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Feb 2013 06:52:16 -0800 (PST) Message-ID: <5122401B.7050005@gmail.com> Date: Mon, 18 Feb 2013 08:52:11 -0600 From: "Joseph A. Nagy, Jr" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130206 Thunderbird/17.0.2 MIME-Version: 1.0 To: "Ports @ FreeBSD" Subject: audio/audacity and audio/gstreamer-plugins-soundtouch fails due to SoundTouch Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Mon, 18 Feb 2013 14:52:24 -0000 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 -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt