Bug 1235217 - 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: GlusterFS
Classification: Community
Component: glusterfind
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milind Changire
QA Contact: bugs@gluster.org
URL:
Whiteboard:
: 1228981 (view as bug list)
Depends On:
Blocks: 1235224
TreeView+ depends on / blocked
 
Reported: 2015-06-24 10:31 UTC by Milind Changire
Modified: 2016-06-20 17:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1235224 (view as bug list)
Environment:
Last Closed: 2016-06-20 17:43:57 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Milind Changire 2015-06-24 10:31:52 UTC
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.

Comment 1 Saravanakumar 2015-07-16 06:22:53 UTC
*** Bug 1228981 has been marked as a duplicate of this bug. ***

Comment 2 Milind Changire 2016-06-20 17:43:57 UTC
glusterfind Python code applies to server build flavor and hence not applicable to RHEL 5.


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