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

Bug 310059

Summary: dev-ada/florist: build fails owing to source violation of style checks
Product: Gentoo Linux Reporter: Michael Mounteney <gentoobugs>
Component: Current packagesAssignee: ada team [OBSOLETE] <ada+disabled>
Status: RESOLVED WONTFIX    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
emerge --info output

Description Michael Mounteney 2010-03-18 11:55:00 UTC
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

Reproducible: Always

Steps to Reproduce:
1. emerge florist
Actual Results:  
Error messages from compiler followed by the usual emerge failure messages.

Expected Results:  
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.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-03-18 21:01:48 UTC
Please attach full build log and emerge --info. Thanks.
Comment 2 Michael Mounteney 2010-03-18 21:39:47 UTC
Created attachment 224195 [details]
Build log

Copied from /var/tmp/portage/dev-ada/florist-2007.0/temp/build.log
Comment 3 Michael Mounteney 2010-03-18 21:40:55 UTC
Created attachment 224197 [details]
emerge --info output

Ran emerge --info >/tmp/info
Uploaded /tmp/info
Comment 4 Michael Mounteney 2010-03-24 05:08:13 UTC
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.
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2011-09-14 09:50:38 UTC
(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.
Comment 6 Pacho Ramos gentoo-dev 2016-02-20 18:09:20 UTC
removed