Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 398939

Summary: sys-libs/ncurses-5.9 fails to build (raised STORAGE_ERROR in terminal_interface-curses.adb)
Product: Gentoo Linux Reporter: Erik <esigra>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erik 2012-01-15 08:24:34 UTC
sys-libs/ncurses-5.9 fails to build with the error below. gnatgcc is from dev-lang/gnat-gcc-4.3.5.

Reproducible: Always

Steps to Reproduce:
emerge ncurses
Actual Results:  
gnatgcc -c -I./ -I/var/tmp/portage/sys-libs/ncurses-5.9/work/ncurses-5.9/Ada95/samples -I../src -I/var/tmp/portage/sys-libs/ncurses-5.9/work/ncurses-5.9/Ada95/samples/../src -gnatpn -O3 -I/var/tmp/portage/sys-libs/ncurses-5.9/work/ncurses-5.9/Ada95/samples -I- /var/tmp/portage/sys-libs/ncurses-5.9/work/narrowc/Ada95/src/terminal_interface-curses.adb

raised STORAGE_ERROR : stack overflow (or erroneous memory access)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-17 03:45:17 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Erik 2012-03-18 10:57:22 UTC
Emerging sys-libs/ncurses-5.9-r2 worked after enabling dev-lang/gnat-gcc-4.4.5 in package.keywords, emerging it and executing "eselect gnat set x86_64-pc-linux-gnu-gnat-gcc-4.4". So this bug can probably be fixed by stabilizing the new gnat-gcc-version. There was one error though, which did not prevent the package from being installed:
 * Regenerating GNU info directory index...
 * Processed 5 info files; 1 errors.
install-info: No such file or directory for /usr/share/gnat-gcc-data/x86_64-pc-linux-gnu/4.4/info/gnat.info

That file is a broken symbolic link to "/usr/share/gnat-gcc-data/x86_64-pc-linux-gnu/4.4/info/gnat_ugn_unw.info".