Bug 1094371 - Enable ppc64le in redhat-lsb
Summary: Enable ppc64le in redhat-lsb
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-lsb
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2014-05-05 14:18 UTC by Brent Baude
Modified: 2014-05-06 14:46 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-06 14:46:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.