feat(ci): build shared-OpenSSL binaries for ppc64le and s390x MONGOSH-1681#2779
Open
ivandevp wants to merge 2 commits into
Open
feat(ci): build shared-OpenSSL binaries for ppc64le and s390x MONGOSH-1681#2779ivandevp wants to merge 2 commits into
ivandevp wants to merge 2 commits into
Conversation
…-1681 Adds build_linux_ppc64le/s390x_openssl11/openssl3 build variants and matching e2e test tasks, mirroring the existing x64/arm64 setup. Also fixes two issues surfaced only on the ppc64le host: LD_LIBRARY_PATH leaking from the shared-OpenSSL build into the FLE addon's git-clone subprocess (breaking git's Kerberos auth), and OpenSSL 3.0.5's `make install` failing to build HTML docs due to a missing Perl module (fixed by using `install_sw` instead, which only installs the libs/headers we actually need).
ivandevp
commented
Jul 21, 2026
Comment on lines
+18
to
+24
| // LD_LIBRARY_PATH may point at a custom-built shared OpenSSL used for the | ||
| // Node.js compile step (see .evergreen/compile-artifact.sh); this script | ||
| // only clones a git repo and builds the FLE addon, and git subprocesses | ||
| // (git-remote-https) can fail to resolve symbols against that OpenSSL on | ||
| // some platforms, so we don't want it inherited here. | ||
| const envWithoutLdLibraryPath = { ...process.env }; | ||
| delete envWithoutLdLibraryPath.LD_LIBRARY_PATH; |
Collaborator
Author
There was a problem hiding this comment.
ivandevp
commented
Jul 21, 2026
Comment on lines
+62
to
+65
| # install_sw (not install) skips building/installing HTML man pages via | ||
| # mkpod2html.pl, which can fail if the host's Perl lacks required modules; | ||
| # we only need the libs/headers here. | ||
| make -j12 install_sw install_ssldirs |
Collaborator
Author
There was a problem hiding this comment.
|
Assigned |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds build_linux_ppc64le/s390x_openssl11/openssl3 build variants and matching e2e test tasks, mirroring the existing x64/arm64 setup, so shared-OpenSSL mongosh binaries exist on these architectures too.
Also fixes two issues surfaced only when compiling on the ppc64le host:
LD_LIBRARY_PATHleaking from the shared-OpenSSL build into the FLE addon's git-clone subprocess (breaking git's Kerberos auth), and OpenSSL 3.0.5'smake installfailing to build HTML docs due to a missing Perl module (fixed by usinginstall_swinstead, which only installs the libs/headers we actually need).Verified with Evergreen patches covering the new variants individually, then the full build matrix (all existing + new variants) to confirm no regressions: https://spruce.corp.mongodb.com/version/6a5f83268ce8f70007bf1346