On 03/07/2012 10:50 AM, Ludovic Brenta wrote:
Reto Buerki wrote:
* Build-Depend on gnat in addition to gnat-4.6
I don't exactly understand the rationale for this rule. In contrast
to
other packages the gnatgcc command is not needed to build dbusada.
And I
explicitly Build-Depend on the upcoming default compiler gnat-4.6
so ABI
compatibility to other Ada packages is guaranteed.
In section 4:
"Rule: Package ‘gnat’ is the default Ada compiler for Debian. All
packages
containing Ada programs or libraries SHALL use this compiler."
This rule makes it explicit that the package 'gnat-4.6' is NOT the
default
Ada compiler; the package 'gnat' is.
And the package description of 'gnat' is:
"This is an empty package that depends on the default Ada compiler
for
Debian, which is part of the GNU Compiler Collection."
gnat currently depends on gnat-4.6, making it the 'current' default
Ada
compiler.
I see no real (besides policy compliance) benefit here for depending
on
gnat in addition to gnat-4.6. The dbusada package defines that it
needs
exactly gnat-4.6 to build and that every package that depends on
dbusada
MUST also use this compiler.