-
Notifications
You must be signed in to change notification settings - Fork 80
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
Fix RPM build on RHEL8 & friends #8843
base: master
Are you sure you want to change the base?
Fix RPM build on RHEL8 & friends #8843
Conversation
@alphaprinz This PR does compilation changes of s3_select.gyp, can you please review it? |
@@ -4,6 +4,7 @@ | |||
'target_name': 's3select', | |||
'type': 'static_library', | |||
'cflags_cc!': ['-fno-rtti'], | |||
'cflags_cc': ['-std=c++17'], |
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.
what are the implications of this change?
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.
I don't think it will change anything. The reason I added it here was because I noticed that ceph/s3select use this version to build s3select - https://github.com/ceph/s3select/blob/5e7484b6b73216396f6bd6b1c8d6abca639be3e4/CMakeLists.txt#L13
54b4a78
to
f763843
Compare
Signed-off-by: Utkarsh Srivastava <[email protected]> fix rhel typo Signed-off-by: Utkarsh Srivastava <[email protected]> Fix RPM Builds for RHEL8 & friends Signed-off-by: Utkarsh Srivastava <[email protected]>
f763843
to
8ceb471
Compare
@@ -32,6 +32,7 @@ RUN ./src/deploy/NVA_build/clone_s3select_submodules.sh | |||
RUN ln -s /lib64/libboost_thread.so.1.66.0 /lib64/libboost_thread.so.1.75.0 || true | |||
#Pass BUILD_S3SELECT down to GYP native build. | |||
#S3Select will be built only if this parameter is equal to "1". | |||
#Next step would fail for RHEL8 and derivates |
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.
Is this comment correct?
I thought the point is to fix RHEL8?
Explain the changes
This PR attempts to fix the broken builds of NooBaa RPM on RHEL8.
Testing Instructions:
make rpm CENTOS_VER=8
should work.make rpm CENTOS_VER=9
should also work.