[Fedora-packaging] Package depends on source of gcc

Pavel Zhukov pavel at zhukoff.net
Sun May 24 19:43:02 UTC 2015


Hi lists,

Gprbuild [1] package depends on sources of current gcc (gnat)
compiller [2]. 
The sources (content of gcc/ada of gcc's tree) should be placed under gnat_src
before building. Is it possible to achieve this in any way rather than
ship content of gcc/ada directory as %{SOURCE2}? 

P.S. Gprbuild ships headers of gnat but  they're broken because of
gcc-5 in fedora (major version changed).
[1] http://www.adacore.com/gnatpro/toolsuite/gprbuild/

[2]
README:
Gprbuild uses some sources of the GNAT package. They are expected by
default
to be located in the gnat/ subdirectory of Gprbuild. Only some of the
GNAT
sources are required, but note that having all of the GNAT sources
present
in the gnat/ subdirectory will result in build failure.

In order to use GNAT sources from another location, create a link
named
gnat_src and call the Makefile target copy_gnat_src:

   ln -s <path_to_gnat_sources> gnat_src
   make copy_gnat_src

That will place links into the gnat/ subdirectory for each of
the required
GNAT source files.

--
Pavel




More information about the packaging mailing list