Bug 722732 - GCC must include ads and adb files for Ada packaging
Summary: GCC must include ads and adb files for Ada packaging
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 722704
TreeView+ depends on / blocked
 
Reported: 2011-07-17 07:49 UTC by Pavel Zhukov
Modified: 2023-09-14 01:24 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-12-20 12:08:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Diff between fedora and upstream gcc/ada folders (15.05 KB, patch)
2011-07-17 07:50 UTC, Pavel Zhukov
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 49783 0 None None None 2015-12-22 11:31:05 UTC

Description Pavel Zhukov 2011-07-17 07:49:14 UTC
Description of problem:
I'm trying to update ada tools to new version. But some packages (such as gprbuild, ASIS, aunit etc) require sources of GNAT because there's not GNAT-GPL in Fedora (we're using GCC instead)

Version-Release number of selected component (if applicable):
gcc-gnat-4.6.0-9.fc15.x86_64
libgnat-4.6.0-9.fc15.x86_64

How reproduce: 
Try to package gprbuild from AdaCore. 
 
Actual results:
Incomplete sources in /usr/lib/gcc/x86_64-redhat-linux/4.6.0/adainclude/

Expected results:
Successfull build

Additional info:
Please package *.ads and *.adb files from %{sourcedir}/gcc/ada to devel package
http://fedoraproject.org/wiki/Packaging:Ada#Devel_packages

Comment 1 Pavel Zhukov 2011-07-17 07:50:47 UTC
Created attachment 513515 [details]
Diff between fedora and upstream gcc/ada folders

Comment 2 Björn Persson 2011-07-18 23:11:45 UTC
Does Gnat GPL really install all of those files in its adainclude directory, or did you compare the API of Libgnat against the complete combined sources of Gnat and Libgnat?

GPRbuild 2010 seemed to build fine. If GPRbuild 2011 requires new features in Gnat, then perhaps Fedora should just stick to GPRbuild 2010 until those features make their way into a GCC release?

ASIS is a special case. I hear it needs to be tightly synchronized with Gnat, so it will probably take some effort to package. I doubt that the solution is as simple as dropping a bunch of files in the adainclude directory. I've been meaning to study how Ludovic solves that in Debian.

Comment 3 Pavel Zhukov 2011-07-19 07:36:51 UTC
(In reply to comment #2)
> Does Gnat GPL really install all of those files in its adainclude directory, or
> did you compare the API of Libgnat against the complete combined sources of
> Gnat and Libgnat?
Please see /lib/gnat/gnat_util.gpr of Gnat-GPL (Adacore) installation.
> GPRbuild 2010 seemed to build fine. If GPRbuild 2011 requires new features in
> Gnat, then perhaps Fedora should just stick to GPRbuild 2010 until those
> features make their way into a GCC release?
Yes, It contain includes from __GNAT-GPL__ (not from GCC-GNAT). GNAT-GPL-2911 contains parts of SPARK (for example). Please read README file for gprbuild-{2910,2011}
> ASIS is a special case. I hear it needs to be tightly synchronized with Gnat,
> so it will probably take some effort to package. I doubt that the solution is
> as simple as dropping a bunch of files in the adainclude directory. I've been
> meaning to study how Ludovic solves that in Debian.
I'm using GELA for qtada. ASIS needs to be  tightly synchronized with Gnat, so GCC-GNAT must bring sources as well as any Ada programs in -devel package.

Comment 4 Jakub Jelinek 2011-07-19 07:44:14 UTC
We are shipping whatever upstream GCC-GNAT decided that should be installed.

Comment 5 Pavel Zhukov 2015-05-25 09:56:45 UTC
(In reply to Jakub Jelinek from comment #4)
> We are shipping whatever upstream GCC-GNAT decided that should be installed.

It's not true we have bunch of "cp" operations in specfile already, for example:
cp -a ../gcc/jit/libgccjit*.h %{buildroot}%{_prefix}/include/ and we ship something different from upstream gcc-gnat even ( https://bugzilla.redhat.com/show_bug.cgi?id=1211957 )

The idea is to introduce libgnat-source package to ship content of gcc/ada. This package should be used only in BuildRequirements of gprbuild (and maybe ASIS) packages. Like we have in ocaml-source for example. Actually gprbuild uses built-in gnat-sources which are gcc-4 branch and broken with gcc-5.

Comment 6 Jan Kurik 2015-12-22 11:29:32 UTC
This bug is currently assigned to an unsupported release. If you think this bug is still valid and should remain open, please re-assign it to a supported release (F22, F23) or to rawhide.

Bugs which will be assigned to an unsupported release are going to be closed as EOL (End Of Life) on January 26th, 2016.

Comment 7 Fedora End Of Life 2016-11-24 10:33:09 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2016-12-20 12:08:37 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 9 Red Hat Bugzilla 2023-09-14 01:24:21 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.