Package: src:uprofiler Version: 0.11.0+8-g483c1e5-1 User: sanv...@debian.org Usertags: binary-indep Severity: important
Dear maintainer: I tried to build this package with "dpkg-buildpackage -A" (i.e. only architecture-independent packages), and it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --buildsystem=phppear --with phppear --with php5 dh_testdir -i -O--buildsystem=phppear dh_update_autotools_config -i -O--buildsystem=phppear debian/rules override_dh_auto_configure make[1]: Entering directory '/<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5' ln -sf extension uprofiler-0.11.0 dh_auto_configure cp package.xml ./uprofiler-0.11.0/package.xml sed -i -e s/md5sum=\"\[^\"\]\*\"// -e s/sha1sum=\"\[^\"\]\*\"// ./uprofiler-0.11.0/package.xml cd extension phpize [... snipped ...] checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands sed: can't read ../extension/ltmain.sh: No such file or directory mv: cannot stat 'libtoolT': No such file or directory cp: cannot stat 'libtoolT': No such file or directory chmod: cannot access 'libtool': No such file or directory configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode, --disable-dependency-tracking cd /<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5 make[1]: Leaving directory '/<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5' dh_auto_build -i -O--buildsystem=phppear mkdir -p obj-x86_64-linux-gnu cd obj-x86_64-linux-gnu make -j1 make[1]: Entering directory '/<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5/obj-x86_64-linux-gnu' /bin/bash /<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5/obj-x86_64-linux-gnu/libtool --mode=compile cc -I. -I/<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5/extension -DPHP_ATOM_INC -I/<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5/obj-x86_64-linux-gnu/include -I/<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5/obj-x86_64-linux-gnu/main -I/<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5/extension -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c /<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5/extension/uprofiler.c -o uprofiler.lo /bin/bash: /<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5/obj-x86_64-linux-gnu/libtool: No such file or directory Makefile:180: recipe for target 'uprofiler.lo' failed make[1]: *** [uprofiler.lo] Error 127 make[1]: Leaving directory '/<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5/obj-x86_64-linux-gnu' dh_auto_build: make -j1 returned exit code 2 cd /<<BUILDDIR>>/uprofiler-0.11.0+8-g483c1e5 debian/rules:8: recipe for target 'build-indep' failed make: *** [build-indep] Error 10 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- Sorry not to have a fix, as I am reporting many bugs similar to this one. The common hints are: * If the only architecture-independent packages are dummy transitional ones and they were released with jessie, the easy fix is to drop them now. * When using "dh", it is allowed to use (independently) optional targets override_dh_foo-arch and override_dh_foo-indep (for several values of "foo"). Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work properly, the package would be suitable to be uploaded in source-only form if you wish. Thanks.