Bug 1492851 - xlator/bitrot: flood of -Wformat-truncation warnings with gcc-7.
Summary: xlator/bitrot: flood of -Wformat-truncation warnings with gcc-7.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: bitrot
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
bugs@gluster.org
URL:
Whiteboard:
Depends On: 1492847
Blocks: 1492849
TreeView+ depends on / blocked
 
Reported: 2017-09-18 18:16 UTC by Kaleb KEITHLEY
Modified: 2017-12-08 17:40 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.13.0
Clone Of: 1492847
Environment:
Last Closed: 2017-12-08 17:40:53 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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/


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