Bug 1445259 - telnet won't build with latest gcc
Summary: telnet won't build with latest gcc
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: telnet
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Ruprich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-25 11:31 UTC by Michal Ruprich
Modified: 2017-04-30 00:19 UTC (History)
3 users (show)

Fixed In Version: telnet-0.17-69.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-30 00:19:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch (3.27 KB, patch)
2017-04-25 11:31 UTC, Michal Ruprich
no flags Details | Diff

Description Michal Ruprich 2017-04-25 11:31:34 UTC
Created attachment 1273880 [details]
Patch

Description of problem:

When trying to build telnet with rpmbuild on rawhide fedora, the build finishes with a few "format not a string literal and no format arguments [-Werror=format-security]" errors. This is caused by new version of gcc-7.0. The -Werror=format-security flag was used before in the same way but gcc-6.3 probably didn't force the error, because telnet build was fine. 

Fortunately this can be fixed by editing couple of fprintf functions in telnet. I am providing a patch that fixes the issue.

Version-Release number of selected component (if applicable):
gcc-7.0.1
telnet-0.17-67

How reproducible:
Always

Steps to Reproduce:
Rebuild telnet with rpmbuild on rawhide

Actual results:
Build finishes with format not a string literal and no format arguments [-Werror=format-security] error

Expected results:
Build is successful

Additional info:

Comment 1 Fedora Update System 2017-04-25 12:48:30 UTC
telnet-0.17-69.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-66124f3904

Comment 2 Fedora Update System 2017-04-26 03:52:49 UTC
telnet-0.17-69.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-66124f3904

Comment 3 Fedora Update System 2017-04-30 00:19:47 UTC
telnet-0.17-69.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.