-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
packaging: have noarch defined for rpms #10057
base: 4.20
Are you sure you want to change the base?
Conversation
This makes rpms arch-independent Signed-off-by: Rohit Yadav <[email protected]>
@blueorangutan package |
@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #10057 +/- ##
============================================
+ Coverage 15.80% 16.04% +0.23%
- Complexity 12586 12815 +229
============================================
Files 5627 5637 +10
Lines 492343 493631 +1288
Branches 59694 59880 +186
============================================
+ Hits 77828 79183 +1355
+ Misses 405992 405662 -330
- Partials 8523 8786 +263
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 11741 |
@blueorangutan package |
@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 11744 |
@rohityadavcloud When I tried to install the RPMs in Fedora (ARM64) it really wanted libc.so.6(GLIBC_2.3) which was the version on the build system, but not on the Fedora system. |
@blueorangutan package |
@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 11747 |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11749 |
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 11750 |
@blueorangutan package |
@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11751 |
@blueorangutan test |
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
cc @NuxRo still doesn't work:
But the workaround was to |
[SF] Trillian test result (tid-11864)
|
I'll try to find some time and test for a solution. |
@blueorangutan package |
@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11765 |
@blueorangutan package |
@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11768 |
@blueorangutan package |
@blueorangutan package |
@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
@@ -17,6 +17,8 @@ | |||
|
|||
%define __os_install_post %{nil} | |||
%global debug_package %{nil} | |||
%global __requires_exclude *libc.so.* |
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.
JFYI - I couldn't figure out how to exclude rpm to indirectly depend on libc, any feedback/ideas are welcome. cc @NuxRo @weizhouapache @DaanHoogland @JoaoJandre and others.
On non-x86 hosts, the workaround to install the noarch (cloudstack-common) rpms is currently that you force install cloudstack-common (where libc is a dependency) using rpm -ivh --no-deps
and then rest pkgs like cloudstack-agent etc install okay.
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.
from https://docs.fedoraproject.org/en-US/packaging-guidelines/AutoProvidesAndRequiresFiltering/
it looks double backslash is required for .
maybe like this (to exclude libc.so.X) ?
%global __requires_exclude libc\\.so\\..*
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 11832 |
This makes rpms arch-independent. CloudStack rpms are largely arch independent. While deb pkgs are usable across archs now, rpms aren’t.
Types of changes