From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 22 10:40:42 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC13D94B for ; Wed, 22 Apr 2015 10:40:42 +0000 (UTC) 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 BCD0D1F31 for ; Wed, 22 Apr 2015 10:40:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3MAegU1095204 for ; Wed, 22 Apr 2015 10:40:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 199541] audio/csound6: syntax errors in orchestra Date: Wed, 22 Apr 2015 10:40:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Only Me X-Bugzilla-Who: hondareyte.luc@laposte.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2015 10:40:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199541 --- Comment #2 from hondareyte.luc@laposte.net --- Yes there are big changes in the API, but this simple dummy file is valid for both csound5 and csound6: sr = 44100 ksmps = 32 nchnls = 2 0dbfs = 1 e When compiling with verbose option, it seems that sr, ksmps and 0dbfs are correctly detected but compilation failed with 2 warnings (about sr and ksmps values) and one fatal error (0dbfs must be positive): $ csound -v c6.csd 0dBFS level = 32768.0 Csound version 6.04 (double samples) Apr 19 2015 libsndfile-1.0.25 UnifiedCSD: c6.csd Environment variable 'SADIR' has been set to '/usr/home/luc/' Environment variable 'SSDIR' has been set to '/usr/home/luc/' Environment variable 'INCDIR' has been set to '/usr/home/luc/' Environment variable 'MFDIR' has been set to '/usr/home/luc/' STARTING FILE Creating options Creating orchestra Creating score signalflowgraph: csoundModuleInit(0x802819000) Calling preprocess on >>sr = 44100 ksmps = 32 nchnls = 2 0dbfs = 1 #exit << yielding >>#source 1 #line 5 sr = 44100 ksmps = 32 nchnls = 2 0dbfs = 1 << Starting parse Entering state 0 Reading a token: Next token is token SRATE_TOKEN () Shifting token SRATE_TOKEN () Entering state 11 Reducing stack by rule 162 (line 762): $1 = token SRATE_TOKEN () /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 5 -> $$ = nterm rident () Stack now 0 Entering state 30 Reading a token: Next token is token '=' () Shifting token '=' () Entering state 96 Reading a token: Next token is token INTEGER_TOKEN () Shifting token INTEGER_TOKEN () Entering state 48 Reducing stack by rule 172 (line 790): $1 = token INTEGER_TOKEN () /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 5 -> $$ = nterm constant () Stack now 0 30 96 Entering state 63 Reducing stack by rule 140 (line 709): $1 = nterm constant () -> $$ = nterm ifac () Stack now 0 30 96 Entering state 60 Reducing stack by rule 138 (line 705): $1 = nterm ifac () -> $$ = nterm iterm () Stack now 0 30 96 Entering state 59 Reducing stack by rule 129 (line 694): $1 = nterm iterm () -> $$ = nterm iexp () Stack now 0 30 96 Entering state 58 Reading a token: Next token is token NEWLINE () Reducing stack by rule 120 (line 677): $1 = nterm iexp () -> $$ = nterm expr () Stack now 0 30 96 Entering state 176 Next token is token NEWLINE () Shifting token NEWLINE () Entering state 250 Reducing stack by rule 29 (line 306): $1 = nterm rident () $2 = token '=' () $3 = nterm expr () $4 = token NEWLINE () /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 6 -> $$ = nterm topstatement () Stack now 0 Entering state 24 Reducing stack by rule 5 (line 196): $1 = nterm topstatement () -> $$ = nterm rootstatement () Stack now 0 Entering state 21 Reading a token: Next token is token KSMPS_TOKEN () Shifting token KSMPS_TOKEN () Entering state 13 Reducing stack by rule 164 (line 766): $1 = token KSMPS_TOKEN () /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 6 -> $$ = nterm rident () Stack now 0 21 Entering state 30 Reading a token: Next token is token '=' () Shifting token '=' () Entering state 96 Reading a token: Next token is token INTEGER_TOKEN () Shifting token INTEGER_TOKEN () Entering state 48 Reducing stack by rule 172 (line 790): $1 = token INTEGER_TOKEN () /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 6 -> $$ = nterm constant () Stack now 0 21 30 96 Entering state 63 Reducing stack by rule 140 (line 709): $1 = nterm constant () -> $$ = nterm ifac () Stack now 0 21 30 96 Entering state 60 Reducing stack by rule 138 (line 705): $1 = nterm ifac () -> $$ = nterm iterm () Stack now 0 21 30 96 Entering state 59 Reducing stack by rule 129 (line 694): $1 = nterm iterm () -> $$ = nterm iexp () Stack now 0 21 30 96 Entering state 58 Reading a token: Next token is token NEWLINE () Reducing stack by rule 120 (line 677): $1 = nterm iexp () -> $$ = nterm expr () Stack now 0 21 30 96 Entering state 176 Next token is token NEWLINE () Shifting token NEWLINE () Entering state 250 Reducing stack by rule 29 (line 306): $1 = nterm rident () $2 = token '=' () $3 = nterm expr () $4 = token NEWLINE () /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 7 -> $$ = nterm topstatement () Stack now 0 21 Entering state 75 Reducing stack by rule 2 (line 184): $1 = nterm rootstatement () $2 = nterm topstatement () -> $$ = nterm rootstatement () Stack now 0 Entering state 21 Reading a token: Next token is token NCHNLS_TOKEN () Shifting token NCHNLS_TOKEN () Entering state 14 Reducing stack by rule 165 (line 768): $1 = token NCHNLS_TOKEN () /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 7 -> $$ = nterm rident () Stack now 0 21 Entering state 30 Reading a token: Next token is token '=' () Shifting token '=' () Entering state 96 Reading a token: Next token is token INTEGER_TOKEN () Shifting token INTEGER_TOKEN () Entering state 48 Reducing stack by rule 172 (line 790): $1 = token INTEGER_TOKEN () /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 7 -> $$ = nterm constant () Stack now 0 21 30 96 Entering state 63 Reducing stack by rule 140 (line 709): $1 = nterm constant () -> $$ = nterm ifac () Stack now 0 21 30 96 Entering state 60 Reducing stack by rule 138 (line 705): $1 = nterm ifac () -> $$ = nterm iterm () Stack now 0 21 30 96 Entering state 59 Reducing stack by rule 129 (line 694): $1 = nterm iterm () -> $$ = nterm iexp () Stack now 0 21 30 96 Entering state 58 Reading a token: Next token is token NEWLINE () Reducing stack by rule 120 (line 677): $1 = nterm iexp () -> $$ = nterm expr () Stack now 0 21 30 96 Entering state 176 Next token is token NEWLINE () Shifting token NEWLINE () Entering state 250 Reducing stack by rule 29 (line 306): $1 = nterm rident () $2 = token '=' () $3 = nterm expr () $4 = token NEWLINE () /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 8 -> $$ = nterm topstatement () Stack now 0 21 Entering state 75 Reducing stack by rule 2 (line 184): $1 = nterm rootstatement () $2 = nterm topstatement () -> $$ = nterm rootstatement () Stack now 0 Entering state 21 Reading a token: Next token is token ZERODBFS_TOKEN () Shifting token ZERODBFS_TOKEN () Entering state 16 Reducing stack by rule 167 (line 772): $1 = token ZERODBFS_TOKEN () /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 8 -> $$ = nterm rident () Stack now 0 21 Entering state 30 Reading a token: Next token is token '=' () Shifting token '=' () Entering state 96 Reading a token: Next token is token INTEGER_TOKEN () Shifting token INTEGER_TOKEN () Entering state 48 Reducing stack by rule 172 (line 790): $1 = token INTEGER_TOKEN () /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 8 -> $$ = nterm constant () Stack now 0 21 30 96 Entering state 63 Reducing stack by rule 140 (line 709): $1 = nterm constant () -> $$ = nterm ifac () Stack now 0 21 30 96 Entering state 60 Reducing stack by rule 138 (line 705): $1 = nterm ifac () -> $$ = nterm iterm () Stack now 0 21 30 96 Entering state 59 Reducing stack by rule 129 (line 694): $1 = nterm iterm () -> $$ = nterm iexp () Stack now 0 21 30 96 Entering state 58 Reading a token: Next token is token NEWLINE () Reducing stack by rule 120 (line 677): $1 = nterm iexp () -> $$ = nterm expr () Stack now 0 21 30 96 Entering state 176 Next token is token NEWLINE () Shifting token NEWLINE () Entering state 250 Reducing stack by rule 29 (line 306): $1 = nterm rident () $2 = token '=' () $3 = nterm expr () $4 = token NEWLINE () /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 9 -> $$ = nterm topstatement () Stack now 0 21 Entering state 75 Reducing stack by rule 2 (line 184): $1 = nterm rootstatement () $2 = nterm topstatement () -> $$ = nterm rootstatement () Stack now 0 Entering state 21 Reading a token: Next token is token NEWLINE () Shifting token NEWLINE () Entering state 1 Reducing stack by rule 47 (line 482): $1 = token NEWLINE () -> $$ = nterm statement () Stack now 0 21 Entering state 25 Reducing stack by rule 30 (line 314): $1 = nterm statement () -> $$ = nterm topstatement () Stack now 0 21 Entering state 75 Reducing stack by rule 2 (line 184): $1 = nterm rootstatement () $2 = nterm topstatement () -> $$ = nterm rootstatement () Stack now 0 Entering state 21 Reading a token: Now at end of input. Reducing stack by rule 1 (line 175): $1 = nterm rootstatement () -> $$ = nterm orcfile () Stack now 0 Entering state 20 Now at end of input. Shifting token $end () Entering state 72 Stack now 0 20 72 Cleanup: popping token $end () Cleanup: popping nterm orcfile () Parsing successful! /usr/ports/audio/csound6/work/Csound6.04/Engine/csound_orc_semantics.c(1785) line = 0 error: sr = 0, kr = 0, ksmps = 1 error: invalid sample rateerror: sr = 0, kr = 0, ksmps = 1 error: invalid control rateWARNING: bad value for 0dbfs: must be positive. Setting default value. esr = 0.0, ekr = 0.0, ksmps = 1, nchnls = 1 0dbfs = 32768.0 WARNING: 2 syntax errors in orchestra. compilation invalid Compile State: String Pool: 0) instr 1) "" 2) endin 3) 0 Constants Pool: 0) 0.000000 Global Variables: 0) sr:r 1) kr:r 2) ksmps:r 3) nchnls:r 4) nchnls_i:r 5) 0dbfs:r 6) $sr:r 7) $kr:r 8) $ksmps:r Instrument 0 0x802a90110 0x0 Variables cannot compile orchestra end of score. overall amps: 0.0 overall samples out of range: 0 1 errors in performance Elapsed time at end of performance: real: 0.010s, CPU: 0.023s signalflowgraph: csoundModuleDestroy(0x802819000) -- You are receiving this mail because: You are the assignee for the bug.