Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1492851

Summary: xlator/bitrot: flood of -Wformat-truncation warnings with gcc-7.
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: bitrotAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact: bugs <bugs>
Priority: unspecified    
Version: mainlineCC: bugs, khiremat
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.13.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1492847 Environment:
Last Closed: 2017-12-08 17:40:53 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: 1492847    
Bug Blocks: 1492849    

Description Kaleb KEITHLEY 2017-09-18 18:16:25 UTC
+++ This bug was initially created as a clone of Bug #1492847 +++

Description of problem:

Starting in Fedora 26 which has gcc-7.1.x, -Wformat-trunction is enabled
with -Wformat, resulting in a flood of new warnings. This many warnings
is a concern because it makes it hard(er) to see other warnings that
should be addressed.

e.g. see https://kojipkgs.fedoraproject.org//packages/glusterfs/3.12.0/1.fc28/data/logs/x86_64/build.log


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Worker Ant on 2017-09-18 14:10:52 EDT ---

REVIEW: https://review.gluster.org/18287 (core: flood of -Wformat-truncation warnings with gcc-7.1) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 1 Worker Ant 2017-09-18 18:17:55 UTC
REVIEW: https://review.gluster.org/18289 (xlator/bitrot: flood of -Wformat-truncation warnings with gcc-7.1) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 2 Worker Ant 2017-10-04 05:44:25 UTC
COMMIT: https://review.gluster.org/18289 committed in master by Kotresh HR (khiremat) 
------
commit d9cd579a38abb507726ecece8ae4447077709747
Author: Kaleb S. KEITHLEY <kkeithle>
Date:   Thu Sep 14 14:31:26 2017 -0400

    xlator/bitrot: flood of -Wformat-truncation warnings with gcc-7.1
    
    Starting in Fedora 26 which has gcc-7.1.x, -Wformat-trunction is enabled
    with -Wformat, resulting in a flood of new warnings. This many warnings
    is a concern because it makes it hard(er) to see other warnings that
    should be addressed.
    
    An example is at
    https://kojipkgs.fedoraproject.org//packages/glusterfs/3.12.0/1.fc28/data/logs/x86_64/build.log
    
    For more info see https://review.gluster.org/#/c/18267/
    
    Change-Id: I7792d94da1e8109f3aaa857a94be40f2d2402684
    BUG: 1492851
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>

Comment 3 Shyamsundar 2017-12-08 17:40:53 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.13.0, please open a new bug report.

glusterfs-3.13.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2017-December/000087.html
[2] https://www.gluster.org/pipermail/gluster-users/