[LU-6300] Dependency mismatch for RHEL ppc64 client kernel RPM Created: 26/Feb/15 Updated: 07/Jul/15 Resolved: 07/Jul/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Frank Heckes (Inactive) | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | ppc | ||
| Severity: | 3 |
| Rank (Obsolete): | 17641 |
| Description |
|
The Redhat kernel RPM the following dependencies: rpm -q --provides kernel-2.6.32-431.29.2.el6.ppc64 kernel = 2.6.32-431.29.2.el6 kernel-ppc64 = 2.6.32-431.29.2.el6 ... The Lustre client module requires the following kernel: rpm -q --requires lustre-client-modules-2.6.92-2.6.32_431.29.2.el6.ppc64_g33984c0.ppc64 ... kernel = 2.6.32-431.29.2.el6.ppc64 ... This leads to the situation that the client modules can't be installed. -e 's/\.ppc64$//' to line %define krequires %(bash -c "echo %{kversion} | sed -e 's/\.x86_64$//' -e 's/\.i[3456]86$//' -e 's/-smp$//' -e 's/-bigsmp$//' -e 's/-ppc64$//' -e 's/-default$//'")
in lustre-release/lustre.spec.in. |
| Comments |
| Comment by Andreas Dilger [ 26/Feb/15 ] |
|
Hi Frank, would you be able to submit a patch for this? |
| Comment by Frank Heckes (Inactive) [ 06/Mar/15 ] |
|
Yes, I will. |
| Comment by Andreas Dilger [ 06/Mar/15 ] |
|
It looks like it would be possible to just change: sed -e 's/\.x86_64$//' -e 's/\.i[3456]86$//' -e 's/-smp$//' -e 's/-bigsmp$//' -e 's/-ppc64$//' -e 's/-default$//'") to sed -e 's/\.x86_64$//' -e 's/\.i[3456]86$//' -e 's/-smp$//' -e 's/-bigsmp$//' -e 's/[\.-]ppc64$//' -e 's/-default$//'") |
| Comment by Gerrit Updater [ 09/Mar/15 ] |
|
Frank Heckes (Frank.Heckes@intel.com) uploaded a new patch: http://review.whamcloud.com/14012 |
| Comment by Frank Heckes (Inactive) [ 09/Mar/15 ] |
|
I took your suggestion. I was unsure whether the - has to be escaped, too (as it's a range operator) in the [ ], but it seems to work as expected (checked it with some different input strings). |
| Comment by Gerrit Updater [ 16/Apr/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14012/ |
| Comment by Peter Jones [ 07/Jul/15 ] |
|
Landed for 2.8 |