Csound Csound-dev Csound-tekno Search About

[Csnd-dev] debugging vcpkg testing on feature branch

Date2025-10-07 15:08
FromHlöðver Sigurðsson
Subject[Csnd-dev] debugging vcpkg testing on feature branch
Hi devs,

I'm trying to wrap up very long work on the struct-array feature. The only test that's failing is vcpkg https://github.com/csound/csound/actions/runs/18313888062 I can't see what could be causing this problem. I'm already running the workflow in a local ubuntu container, the gnu-ftp server throughput is super slow so it will take a while until I can test this. If someone has the ability to checkout feature/struct-array-members_rebase2 branch and tell be what errors are appearing, I'd be thankful, otherwise I'll post here if my local vcpkg configuration succeeds eventually (and if yes, if I'm actually able to reproduce it).

Best,
Hlöðver

Date2025-10-07 16:06
FromHlöðver Sigurðsson
SubjectRe: [Csnd-dev] debugging vcpkg testing on feature branch
solved: bingo, I was able to reproduce in a container

root@csound-vcpkgs:~/csound/build# OPCODE7DIR64=. ./csound ../tests/commandline/structs/test_structs.csd
warning: could not open library './libstructs.so' (./libstructs.so: undefined symbol: CS_VAR_TYPE_ARRAY)
Reading CSD file:  ../tests/commandline/structs/test_structs.csd
--Csound version 7.0 (double samples) Oct  7 2025
[commit: 04e777a3670ab682b565d033cd113eedd19e9bdb]
Compiling Csound code...
error: Unable to find opcode with name: ##member_set

SEMERR: Unable to find opcode with name: ##member_set

Parsing failed due to syntax errors
Stopping on parser failure
         ... failed to compile code.
                   overall amps:      0.0
           overall samples out of range:        0
1 errors in performance
Elapsed time at end of performance: real: 0.002s, CPU: 0.001s
--Csound version 7.0 (double samples) Oct  7 2025
[commit: 04e777a3670ab682b565d033cd113eedd19e9bdb]
root@csound-vcpkgs:~/csound/build# 

On Tue, 7 Oct 2025 at 17:08, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
Hi devs,

I'm trying to wrap up very long work on the struct-array feature. The only test that's failing is vcpkg https://github.com/csound/csound/actions/runs/18313888062 I can't see what could be causing this problem. I'm already running the workflow in a local ubuntu container, the gnu-ftp server throughput is super slow so it will take a while until I can test this. If someone has the ability to checkout feature/struct-array-members_rebase2 branch and tell be what errors are appearing, I'd be thankful, otherwise I'll post here if my local vcpkg configuration succeeds eventually (and if yes, if I'm actually able to reproduce it).

Best,
Hlöðver

Date2025-10-07 16:16
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] debugging vcpkg testing on feature branch
I am curious now… why this is not happening in the other builds, if there is missing code?
========================
Prof. Victor Lazzarini
Maynooth University
Ireland






> On 7 Oct 2025, at 16:06, Hlöðver Sigurðsson  wrote:
> 
> *Warning*
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> solved: bingo, I was able to reproduce in a container
> 
> root@csound-vcpkgs:~/csound/build# OPCODE7DIR64=. ./csound ../tests/commandline/structs/test_structs.csd 
> warning: could not open library './libstructs.so' (./libstructs.so: undefined symbol: CS_VAR_TYPE_ARRAY)
> Reading CSD file:  ../tests/commandline/structs/test_structs.csd
> --Csound version 7.0 (double samples) Oct  7 2025
> [commit: 04e777a3670ab682b565d033cd113eedd19e9bdb]
> Compiling Csound code...
> error: Unable to find opcode with name: ##member_set
> 
> SEMERR: Unable to find opcode with name: ##member_set
> 
> Parsing failed due to syntax errors
> Stopping on parser failure
>          ... failed to compile code.
>                    overall amps:      0.0
>            overall samples out of range:        0
> 1 errors in performance
> Elapsed time at end of performance: real: 0.002s, CPU: 0.001s
> --Csound version 7.0 (double samples) Oct  7 2025
> [commit: 04e777a3670ab682b565d033cd113eedd19e9bdb]
> root@csound-vcpkgs:~/csound/build# 
> 
> On Tue, 7 Oct 2025 at 17:08, Hlöðver Sigurðsson  wrote:
> Hi devs,
> 
> I'm trying to wrap up very long work on the struct-array feature. The only test that's failing is vcpkg https://github.com/csound/csound/actions/runs/18313888062 I can't see what could be causing this problem. I'm already running the workflow in a local ubuntu container, the gnu-ftp server throughput is super slow so it will take a while until I can test this. If someone has the ability to checkout feature/struct-array-members_rebase2 branch and tell be what errors are appearing, I'd be thankful, otherwise I'll post here if my local vcpkg configuration succeeds eventually (and if yes, if I'm actually able to reproduce it).
> 
> Best,
> Hlöðver


Date2025-10-07 16:24
FromHlöðver Sigurðsson
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] debugging vcpkg testing on feature branch
I think it's how I registered struct opcode as plugins and not as part of libcsound build, these are really built-in opcodes, like array opcodes. Actually nice that it got caught.

On Tue, 7 Oct 2025 at 18:16, Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie> wrote:
I am curious now… why this is not happening in the other builds, if there is missing code?
========================
Prof. Victor Lazzarini
Maynooth University
Ireland






> On 7 Oct 2025, at 16:06, Hlöðver Sigurðsson <hlolli@GMAIL.COM> wrote:
>
> *Warning*
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> solved: bingo, I was able to reproduce in a container
>
> root@csound-vcpkgs:~/csound/build# OPCODE7DIR64=. ./csound ../tests/commandline/structs/test_structs.csd
> warning: could not open library './libstructs.so' (./libstructs.so: undefined symbol: CS_VAR_TYPE_ARRAY)
> Reading CSD file:  ../tests/commandline/structs/test_structs.csd
> --Csound version 7.0 (double samples) Oct  7 2025
> [commit: 04e777a3670ab682b565d033cd113eedd19e9bdb]
> Compiling Csound code...
> error: Unable to find opcode with name: ##member_set
>
> SEMERR: Unable to find opcode with name: ##member_set
>
> Parsing failed due to syntax errors
> Stopping on parser failure
>          ... failed to compile code.
>                    overall amps:      0.0
>            overall samples out of range:        0
> 1 errors in performance
> Elapsed time at end of performance: real: 0.002s, CPU: 0.001s
> --Csound version 7.0 (double samples) Oct  7 2025
> [commit: 04e777a3670ab682b565d033cd113eedd19e9bdb]
> root@csound-vcpkgs:~/csound/build#
>
> On Tue, 7 Oct 2025 at 17:08, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
> Hi devs,
>
> I'm trying to wrap up very long work on the struct-array feature. The only test that's failing is vcpkg https://github.com/csound/csound/actions/runs/18313888062 I can't see what could be causing this problem. I'm already running the workflow in a local ubuntu container, the gnu-ftp server throughput is super slow so it will take a while until I can test this. If someone has the ability to checkout feature/struct-array-members_rebase2 branch and tell be what errors are appearing, I'd be thankful, otherwise I'll post here if my local vcpkg configuration succeeds eventually (and if yes, if I'm actually able to reproduce it).
>
> Best,
> Hlöðver


Date2025-10-07 17:44
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] debugging vcpkg testing on feature branch
ah, yeh - builtin definitely. Did you place them in OOps?
Prof. Victor Lazzarini
Maynooth University
Ireland

On 7 Oct 2025, at 16:24, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:


I think it's how I registered struct opcode as plugins and not as part of libcsound build, these are really built-in opcodes, like array opcodes. Actually nice that it got caught.

On Tue, 7 Oct 2025 at 18:16, Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie> wrote:
I am curious now… why this is not happening in the other builds, if there is missing code?
========================
Prof. Victor Lazzarini
Maynooth University
Ireland






> On 7 Oct 2025, at 16:06, Hlöðver Sigurðsson <hlolli@GMAIL.COM> wrote:
>
> *Warning*
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> solved: bingo, I was able to reproduce in a container
>
> root@csound-vcpkgs:~/csound/build# OPCODE7DIR64=. ./csound ../tests/commandline/structs/test_structs.csd
> warning: could not open library './libstructs.so' (./libstructs.so: undefined symbol: CS_VAR_TYPE_ARRAY)
> Reading CSD file:  ../tests/commandline/structs/test_structs.csd
> --Csound version 7.0 (double samples) Oct  7 2025
> [commit: 04e777a3670ab682b565d033cd113eedd19e9bdb]
> Compiling Csound code...
> error: Unable to find opcode with name: ##member_set
>
> SEMERR: Unable to find opcode with name: ##member_set
>
> Parsing failed due to syntax errors
> Stopping on parser failure
>          ... failed to compile code.
>                    overall amps:      0.0
>            overall samples out of range:        0
> 1 errors in performance
> Elapsed time at end of performance: real: 0.002s, CPU: 0.001s
> --Csound version 7.0 (double samples) Oct  7 2025
> [commit: 04e777a3670ab682b565d033cd113eedd19e9bdb]
> root@csound-vcpkgs:~/csound/build#
>
> On Tue, 7 Oct 2025 at 17:08, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
> Hi devs,
>
> I'm trying to wrap up very long work on the struct-array feature. The only test that's failing is vcpkg https://github.com/csound/csound/actions/runs/18313888062 I can't see what could be causing this problem. I'm already running the workflow in a local ubuntu container, the gnu-ftp server throughput is super slow so it will take a while until I can test this. If someone has the ability to checkout feature/struct-array-members_rebase2 branch and tell be what errors are appearing, I'd be thankful, otherwise I'll post here if my local vcpkg configuration succeeds eventually (and if yes, if I'm actually able to reproduce it).
>
> Best,
> Hlöðver