Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tangledbytes
Copy link
Member

Explain the changes

This PR attempts to fix the broken builds of NooBaa RPM on RHEL8.

Testing Instructions:

  1. make rpm CENTOS_VER=8 should work.
  2. make rpm CENTOS_VER=9 should also work.
  • Doc added/updated
  • Tests added

@romayalon
Copy link
Contributor

romayalon commented Mar 4, 2025

@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'],
Copy link
Contributor

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?

Copy link
Member Author

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

@tangledbytes tangledbytes force-pushed the utkarsh/fix/rpm-build-rhel8 branch from 54b4a78 to f763843 Compare March 4, 2025 12:26
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]>
@tangledbytes tangledbytes force-pushed the utkarsh/fix/rpm-build-rhel8 branch from f763843 to 8ceb471 Compare March 10, 2025 13:19
@@ -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
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants