Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix saithrift build issue for Bookworm SONiC #1974

Merged

Conversation

Keshavg-marvell
Copy link
Contributor

saithrift package is getting installed at different location for bookworm. Taking care it using copy_installer.sh script.
This change fixes build issue for both saithriftv1 and saithriftv2.

@Keshavg-marvell
Copy link
Contributor Author

Keshavg-marvell commented Mar 1, 2024

This change fixes issue #1973

@Keshavg-marvell
Copy link
Contributor Author

@saiarcot895 @vivekrnv please review

@@ -0,0 +1,2 @@
#compatiable with bookworm python 3.11 environment and saithriftv2 build with python3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the comment to remove saithriftv2

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I will remove this.

else
if [ $(lsb_release -sr) -ge 11 ]
if [ $(lsb_release -sr) -eq 12 ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can make python3-saithrift-bookworm.install default for all the version >= 12. What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I will make python3-saithrift-bookworm.install default for version >= 12

saithrift package is getting installed at different location for bookworm.
Taking care it using copy_installer.sh script.
This change fixes build issue for both saithriftv1 and saithriftv2

Signed-off-by: Keshav Gupta <keshavg@marvell.com>
@kcudnik kcudnik merged commit bc1d6ec into opencomputeproject:master Mar 6, 2024
3 checks passed
JaiOCP pushed a commit to JaiOCP/SAI that referenced this pull request Mar 7, 2024
saithrift package is getting installed at different location for bookworm.
Taking care it using copy_installer.sh script.
This change fixes build issue for both saithriftv1 and saithriftv2

Signed-off-by: Keshav Gupta <keshavg@marvell.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants