Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12288 - ncurses 5.3 fails to compile with gcc Ada support
Summary: ncurses 5.3 fails to compile with gcc Ada support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nick Hadaway
URL: ftp://invisible-island.net/ncurses/5.3
Whiteboard:
Keywords:
Depends on: 11204
Blocks:
  Show dependency tree
 
Reported: 2002-12-17 01:55 UTC by Mikko Ala-Fossi
Modified: 2003-01-01 23:19 UTC (History)
0 users

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 Mikko Ala-Fossi 2002-12-17 01:55:45 UTC
If Ada language support is enabled from the gcc 3.2.x compiler
(see bug #11204), the ncurses 5.3 fails to compile.

During configure the ncurses library checks the version number of the
Ada compiler that traditionally was > 3.10 when ACT gnat compiler was used,
in order to compile the Ada generics correctly. The gcc compiler reports
version number 3.2.x that is smaller that 3.10 and fails to compile the Ada
generics.

Fix: following ncurses patch fixes the problem

ftp://invisible-island.net/ncurses/5.3/ncurses-5.3-20021214.patch.gz

and it should come with the next release of the ncurses.
Comment 1 Mikko Ala-Fossi 2002-12-17 02:12:45 UTC
In the meantime, it could be worthwhile to add "--without-ada" to
the configure.
Comment 2 Nick Hadaway 2002-12-17 13:40:35 UTC
Is this patch specifically for the ada support or is it just a pull from cvs 
on 12/14/2002?
Comment 3 Mikko Ala-Fossi 2002-12-18 02:24:20 UTC
It is just pull from the ncurses CVS repository, so it is not Ada specific.
That is why I am not suggesting that we should immediately patch our
release ncurses ebuild, but rather have "--without-ada" until we have upgraded
to the version that has the fixes in the patch.
Comment 4 Nick Hadaway 2003-01-01 23:19:32 UTC
I have updated ncurses-5.3-r1 to specify --without-ada during configure.  As 
ada support is added to gcc I will then release an updated ncurses release 
5.3.1?  or a cvs pull at that time.