Bug 1309620

Summary: heketi: ELF Binary/Library Stripping
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: heketiAssignee: Luis Pabón <lpabon>
Status: CLOSED ERRATA QA Contact: Prasanth <pprakash>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: amukherj, asrivast, madam, pprakash, rcyriac, rhinduja
Target Milestone: ---Keywords: ZStream
Target Release: RHGS Container Converged 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: heketi-1.4.2-1.el7rhgs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1323543 (view as bug list) Environment:
Last Closed: 2016-08-04 04:50:16 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: 1117266, 1323543, 1332128    

Description Shruti Sampat 2016-02-18 10:23:07 UTC
Description of problem:
------------------------

ELF Binary/Library Stripping test fails for heketi -

BAD	 	heketi	 	File usr/bin/heketi is not stripped on x86_64
BAD	 	heketi	 	File usr/bin/heketi-cli is not stripped on x86_64

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
heketi-1.0.0-1.el6rhs

Comment 3 Luis Pabón 2016-02-18 16:43:30 UTC
Interesting. I'll check how to do this.

Comment 4 Luis Pabón 2016-02-18 16:44:52 UTC
It seems that the build system in Fedora is setup to do this for Golang programs, but the RHS system is not.

Isn't great to be first! >.>

Comment 5 Luis Pabón 2016-02-18 16:55:38 UTC
It looks like I need to pass -ldflags "-s"  to go build for it to strip the debugging information.

Comment 7 Luis Pabón 2016-04-12 14:06:05 UTC
Fixed in heketi-1.0.2-2

Comment 13 Prasanth 2016-07-25 06:15:37 UTC
Verified as fixed in the latest brewtap run

Comment 15 errata-xmlrpc 2016-08-04 04:50:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1498.html