dh-make-pear fails to make Debian package upon WARNING

Bug #377466 reported by Symax
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dh-make-php (Ubuntu)
Fix Committed
Undecided
Unassigned
Nominated for Karmic by Symax

Bug Description

Binary package hint: dh-make-php

Here is an excerpt of what I did to reproduce:

root#dpkg -i dh-make-php_0.2.14_all.deb
(Reading database ... 156654 files and directories currently installed.)
Preparing to replace dh-make-php 0.2.12 (using dh-make-php_0.2.14_all.deb) ...
Unpacking replacement dh-make-php ...
Setting up dh-make-php (0.2.14) ...
Processing triggers for man-db ...
root#md pear
root#cd pear
root#l
./ ../
root#dh-make-pear --maintainer root@localhost HTML_QuickForm
WARNING: "pear/HTML_QuickForm" is deprecated in favor of "pear/HTML_QuickForm2" downloading HTML_QuickForm-3.2.11.tgz ... Starting to download HTML_QuickForm-3.2.11.tgz (102,201 bytes) .......................done: 102,201 bytes File /root/custom/debsrc/pear/HTML_QuickForm-3.2.11.tgz downloaded
tar: "pear/HTML_QuickForm": Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
Creating debian source package: php--
Upstream is:
Using maintainer: root@localhost
mv: cannot stat `-': No such file or directory
mv: cannot stat `package.xml': No such file or directory
root@mythtv:~/custom/debsrc/pear#l
./ ../ HTML_QuickForm-3.2.11.tgz php--/ php-_.orig.tar.gz@
root#

Tags: patch
Revision history for this message
Symax (ayourk) wrote :

I forgot to mention: I'm on Ubuntu Jaunty (9.04).

Revision history for this message
Symax (ayourk) wrote :

I just confirmed. The same change made to dh-make-pecl from bug #97240 fixes this issue too. Please use sed instead of awk here too.

Revision history for this message
Symax (ayourk) wrote :

This bug is still in existence, even in Ubuntu Oneiric (11.10) and now 12.04 is about to be released.

I've added a patch that fixes this issue. It should look very similar to the patch for bug #97240.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "dh-make-pear can extract the package from downloaded packages, even if the download causes a warning" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Symax (ayourk)
Changed in dh-make-php (Ubuntu):
status: New → Fix Committed
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.