Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'po_gnatdist' error regarding 'a-sttebu' #32

Open
charlie5 opened this issue Oct 27, 2023 · 0 comments
Open

'po_gnatdist' error regarding 'a-sttebu' #32

charlie5 opened this issue Oct 27, 2023 · 0 comments

Comments

@charlie5
Copy link

When I compile the bank application in the PolyORB examples or my own DSA application I get an error referring to 'a-sttebu.ali' and 'a-sttebu.ads', which I believe is new in GNAT 2022.

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/

I am using Arch linux and GCC '13.2.1'.

I have tried building polyorb with the '-gnat2022' flag in place of '-gnat12', unfortunately to no avail.

The full error messages are ...

[rod@orth bank]$ po_gnatdist simcity.cfg
/usr/bin/gnat list polyorb.ali -Ppolyorb -s -aP/usr/lib/gnat
/usr/bin/gprbuild simcity_monolithic_app.adb -c -P /tmp/makepkg/polyorb/src/PolyORB/examples/dsa/bank/dsa/x86_64-unknown-linux-gnu/simcity_dist_app.gpr -margs -aP/usr/lib/gnat
Compile
[Ada] simcity_monolithic_app.adb
[Ada] client.adb
[Ada] manager.adb
[Ada] polyorb-dsa_p-partitions.adb
[Ada] server.adb
[Ada] message.adb
[Ada] terminal.ads
[Ada] types.ads
[Ada] bank.adb
[Ada] alarm.ads
/usr/bin/gnat list simcity_monolithic_app.ali -V -P /tmp/makepkg/polyorb/src/PolyORB/examples/dsa/bank/dsa/x86_64-unknown-linux-gnu/simcity_dist_app.gpr -aP/usr/lib/gnat
/usr/bin/gnat list a-sttebu.ali client.ali manager.ali polyorb.ali polyorb-dsa_p.ali polyorb-dsa_p-partitions.ali server.ali -V -P /tmp/makepkg/polyorb/src/PolyORB/examples/dsa/bank/dsa/x86_64-unknown-linux-gnu/simcity_dist_app.gpr -aP/usr/lib/gnat
Can't find source for a-sttebu.ali
/usr/bin/gnat compile /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/adainclude/a-sttebu.adb -gnatc -P /tmp/makepkg/polyorb/src/PolyORB/examples/dsa/bank/dsa/x86_64-unknown-linux-gnu/simcity_dist_app.gpr -margs -aP/usr/lib/gnat
gprbuild: "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/adainclude/a-sttebu.adb" was not found in the sources of any project
/usr/bin/gnat list a-sttebu.ali -V -P /tmp/makepkg/polyorb/src/PolyORB/examples/dsa/bank/dsa/x86_64-unknown-linux-gnu/simcity_dist_app.gpr -aP/usr/lib/gnat
Can't find source for a-sttebu.ali
po_gnatdist: failed to load ALI for /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/adainclude/a-sttebu.adb
po_gnatdist: *** can't continue

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant