Bug 1235224 - tools/glusterfind: build errors while compiling for RHEL 5
Summary: tools/glusterfind: build errors while compiling for RHEL 5
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterfs-devel
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Kotresh HR
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On: 1235217
Blocks: 1202842
TreeView+ depends on / blocked
 
Reported: 2015-06-24 10:51 UTC by Vivek Agarwal
Modified: 2018-11-06 03:25 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1235217
Environment:
Last Closed: 2018-11-06 03:25:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Vivek Agarwal 2015-06-24 10:51:14 UTC
+++ This bug was initially created as a clone of Bug #1235217 +++

Description of problem:
Syntax errors building glusterfind Python byte-code on RHEL 5
eg. expr1 if condition1 else expr2

To be able to build on RHEL 5 Python language support, the code needs to be
rewritten as:
if condition1:
    expr1
else:
    expr2


Version-Release number of selected component (if applicable):


How reproducible:
Always


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Since the make procedure is common for client-side and server-side components, these Syntax Errors show up in the BREW build logs. However, the RPM packaging takes care of building the appropriate client-side RPMs without the glusterfind tool, which is part of the -server RPM.


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