Menu

#50 Issue on gnoga-2.1a installation

2.1
closed
Blady
Gnoga 2.1a (1)
2022-03-20
2022-03-09
Ilari
No

Hello,
end of installing Gnoga 2.1a on my Ubuntu 20.04.4 with GNAT 9.4.0 on AMD Ryzen 8 cores terminates as below.
So i'm unable to compile :
$ gnoga.gpr:3:06: unknown project file: "lib_uxstrings.gpr"
Thank you
Marc
---===----
....
synchronization-interprocess-process_call_service.adb:1233:36: warning: formal parameter "Header" is not referenced
synchronization-interprocess-process_call_service.adb:1372:28: warning: variable "Lock" is not referenced
synchronization-interprocess-process_call_service.adb:1421:16: warning: variable "Lock" is not referenced
synchronization-interprocess-process_call_service.ads:61:09: warning: no entities of "Ada.Exceptions" are referenced in spec
synchronization-interprocess-process_call_service.ads:61:09: warning: with clause might be moved to body
synchronization-interprocess-process_call_service.ads:408:04: warning: in instantiation at synchronization-interprocess-generic_fifo.adb:484
synchronization-interprocess-process_call_service.ads:408:04: warning: volatile actual passed by copy (RM C.6(19))
[Ada] synchronization-interprocess-process_call_service-set_string.ads
[Ada] synchronization-interprocess-process_call_service-generic_dyadic_function.adb
synchronization-interprocess-process_call_service-generic_dyadic_function.adb:80:17: warning: formal parameter "No" is not referenced
[Ada] stuten.adb
[Ada] stuten-suenco.adb
[Ada] uxstrings-conversions.adb
uxstrings.ads:41:07: error: "String_Literal" is not a valid aspect identifier
gprbuild: *** compilation phase failed
make: *** [Makefile:161 : uxstrings] Erreur 4
$

Related

Tickets: #50

Discussion

  • Blady

    Blady - 2022-03-14

    Hello Marc,
    UXStrings library used in Gnoga needs a recent GNAT compiler as GNAT CE 2021.
    Has your GNAT version included Ada 2022 enhencements like String_Literal aspects?

     
    • Ilari

      Ilari - 2022-03-14

      Hello,
        if you mean the ability that Gnat 9.4.0 could use the switch
      "-gnat2022", the answer seems to be no..
        Si I understand i have to wait ubuntu 22.04 or upgrade Gnat version
      on 20.04.4.
        Is it correct, please?
      Thank
      Marc

      Le 14/03/2022 à 22:20, Blady a écrit :

      Hello Marc,
      UXStrings library used in Gnoga needs a recent GNAT compiler as GNAT
      CE 2021.
      Has your GNAT version included Ada 2022 enhencements like
      String_Literal aspects?


      [tickets:#50] https://sourceforge.net/p/gnoga/tickets/50/ Issue on
      gnoga-2.1a installation

      Status: open
      Milestone: Ongoing
      Labels: Gnoga 2.1a
      Created: Wed Mar 09, 2022 08:34 PM UTC by Ilari
      Last Updated: Wed Mar 09, 2022 08:34 PM UTC
      Owner: nobody

      Hello,
      end of installing Gnoga 2.1a on my Ubuntu 20.04.4 with GNAT 9.4.0 on
      AMD Ryzen 8 cores terminates as below.
      So i'm unable to compile :
      $ gnoga.gpr:3:06: unknown project file: "lib_uxstrings.gpr"
      Thank you
      Marc
      ---===----
      ....
      synchronization-interprocess-process_call_service.adb:1233:36:
      warning: formal parameter "Header" is not referenced
      synchronization-interprocess-process_call_service.adb:1372:28:
      warning: variable "Lock" is not referenced
      synchronization-interprocess-process_call_service.adb:1421:16:
      warning: variable "Lock" is not referenced
      synchronization-interprocess-process_call_service.ads:61:09: warning:
      no entities of "Ada.Exceptions" are referenced in spec
      synchronization-interprocess-process_call_service.ads:61:09: warning:
      with clause might be moved to body
      synchronization-interprocess-process_call_service.ads:408:04: warning:
      in instantiation at synchronization-interprocess-generic_fifo.adb:484
      synchronization-interprocess-process_call_service.ads:408:04: warning:
      volatile actual passed by copy (RM C.6(19))
      [Ada] synchronization-interprocess-process_call_service-set_string.ads
      [Ada]
      synchronization-interprocess-process_call_service-generic_dyadic_function.adb
      synchronization-interprocess-process_call_service-generic_dyadic_function.adb:80:17:
      warning: formal parameter "No" is not referenced
      [Ada] stuten.adb
      [Ada] stuten-suenco.adb
      [Ada] uxstrings-conversions.adb
      uxstrings.ads:41:07: error: "String_Literal" is not a valid aspect
      identifier
      gprbuild: /compilation phase failed
      make: /
      [Makefile:161 : uxstrings] Erreur 4
      $


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/gnoga/tickets/50/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #50

  • Blady

    Blady - 2022-03-15

    Hello Marc,
    yes it is "-gnat2022" option.
    As I don't know Ubuntu GNAT versionning, I can't help you more :-(

     
    • Ilari

      Ilari - 2022-03-15

      Hi,
        so you can close the ticket.
        You ougth to precise the Ada version in your doc for 2.1a version.
        if it is i didn't see it !
      Thank you
      Marc

      Le 15/03/2022 à 22:10, Blady a écrit :

      Hello Marc,
      yes it is "-gnat2022" option.
      As I don't know Ubuntu GNAT versionning, I can't help you more :-(


      [tickets:#50] https://sourceforge.net/p/gnoga/tickets/50/ Issue on
      gnoga-2.1a installation

      Status: open
      Milestone: Ongoing
      Labels: Gnoga 2.1a
      Created: Wed Mar 09, 2022 08:34 PM UTC by Ilari
      Last Updated: Mon Mar 14, 2022 09:20 PM UTC
      Owner: nobody

      Hello,
      end of installing Gnoga 2.1a on my Ubuntu 20.04.4 with GNAT 9.4.0 on
      AMD Ryzen 8 cores terminates as below.
      So i'm unable to compile :
      $ gnoga.gpr:3:06: unknown project file: "lib_uxstrings.gpr"
      Thank you
      Marc
      ---===----
      ....
      synchronization-interprocess-process_call_service.adb:1233:36:
      warning: formal parameter "Header" is not referenced
      synchronization-interprocess-process_call_service.adb:1372:28:
      warning: variable "Lock" is not referenced
      synchronization-interprocess-process_call_service.adb:1421:16:
      warning: variable "Lock" is not referenced
      synchronization-interprocess-process_call_service.ads:61:09: warning:
      no entities of "Ada.Exceptions" are referenced in spec
      synchronization-interprocess-process_call_service.ads:61:09: warning:
      with clause might be moved to body
      synchronization-interprocess-process_call_service.ads:408:04: warning:
      in instantiation at synchronization-interprocess-generic_fifo.adb:484
      synchronization-interprocess-process_call_service.ads:408:04: warning:
      volatile actual passed by copy (RM C.6(19))
      [Ada] synchronization-interprocess-process_call_service-set_string.ads
      [Ada]
      synchronization-interprocess-process_call_service-generic_dyadic_function.adb
      synchronization-interprocess-process_call_service-generic_dyadic_function.adb:80:17:
      warning: formal parameter "No" is not referenced
      [Ada] stuten.adb
      [Ada] stuten-suenco.adb
      [Ada] uxstrings-conversions.adb
      uxstrings.ads:41:07: error: "String_Literal" is not a valid aspect
      identifier
      gprbuild: /compilation phase failed
      make: /
      [Makefile:161 : uxstrings] Erreur 4
      $


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/gnoga/tickets/50/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #50

  • Blady

    Blady - 2022-03-20
    • status: open --> closed
    • assigned_to: Blady
     
  • Blady

    Blady - 2022-03-20

    You're rigth, I'll add a warning, thanks for reporting, Pascal.

     
  • Blady

    Blady - 2022-03-20
    • Milestone: Ongoing --> 2.1
     

Log in to post a comment.

MongoDB Logo MongoDB