dh-php no longer support multiple bin-packages

Bug #1576578 reported by Benoit Foucher
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dh-php (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Xenial by Gianfranco Costamagna

Bug Description

The dh-php helper used to support source packages that created multiple binary packages. This is no longer the case as it now requires a .php configuration file for each of the binary package defined in debian/control.

The following check in /usr/bin/dh_php could be relaxed to instead continue if the configuration file isn't found:
error(".php configuration file is needed for dh_php") unless ($file);

Revision history for this message
Ondřej Surý (ondrej) wrote :

Will be fixed in dh_php (>= 0.20)

Revision history for this message
Robie Basak (racb) wrote :

Thanks Ondřej. If Ondřej says it will be fixed, that makes it a valid bug :-)

Changed in dh-php (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Fixed in Ubuntu 16.10 "yakkety" development:

dh-php (0.20) unstable; urgency=medium

  * Don't fail when d/<package>.php is not present to not break multiple
    binary package builds

 -- Ondřej Surý Fri, 03 Jun 2016 16:17:41 +0200

Changed in dh-php (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

If you want it fixed in xenial, you need to convert this bug into an SRU
https://wiki.ubuntu.com/StableReleaseUpdates

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

(and provide patch/testcase/debdiff)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.