Skip to content

Add build target to build thrift 014 for python2#12790

Merged
richardyu-ms merged 1 commit intosonic-net:masterfrom
richardyu-ms:fix_thrift_014_issue
Nov 22, 2022
Merged

Add build target to build thrift 014 for python2#12790
richardyu-ms merged 1 commit intosonic-net:masterfrom
richardyu-ms:fix_thrift_014_issue

Conversation

@richardyu-ms
Copy link
Contributor

Why I did it

PYTHON_THRIFT_0_14_1 couldn't be built on the pipeline which caused some building target failed, likedocker-saiserverv2.
In order to make the thrift 0.14.1 can be used by other build target and prepare for latter upgrade from thrift 0.11 to 0.14. Add this target.

Without this target the error is

tar: target/debs/buster/python-thrift_0.14.1_amd64.deb: Cannot stat: No such file or directory

This fix can also resolve the previous issue in PR #12169

How I did it

Add the build target for python-thrift_0.14.1_amd64.deb in thrift make file.

How to verify it

Local docker build

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
@richardyu-ms richardyu-ms changed the title add build target thrift 014 for python2 Add build target thrift 014 for python2 Nov 22, 2022
@richardyu-ms richardyu-ms changed the title Add build target thrift 014 for python2 Add build target to build thrift 014 for python2 Nov 22, 2022
@richardyu-ms richardyu-ms merged commit 283de9a into sonic-net:master Nov 22, 2022
Gfrom2016 pushed a commit to Gfrom2016/sonic-buildimage that referenced this pull request Nov 25, 2022
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Gfrom2016 added a commit that referenced this pull request Nov 26, 2022
…2828)

* add build target thrift 014 for python2 (#12790)

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

* readd target PYTHON_THRIFT_0_14_1

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
Co-authored-by: Richard.Yu <richard.yu@microsoft.com>
@mssonicbld
Copy link
Collaborator

@richardyu-ms PR conflicts with 202211 branch

@Gfrom2016
Copy link
Contributor

@liushilongbuaa this PR has been manually cherry-picked to 202211 in #12935

@liushilongbuaa
Copy link
Contributor

thanks!

StormLiangMS pushed a commit to StormLiangMS/sonic-buildimage that referenced this pull request Dec 8, 2022
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
@richardyu-ms richardyu-ms deleted the fix_thrift_014_issue branch January 16, 2023 11:39
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.

4 participants