'emerge dev-ada/asis' fails as follows: --- asis-statements.adb:2228:35: (style) space not allowed asis-statements.adb:2241:35: (style) space not allowed asis-statements.adb:2253:35: (style) space not allowed gnatmake: "../asis/asis-statements.adb" compilation error make: *** [bld-objs] Error 4 make: Leaving directory `/var/tmp/portage/asis-3.15p/work/asis-3.15p-src/obj' !!! ERROR: dev-ada/asis-3.15p failed. !!! Function src_compile, Line 26, Exitcode 2 !!! Failed while compiling ASIS --- I have dev-lang/gnat-5.0_pre20031005 installed, so perhaps the problem is related to the fact that the version do not exactly match. It seems like a stylistic/syntax error though. Reproducible: Always Steps to Reproduce: 1. emerge dev-ada/asis 2. 3. Actual Results: Compilation failed. Expected Results: Compilation should have succeeded.
A patch is required to fix the unpacking of the file asis-statements.adb for the lines 2228, 2241, 2253. It seems there is an inappropriate line feed before each of the respective lines which should be removed and inappropriate white space before each parenthesis of the respective lines. Once removed the asis-statements.adb file compiles. However, once patched another compile error occurs. gnatgcc -c -I./ -I../gnat -I../asis -O2 -march=i686 -fomit-frame-pointer -fPIC -gnatg -gnatwu -gnatwe -I- ../asis/a4g-contt-dp.adb a4g-contt-dp.adb:301:37: warning: "Result_Unit_Id_List" may be referenced before it has a value gnatmake: "../asis/a4g-contt-dp.adb" compilation error make: *** [bld-objs] Error 4 make: Leaving directory `/var/tmp/portage/asis-3.15p/work/asis-3.15p-src/obj' !!! ERROR: dev-ada/asis-3.15p failed. !!! Function src_compile, Line 26, Exitcode 2 !!! Failed while compiling ASIS
I doubt ASIS for gnat-3.15 will work fine for gnat-5.0. It seems we need ebuild for http://gnat-asis.sourceforge.net/.
The requested ebuild is in portage, along with new matching gnat. George