[Debian GNUstep maintainers] Bug#823281: Bug#823281: gnustep-make: build-indep depends on binary-arch

Eric Heintzmann heintzmann.eric at free.fr
Tue May 3 13:46:13 UTC 2016


Thanks for this bug report and thanks for finding a solution.

Anyway I plan to repackage the Core GNUstep packages (including 
gnustep-make),
and rewriting debian/rules using dh_overrides_* targets.
(If there are no objections from other Debian GNUstep Maintainers)
It should solve these bugs.

Thanks
Eric

Le 03/05/2016 02:07, Santiago Vila a écrit :
> Package: src:gnustep-make
> Version: 2.6.6-3
> Severity: serious
>
> Dear maintainer:
>
> While investigating Bug #806197 I found the following policy
> violations in debian/rules:
>
>
> * The build target should depend on build-arch and build-indep.
>
> Currently, it is like this:
>
> # NOTE: The Build-Indep-Depends are only available, when building the
> # build-indep packages.
> build: build-arch # build-indep
>
> Quoting policy speaking about build-arch and build-indep:
>
>    The build target should either depend on those targets or take the
>    same actions as invoking those targets would perform.
>
> If I only install build-depends and not build-indep-depends, it follows
> that I can only use the build-arch target, but that's *my* problem.
>
> The build target should still build everything, for the case that I
> install all the build-dependencies and want to build everything.
>
>
> * The "build-indep" target depends indirectly on "binary-arch" (!).
> This is what I see:
>
> build-indep: debian/build-indep-stamp
> clean_files += debian/build-indep-stamp
> debian/build-indep-stamp: binary-arch
>
>
> Well, binary-arch is where architecture-dependent .deb packages are
> created (i.e. Arch: any). Quoting policy:
>
>    The build-arch and build-indep targets must not do anything that
>    might require root privilege.
>
> Because actually creating .deb packages requires to be root (or fakeroot),
> it follows that build-indep must *not* depend on any of the binary
> targets.
>
>
> This is probably the reason why "dpkg-buildpackage -A" fails (Bug #806197),
> but I can't verify this easily because I don't have a fixed debian/rules.
>
> Thanks.
>
> _______________________________________________
> Debian GNUstep maintainers mailing list
> pkg-GNUstep-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-gnustep-maintainers



More information about the pkg-GNUstep-maintainers mailing list