Bug 1456255 - Unable to build with GCC 7 using -Werror=format-security
Summary: Unable to build with GCC 7 using -Werror=format-security
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: linux-atm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Woodhouse
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-28 12:27 UTC by Niko Kortström
Modified: 2017-06-22 13:37 UTC (History)
2 users (show)

Fixed In Version: linux-atm-2.5.1-17.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-22 13:37:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fixed locally with following patch (2.32 KB, application/mbox)
2017-05-28 12:33 UTC, Niko Kortström
no flags Details

Description Niko Kortström 2017-05-28 12:27:24 UTC
Description of problem:
Package linux-atm cannot be built against rawhide due to missing string formatting

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

How reproducible:
100%

Steps to Reproduce:
1. Clone linux-atm package
2. Build linux-atm with gcc 7 using -Werror=format-security
3.

Actual results:
Build fails:
ttcp.c:666:21: error: format not a string literal and no format arguments [-Werror=format-security]
     fprintf(stderr, Usage);
                     ^~~~~

Expected results:
Build successful

Additional info:

Comment 1 Niko Kortström 2017-05-28 12:33:44 UTC
Created attachment 1283006 [details]
Fixed locally with following patch

Comment 2 Troy Dawson 2017-06-16 15:38:36 UTC
This is a blocker for some projects.  We understand some people have limited time to fix packages.  If you do not have the time to fix this, or merge the patch, within two weeks, we will have a proven packager merge the suggested patch in and build it.

Comment 3 Niko Kortström 2017-06-18 05:56:08 UTC
Unfortunately will not have time to deliver the patch in near future. Feel free to act on it.

Comment 4 Fedora Update System 2017-06-19 20:20:56 UTC
linux-atm-2.5.1-17.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-fa6c03cc43

Comment 5 Fedora Update System 2017-06-21 06:22:04 UTC
linux-atm-2.5.1-17.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-fa6c03cc43

Comment 6 Fedora Update System 2017-06-22 13:37:04 UTC
linux-atm-2.5.1-17.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


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