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

2016-05-14 Thread Eric Heintzmann
Hi,

Le 03/05/2016 16:00, Santiago Vila a écrit :
> On Tue, May 03, 2016 at 03:46:13PM +0200, Eric Heintzmann wrote:
>> 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.
> You are welcome.
>
> I tried to find a solution, yes, but the current debian/rules was too
> much convoluted and I never understood how it really worked.
>
> Rewriting it in "dh" seems a very good idea. Wish you luck.
>
> Thanks.
The new gnustep-make package (2.6.8) is available at:

https://mentors.debian.net/debian/pool/main/g/gnustep-make/gnustep-make_2.6.8-1.dsc

It fixes this bug.

Thanks



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

2016-05-03 Thread Santiago Vila
On Tue, May 03, 2016 at 03:46:13PM +0200, Eric Heintzmann wrote:
> 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.

You are welcome.

I tried to find a solution, yes, but the current debian/rules was too
much convoluted and I never understood how it really worked.

Rewriting it in "dh" seems a very good idea. Wish you luck.

Thanks.



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

2016-05-03 Thread Eric Heintzmann

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-maintain...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-gnustep-maintainers