On Tue, Jul 17, 2007 at 01:49:09PM +0200, Rafal Krypa wrote:
> Package: dh-make-php
> Version: 0.2.3
> Severity: grave
> Justification: renders package unusable
> 
> I'm sorry for reporting bug in yet unreleased package version, but the
> 0.2.2 version is almost unusable because of bug #432880 and I tried the
> svn version as Uwe Steinmann suggested.
> New dh-make-php dropped xmlstarlet dependency and now uses its own
> script to retrieve package information. Usage information printed by
> /usr/share/dh-make-php/phppkginfo says:
> 
> ---------------------------------------------------------------------
> Usage: /usr//share/dh-make-php/phppkginfo dir <command>
>   dir          - Directory containing package.xml file
> 
> commands:
>   version      - Return version of package
>   maintainers  - Return comma separated list of maintainers
> ---------------------------------------------------------------------
> 
> But phppkginfo expects its first argument to full path to package.xml
> file, not the directory that contains it.
> Because in /usr/share/dh-make-php/dh-make-php.lib the script is also
> called with directory argument, dh-make-php does not work.
I can only partly reproduce this. phppkginfo calls
PEAR_PackageFile::fromAnyFile() which is quite smart and checks for
package.xml and package2.xml in the given directory. It also checks,
whether the package file is passed directly and it searches it in
a .tgz file. That should be sufficient and phppkginfo should
be working as intended.
It could be that in your case, that /usr/bin/php still points towards
/usr/bin/php4. So, please check if /usr/bin/php5 -f phppkginfo
works.

  Uwe


-- 
  MMK GmbH, Fleyer Str. 196, 58097 Hagen
  [EMAIL PROTECTED]
  Tel: 02331 840446    Fax: 02331 843920

Attachment: signature.asc
Description: Digital signature

Reply via email to