Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1070331

Summary: Trivial fix to enable ppc64le for glew
Product: [Fedora] Fedora Reporter: Menanteau Guy <menantea>
Component: glewAssignee: Adam Jackson <ajax>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: ajax, pbrobinson
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-03 11:57:30 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 Menanteau Guy 2014-02-26 15:45:02 UTC
Please consider the following trivial patch to the glew package which corrects an issue on ppc64le:
config/config.guess: unable to guess system type

Version-Release number:
glew-1.10.0

How reproducible:
build with --target ppc64le

spec changes:
--- glew.spec.ori
+++ glew.spec
@@ -9,6 +9,7 @@ URL:            http://glew.sourceforge.
 Source0:        http://downloads.sourceforge.net/project/glew/glew/%{version}/glew-%{version}.tgz
 Patch0:                0001-BUILD-respect-DESTDIR-variable.patch
 Patch1:         glew-1.9.0-makefile.patch
+Patch2:         glew-1.10.0-ppc64le-support.patch
 BuildRequires:  libGLU-devel

 %description
@@ -51,6 +52,7 @@ libGLEWmx
 %setup -q
 %patch0 -p1 -b .bld
 %patch1 -p1 -b .make
+%patch2 -p1 -b .ppc64le

 sed -i -e 's/\r//g' config/config.guess


new glew-1.10.0-ppc64le-support.patch patch:
--- glew-1.10.0/config/config.guess.ori
+++ glew-1.10.0/config/config.guess
@@ -965,6 +965,9 @@ EOF
     ppc64:Linux:*:*)
        echo powerpc64-unknown-linux-gnu
        exit ;;
+    ppc64le:Linux:*:*)
+       echo powerpc64le-unknown-linux-gnu
+       exit ;;
     ppc:Linux:*:*)
        echo powerpc-unknown-linux-gnu
        exit ;;

Comment 1 Peter Robinson 2014-05-03 11:57:30 UTC
I've updated to the config.guess as shippd in redhat-rpm-config