[php-maint] Bug#823954: Bug#823954: php5: Binary package "php5" does not need the whole build process to be created

Ondřej Surý ondrej at sury.org
Wed May 11 13:11:26 UTC 2016


src:php5 is going to be killed from testing soon and it's not going to
be part of next stable release. Do you still think it's worth updating
it for source-only uploads? I know that you put some effort into this,
but I am keeping php5 in unstable just for the sake of security- and
proposed-updates right now (and there are still some r-deps that needs
to be fixed before I can kill it from ).

Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Vše pro chleba (https://vseprochleba.cz) – Potřeby pro pečení chleba
všeho druhu

On Tue, May 10, 2016, at 19:19, Santiago Vila wrote:
> Package: src:php5
> Version: 5.6.21+dfsg-1
> Dear maintainer:
> The "php5" binary package is "Architecture: all" and it does not
> really contain any file which is generated by compiling C source code.
> So, it would make sense if "dpkg-buildpackage -A" generated this
> package directly without "building" anything.
> Briefly, the attached patch does this:
> * The old "build" target is renamed to "build-arch".
> * The old "install" target is renamed to "install-arch".
> * A new "build-indep" target is created which does nothing
>   (because there is really nothing to build).
> * A new "install-indep" target is created which just puts
>   /usr/share/bug/php5/control in place. This is removed from
>   the old install target.
> * The /usr/share/bug/php5/script symlink is handled by dh_link
>   and "debian/php5.links".
> I've checked that "dpkg-buildpackage -A" generates exactly the same
> "php5" package as before. I believe "dpkg-buildpackage -B" should also
> work, but in either case, I am confindent that it would be easy to
> fix if it does not.
> In my i3 at home, the patch reduces build time for "dpkg-buildpackage -A"
> from 85 minutes to a few seconds.
> Thanks.
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
> Email had 1 attachment:
> + php5.patch.txt
>   4k (text/plain)

More information about the pkg-php-maint mailing list