Package: xcache
Version: 3.1~svn1282+1-1
Severity: serious
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch saucy

xcache fails to build in unstable as follows (you can see this in the
sparc build failure):

  dpkg-buildpackage: source package xcache
  dpkg-buildpackage: source version 3.1~svn1282+1-1
  dpkg-buildpackage: source changed by Michal Čihař <ni...@debian.org>
   dpkg-source --before-build xcache-3.1~svn1282+1
  dpkg-buildpackage: host architecture i386
   fakeroot debian/rules clean
  dh clean --with php5
     dh_testdir
     dh_auto_clean
     dh_clean
   debian/rules build
  dh build --with php5
     dh_testdir
     debian/rules override_dh_auto_configure
  make[1]: Entering directory `/«BUILDDIR»/xcache-3.1~svn1282+1'
  dh_auto_configure -- \
                  --enable-xcache=shared \
                  --disable-xcache-constant  \
                  --enable-xcache-optimizer \
                  --enable-xcache-coverager \
                  --enable-xcache-assembler \
                  --enable-xcache-encoder   \
                  --enable-xcache-decoder
  make[1]: Leaving directory `/«BUILDDIR»/xcache-3.1~svn1282+1'
     dh_auto_build
     debian/rules override_dh_auto_test
  make[1]: Entering directory `/«BUILDDIR»/xcache-3.1~svn1282+1'
  cd tests; ln -s ../debian/tests/* .
  /usr/bin/make xcachetest REPORT_EXIT_STATUS=1 NO_INTERACTION=y TEST_ARGS=-n
  make[2]: *** No rule to make target `xcachetest'.  Stop.
  make[2]: Entering directory `/«BUILDDIR»/xcache-3.1~svn1282+1'
  make[2]: Leaving directory `/«BUILDDIR»/xcache-3.1~svn1282+1'
  make[1]: *** [override_dh_auto_test] Error 2
  make[1]: Leaving directory `/«BUILDDIR»/xcache-3.1~svn1282+1'
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

This is due to
http://packages.qa.debian.org/p/php5/news/20130710T090656Z.html (which
is why it failed on sparc but not other architectures; sparc just tried
later and got a later php5-dev).  The lack of dh_phpize means that
nothing calls phpize so dh_auto_configure does nothing useful.  Here's a
fix.

  * Call phpize explicitly; the php5 debhelper sequence no longer calls
    dh_phpize.

diff -Nru xcache-3.1~svn1282+1/debian/rules xcache-3.1~svn1282+1/debian/rules
--- xcache-3.1~svn1282+1/debian/rules   2013-07-09 14:26:01.000000000 +0100
+++ xcache-3.1~svn1282+1/debian/rules   2013-07-18 01:14:22.000000000 +0100
@@ -10,6 +10,7 @@
        dh_auto_install -- INSTALL_ROOT=$(CURDIR)/debian/tmp
 
 override_dh_auto_configure:
+       phpize
        dh_auto_configure -- \
                --enable-xcache=shared \
                --disable-xcache-constant  \
@@ -19,6 +20,10 @@
                --enable-xcache-encoder   \
                --enable-xcache-decoder
 
+override_dh_auto_clean:
+       dh_auto_clean
+       phpize --clean
+
 override_dh_auto_test:
        cd tests; ln -s ../debian/tests/* .
        $(MAKE) xcachetest REPORT_EXIT_STATUS=1 NO_INTERACTION=y TEST_ARGS=-n

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to