Multiple compiler lines thus:
posix.adb:163:42 (style) no statements may follow "then" on same line
Ada compiler: i686-pc-linux-gnu-gnat-gcc-4.3
Steps to Reproduce:
1. emerge florist
Error messages from compiler followed by the usual emerge failure messages.
The emerge should have compiled and linked the package source and installed the libraries and stub source.
Note that the Ada compiler has not been updated for a while; still on 4.3.
Please attach full build log and emerge --info. Thanks.
Created attachment 224195 [details]
Copied from /var/tmp/portage/dev-ada/florist-2007.0/temp/build.log
Created attachment 224197 [details]
emerge --info output
Ran emerge --info >/tmp/info
This error is occuring because gnat is being run with the -gnaty or -gnatyi option, to enforce the if-then style guideline. So it only needs the -gnaty option to be removed from the build flags.
(In reply to comment #4)
> This error is occuring because gnat is being run with the -gnaty or -gnatyi
> option, to enforce the if-then style guideline. So it only needs the -gnaty
> option to be removed from the build flags.
The problem is, that florist is considered an "internal package", so the flag gets set pretty deep inside and needs a lot of digging (IIRC from the last time I looked at it). Just covering my ass for slacking on this bug for a while :). I hope to get to this eventually, just atm there are more immediate issues with gnat itself.