The future of PolyORB and the DSA

Hi,

I am trying to get my application up and running on a cluster of Linux boxes (data acquisition at rate of ~480MB/s, and DSP).

In the past (around 2003/4) I have developed a system using the DSA with the GNAT Pro compiler, and the software performed very well.

For my current application I got the PolyORB source code from the github, configured it as:

./configure --with-appli-perso=“DSA CORBA MOMA” ,
and build it successfully.

I have a problem with building the dsa echo example from /PolyORB/examples/dsa/echo.

The command :

po_gnatdist echo.cfg

Produces:

/usr/bin/gnat list polyorb.ali -Ppolyorb -s -aP/usr/local/lib/gnat
/usr/bin/gprbuild echo_monolithic_app.adb -c -P /home/darek/opt/PolyORB/examples/dsa/echo/dsa/x86_64-unknown-linux-gnu/echo_dist_app.gpr -margs -aP/usr/local/lib/gnat
Compile
[Ada] echo_monolithic_app.adb
/usr/bin/gnat list echo_monolithic_app.ali -V -P /home/darek/opt/PolyORB/examples/dsa/echo/dsa/x86_64-unknown-linux-gnu/echo_dist_app.gpr -aP/usr/local/lib/gnat
/usr/bin/gnat list a-sttebu.ali client.ali polyorb.ali polyorb-dsa_p.ali polyorb-dsa_p-partitions.ali server.ali -V -P /home/darek/opt/PolyORB/examples/dsa/echo/dsa/x86_64-unknown-linux-gnu/echo_dist_app.gpr -aP/usr/local/lib/gnat
Can’t find source for a-sttebu.ali
/usr/bin/gnat compile /usr/lib/gcc/x86_64-linux-gnu/12/adainclude/a-sttebu.adb -gnatc -P /home/darek/opt/PolyORB/examples/dsa/echo/dsa/x86_64-unknown-linux-gnu/echo_dist_app.gpr -margs -aP/usr/local/lib/gnat
gprbuild: “/usr/lib/gcc/x86_64-linux-gnu/12/adainclude/a-sttebu.adb” was not found in the sources of any project
/usr/bin/gnat list a-sttebu.ali -V -P /home/darek/opt/PolyORB/examples/dsa/echo/dsa/x86_64-unknown-linux-gnu/echo_dist_app.gpr -aP/usr/local/lib/gnat
Can’t find source for a-sttebu.ali
po_gnatdist: failed to load ALI for /usr/lib/gcc/x86_64-linux-gnu/12/adainclude/a-sttebu.adb
po_gnatdist: *** can’t continue

These files exist (a-sttebu*.ali, a-sttebu.adb, a-*sttebu.ads) in their locations but the system somehow does not recognize them.

Any idea how to solve it?

The statement from the PolyORB documentation says:

”PolyORB is a deprecated product. It will be baselined with the GNAT Pro release 28. After this release, there will be no new versions of this product. Contact AdaCore support to get recommendations for replacements.”

Does it mean that also the DSA would have the same longevity problem?

Thanks for your help.

Regards,

Darek

P.S. This the SW configuration I am using for this experiment:

  • System: Linux 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64 GNU/Linux
  • Compiler : gcc version 12.2.0 (Debian 12.2.0-14+deb12u1)
  • PolyORB Release 20.0w
1 Like

Some earlier discussion about this, in case you haven’t seen it:

Also,

The first step would be to look at the project structure and the gpr files.
You haven’t provided any links.
Please don’t expect people to conjure a solution if you’re not willing to give critical details.

That potentially sounds like an environment variable issue. Like some kind of path variable is not set to point to them.

As always with Unix-like systems: first check permissions and ownership.
If that isn’t it, check the path.
Third, check the parameters; often with using other-people’s GNAT projects, there’s a parameter that you need to set. (IIRC, the most frequent offender is include-directory, --I, IIRC; the penultimate-most offender is the linking-include.)
Fourth, check the library-level includes; it’s more rare, but frustrating when the GPR’s with-dependency is dropped.
Fifth, if you made it this far, it’s time to start backtracking and seeing if the compile and installations are good.