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

Anchor "libprotobuf-dev" version to a specific version by using debian control file dependency #6420

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

gechiang
Copy link
Collaborator

- Why I did it
From time to time the BRCM SAI debian built may be using one version of libprotobuf-dev while a different version being picked during installation. This causes the installation failure. We should anchor to a specific version during SAI debian build via the debian control file dependency specification to eliminate this type of failures.

- How I did it
Change the SAI debian control file to specify a specific dependency version:
Depends: libprotobuf-dev, libprotobuf-lite17, libprotobuf17
Remove the use of "sudo apt install -y libprotobuf-dev" at build script.

- How to verify it
Incorporate this new SAI debian on a private sonic-buildimage and build for BRCM binary and installed to a BRCM SKU DUT to validate the entire process did not encounter any issue and that DUT boots up fine as previous version.

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

- Description for the changelog
Anchor "libprotobuf-dev" version to a specific version by using debian control file dependency

@gechiang
Copy link
Collaborator Author

@lguohan Should I be concerned about the "Azure.sonic-buildimage (Test kvmtest)" and "Azure.sonic-buildimage" both failed?
or I can go ahead Squash and merge?

@lguohan
Copy link
Collaborator

lguohan commented Jan 12, 2021

it is ok, I sent email on this subject.

@gechiang gechiang merged commit 26fd527 into sonic-net:master Jan 12, 2021
lguohan pushed a commit that referenced this pull request Jan 15, 2021
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.

2 participants