Debian Bug report logs - #823954
php5: Binary package "php5" does not need the whole build process to be created

version graph

Package: src:php5; Maintainer for src:php5 is (unknown);

Reported by: Santiago Vila <sanvila@unex.es>

Date: Tue, 10 May 2016 17:21:01 UTC

Severity: normal

Found in version php5/5.6.21+dfsg-1

Fixed in version php5/5.6.21+dfsg-2

Done: Ondřej Surý <ondrej@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, sanvila@unex.es, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#823954; Package src:php5. (Tue, 10 May 2016 17:21:05 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
New Bug report received and forwarded. Copy sent to sanvila@unex.es, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Tue, 10 May 2016 17:21:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: Debian BTS <submit@bugs.debian.org>
Subject: php5: Binary package "php5" does not need the whole build process to be created
Date: Tue, 10 May 2016 19:19:12 +0200 (CEST)
[Message part 1 (text/plain, inline)]
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.
[php5.patch.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#823954; Package src:php5. (Wed, 11 May 2016 13:15:18 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 11 May 2016 13:15:18 GMT) (full text, mbox, link).


Message #10 received at 823954@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@sury.org>
To: Santiago Vila <sanvila@unex.es>, Debian BTS <823954@bugs.debian.org>
Subject: Re: [php-maint] Bug#823954: php5: Binary package "php5" does not need the whole build process to be created
Date: Wed, 11 May 2016 15:11:26 +0200
Santiago,

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 ).

Cheers,
-- 
Ondřej Surý <ondrej@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@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)



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#823954; Package src:php5. (Wed, 11 May 2016 13:51:15 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 11 May 2016 13:51:15 GMT) (full text, mbox, link).


Message #15 received at 823954@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: Ondřej Surý <ondrej@sury.org>
Cc: Debian BTS <823954@bugs.debian.org>
Subject: Re: [php-maint] Bug#823954: php5: Binary package "php5" does not need the whole build process to be created
Date: Wed, 11 May 2016 15:49:54 +0200
On Wed, May 11, 2016 at 03:11:26PM +0200, Ondřej Surý wrote:

> 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 ).

This is not only for source-only uploads, this is also a QA issue.

I'm checking all packages for "dpkg-buildpackage -A". This one makes
me to waste 80 minutes of CPU time only to ensure that "dpkg-buildpackage -A"
works, so if the question is "does it worth to fix this in stretch while
the package still exists?" I would answer "definitely yes".

In other words: the upload could be source-only for you, but as far as
I have it in my list of packages to check, it is certainly not
source-only for me.

I could of course exclude the package from the list of packages to
check, but I would much prefer to reserve such list for packages that
make the autobuilder to hang, like this one which also hangs
the autobuilder from reproducible builds people:

https://reproducible.debian.net/rb-pkg/unstable/amd64/tbb.html


Moreover, the patch is very small and it should be very easy to check
for correctness (otherwise, I would probably not have bothered to
create it in the first place).

Thanks.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#823954; Package src:php5. (Wed, 11 May 2016 14:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 11 May 2016 14:00:04 GMT) (full text, mbox, link).


Message #20 received at 823954@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@sury.org>
To: Santiago Vila <sanvila@unex.es>
Cc: Debian BTS <823954@bugs.debian.org>
Subject: Re: [php-maint] Bug#823954: php5: Binary package "php5" does not need the whole build process to be created
Date: Wed, 11 May 2016 15:57:07 +0200
Fair enough. Building updated package right now.

Cheers,
-- 
Ondřej Surý <ondrej@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 Wed, May 11, 2016, at 15:49, Santiago Vila wrote:
> On Wed, May 11, 2016 at 03:11:26PM +0200, Ondřej Surý wrote:
> 
> > 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 ).
> 
> This is not only for source-only uploads, this is also a QA issue.
> 
> I'm checking all packages for "dpkg-buildpackage -A". This one makes
> me to waste 80 minutes of CPU time only to ensure that "dpkg-buildpackage
> -A"
> works, so if the question is "does it worth to fix this in stretch while
> the package still exists?" I would answer "definitely yes".
> 
> In other words: the upload could be source-only for you, but as far as
> I have it in my list of packages to check, it is certainly not
> source-only for me.
> 
> I could of course exclude the package from the list of packages to
> check, but I would much prefer to reserve such list for packages that
> make the autobuilder to hang, like this one which also hangs
> the autobuilder from reproducible builds people:
> 
> https://reproducible.debian.net/rb-pkg/unstable/amd64/tbb.html
> 
> 
> Moreover, the patch is very small and it should be very easy to check
> for correctness (otherwise, I would probably not have bothered to
> create it in the first place).
> 
> Thanks.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#823954; Package src:php5. (Wed, 11 May 2016 14:09:11 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 11 May 2016 14:09:11 GMT) (full text, mbox, link).


Message #25 received at 823954@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: Ondřej Surý <ondrej@sury.org>
Cc: Debian BTS <823954@bugs.debian.org>
Subject: Re: [php-maint] Bug#823954: php5: Binary package "php5" does not need the whole build process to be created
Date: Wed, 11 May 2016 16:05:45 +0200
On Wed, May 11, 2016 at 03:57:07PM +0200, Ondřej Surý wrote:
> Fair enough. Building updated package right now.

Thanks a lot!



Reply sent to Ondřej Surý <ondrej@debian.org>:
You have taken responsibility. (Wed, 11 May 2016 16:45:17 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@unex.es>:
Bug acknowledged by developer. (Wed, 11 May 2016 16:45:17 GMT) (full text, mbox, link).


Message #30 received at 823954-close@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@debian.org>
To: 823954-close@bugs.debian.org
Subject: Bug#823954: fixed in php5 5.6.21+dfsg-2
Date: Wed, 11 May 2016 16:43:02 +0000
Source: php5
Source-Version: 5.6.21+dfsg-2

We believe that the bug you reported is fixed in the latest version of
php5, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 823954@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ondřej Surý <ondrej@debian.org> (supplier of updated php5 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 11 May 2016 15:55:22 +0200
Source: php5
Binary: php5 php5-common libapache2-mod-php5 libapache2-mod-php5filter php5-cgi php5-cli php5-phpdbg php5-fpm libphp5-embed php5-dev php5-dbg php5-curl php5-enchant php5-gd php5-gmp php5-imap php5-interbase php5-intl php5-ldap php5-mcrypt php5-readline php5-mysql php5-mysqlnd php5-odbc php5-pgsql php5-pspell php5-recode php5-snmp php5-sqlite php5-sybase php5-tidy php5-xmlrpc php5-xsl
Architecture: source
Version: 5.6.21+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Changed-By: Ondřej Surý <ondrej@debian.org>
Description:
 libapache2-mod-php5 - server-side, HTML-embedded scripting language (Apache 2 module)
 libapache2-mod-php5filter - server-side, HTML-embedded scripting language (apache 2 filter mo
 libphp5-embed - HTML-embedded scripting language (Embedded SAPI library)
 php5       - server-side, HTML-embedded scripting language (metapackage)
 php5-cgi   - server-side, HTML-embedded scripting language (CGI binary)
 php5-cli   - command-line interpreter for the php5 scripting language
 php5-common - Common files for packages built from the php5 source
 php5-curl  - CURL module for php5
 php5-dbg   - Debug symbols for PHP5
 php5-dev   - Files for PHP5 module development
 php5-enchant - Enchant module for php5
 php5-fpm   - server-side, HTML-embedded scripting language (FPM-CGI binary)
 php5-gd    - GD module for php5
 php5-gmp   - GMP module for php5
 php5-imap  - IMAP module for php5
 php5-interbase - interbase/firebird module for php5
 php5-intl  - internationalisation module for php5
 php5-ldap  - LDAP module for php5
 php5-mcrypt - MCrypt module for php5
 php5-mysql - MySQL module for php5
 php5-mysqlnd - MySQL module for php5 (Native Driver)
 php5-odbc  - ODBC module for php5
 php5-pgsql - PostgreSQL module for php5
 php5-phpdbg - server-side, HTML-embedded scripting language (PHPDBG binary)
 php5-pspell - pspell module for php5
 php5-readline - Readline module for php5
 php5-recode - recode module for php5
 php5-snmp  - SNMP module for php5
 php5-sqlite - SQLite module for php5
 php5-sybase - Sybase / MS SQL Server module for php5
 php5-tidy  - tidy module for php5
 php5-xmlrpc - XML-RPC module for php5
 php5-xsl   - XSL module for php5
Closes: 823954
Changes:
 php5 (5.6.21+dfsg-2) unstable; urgency=medium
 .
   [ Santiago Vila ]
   * Make src:php5 compatible with source-only uploads (Closes: #823954)
Checksums-Sha1:
 137e311e2cffae98d42af7c340a0ef61e32f6a88 5135 php5_5.6.21+dfsg-2.dsc
 2a17a9988db7e90cb9a0b85b7d0a2bc3242f9e82 225776 php5_5.6.21+dfsg-2.debian.tar.xz
Checksums-Sha256:
 a7410c334003c0fb1139852a52a32437adb0a4557251f8344d4c58142e582386 5135 php5_5.6.21+dfsg-2.dsc
 e2381a34dcedcadaec9d3f46d2249327c64e704a07e8b70a0cc16dd593c53ea0 225776 php5_5.6.21+dfsg-2.debian.tar.xz
Files:
 e7a88a0bc3d905c0abd8d06a5a2211c1 5135 php optional php5_5.6.21+dfsg-2.dsc
 49c11e038a6ee500b5a990bf535407eb 225776 php optional php5_5.6.21+dfsg-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJXM0PKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMEI5MzNEODBGQ0UzRDk4MUEyRDM4RkIw
Qzk5QjcwRUY0RkNCQjA3AAoJEAyZtw70/LsHmhwP/RCFAJ5pv3AuTqQcBl0itSBF
P9DeUeb/F0FTbo8cvooox8kv8sOdwVlKQ9TsZxQeFi4T+9N4PiDVq6kG3NR3NDbb
kZjLGX5eMmngdDH9vpg6PQUC0WE1NtVdzif3wID9BO5uhuZzmDnlBJ/S3oKJKsu/
A71jTGipMPiBipbj79yY+hauOeUpng5N9pl4+Lv3zaQSvtMZNRmWPdt+Qu0tWB0l
1EoxLcKNblcudf9ffUQPU3mrP6MP4KuVmCHxf0dn8KGN0ctvK7E36UHho4nTeGIz
cFAYMbrTtU9FAlp6rseg9kGgrSRscInWYNc1r8ycBi4pIwTZSKiwP7h8bvqkFOrv
2zyEUQrOw2EGeF1k+btVCmBmvfmrkjQRAlN3qGA5ZQNq3SXD9AJDmEWv+aRSqbs9
x6M6tSF0S7BhWjElbnYgWtLFJhHvl+eSL+5GMuOw/KEU8EErxi0jbVKY067NW1kS
/4nF5ezawxzg3HOhAOSFpkfh3MgFqxpBU4CJOmYZPEoojM6ddAWQMGNKMVIqhM+a
cnIBpPNBPJXJ5Qil96puis4mbdQYNaYNgQlLZ5WB6QH1vyZMPvnsmF6bePFoT9Cb
6BZsSCMicbEtmVhbb/OLxA3OhF47gHi75YImqfk94U4DM49tFueoI0b9uvhGRduL
9576996fCP+GORlG86LC
=Df3R
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 19 Jul 2016 07:34:16 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 01:54:51 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.