Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2014 13:37:05 GMT
From:      Ivan Klymenko <fidaj@ukr.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187032: [patch] audio/lmms build error
Message-ID:  <201402251337.s1PDb5bS030131@cgiserv.freebsd.org>
Resent-Message-ID: <201402251340.s1PDe0Rm060747@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187032
>Category:       ports
>Synopsis:       [patch] audio/lmms build error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 25 13:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Ivan Klymenko
>Release:        FreeBSD 10.0-STABLE #0 r262474
>Organization:
individual
>Environment:
FreeBSD 10.0-STABLE #0 r262474
>Description:
when building a port audio/lmms error occurs next character:
..
Scanning dependencies of target zynaddsubfx_effect
[ 17%] Building CXX object plugins/zynaddsubfx/src/Effects/CMakeFiles/zynaddsubfx_effect.dir/Alienwah.o
-- Check size of long long - done
-- Looking for dlsym
-- Looking for dlsym - not found
-- Looking for localeconv
-- Looking for localeconv - not found
-- Looking for png_get_valid
-- Looking for png_get_valid - not found
-- Looking for png_set_tRNS_to_alpha
-- Looking for png_set_tRNS_to_alpha - not found
-- Looking for scandir
-- Looking for scandir - not found
-- Looking for snprintf
-- Looking for snprintf - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - not found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for strtoll
/usr/ports_build/usr/ports/audio/lmms/work/lmms-0.4.15/plugins/zynaddsubfx/src/Effects/Alienwah.cpp:70:20: error: expression is not assignable
        out.real() += (1 - fabs(fb)) * smp.l[i] * (1.0 - panning);
        ~~~~~~~~~~ ^
/usr/ports_build/usr/ports/audio/lmms/work/lmms-0.4.15/plugins/zynaddsubfx/src/Effects/Alienwah.cpp:79:20: error: expression is not assignable
        out.real() += (1 - fabs(fb)) * smp.r[i] * (1.0 - panning);
        ~~~~~~~~~~ ^
2 errors generated.
--- plugins/zynaddsubfx/src/Effects/CMakeFiles/zynaddsubfx_effect.dir/Alienwah.o ---
*** [plugins/zynaddsubfx/src/Effects/CMakeFiles/zynaddsubfx_effect.dir/Alienwah.o] Error code 1

make[4]: stopped in /usr/ports_build/usr/ports/audio/lmms/work/lmms-0.4.15
1 error

make[4]: stopped in /usr/ports_build/usr/ports/audio/lmms/work/lmms-0.4.15
--- plugins/zynaddsubfx/src/Effects/CMakeFiles/zynaddsubfx_effect.dir/all ---
*** [plugins/zynaddsubfx/src/Effects/CMakeFiles/zynaddsubfx_effect.dir/all] Error code 2

make[3]: stopped in /usr/ports_build/usr/ports/audio/lmms/work/lmms-0.4.15
Scanning dependencies of target zynaddsubfx_params
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/ports_build/usr/ports/audio/lmms/work/lmms-0.4.15
--- plugins/zynaddsubfx/src/Params/CMakeFiles/zynaddsubfx_params.dir/all ---
*** [plugins/zynaddsubfx/src/Params/CMakeFiles/zynaddsubfx_params.dir/all] Error code 2

make[3]: stopped in /usr/ports_build/usr/ports/audio/lmms/work/lmms-0.4.15
-- Looking for strtoll - not found
-- Looking for vsnprintf
-- Looking for vsnprintf - not found
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/ports_build/usr/ports/audio/lmms/work/lmms-0.4.15
--- plugins/zynaddsubfx/src/Synth/CMakeFiles/zynaddsubfx_synth.dir/all ---
*** [plugins/zynaddsubfx/src/Synth/CMakeFiles/zynaddsubfx_synth.dir/all] Error code 2

make[3]: stopped in /usr/ports_build/usr/ports/audio/lmms/work/lmms-0.4.15
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
..

needed the same fix as in port audio/zynaddsubfx

attached patch should be placed in the audio/lmms/files with a presumptive name patch-plugins_zynaddsubfx_src_Effects_Alienwah.cpp
>How-To-Repeat:
make -C /usr/ports/audio/lmms build
>Fix:
corrections in patch

Patch attached with submission follows:

--- plugins/zynaddsubfx/src/Effects/Alienwah.cpp.orig	2014-02-25 15:16:26.000000000 +0200
+++ plugins/zynaddsubfx/src/Effects/Alienwah.cpp	2014-02-25 15:17:00.000000000 +0200
@@ -67,7 +67,7 @@
         tmp = clfol * x + oldclfol * x1;
 
         out = tmp * oldl[oldk];
-        out.real() += (1 - fabs(fb)) * smp.l[i] * (1.0 - panning);
+        out += (1 - fabs(fb)) * smp.l[i] * (1.0 - panning);
 
         oldl[oldk]  = out;
         REALTYPE l = out.real() * 10.0 * (fb + 0.1);
@@ -76,7 +76,7 @@
         tmp = clfor * x + oldclfor * x1;
 
         out = tmp * oldr[oldk];
-        out.real() += (1 - fabs(fb)) * smp.r[i] * (1.0 - panning);
+        out += (1 - fabs(fb)) * smp.r[i] * (1.0 - panning);
 
         oldr[oldk]  = out;
         REALTYPE r = out.real() * 10.0 * (fb + 0.1);


>Release-Note:
>Audit-Trail:
>Unformatted:



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