Bug 556645 - wstandout breaks build: value computed is not used
Summary: wstandout breaks build: value computed is not used
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ncurses
Version: rawhide
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-18 23:48 UTC by Jan Kratochvil
Modified: 2010-01-20 19:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-20 12:27:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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