First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 191090
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: ada team <ada@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Maxim Reznik <reznikmm@front.ru>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnatgcc.patch gnatgcc.patch patch Maxim Reznik 2007-09-02 20:30 0000 468 bytes Details | Diff
asis-gpl-4.1.3.2007-r1.ebuild asis-gpl-4.1.3.2007-r1.ebuild text/plain Maxim Reznik 2007-09-02 20:31 0000 3.23 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 191090 depends on: Show dependency tree
Bug 191090 blocks: 143226
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-02 20:29 0000
Writing ebuild for #143226 I encountered an error in
dev-ada/asis-gpl-4.1.3.2007.
Something like:
"gcc: Ada language not installed"
The reason is hardcoded gcc name into asis sources. I found gnatgcc.patch in
debian. It replace gcc with gnatgcc. It helps.
Here is patch and fixed ebuild.

Please assign this bug to ada@gentoo.org

------- Comment #1 From Maxim Reznik 2007-09-02 20:30:24 0000 -------
Created an attachment (id=129862) [edit]
gnatgcc.patch

------- Comment #2 From Maxim Reznik 2007-09-02 20:31:46 0000 -------
Created an attachment (id=129863) [edit]
asis-gpl-4.1.3.2007-r1.ebuild

fixed ebuild

------- Comment #3 From George Shapovalov 2007-09-04 14:08:20 0000 -------
Ah, sorry, this bug did not register with me when I waslooking at #143226.
Indeed, this is the cause of that failure in examples. 
Fixed now (actually I did sed instead of patch and changed gcc -> gnatgcc at
two more places, where it was not part of a comment or a string).

George

------- Comment #4 From Maxim Reznik 2007-09-08 12:51:02 0000 -------
George, could you please look at gnat ebuilds also, because there are similar
errors in gnatpp & gnatstub:

>gnatstub gtk-tree_model-asis_models.ads
gcc: language ada not recognized
gcc: language ada not recognized
gcc: gtk-tree_model-asis_models.ads: linker input file unused because linking
not done

gnatpp -r gtk-tree_model-asis_models.ads 
gcc: language ada not recognized
gcc: language ada not recognized
gcc: /home/max/ada/asis/gtk-tree_model-asis_models.ads: linker input file
unused because linking not done
gnatpp: unexpected bug when opening a
context(/home/max/ada/asis/gtk-tree_model-asis_models.ads)

These are asis-based tools IMHO. (Content of gtk-tree_model-asis_models.ads
doesn't matter)

------- Comment #5 From George Shapovalov 2007-09-14 13:32:49 0000 -------
Sorry, looks like I missed tools/gnatmetric/metrics-compute.adb last time,
although it does not seem that much big of a deal by reading the source.
Anyway, please try the asis-gpl-4.1.3.2007-r1.ebuild, I just added it to the
tree. Don't forget to source /etc/profile after emerging!

Also, I did not change the asis/a4g-contt.adb:
   if Dash_Idx > 0 then
      Contexts.Table (Cont).GCC :=
          Locate_Exec_On_Path
             (Tool_Name (Tool_Name'First .. Dash_Idx) & "gcc");
   end if;
This looks like not a mere use of gcc as gnatgcc but rather looking for some
xxx-gcc pattern. gnatstub to generate bodies fine here without this change.

George

------- Comment #6 From Maxim Reznik 2007-09-18 14:30:08 0000 -------
Thanks, asis-gpl-4.1.3.2007-r2 works fine for me.

First Last Prev Next    No search results available      Search page      Enter new bug