Skip to content

Parsec 1.1 fails to build with meta-security master branch #663

@anta5010

Description

@anta5010

On 22.02 tmp2-tss was updated from 3.2.0 to 4.0.1 in meta-security.
https://gitlab.com/akuster/meta-security/-/commit/e188be029cdfdd18f993b0ae2b37d885cfbb191b

Since then Parsec builds fail with:

thread 'main' panicked at 'Unsupported TSS version: 4', /home/gitlab-runner/builds/CAxQb6fJ/0/akuster/meta-security/build/tmp/work/cortexa57-poky-linux/parsec-service/1.1.0-r0/cargo_home/bitbake/tss-esapi-7.1.0/build.rs:9:22

https://gitlab.com/akuster/meta-security/-/jobs/3818857216

https://github.com/parallaxsecond/rust-tss-esapi/blob/7205c4c825f6d299c7094714d7f5b7dd3fb2b5e9/tss-esapi/build.rs#L9

I can see that it’s fixed in the main branch of tss-esapi:
https://github.com/parallaxsecond/rust-tss-esapi/blob/1a02c8f5be18924bf67a2776f6c5f39dfbe6538a/tss-esapi/build.rs#L13

But, Parsec main branch still uses 7.1.0:

tss-esapi = { version = "7.1.0", optional = true }
(edited)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions