-
Notifications
You must be signed in to change notification settings - Fork 506
ORC-1827: [C++] Update ZLIB to 1.3.1 #2102
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
Conversation
dongjoon-hyun
left a comment
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.
+1, LGTM (Pending CIs). Thank you, @williamhyun .
|
Do we need to backport to another branch, because on macOS 15.4.1 |
|
@cxzl25 . Could you provide us more details? Specifically, which branches do you mean? FYI, we have CI test coverages for MacOS 15.4.1. Supporting additional newer OSes is an improvement, but we need to backport CI test coverage if that's required. orc/.github/workflows/build_and_test.yml Lines 71 to 73 in 14714ee
Here is the GitHub Action result.
|
|
cc @wgtmac (Please correct me if I'm wrong). |
|
Hmm, I didn't hit this issue on my Mac 15.4.1. BTW, usually downstream users in production do not use the vendored zlib. So I think it is fine to not backport this? |
|
Thank you for the confirmation, @wgtmac . Yes, it does. Usually, we don't want to take a risk to change dependencies on the released branches. It's only allowed exceptionally when there are critical issues like CVEs. |
[ 13%] Performing configure step for 'zlib_ep'
-- zlib_ep configure command succeeded. See also /tmp/v2.0.5-rc0/orc-2.0.5/build/zlib_ep-prefix/src/zlib_ep-stamp/zlib_ep-configure-*.log
[ 14%] Performing build step for 'zlib_ep'
CMake Error at /tmp/v2.0.5-rc0/orc-2.0.5/build/zlib_ep-prefix/src/zlib_ep-stamp/zlib_ep-build-RELEASE.cmake:49 (message):
Command failed: 2
'/Library/Developer/CommandLineTools/usr/bin/make'
See also
/tmp/v2.0.5-rc0/orc-2.0.5/build/zlib_ep-prefix/src/zlib_ep-stamp/zlib_ep-build-*.log
make[2]: *** [zlib_ep-prefix/src/zlib_ep-stamp/zlib_ep-build] Error 1
make[1]: *** [CMakeFiles/zlib_ep.dir/all] Error 2
make: *** [all] Error 2make --version
GNU Make 3.81build log |
|
It looks weird.
|
|
I probably found the reason, the AppleClang 16 version used by github, and the AppleClang 17 version used by MacOS 15.4. MacOS 15.4 If I specify the lower version of llvm, it can be compiled in branch 2.0 export LDFLAGS="-L/opt/homebrew/opt/llvm@16/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm@16/include"
|
|
Thank you for the investigation, @cxzl25 . |
|
I tried locally today with |
I cannot reproduce the build snappy failure in MacOS 15.5. We need to check Have you tried to upgrade the snappy version of |
|
No, the failure happens on the vanilla
Due to the above failure, I couldn't validate I would be fine for backporting ZLIB if there is a common ground for the situation. Given the situation where your and my local environment cannot match at all, I'm a little reluctant to make a decision on We need a verifiable way to move forward. I can image the following ways. |
|
BTW, which branch do you need this, @cxzl25 ?
|
I think option A is fine, let's see if other developers have encountered this problem before deciding if we need a backport or not. Thank you. @dongjoon-hyun |
### What changes were proposed in this pull request? This PR aims to update ZLIB to 1.3.1. ### Why are the changes needed? To use the latest version. - https://www.zlib.net/ChangeLog.txt ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#2102 from williamhyun/ORC-1827. Authored-by: William Hyun <[email protected]> Signed-off-by: William Hyun <[email protected]>
This PR aims to update ZLIB to 1.3.1. To use the latest version. - https://www.zlib.net/ChangeLog.txt Pass the CIs. No. Closes apache#2102 from williamhyun/ORC-1827. Authored-by: William Hyun <[email protected]> Signed-off-by: William Hyun <[email protected]>
What changes were proposed in this pull request?
This PR aims to update ZLIB to 1.3.1.
Why are the changes needed?
To use the latest version.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.