Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1332 - GDB fails to build with 'newest' version of ncurses
Summary: GDB fails to build with 'newest' version of ncurses
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-24 11:02 UTC by Wesley Moxam
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wesley Moxam 2002-03-24 11:02:53 UTC
GDB will not compile when ncurses-2.5.20020112a.ebuild is installed. This
ncurses package is listed as the latest version, and as such is upgraded when
executing a 'emerge --world update', but I have a feeling that gdb-2.5.2-r5 is
actually the latest version (seeing that it WORKS), someone just got the naming
convention wrong or something.
Comment 1 Brandon Low (RETIRED) gentoo-dev 2002-03-24 12:05:51 UTC
here's a little more detail:

ncurses-5.2-r5 works for gdb-5.1
however when using the funky debian ncurses (ncurses-5.2.20020112a)
gdb breaks, I believe that the debian ncurses fixed another bug, but
unfortunately breaking gdb is kinda rude ;-)

--==cut here==--
In file included from /usr/include/curses.h:111,
                 from utils.c:30:
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdbool.h:9: conflicting types
for `false'
../bfd/bfd.h:102: previous declaration of `false'
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdbool.h:11: conflicting
types for `true'
../bfd/bfd.h:102: previous declaration of `true'
--==cut here==--
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-03-24 20:50:22 UTC
yes, this ncurses is bogus.  Install the most recent 5.2 version and you'll be 
ok.  I'll remove this bogus version from cvs.  You should also know that world 
updates are fairly broken as well and we've already ripped the world update 
code out of 1.8.9 Portage and it's pending a reimplementation.