-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Update thrift build script #11296
Update thrift build script #11296
Conversation
fishy is a new contributor to projects/thrift. The PR must be approved by known contributors before it can be merged. The past contributors are: catenacyber |
Converting this to draft while we're waiting for this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good for me.
But there may be another issue with the build in the previous make
command
apache/thrift#2886 is merged now. |
hey @DavidKorczynski could you approve to run CI workflow ? |
Done! |
@fishy could you rebase and force-push now that apache/thrift#2899 was merged ? |
will do that on Friday, currently on vacation without laptop. |
This needs to be merged _after_ [1] to keep thrift working. [1] is needed because the current test code of thrift is actually broken with go 1.21, in order to fix the breakage some changes to go modules are needed, and the same changes need to be applied here as well to keep oss-fuzz working with thrift. [1]: apache/thrift#2886
@catenacyber done. |
And build fixed :-) |
@fishy - can you elaborate a bit more on what was broken here that needed to be fixed? I would like to retry removing substituting something for |
@cfriedt The oss-fuzz directory under thrift (https://github.com/apache/thrift/tree/master/lib/go/test/fuzz) first runs thrift compiler to generate 2 go libraries, and the actual test code depends on these 2 go libraries. We used to (before this PR) generate 2 go modules from these 2 go libraries for the test code to use, but this PR (and the thrift PR) changed them to be just part of the go module under |
@fishy - even with the header added to Makefile.am, were there fuzz tests failing? Would be good to reproduce the expected results with my changes. |
@cfriedt oh I never knew where to check the states/results of oss-fuzz. I just asked @catenacyber to check them for me. |
This needs to be merged after 1 to keep thrift working.
1 is needed because the current test code of thrift is actually broken with go 1.21, in order to fix the breakage some changes to go modules are needed, and the same changes need to be applied here as well to keep oss-fuzz working with thrift.