Bug#806616: fftw3: FTBFS when built with dpkg-buildpackage -A (build-indep fails)
Santiago Vila
sanvila at debian.org
Sun Nov 29 16:22:23 UTC 2015
Package: src:fftw3
Version: 3.3.4-2
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
(cd doc ; /usr/bin/make -j1 -k clean)
make[1]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[1]: *** No rule to make target 'clean'.
make[1]: Leaving directory '/<<PKGBUILDDIR>>/doc'
debian/rules:104: recipe for target 'build-indep' failed
make: [build-indep] Error 2 (ignored)
rm -f doc/*.info* doc/rfftwnd.png doc/html/*
cd doc/FAQ && /usr/bin/make -j1 fftw-faq.html fftw-faq.ascii
make[1]: Entering directory '/<<PKGBUILDDIR>>/doc/FAQ'
make[1]: Nothing to be done for 'fftw-faq.html'.
make[1]: Nothing to be done for 'fftw-faq.ascii'.
make[1]: Leaving directory '/<<PKGBUILDDIR>>/doc/FAQ'
cd doc && /usr/bin/make -j1 && /usr/bin/make -j1 html
make[1]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/<<PKGBUILDDIR>>/doc'
debian/rules:104: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
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.
More information about the debian-science-maintainers
mailing list