Bug#395615: jakarta-log4j1.2: missing binary-arch target in
debian/rules (Policy 4.9)
Aurelien Jarno
aurel32 at debian.org
Sat Oct 28 07:37:40 CEST 2006
Kalle Kivimaa a écrit :
> Aurelien Jarno <aurel32 at debian.org> writes:
>> jakarta-log4j1.2's source package contains a debian/rules file which does not
>> contain the binary-arch target. This target required by both the section
>> 4.9 of the Debian policy [1] and the Etch release standards [2].
>
> The policy manual says:
> "build-arch (optional), build-indep (optional)
> A package may also provide both of the targets build-arch and
> build-indep."
>
> As both of these are optional, I don't see why this bug is anything
> else than a wishlist priority, as jakarta-log4j1.2 does not build
> anything but architecture independent stuff. Could you please provide
> a reference to a statement from the release managers saying that the
> Etch release policy conflicts with the Debian policy in this respect?
> Otherwise I'm going to downgrade this bug to wishlist.
>
> The Debian policy goes on to say this:
> "If one or both of the targets build-arch and build-indep are not
> provided, then invoking debian/rules with one of the not-provided
> targets as arguments should produce a exit status code of 2. Usually
> this is provided automatically by make if the target is missing."
>
> Log4j package exhibits this behaviour.
>
You are reading the wrong paragraph. I have reported the bug about
*binary*-arch and not build-arch. The policy says:
"Both the binary-arch and binary-indep targets must exist. If one of
them has nothing to do (which will always be the case if the source
generates only a single binary package, whether architecture-dependent
or not), it must still exist and must always succeed."
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32 at debian.org | aurelien at aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
More information about the pkg-java-maintainers
mailing list