PHP bindings fail on Ubuntu for xapian-bindings-1.2.21
Yannick Warnier
ywarnier at beeznest.org
Sat Mar 26 21:51:35 GMT 2016
Hi Olly and co,
On an Ubuntu 15.10, following the docs at
https://trac.xapian.org/wiki/FAQ/PHP%20Bindings%20Package
When
running debuild -e PHP_VERSIONS=5 -us -uc
I get (sorry for the French):
"
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: paquet source xapian-bindings
dpkg-buildpackage: version source 1.2.21-2.1
dpkg-buildpackage: distribution source unstable
dpkg-buildpackage: source changé par Matthias Klose <doko at debian.org>
dpkg-source --before-build xapian-bindings-1.2.21
dpkg-buildpackage: architecture hôte amd64
fakeroot debian/rules clean
dh_testdir
dh_testroot
dh_autotools-dev_restoreconfig
dh_clean
dpkg-source -b xapian-bindings-1.2.21
dpkg-source: info: utilisation du format source « 3.0 (quilt) »
dpkg-source: erreur: fichier binaire non
souhaité : debian/build/python2.7/python/xapian/__init__.pyo
dpkg-source: erreur: fichier binaire non
souhaité : debian/build/python2.7/python/xapian/__init__.pyc
dpkg-source: erreur: 2 fichiers binaires non souhaités ont été détectés
(il est nécessaire de les ajouter dans debian/source/include-binaries
pour autoriser leur inclusion).
dpkg-buildpackage: erreur: dpkg-source -b xapian-bindings-1.2.21 a
produit une erreur de sortie de type 29
debuild: fatal error at line 1374:
dpkg-buildpackage -rfakeroot -D -us -uc failed
"
I see that the last time I tried (and succeeded) to generate the
bindings it was on a previous version of Ubuntu (don't remember which)
with xapian-bindings-1.2.16.
On a Debian Wheezy, the sources are still at xapian-bindings-1.2.12 and
I get the following:
"
make check-TESTS
make[4]: Entering directory
`/home/ywarnier/xapian-bindings-1.2.12/debian/build/php5/php'
/bin/bash: line 5: 313 Segmentation fault /usr/bin/php5 -n -d
safe_mode=off -d enable_dl=on -d
extension_dir='/home/ywarnier/xapian-bindings-1.2.12/debian/build/php5/php/.libs'
-d include_path='php5:../../../../php/php5' ${dir}$tst
FAIL: smoketest.php
=======================================
1 of 1 test failed
"
I'm really not that useful at debugging packaging commands, so I wanted
to report it while I keep looking for a solution.
Cheers,
Yannick
More information about the Xapian-discuss
mailing list