[php-maint] Bug#823960: php7.0: "Arch: all" packages do not need the whole build process to be created

Santiago Vila sanvila at unex.es
Tue May 10 18:55:20 UTC 2016


Package: src:php7.0
Version: 7.0.6-1

Dear maintainer:

As in Bug #823954, the architecture-independent binary packages
generated by this source package do not really need any C source
compiling to be created.

The attached patch works for me, but it may need some tweaking.
I've only tested the "dpkg-buildpackage -A" part, but I'm confident
that either it will work with "dpkg-buildpackage -B" or it will be
very easy to fix.

This time the patch is a lot smaller because debian/rules is using dh.

On my i3 at home, "dpkg-buildpackage -A" takes 38 minutes to finish.
With this patch, only 20 seconds.

Note: The rationale for doing this is that source only uploads (which
are currently optional but will hopefully be the norm some day) are
handled by different autobuilders. There is one autobuilder which only
creates "Arch: all" packages, so this is not just a theoretical time
saving but a real one.


Thanks.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: php7.0.patch.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20160510/ebac06e6/attachment.txt>


More information about the pkg-php-maint mailing list