Polyorb/DSA Bug Fixes

Hello all,

Given the end of life status of Polyorb, I’ve forked the project and fixed a few problems I encountered during the development of an experimental multiplayer game which uses DSA.

The problems fixed so far are …

  1. In po_gnatdist, when preparing directories, copy non Ada object files (from any C sources) to the partition directory.
  2. In po_gnatdist, when loading all registered units, guard against including implicit 'with’s of Ada runtime packages, such as ‘a-sttebu.ads’.
  3. Honour DESTDIR in Makefile to aid OS package creators.

Without (1), po_gnatdist would fail if the project, or any of it’s dependencies, contained C source files.

Without (2), po_gnatdist would fail due to the implicit ‘with’ of ‘a-sttebu.ads’ showing up during gnatls invocation.

Problem (3) just allows OS package creators to more easily control the intermediate install destination of a project, if required, such as …

make -j1 DESTDIR=$pkgdir install

… in an Arch Linux PKGBUILD.

The fork is here if anyone is interested.

I’ll try to add any other problem fixes to the fork, if/when they arise, although I’m primarily interested in just the DSA personality.

If anyone has any problems or opinions, please feel free to open an Issue or Discussion in the forks repo.

Regards.

4 Likes