Package: dh-make-php
Version: 0.0.13-1
I tried to use this cool tool to build the pecl extension FileInfo for
both
php4 and php5. While the deb for php4 builts and installs without
problems,
the php5 version exits with:
Setting up php5-fileinfo (1.0.3-1) ...
dpkg: error processing php5-fileinfo (--configure):
subprocess post-installation script returned error exit status 10
The difference between the two packages is, that the DEBIAN/templates
file is missing in the php5 version so I suppose that there is a problem
with
the debian/rules template.
Here is what I've done:
pecl download fileinfo
dh-make-pecl --maintainer 'Michael Heimpold
<[EMAIL PROTECTED]>' Fileinfo-1.0.3.tgz
cd php-fileinfo-1.0.3
# I added libmagic-dev to the build-deps in debian/control
dpkg-buildpackage -rfakeroot
I'm not very familar with building debian packages, so I simply tried to
make a copy of
the debian/templates file as debian/php5-fileinfo.templates and started
dpkg-buildpackage
again: now the DEBIAN/templates file exists in the deb and it installs
without problems.
Maybe this a not a bug of dh-make-php but of ... ?
I tried this on a Debian Sarge with php4 stuff from debian.org and php5
from backports.org.
php4-dev 4:4.3.10-16
php5-dev 5.1.2-0bpo1
po-debconf 0.8.23
debhelper 4.2.32
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]