[pkg-php-pear] Bug#761907: PEAR: PECL packages FTBFS if having both package.xml and package2.xml

Mathieu Parent sathieu at debian.org
Tue Sep 16 17:52:18 UTC 2014

Package: pkg-php-tools
Version: 1.21
Severity: minor


[ A "not to forget" bug. ]

php-igbinary 1.2.1 moved package.xml to package2.xml and added a v1 package.xml

Current PEAR/Buildsystem uses phppkginfo to get "packagetype". This is based on
PEAR_PackageFile::fromAnyFile() which try package.xml before package2.xml.

As a consequence, packagetype is always "php" and not "extsrc": the configure
step is broken.

Solution is to move the package_type query to the Pkgtools lib.

Love, peace and happyness...


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

Kernel: Linux 3.14-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pkg-php-tools depends on:
ii  debhelper  9.20140817
ii  php-pear   5.6.0+dfsg-1
ii  php5-cli   5.6.0+dfsg-1
ii  php5-json  1.3.6-1

pkg-php-tools recommends no packages.

Versions of packages pkg-php-tools suggests:
pn  dh-make  <none>

-- no debconf information

More information about the pkg-php-pear mailing list