Bug 1094371

Summary: Enable ppc64le in redhat-lsb
Product: [Fedora] Fedora Reporter: Brent Baude <bbaude>
Component: redhat-lsbAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: bbaude, hliu, llim, ovasik, pnemade
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-06 14:46:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1051573    

Description Brent Baude 2014-05-05 14:18:58 UTC
Please consider the following patch for LSB:

diff --git a/redhat-lsb.spec b/redhat-lsb.spec
index 61d4189..8d98d09 100644
--- a/redhat-lsb.spec
+++ b/redhat-lsb.spec
@@ -21,6 +21,11 @@
 %define lsbldso ld-lsb-ppc64.so
 %endif
 
+%ifarch ppc64le
+%define ldso ld64.so.2
+%define lsbldso ld-lsb-ppc64le.so
+%endif
+
 %ifarch s390
 %define ldso ld.so.1
 %define lsbldso ld-lsb-s390.so
@@ -93,7 +98,7 @@ BuildRequires: glibc-static
 %define archname aarch64
 %endif
 
-ExclusiveArch: %{ix86} ia64 x86_64 ppc ppc64 s390 s390x %{arm} aarch64
+ExclusiveArch: %{ix86} ia64 x86_64 ppc ppc64 s390 s390x %{arm} aarch64 ppc64le
 
 Requires: redhat-lsb-core%{?_isa} = %{version}-%{release}
 Requires: redhat-lsb-cxx%{?_isa} = %{version}-%{release}

Comment 1 Ondrej Vasik 2014-05-05 14:55:13 UTC
Thanks for the patch, will add something similar in next rawhide build.

Comment 2 Parag Nemade 2014-05-05 15:21:13 UTC
Is this ppc64le a new architecture coming to Fedora? We don't have koji build support for ppc64le yet though I see given patch works well as per http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1806707

Also do this architecture support need to be added in upstream redhat-lsb for its next upstream release? I mean like we can see supported arch list given https://wiki.linuxfoundation.org/en/ReleaseNotes41#Introduction here.

Comment 3 Brent Baude 2014-05-05 15:33:45 UTC
http://ppc-le.koji.fedoraproject.org/koji/index is the ppc64le koji.  And yes, it's a new arch for fedora 21.

Comment 4 Parag Nemade 2014-05-05 16:11:47 UTC
ah! nice. I was not aware of that. Thanks for that information. Then we need ppcle-koji command :)

I have reported that request at https://fedorahosted.org/fedora-packager/ticket/126

Comment 5 Ondrej Vasik 2014-05-06 14:46:42 UTC
Several more tweaks were needed. Enabled by https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140505/1238721.html -> closing RAWHIDE.