Bug 1235217
| Summary: | tools/glusterfind: build errors while compiling for RHEL 5 | |||
|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Milind Changire <mchangir> | |
| Component: | glusterfind | Assignee: | Milind Changire <mchangir> | |
| Status: | CLOSED WONTFIX | QA Contact: | bugs <bugs> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | mainline | CC: | avishwan, khiremat, ndevos, sarumuga | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1235224 (view as bug list) | Environment: | ||
| Last Closed: | 2016-06-20 17:43:57 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: | 1235224 | |||
*** Bug 1228981 has been marked as a duplicate of this bug. *** glusterfind Python code applies to server build flavor and hence not applicable to RHEL 5. |
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.