[Xapian-discuss] Debian and Ubuntu packages of 1.2.0

Jérôme Warnier jwarnier at beeznest.net
Mon Jun 27 22:35:20 BST 2011


I tried your procedure, that's to say:

sudo apt-get build-dep xapian-bindings
sudo apt-get install php5-dev php5-cli
apt-get source xapian-bindings
cd xapian-bindings-1.2.*
rm debian/control
env PHP_VERSIONS=5 debian/rules maint
debuild -e PHP_VERSIONS=5 -us -uc
cd ..
sudo dpkg -i php5-xapian_*.deb

Though, it is failing with this error message:
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor):
-g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin:
vendor): 
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin:
vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor):
-g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin:
vendor): 
dpkg-buildpackage: source package xapian-bindings
dpkg-buildpackage: source version 1.2.3-3
dpkg-buildpackage: source changed by Olly Betts <olly at survex.com>
 dpkg-source --before-build xapian-bindings-1.2.3
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -rf debian/build
rm -f config.sub config.guess
dh_clean
 dpkg-source -b xapian-bindings-1.2.3
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building xapian-bindings using
existing ./xapian-bindings_1.2.3.orig.tar.gz
dpkg-source: warning: ignoring deletion of file config.guess
dpkg-source: warning: ignoring deletion of file config.sub
dpkg-source: info: building xapian-bindings in
xapian-bindings_1.2.3-3.debian.tar.gz
dpkg-source: info: building xapian-bindings in
xapian-bindings_1.2.3-3.dsc
 debian/rules build
dh_testdir
for python in python2.5 python2.6; do \
	    set -e; \
	    /usr/bin/make -C debian/build/$python ; \
	    make check -C debian/build/$python ; \
	done
make: *** debian/build/python2.5: No such file or directory.  Stop.
make: *** [debian/build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1325:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Any idea?




More information about the Xapian-discuss mailing list