Comment 3 for bug 1928285

Revision history for this message
JunyoungHwang (juuns) wrote :

I tried the following.

<Root Project>
1. build-tools/build-wheels/docker/centos-dockerfile
ADD====================>
yum install libev libev-devel
Why: cassandra.io.libevwrapper compile failed when python2 wheels build
Result Succeeded

2. build-tools/build-wheels/docker/centos-dockerfile
ADD====================>
RUN mkdir /wheels
Why: docker run ${RUN_ARGS[@]} -v ${BUILD_OUTPUT_PATH}:/wheels ${BUILD_IMAGE_NAME} /bin/bash /docker-build-wheel.sh in build-wheels/build-base-wheels.sh /wheels Directory not created. Also, whl is not included (created) in base and base-py2 of ${BUILD_OUTPUT_PATH}.

3. build-tools/build-wheels/build-base-wheels.sh
CHANGE=================>
181: #rm -f $f
why: Comment out the entry on line 181 that deletes the whl of base and base-py2 as a temporary method.
Because there is a problem that wheels made in docker-build-wheel.sh are not saved in base and base-py2, I copied them manually. Therefore, I added a comment because if I delete it, it will not build properly.
The manual way to do this is to rebuild the wheels after copying to "Container ID running scp docker-build-wheel.sh:/wheels ${BUILD_OUTPUT_PATH} or ${BUILD_OUTPUT_PATH_PY2}.
Result: Wheels Build success

Currently, we are testing the above items by cherry-picking the modified repo from the master branch to the r/stx.4.0 branch of the tools project. (Stable)
However, the same problem as above is seen in the master branch (tools, root), so it seems that it needs to be fixed.

Currently: docker image build works normally in the r/stx.4.0 branch.

Please note: Please modify it so that compatibility and smooth build of multiple systems can be achieved.