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

Bug 219219

Summary: dev-ada/polyorb-2.1.0 fails when building against gnat-gcc-4.3
Product: Gentoo Linux Reporter: Marcelo Coraça de Freitas <marcelo>
Component: New packagesAssignee: ada team [OBSOLETE] <ada+disabled>
Status: RESOLVED WONTFIX    
Severity: normal CC: dirk.heinrichs.ext, esigra, vgodunko
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marcelo Coraça de Freitas 2008-04-24 23:17:58 UTC
When building against this GNAT GCC version 4.3 PolyORB fails miserably with several warning messages (which I found is weird: I don't think the build should fail due to warning messages)



Reproducible: Always

Steps to Reproduce:
1. echo i686-pc-linux-gnu-gnat-gcc-4.3 > /etc/ada/primary_compilers 
2. emerge polyorb
3.

Actual Results:  
make[3]: Entrando no diretório `/var/tmp/portage/dev-ada/polyorb-2.1.0/work/LocalSource/compilers/idlac'
gnatmake -m -I. -I. idlac -cargs -g -O2 -gnatg -gnatfy -gnatwae -gnatpn -bargs  -margs 
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn idlac.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be.ads
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-expansion.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-idl2ada.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-mappings.ads
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-mappings-corba.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-source_streams.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn errors.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn idl_fe.ads
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn idl_fe-files.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn idl_fe-parser.adb
idl_fe-parser.adb:2232:44: warning: formal parameter "Result" is not modified
idl_fe-parser.adb:2232:44: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:8544:33: warning: formal parameter "Node" is not modified
idl_fe-parser.adb:8544:33: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:9052:25: warning: formal parameter "Res" is not modified
idl_fe-parser.adb:9052:25: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:9073:07: warning: formal parameter "Res" is not modified
idl_fe-parser.adb:9073:07: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:9094:25: warning: formal parameter "Res" is not modified
idl_fe-parser.adb:9094:25: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:9111:07: warning: formal parameter "Res" is not modified
idl_fe-parser.adb:9111:07: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:9148:07: warning: formal parameter "Res" is not modified
idl_fe-parser.adb:9148:07: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:9164:07: warning: formal parameter "Res" is not modified
idl_fe-parser.adb:9164:07: warning: mode could be "in" instead of "in out"
gnatmake: "idl_fe-parser.adb" compilation error


Expected Results:  
should compile and install fine
Comment 1 Dirk Heinrichs 2008-05-27 20:13:40 UTC
(In reply to comment #0)
> When building against this GNAT GCC version 4.3 PolyORB fails miserably with
> several warning messages (which I found is weird: I don't think the build
> should fail due to warning messages)

It's not so weird, the package has "treat warnings as errors" switched on.
Comment 2 Marcelo Coraça de Freitas 2008-05-27 20:37:24 UTC
(In reply to comment #1)
> It's not so weird, the package has "treat warnings as errors" switched on.


so, shouldn't it be switched off then? 

Comment 3 Pacho Ramos gentoo-dev 2015-11-05 19:48:33 UTC
removed from the tree