Package: src:bitcoin Version: 0.11.1-1 Severity: wishlist Tags: patch When trying to build bitcoin in Debian stable, all build dependencies are available, but the build fail with this message:
[...] fakeroot debian/rules binary test -x debian/rules test "`id -u`" = 0 dh common-install-prehook-arch --parallel --with autotools-dev --with autoreconf --with bash-completion dh: Unknown sequence common-install-prehook-arch (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep) debian/rules:30: recipe for target 'common-install-prehook-arch' failed make: *** [common-install-prehook-arch] Error 255 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 debuild: fatal error at line 1376: dpkg-buildpackage -rfakeroot -D -us -uc failed I managed to work around it by removing the CDBS include line in debian/rules, but did not quite understand what the problem was nor why this solved it. Is there some build dependency that need to be versioned? Or perhaps the source could be changed to build on Debian stable by default? I'm building using cdbs version 0.4.130 and debhelper version 9.20150101. --- debian/rules.orig 2015-12-25 08:51:15.019630959 +0100 +++ debian/rules 2015-12-25 08:51:27.000000000 +0100 @@ -18,7 +18,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. #used with "./debian/rules debian/stamp-copyright-check" --include /usr/share/cdbs/1/rules/utils.mk +#-include /usr/share/cdbs/1/rules/utils.mk # Ignore graphics and .mo files in addition to the default debian files DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(.*\.png|src/qt/res/icons/bitcoin_testnet.ico|src/qt/res/icons/bitcoin\.icns|contrib/macdeploy/background\.psd|src/qt/res/images/splash_testnet\.png|src/qt/res/movies/.*\.png|src/qt/locale/.*\.ts|share/pixmaps/bitcoin256.png|share/pixmaps/bitcoin\.ico|src/qt/res/icons/bitcoin\.ico|doc/gitian-building/.*\.png|doc/bitcoin_logo_doxygen\.png|src/qt/res/icons/.*\.png|contrib/Bitcoin.app/Contents/Resources/BitcoinAppIcon\.icns|contrib/gitian-downloader/sipa-key\.pgp|debian/(changelog|copyright(|_hints|_newhints)))$ -- System Information: Debian Release: 8.2 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system)