Package: dh-make-php
Version: 0.2.12
Severity: normal

When dh-make-pecl executes the command "/usr/bin/pecl download" on line 126 it 
fails to take into
consideration that pecl may give warnings. The awk command cannot extract the 
proper PECLPACKAGENAME
from the output. An example:

`/usr/bin/pecl download xdebug` gives:
downloading xdebug-2.0.4.tgz ...
Starting to download xdebug-2.0.4.tgz (288,497 bytes)
............................................................done: 288,497 bytes
File /home/sander/projects/fileinfo/xdebug-2.0.4.tgz downloaded

and PECLPACLAGENAME is "xdebug-2.0.4.tgz". But for e.g. fileinfo this fails, 
because fileinfo gives
a warning:

~$ /usr/bin/pecl download fileinfo
WARNING: "pear/Fileinfo" is deprecated in favor of 
"channel://php-src/ext/fileinfo/in php sources"
downloading Fileinfo-1.0.4.tgz ...
Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
.....done: 5,835 bytes
File /home/sander/projects/fileinfo/Fileinfo-1.0.4.tgz downloaded

And now PECLPACKAGENAME becomes "pear/Fileinfo" and the rest of dh-make-pecl 
fails.

PS: The reason for the fileinfo warning is because fileinfo is shipped with PHP 
5.3. Of course,
Debian is shipping 5.2 which does not have fileinfo, so we still need to grab 
fileinfo from Pecl.

Please fix dh-make-pecl so it can extract the proper package name even when 
there was a warning
during downloading.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dh-make-php depends on:
ii  cdbs             0.4.52                  common build system for Debian pac
ii  php-pear         5.2.6.dfsg.1-0.1~lenny1 PEAR - PHP Extension and Applicati
ii  php5-cli         5.2.6.dfsg.1-0.1~lenny1 command-line interpreter for the p

dh-make-php recommends no packages.

dh-make-php suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to