Bug 556645

Summary: wstandout breaks build: value computed is not used
Product: [Fedora] Fedora Reporter: Jan Kratochvil <jan.kratochvil>
Component: ncursesAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: mlichvar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-20 12:27:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Kratochvil 2010-01-18 23:48:09 UTC
Description of problem:
GDB is using -Werror for its build.  Latest Rawhide ncurses update broke it.

Version-Release number of selected component (if applicable):
wrong:
ncurses-devel-5.7-4.20100116.fc13.x86_64.rpm
https://koji.fedoraproject.org/koji/rpmlist?buildrootID=693957%20&start=50&order=nvr&type=component
OK:
ncurses-devel-5.7-3.20090207.fc12.x86_64.rpm
https://koji.fedoraproject.org/koji/rpmlist?buildrootID=692621%20&start=50&order=nvr&type=component

How reproducible:
Tried once.

Steps to Reproduce:
Try to scratch-rebuild in Koji:
https://koji.fedoraproject.org/koji/taskinfo?taskID=1930830
gdb-7.0.50.20100118-1.fc13

Actual results:
https://koji.fedoraproject.org/koji/getfile?taskID=1930832&name=build.log
cc1: warnings being treated as errors
../../gdb/tui/tui-regs.c: In function 'tui_display_register':
../../gdb/tui/tui-regs.c:544: error: value computed is not used
../../gdb/tui/tui-regs.c:554: error: value computed is not used

Expected results:
Built.

Additional info:
gdb-7.0.50.20100116-1.fc13
https://koji.fedoraproject.org/koji/buildinfo?buildID=151564
still built fine.

Those two lines contain:
    wstandout (win_info->handle);

Comment 1 Miroslav Lichvar 2010-01-20 12:27:13 UTC
Should be fixed in ncurses-5.7-5.20100116.fc13.

Comment 2 Jan Kratochvil 2010-01-20 19:54:40 UTC
Confirming GDB has been built OK now, thanks.