Bug#806619: gmp-ecm: FTBFS when built with dpkg-buildpackage -A (dh_install: libecm0-dev-common missing files)
Santiago Vila
sanvila at debian.org
Sun Nov 29 16:22:30 UTC 2015
Package: src:gmp-ecm
Version: 6.4.4+ds-4
User: sanvila at 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 --with autoreconf --builddirectory=_build --parallel
dh_testdir -i -O--builddirectory=_build -O--parallel
dh_autoreconf -i -O--builddirectory=_build -O--parallel
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:11: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.ac:11: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.ac:8: installing 'build-aux/compile'
configure.ac:14: installing 'build-aux/config.guess'
configure.ac:14: installing 'build-aux/config.sub'
configure.ac:10: installing 'build-aux/install-sh'
configure.ac:10: installing 'build-aux/missing'
Makefile.am: installing './INSTALL'
Makefile.am: installing 'build-aux/depcomp'
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<BUILDDIR>>/gmp-ecm-6.4.4+ds'
dh_auto_configure -a -- --enable-shared --enable-maintainer-mode
dh_auto_configure: No packages to build.
make[1]: Leaving directory '/<<BUILDDIR>>/gmp-ecm-6.4.4+ds'
dh_auto_build -i -O--builddirectory=_build -O--parallel
dh_auto_test -i -O--builddirectory=_build -O--parallel
fakeroot debian/rules binary-indep
dh binary-indep --with autoreconf --builddirectory=_build --parallel
dh_testroot -i -O--builddirectory=_build -O--parallel
dh_prep -i -O--builddirectory=_build -O--parallel
dh_auto_install -i -O--builddirectory=_build -O--parallel
dh_install -i -O--builddirectory=_build -O--parallel
dh_install: libecm0-dev-common missing files (usr/include/*.h), aborting
debian/rules:7: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-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.
More information about the debian-science-maintainers
mailing list