Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310059 - dev-ada/florist: build fails owing to source violation of style checks
Summary: dev-ada/florist: build fails owing to source violation of style checks
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-18 11:55 UTC by Michael Mounteney
Modified: 2016-09-18 07:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,16.10 KB, text/plain)
2010-03-18 21:39 UTC, Michael Mounteney
Details
emerge --info output (info,3.75 KB, text/plain)
2010-03-18 21:40 UTC, Michael Mounteney
Details

Note You need to log in before you can comment on or make changes to this bug.
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