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

Issue 6542 - RPM build errors on Fedora 42 #6543

Merged
merged 1 commit into from
Jan 24, 2025
Merged

Conversation

vashirov
Copy link
Member

Bug Description:
Fedora 42 has unified /bin and /sbin: https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin https://docs.fedoraproject.org/en-US/packaging-guidelines/#_merged_file_system_layout

This change causes RPM build to fail with:

RPM build errors:
    File not found: /builddir/build/BUILD/389-ds-base-3.1.2-build/BUILDROOT/usr/bin/openldap_to_ds

Fix Description:
Patch setup.py.in based on Fedora or RHEL version that support unified /bin and /sbin.

Fixes: #6542

Reviewed by:

Bug Description:
Fedora 42 has unified `/bin` and `/sbin`: https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_merged_file_system_layout

This change causes RPM build to fail with:
```
RPM build errors:
    File not found: /builddir/build/BUILD/389-ds-base-3.1.2-build/BUILDROOT/usr/bin/openldap_to_ds
```

Fix Description:
Patch `setup.py.in` based on Fedora or RHEL version that support unified
`/bin` and `/sbin`.

Fixes: 389ds#6542

Reviewed by: @mreynolds389, @droideck (Thanks!)
@vashirov vashirov merged commit 6fd5fff into 389ds:main Jan 24, 2025
9 checks passed
@vashirov vashirov deleted the i6542 branch January 24, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RPM build errors on Fedora 42
3 participants