[SERVER-79917] Rebuild mongodbtoolchain on RHEL 7.2 z Series Created: 10/Aug/23  Updated: 11/Sep/23  Resolved: 31/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Thomas Ward Assignee: Alex Neben
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-79126 Pin pyyaml in another place Closed
related to SERVER-79798 Fix pyyaml problems in mongo containe... Closed
Assigned Teams:
Server Development Platform
Operating System: Linux
Participants:

 Description   

As an oversight this distro did not have bzip2-devel installed, so the pythons built by the toolchain do not provide bz2. It's since been installed and the python configure script is now capable of auto-detecting and enabling the bz2 module.

 

Since this is a no-code change I went to go restart the latest toolchain version for this distro but it broke partway through:

https://spruce.mongodb.com/task/toolchain_builder_rhel72_zseries_mongobuild_v4_636d9a714d33020bd7948e252ba1bfed2e205c16_23_06_29_23_09_01/logs?execution=2

 

Would appreciate any help in how to fix that and get a rebuilt toolchain for rhel7-z



 Comments   
Comment by Alex Neben [ 29/Aug/23 ]

Running a patch build to see if pinning to the gold linker works.

Comment by Alex Neben [ 25/Aug/23 ]

What are we losing if we don't do this redeploy? Like what feature that we depend on needs bz2 built with python?

Comment by Thomas Ward [ 25/Aug/23 ]

alex.neben@mongodb.com Sorry I'm referring to the python module bz2, for /opt/mongodbtoolchain/v4/bin/python3 . It gets auto-selected by the configure script if bzip-devel is available on the host. It was not available previously at the time of building. Now it is (PR link) and would be provided if recompiled. bz2 also can't be installed via pip and has to be built with python itself

Comment by Alex Neben [ 25/Aug/23 ]

But we do we need to rerun this compile to pull in bzip2? Can you just add a command to building the AMI to install bzip2?

Comment by Thomas Ward [ 25/Aug/23 ]

rerunning or running a new version if that exists would be fine. The end state being a new compile to pull in the missing bzip2

Comment by Alex Neben [ 25/Aug/23 ]

t.ward@mongodb.com why does this require rerunning the rhel7-z toolchain build?

Comment by Steve Gross [ 21/Aug/23 ]

Assigning to alex.neben@mongodb.com (some discussion about pinning to commit).

Comment by Alex Neben [ 10/Aug/23 ]

This is a pyyaml pin problem - long story but we just need to wait for the release team to cut the v7.0 branch. This will be fixed when i merge BUILD-17369.

Generated at Thu Feb 08 06:42:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.