Bug 37197

Summary: Cannot rebuild Gnat from the .src.rpm
Product: [Retired] Red Hat Powertools Reporter: Daniel Tourde <daniel.tourde>
Component: gnatAssignee: Than Ngo <than>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-23 13:49:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Tourde 2001-04-23 13:49:46 UTC
Hi!

I wanted to install Gnat on my new RedHat 7.1 machine. I picked up the 
.i386.rpm and saw that it depends on gcc 2.81 instead of 2.96. I decided 
to rebuild the package by myself (rpm --rebuild) and it does not work. 
Gnat needs itself to build itself.

So, 2 questions:
Why Gnat is not using gcc 2.96?
Why cannot it be rebuild with rpm --rebuild.



Thanks in advance for any answer


Daniel

Comment 1 Ngo Than 2001-04-23 14:30:54 UTC
1) it only works with gcc-2.81

2) You must install the binary package for GNU Ada before you can rebuild
this package from the sources.
 
This is required, because this package provides an gcc based GNU Ada95
compiler (GNAT) and it's frontend is written in Ada95 itself. So you
need a bootstrap compiler (like you need a C compiler to build gcc).
 
The preparation of the package build will fail now, if GNU Ada isn't
installed.

Comment 2 Daniel Tourde 2001-04-23 15:27:58 UTC
OK, I understand.

Thanks for your answer

Daniel