comp.lang.ada
 help / color / mirror / Atom feed
* GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali
@ 2021-11-07 10:41 Frank Jørgen Jørgensen
  2021-11-07 16:38 ` Jesper Quorning
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Frank Jørgen Jørgensen @ 2021-11-07 10:41 UTC (permalink / raw)


Hi! 

I installed GNAT Community 2021 64bit via MinGW32 (I sense an inconsistensy here but this is what I did for GNAT2020 and and REAME in PolyORBS says to use MinGW32...) in Windows 10 Pro

Installation went ok after the usual messing with wrong paths and missing Python :)
When I compile a normal, Non-DSA program with GtkAda it works fine.

When I compile the bank application in the PolyORB or my own DSA application I get an error referring to a-sttebu.ali which I suspect is something new in GNAT 2021 to handle the improved 'Img functionality in Ada 202X.

I am guessing that the issue here is that the PolyORB is not up to date with GNAT 2021 compiler, or have I missed something in installation?

C:\Ada\Git\PolyORB\examples\dsa\bank>po_gnatdist simcity.cfg
C:\GNAT\2021\bin\gnat.exe list polyorb.ali -Ppolyorb -s -aPC:\GNAT\2021\lib\gnat
C:\GNAT\2021\bin\gprbuild.exe simcity_monolithic_app.adb -c -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -margs -aPC:\GNAT\2021\lib\gnat
Compile
   [Ada]          simcity_monolithic_app.adb
C:\GNAT\2021\bin\gnat.exe list simcity_monolithic_app.ali -V -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -aPC:\GNAT\2021\lib\gnat
C:\GNAT\2021\bin\gnat.exe list a-sttebu.ali client.ali manager.ali polyorb.ali polyorb-dsa_p.ali polyorb-dsa_p-partitions.ali server.ali -V -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -aPC:\GNAT\2021\lib\gnat
Can't find source for a-sttebu.ali
C:\GNAT\2021\bin\gnat.exe compile C:/gnat/2021/lib/gcc/x86_64-w64-mingw32/10.3.1/adainclude/a-sttebu.adb -gnatc -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -margs -aPC:\GNAT\2021\lib\gnat
gprbuild: "c:/gnat/2021/lib/gcc/x86_64-w64-mingw32/10.3.1/adainclude/a-sttebu.adb" was not found in the sources of any project
C:\GNAT\2021\bin\gnat.exe list a-sttebu.ali -V -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -aPC:\GNAT\2021\lib\gnat
Can't find source for a-sttebu.ali
po_gnatdist: failed to load ALI for C:/gnat/2021/lib/gcc/x86_64-w64-mingw32/10.3.1/adainclude/a-sttebu.adb
po_gnatdist: *** can't continue

Frank

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali
  2021-11-07 10:41 GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali Frank Jørgen Jørgensen
@ 2021-11-07 16:38 ` Jesper Quorning
  2021-11-08  9:04   ` Simon Wright
  2021-12-30 19:25 ` Daniel Norte Moraes
  2023-10-23  9:06 ` Rod Kay
  2 siblings, 1 reply; 5+ messages in thread
From: Jesper Quorning @ 2021-11-07 16:38 UTC (permalink / raw)


søndag den 7. november 2021 kl. 11.41.35 UTC+1 skrev Frank Jørgen Jørgensen:
> When I compile the bank application in the PolyORB or my own DSA application I get an error referring to a-sttebu.ali which I suspect is something new in GNAT 2021 to handle the improved 'Img functionality in Ada 202X. 

a-sttebu.ali is the package Ada.Strings.Text_Buffers (.ali), which is a recent invention [1].
It is not part of FSF 10.3.0 or FSF 11.2.0.

> I am guessing that the issue here is that the PolyORB is not up to date with GNAT 2021 compiler, or have I missed something in installation? 
I do not know why it is needed by your application.


Jesper

[1] https://learn-staging.adacore.com/courses/ada_2022_whats_new/chapters/image_redefine.html#

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali
  2021-11-07 16:38 ` Jesper Quorning
@ 2021-11-08  9:04   ` Simon Wright
  0 siblings, 0 replies; 5+ messages in thread
From: Simon Wright @ 2021-11-08  9:04 UTC (permalink / raw)


Jesper Quorning <jesper.quorning@gmail.com> writes:

> [1]
> https://learn-staging.adacore.com/courses/ada_2022_whats_new/chapters/image_redefine.html#

Most of us can't see this (but looking forward!).

In the meantime, see the 202x ARM A.4.12:
http://www.ada-auth.org/standards/2xrm/html/RM-A-4-12.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali
  2021-11-07 10:41 GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali Frank Jørgen Jørgensen
  2021-11-07 16:38 ` Jesper Quorning
@ 2021-12-30 19:25 ` Daniel Norte Moraes
  2023-10-23  9:06 ` Rod Kay
  2 siblings, 0 replies; 5+ messages in thread
From: Daniel Norte Moraes @ 2021-12-30 19:25 UTC (permalink / raw)


Em domingo, 7 de novembro de 2021 às 07:41:35 UTC-3, Frank Jørgen Jørgensen escreveu:
> Hi! 
> 
> I installed GNAT Community 2021 64bit via MinGW32 (I sense an inconsistensy here but this is what I did for GNAT2020 and and REAME in PolyORBS says to use MinGW32...) in Windows 10 Pro 
> 
> Installation went ok after the usual messing with wrong paths and missing Python :) 
> When I compile a normal, Non-DSA program with GtkAda it works fine. 
> 
> When I compile the bank application in the PolyORB or my own DSA application I get an error referring to a-sttebu.ali which I suspect is something new in GNAT 2021 to handle the improved 'Img functionality in Ada 202X. 
> 
> I am guessing that the issue here is that the PolyORB is not up to date with GNAT 2021 compiler, or have I missed something in installation? 
> 
> C:\Ada\Git\PolyORB\examples\dsa\bank>po_gnatdist simcity.cfg 
> C:\GNAT\2021\bin\gnat.exe list polyorb.ali -Ppolyorb -s -aPC:\GNAT\2021\lib\gnat 
> C:\GNAT\2021\bin\gprbuild.exe simcity_monolithic_app.adb -c -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -margs -aPC:\GNAT\2021\lib\gnat 
> Compile 
> [Ada] simcity_monolithic_app.adb 
> C:\GNAT\2021\bin\gnat.exe list simcity_monolithic_app.ali -V -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -aPC:\GNAT\2021\lib\gnat 
> C:\GNAT\2021\bin\gnat.exe list a-sttebu.ali client.ali manager.ali polyorb.ali polyorb-dsa_p.ali polyorb-dsa_p-partitions.ali server.ali -V -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -aPC:\GNAT\2021\lib\gnat 
> Can't find source for a-sttebu.ali 
> C:\GNAT\2021\bin\gnat.exe compile C:/gnat/2021/lib/gcc/x86_64-w64-mingw32/10.3.1/adainclude/a-sttebu.adb -gnatc -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -margs -aPC:\GNAT\2021\lib\gnat 
> gprbuild: "c:/gnat/2021/lib/gcc/x86_64-w64-mingw32/10.3.1/adainclude/a-sttebu.adb" was not found in the sources of any project 
> C:\GNAT\2021\bin\gnat.exe list a-sttebu.ali -V -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -aPC:\GNAT\2021\lib\gnat 
> Can't find source for a-sttebu.ali 
> po_gnatdist: failed to load ALI for C:/gnat/2021/lib/gcc/x86_64-w64-mingw32/10.3.1/adainclude/a-sttebu.adb 
> po_gnatdist: *** can't continue 
> 
> Frank

Hi! I use it (ada 202x) with gnat switch '-gnat2020' in command line. gcc-11.2 and gcc-12

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali
  2021-11-07 10:41 GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali Frank Jørgen Jørgensen
  2021-11-07 16:38 ` Jesper Quorning
  2021-12-30 19:25 ` Daniel Norte Moraes
@ 2023-10-23  9:06 ` Rod Kay
  2 siblings, 0 replies; 5+ messages in thread
From: Rod Kay @ 2023-10-23  9:06 UTC (permalink / raw)


On 7/11/21 21:41, Frank Jørgen Jørgensen wrote:
> 
> When I compile the bank application in the PolyORB or my own DSA application I get an error referring to a-sttebu.ali which I suspect is something new in GNAT 2021 to handle the improved 'Img functionality in Ada 202X.
> 

    I encountered the exact same problem today, except on arch linux, 
rather than windows.

    After much stabbing in the dark, the chase for several wild gueese, 
playing option roulette and moving files around, I found this 
'workaround' ...


    In the folder from which po_gnatdist is invoked ...

$ cp /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/adainclude/a-sttebu.ads .

$ mkdir --parents  dsa/x86_64-unknown-linux-gnu/obj

$ cp /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/adalib/a-sttebu.ali 
dsa/x86_64-unknown-linux-gnu/obj/


    Obviously, this is only a temporary fix. I'll try to send a bug 
report to the polyorb issues area on github and hope the problem is able 
to be resolved by the experts.


Regards.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-23  9:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-07 10:41 GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali Frank Jørgen Jørgensen
2021-11-07 16:38 ` Jesper Quorning
2021-11-08  9:04   ` Simon Wright
2021-12-30 19:25 ` Daniel Norte Moraes
2023-10-23  9:06 ` Rod Kay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox