Skip to content

Conversation

@theasianpianist
Copy link
Contributor

Limit grabbed libyang libraries to only v1.

Upgrading to libyang v3 (sonic-net/sonic-buildimage#21679) is causing the swss-common pipeline build to fail. The pipeline assumes that any package starting with libyang_ or libyang- is a libyang v1 package and tries to install it. However, the dev header package for libyang v3 starts with libyang-, so the pipeline tries to download/install it as well, which causes the build to fail since it depends on the base libyang v3 package which is not grabbed because it starts with libyang3.

Signed-off-by: Lawrence Lee <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

@theasianpianist theasianpianist marked this pull request as draft June 30, 2025 18:19
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@theasianpianist theasianpianist marked this pull request as ready for review June 30, 2025 18:28
Signed-off-by: Lawrence Lee <[email protected]>
Signed-off-by: Lawrence Lee <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@qiluo-msft qiluo-msft enabled auto-merge (squash) July 1, 2025 00:49
@qiluo-msft
Copy link
Contributor

Since this PR only fix build steps, the vstest failure is not relevant, and tracked by below items:

This PR is needed in the DVS image to fix the test issue: [trim]: Add Packet Trimming Asym DSCP to VS lib by nazariig · Pull Request #1610 · sonic-net/sonic-sairedis

However, the sairedis submodule update was blocked until a few minutes ago ([submodule][master] Update submodule sonic-sairedis to the latest HEAD automatically by mssonicbld · Pull Request #23215 · sonic-net/sonic-buildimage).

I will merge this PR.

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202506: Azure/sonic-swss-common.msft#46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants