Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190478 - Automagic Ada detection breaks sys-libs/ncurses-5.6-r2
Summary: Automagic Ada detection breaks sys-libs/ncurses-5.6-r2
Status: RESOLVED DUPLICATE of bug 167849
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 05:01 UTC by Denis Dupeyron (RETIRED)
Modified: 2008-12-31 13:44 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 Denis Dupeyron (RETIRED) gentoo-dev 2007-08-28 05:01:26 UTC
With GNAT installed (gnat-gcc-4.2.0 in my case), an automagic detection makes compilation of sys-libs/ncurses-5.6-r2 fail with :

gnatgcc -c -I./ -I/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/Ada95/samples -I../src -I/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/Ada95/samples/../src -O3 -gnatpn -gnatg -I/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/Ada95/samples -I- /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/Ada95/samples/sample-helpers.adb
sample-helpers.adb:42:06: warning: redundant with clause in body
gnatmake: "/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/Ada95/samples/sample-helpers.adb" compilation error
make[2]: *** [tour] Error 4
make[2]: Leaving directory `/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/narrowc/Ada95/samples'

Note that compilation will fail in a few other places other than this one when doing a parallel make.

Passing EXTRA_ECONF="--without-ada" works around this. So maybe ncurses should be configured without Ada until for example bug #167849 is fixed.

Denis.
Comment 1 SpanKY gentoo-dev 2007-08-28 14:06:29 UTC
i dont know what "automatic dependency" you're referring to ... it's all controlled via USE=ada
Comment 2 SpanKY gentoo-dev 2007-08-29 13:52:17 UTC
guess i remember wrong

*** This bug has been marked as a duplicate of bug 167849 ***